diff --git a/components/base/tabbar.vue b/components/base/tabbar.vue
index 04a4895..361388f 100644
--- a/components/base/tabbar.vue
+++ b/components/base/tabbar.vue
@@ -48,7 +48,7 @@
if(index == this.select){
return
}
- uni.redirectTo({
+ uni.reLaunch({
url: item.pagePath
})
},
@@ -72,7 +72,7 @@
height: 120rpx;
// padding-bottom: env(safe-area-inset-bottom);
padding: 10rpx 0rpx;
- z-index: 999999;
+ z-index: 9999;
bottom: 0;
left: 0;
color: #BCBCBC;
diff --git a/pages.json b/pages.json
index 415aabb..1daa75d 100644
--- a/pages.json
+++ b/pages.json
@@ -1,15 +1,6 @@
{
- "pages": [{
- "path": "pages/login/login",
- "style": {
- "navigationBarTitleText": "登录"
- }
- }, {
- "path": "pages/login/wxUserInfo",
- "style": {
- "navigationBarTitleText": "用户信息"
- }
- }, {
+ "pages": [
+ {
"path": "pages/index/index",
"style": {
"navigationBarTitleText": "打卡"
@@ -20,6 +11,7 @@
"style": {
"navigationBarTitleText": "我的"
}
+<<<<<<< HEAD
},
{
"path": "pages/record/record",
@@ -40,21 +32,46 @@
{
"navigationBarTitleText" : ""
}
+=======
+>>>>>>> 260f70e59eebfa09281d5d57173337efd210e7dc
}
],
- // "preloadRule": {
- // "pages/index/index": {
- // "network": "all",
- // "packages": ["pages_order"]
- // }
- // },
- // "subPackages": [{
- // "root": "pages_order",
- // "pages": [{
- // "path": "order/orderDetail"
- // }
- // ]
- // }],
+ "preloadRule": {
+ "pages/index/index": {
+ "network": "all",
+ "packages": ["pages_order"]
+ }
+ },
+ "subPackages": [{
+ "root": "pages_order",
+ "pages": [
+ {
+ "path": "auth/login",
+ "style": {
+ "navigationBarTitleText": "登录"
+ }
+ },
+ {
+ "path": "auth/wxUserInfo",
+ "style": {
+ "navigationBarTitleText": "用户信息"
+ }
+ },
+ {
+ "path": "record/record",
+ "style": {
+ "navigationBarTitleText": "打卡记录"
+ }
+ },
+ {
+ "path" : "autonym/autonym",
+ "style" :
+ {
+ "navigationBarTitleText" : ""
+ }
+ }
+ ]
+ }],
"globalStyle": {
"navigationBarTextStyle": "black",
"navigationBarTitleText": "酒店桌布",
diff --git a/pages/index/cart.vue b/pages/index/cart.vue
deleted file mode 100644
index 4c9a7c2..0000000
--- a/pages/index/cart.vue
+++ /dev/null
@@ -1,259 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- {{ item.title }}
-
-
-
-
-
-
- 规格:{{ item.unit }}
-
-
-
- ¥{{ item.price }}元
-
-
-
-
-
-
-
-
-
-
-
-
- {{ checkboxValue.length }}
-
-
-
-
- 合计
-
- ¥{{ totalPrice }}
-
-
-
- 共{{ checkboxValue.length }}件,已享受更低优惠
-
-
-
- 去结算
-
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/pages/index/center.vue b/pages/index/center.vue
index 802bca3..4a5296d 100644
--- a/pages/index/center.vue
+++ b/pages/index/center.vue
@@ -55,11 +55,11 @@
clickMenu(index){
if(index == 1){
uni.navigateTo({
- url: "/pages/record/record"
+ url: "/pages_order/record/record"
})
}else if(index == 2){
uni.navigateTo({
- url: "/pages/autonym/autonym"
+ url: "/pages_order/autonym/autonym"
})
}
}
diff --git a/pages/index/index.vue b/pages/index/index.vue
index c511c5e..7c4f7cd 100644
--- a/pages/index/index.vue
+++ b/pages/index/index.vue
@@ -42,7 +42,7 @@
-
+
@@ -50,8 +50,8 @@
-
-
diff --git a/pages/login/login.vue b/pages_order/auth/login.vue
similarity index 100%
rename from pages/login/login.vue
rename to pages_order/auth/login.vue
diff --git a/pages/login/wxUserInfo.vue b/pages_order/auth/wxUserInfo.vue
similarity index 96%
rename from pages/login/wxUserInfo.vue
rename to pages_order/auth/wxUserInfo.vue
index 3f229ef..933745c 100644
--- a/pages/login/wxUserInfo.vue
+++ b/pages_order/auth/wxUserInfo.vue
@@ -46,7 +46,7 @@
data() {
return {
userInfo: {
- headImage: '/static/image/login/user.png', //设置了一个本地默认头像
+ headImage: '../static/login/user.png', //设置了一个本地默认头像
nickName: '',
name: ''
}
@@ -91,7 +91,7 @@
// }
// })
- uni.navigateTo({
+ uni.reLaunch({
url: "/pages/index/index"
})
})
diff --git a/pages/autonym/autonym.vue b/pages_order/autonym/autonym.vue
similarity index 100%
rename from pages/autonym/autonym.vue
rename to pages_order/autonym/autonym.vue
diff --git a/pages/record/record.vue b/pages_order/record/record.vue
similarity index 96%
rename from pages/record/record.vue
rename to pages_order/record/record.vue
index 98d8972..45aca35 100644
--- a/pages/record/record.vue
+++ b/pages_order/record/record.vue
@@ -2,7 +2,15 @@
-
+
@@ -120,12 +128,6 @@
`${currentMonth < 10 ? "0" + currentMonth : currentMonth}.${currentDay < 10 ? "0" + currentDay : currentDay}`
},
- //返回首页
- toHome(){
- uni.navigateTo({
- url: "/pages/index/index"
- })
- }
}
}
diff --git a/static/image/autonym/autoym-bg.png b/pages_order/static/autonym/autoym-bg.png
similarity index 100%
rename from static/image/autonym/autoym-bg.png
rename to pages_order/static/autonym/autoym-bg.png
diff --git a/static/image/login/user.png b/pages_order/static/login/user.png
similarity index 100%
rename from static/image/login/user.png
rename to pages_order/static/login/user.png
diff --git a/static/image/cart/1.png b/static/image/cart/1.png
deleted file mode 100644
index 9807f34..0000000
Binary files a/static/image/cart/1.png and /dev/null differ
diff --git a/static/image/cart/2.png b/static/image/cart/2.png
deleted file mode 100644
index 64b1c45..0000000
Binary files a/static/image/cart/2.png and /dev/null differ
diff --git a/static/image/product/favorable.png b/static/image/product/favorable.png
deleted file mode 100644
index edae056..0000000
Binary files a/static/image/product/favorable.png and /dev/null differ