diff --git a/pages.json b/pages.json index bcbc18c..602fb8c 100644 --- a/pages.json +++ b/pages.json @@ -7,7 +7,7 @@ "enablePullDownRefresh": false, "navigationBarBackgroundColor": "#ffffff" } - },{ + }, { "path": "pages/ProductList/ProductList", "style": { "navigationBarTitleText": "医路优品", @@ -65,22 +65,22 @@ "backgroundColor": "#ffffff", "list": [{ "pagePath": "pages/homepage/homepage", - "iconPath": "static/首页@2x.png", - "selectedIconPath": "static/首页 拷贝@2x.png", + "iconPath": "static/homepagew.png", + "selectedIconPath": "static/homepagews.png", "text": "首页" }, { "pagePath": "pages/shopping/shopping", - "iconPath": "static/商城11 拷贝@2x.png", - "selectedIconPath": "static/商城11@2x.png", + "iconPath": "static/shoppingw.png", + "selectedIconPath": "static/shoppings.png", "text": "商城" }, { "pagePath": "pages/Personal/Personal", - "iconPath": "static/个人 拷贝 2@2x.png", - "selectedIconPath": "static/个人@2x.png", + "iconPath": "static/userw.png", + "selectedIconPath": "static/users.png", "text": "个人中心" } ] diff --git a/pages/ProductList/ProductList.vue b/pages/ProductList/ProductList.vue index 0d7d816..84f4181 100644 --- a/pages/ProductList/ProductList.vue +++ b/pages/ProductList/ProductList.vue @@ -1,6 +1,43 @@ @@ -8,14 +45,17 @@ export default { data() { return { - + title: '', }; }, - onLoad(options) { + onReady() { uni.setNavigationBarTitle({ - title: options.title, + title: this.title, }); }, + onLoad(options) { + this.title = options.title + }, methods: { }, @@ -23,5 +63,47 @@ diff --git a/pages/homepage/homepage.vue b/pages/homepage/homepage.vue index f236255..be7edb5 100644 --- a/pages/homepage/homepage.vue +++ b/pages/homepage/homepage.vue @@ -2,31 +2,32 @@ - + + 护理站 - + 就医 - + 健康知识 - + 国家老年病中心 - + 体卫融合 @@ -86,7 +87,7 @@ transform: translateX(-50%); } - img { + image { width: 70rpx; height: 70rpx; position: absolute; @@ -114,7 +115,7 @@ transform: translateX(-50%); } - img { + image { width: 100rpx; height: 100rpx; position: absolute; diff --git a/pages/shopping/shopping.vue b/pages/shopping/shopping.vue index 15990e0..4b8a6e9 100644 --- a/pages/shopping/shopping.vue +++ b/pages/shopping/shopping.vue @@ -2,25 +2,26 @@ - + 特医食品 - + + 营养膳食 - + 可穿戴医疗设备 - + 适老化改造 @@ -40,7 +41,7 @@ goProductList(number) { if (number == 1) { var titlename = '特医食品' - uni.reLaunch({ + uni.navigateTo({ url: `/pages/ProductList/ProductList?title=${titlename}` }) } @@ -88,7 +89,7 @@ transform: translateX(-50%); } - img { + image { width: 100rpx; height: 100rpx; position: absolute; diff --git a/static/产品-01@2x.png b/static/cp.png similarity index 100% rename from static/产品-01@2x.png rename to static/cp.png diff --git a/static/首页@2x.png b/static/homepagew.png similarity index 100% rename from static/首页@2x.png rename to static/homepagew.png diff --git a/static/首页 拷贝@2x.png b/static/homepagews.png similarity index 100% rename from static/首页 拷贝@2x.png rename to static/homepagews.png diff --git a/static/居家护理@2x.png b/static/jjhl.png similarity index 100% rename from static/居家护理@2x.png rename to static/jjhl.png diff --git a/static/跑步 拷贝@2x.png b/static/pb.png similarity index 100% rename from static/跑步 拷贝@2x.png rename to static/pb.png diff --git a/static/shoppingcs.png b/static/shoppingcs.png new file mode 100644 index 0000000..c049cde Binary files /dev/null and b/static/shoppingcs.png differ diff --git a/static/商城11@2x.png b/static/shoppings.png similarity index 100% rename from static/商城11@2x.png rename to static/shoppings.png diff --git a/static/商城11 拷贝@2x.png b/static/shoppingw.png similarity index 100% rename from static/商城11 拷贝@2x.png rename to static/shoppingw.png diff --git a/static/食品@2x.png b/static/sp.png similarity index 100% rename from static/食品@2x.png rename to static/sp.png diff --git a/static/个人@2x.png b/static/users.png similarity index 100% rename from static/个人@2x.png rename to static/users.png diff --git a/static/个人 拷贝 2@2x.png b/static/userw.png similarity index 100% rename from static/个人 拷贝 2@2x.png rename to static/userw.png diff --git a/static/养老服务_fill@2x.png b/static/ylfw.png similarity index 100% rename from static/养老服务_fill@2x.png rename to static/ylfw.png diff --git a/static/营养膳食@2x.png b/static/yyss.png similarity index 100% rename from static/营养膳食@2x.png rename to static/yyss.png diff --git a/static/zhuanjia@2x.png b/static/zhuanjia.png similarity index 100% rename from static/zhuanjia@2x.png rename to static/zhuanjia.png diff --git a/static/智能手表@2x.png b/static/znsb.png similarity index 100% rename from static/智能手表@2x.png rename to static/znsb.png diff --git a/static/知识@2x.png b/static/zs.png similarity index 100% rename from static/知识@2x.png rename to static/zs.png