diff --git a/App.vue b/App.vue
index 797f513..3a5b10d 100644
--- a/App.vue
+++ b/App.vue
@@ -1,34 +1,36 @@
+ @import '@/static/scss/index.scss'
+
\ No newline at end of file
diff --git a/api/business/notice.js b/api/business/notice.js
new file mode 100644
index 0000000..ad062bf
--- /dev/null
+++ b/api/business/notice.js
@@ -0,0 +1,15 @@
+import upload from '@/utils/upload'
+import request from '@/utils/request'
+
+// 根据code查分类树
+export function getCatgByCode(code) {
+ const data = {
+ oldPassword,
+ newPassword
+ }
+ return request({
+ url: '/system/user/profile/updatePwd',
+ method: 'put',
+ data: data
+ })
+}
diff --git a/api/system/config.js b/api/system/config.js
index db76c9c..9fe7fb5 100644
--- a/api/system/config.js
+++ b/api/system/config.js
@@ -10,3 +10,11 @@ export function getSiteConfig(params) {
})
}
+// 根据code查分类值列表
+export function getCatgByCode(params) {
+ return request({
+ url: '/base/category/listByCode',
+ method: 'get',
+ params:params
+ })
+}
diff --git a/components/tabbar/tabBar.vue b/components/tabbar/tabBar.vue
new file mode 100644
index 0000000..8b25043
--- /dev/null
+++ b/components/tabbar/tabBar.vue
@@ -0,0 +1,154 @@
+
+
+
+
+
+
+
+
+
+
+ {{ item.text }}
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/manifest.json b/manifest.json
index b9e2ab0..2064e8b 100644
--- a/manifest.json
+++ b/manifest.json
@@ -41,6 +41,9 @@
},
"quickapp" : {},
"mp-weixin" : {
+ "optimization":{
+ "subPackages":true
+ },
"appid" : "wxd8ef44a8268672e4",
"setting" : {
"urlCheck" : false,
diff --git a/pages.json b/pages.json
index d0c4096..7d7e4bb 100644
--- a/pages.json
+++ b/pages.json
@@ -20,6 +20,11 @@
"style": {
"navigationBarTitleText": "工作台"
}
+ }, {
+ "path": "pages/work/my-notice",
+ "style": {
+ "navigationBarTitleText": "我的通告"
+ }
}, {
"path": "pages/mine/index",
"style": {
@@ -75,33 +80,31 @@
"style": {
"navigationBarTitleText": "浏览富文本"
}
- }],
- "tabBar": {
- "color": "#000000",
- "selectedColor": "#000000",
- "borderStyle": "white",
- "backgroundColor": "#ffffff",
- "list": [{
- "pagePath": "pages/index",
- "iconPath": "static/images/tabbar/home.png",
- "selectedIconPath": "static/images/tabbar/home_.png",
- "text": "首页"
- }, {
- "pagePath": "pages/work/index",
- "iconPath": "static/images/tabbar/work.png",
- "selectedIconPath": "static/images/tabbar/work_.png",
- "text": "工作台"
- }, {
- "pagePath": "pages/mine/index",
- "iconPath": "static/images/tabbar/mine.png",
- "selectedIconPath": "static/images/tabbar/mine_.png",
- "text": "我的"
- }
- ]
},
+ {
+ "path" : "pages/components/index",
+ "style" :
+ {
+ "navigationBarTitleText" : "通告首页"
+ }
+ },{
+ "path" : "pages/components/notice-item",
+ "style" :
+ {
+ "navigationBarTitleText" : "通告组件"
+ }
+ }],
+ // "subPackages": [
+ // {
+ // "root": "pages/notice",
+ // "pages": [
+
+ // ]
+ // }
+ // ],
"globalStyle": {
"navigationBarTextStyle": "black",
- "navigationBarTitleText": "RuoYi",
+ "navigationBarTitleText": "多点通告",
"navigationBarBackgroundColor": "#FFFFFF"
}
}
diff --git a/pages/components/notice-item.vue b/pages/components/notice-item.vue
new file mode 100644
index 0000000..8c87ddf
--- /dev/null
+++ b/pages/components/notice-item.vue
@@ -0,0 +1,174 @@
+
+
+
+
+
+ 某品牌鞋子上海、宁波博主探店招募某品牌鞋子上海、宁波博主探店招募
+
+
+
+
+
+ 奖励:¥30-400
+
+
+
+ 粉丝:1K-10w
+
+
+
+ 类型:时尚 探店 运动 颜值
+
+
+
+
+ 资深Pr资深
+
+
+
+ 659
+
+
+
+ 659
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/pages/index.vue b/pages/index.vue
index 4646807..60c2c5a 100644
--- a/pages/index.vue
+++ b/pages/index.vue
@@ -1,43 +1,86 @@
-
-
-
- Hello RuoYi
-
-
+
+
+
+
+
+
+
+
+
-
diff --git a/pages/mine/index.vue b/pages/mine/index.vue
index 33c3a6e..916e9b1 100644
--- a/pages/mine/index.vue
+++ b/pages/mine/index.vue
@@ -73,13 +73,18 @@
+