mirror of
https://gitee.com/hhyykk/ipms-sjy.git
synced 2025-08-16 03:01:53 +08:00
1.静态页面: 首页 个人中心 登录 注册账号 忘记重置密码 2.引入vuex 加入http请求工具luch-request并设置请求和响应过滤器
This commit is contained in:
7
yudao-ui-app/common/api.js
Normal file
7
yudao-ui-app/common/api.js
Normal file
@@ -0,0 +1,7 @@
|
||||
const { http } = uni.$u
|
||||
|
||||
/* index */
|
||||
// 获取滚动图数据
|
||||
export const getBannerData = params => http.get('/api/index', params)
|
||||
// 获取滚动通知数据
|
||||
export const getNoticeData = params => http.get('/api/notice', params)
|
3
yudao-ui-app/common/config.js
Normal file
3
yudao-ui-app/common/config.js
Normal file
@@ -0,0 +1,3 @@
|
||||
module.exports = {
|
||||
baseUrl: 'http://192.168.3.199:8086'
|
||||
}
|
7
yudao-ui-app/common/mixin.js
Normal file
7
yudao-ui-app/common/mixin.js
Normal file
@@ -0,0 +1,7 @@
|
||||
export default {
|
||||
data() {
|
||||
return {
|
||||
|
||||
}
|
||||
}
|
||||
}
|
2
yudao-ui-app/common/props.js
Normal file
2
yudao-ui-app/common/props.js
Normal file
@@ -0,0 +1,2 @@
|
||||
uni.$u.props.gap.bgColor = '#ffffff'
|
||||
uni.$u.props.gap.height = '10'
|
Reference in New Issue
Block a user