diff --git a/package.json b/package.json index 2f75640..75b3b0d 100644 --- a/package.json +++ b/package.json @@ -22,7 +22,7 @@ "dev:mp-baidu": "cross-env NODE_ENV=development UNI_PLATFORM=mp-baidu vue-cli-service uni-build --watch", "dev:mp-qq": "cross-env NODE_ENV=development UNI_PLATFORM=mp-qq vue-cli-service uni-build --watch", "dev:mp-toutiao": "cross-env NODE_ENV=development UNI_PLATFORM=mp-toutiao vue-cli-service uni-build --watch", - "dev:mp-weixin": "cross-env NODE_ENV=development UNI_PLATFORM=mp-weixin vue-cli-service uni-build --watch", + "dev:mp-weixin": "cross-env NODE_ENV=development UNI_PLATFORM=mp-weixin vue-cli-service uni-build --watch --minimize", "dev:quickapp-light": "cross-env NODE_ENV=development UNI_PLATFORM=quickapp-light vue-cli-service uni-build --watch", "dev:quickapp-vue": "cross-env NODE_ENV=development UNI_PLATFORM=quickapp-vue vue-cli-service uni-build --watch", "info": "node node_modules/@dcloudio/vue-cli-plugin-uni/commands/info.js", @@ -91,4 +91,4 @@ "uni-app": { "scripts": {} } -} +} \ No newline at end of file diff --git a/src/pages.json b/src/pages.json index 8bc07a1..e0ffc7a 100644 --- a/src/pages.json +++ b/src/pages.json @@ -18,24 +18,24 @@ "navigationBarTitleText": "验光数据" } }, - { - "path": "pages/detailsChoiceArgs/detailsChoiceArgs", - "style": { - "navigationBarTitleText": "镜片名称名称" - } - }, - { - "path": "pages/purchaseLenses/purchaseLenses", - "style": { - "navigationBarTitleText": "参数选择" - } - }, - { - "path": "pages/lensDetails/lensDetails", - "style": { - "navigationBarTitleText": "产品详情" - } - }, + // { + // "path": "pages/detailsChoiceArgs/detailsChoiceArgs", + // "style": { + // "navigationBarTitleText": "镜片名称名称" + // } + // }, + // { + // "path": "pages/purchaseLenses/purchaseLenses", + // "style": { + // "navigationBarTitleText": "参数选择" + // } + // }, + // { + // "path": "pages/lensDetails/lensDetails", + // "style": { + // "navigationBarTitleText": "产品详情" + // } + // }, { "path": "pages/details/details", "style": { @@ -57,20 +57,20 @@ { "path": "pages/cart/cart", "style": { - "navigationBarTitleText": "购物车", - // "disableScroll":true, - "app-plus":{ - "bounce":"none" - } - } - }, - { - "path": "pages/frameDetail/frameDetail", - "style": { - "navigationBarTitleText": "产品详情" + "navigationBarTitleText": "购物车", + // "disableScroll":true, + "app-plus": { + "bounce": "none" + } } }, // { + // "path": "pages/frameDetail/frameDetail", + // "style": { + // "navigationBarTitleText": "产品详情" + // } + // }, + // { // "path": "pages/refundProgress/refundProgress", // "style": { // "navigationBarTitleText": "申请退款" @@ -112,24 +112,24 @@ "navigationBarTitleText": "待发货" } }, - { - "path": "pages/customerService/customerService", - "style": { - "navigationBarTitleText": "在线客服" - } - }, - { - "path": "pages/detailStandard/detailStandard_sun", - "style": { - "navigationBarTitleText": "太阳镜选购页" - } - }, - { - "path": "pages/detailStandard/detailStandard_k", - "style": { - "navigationBarTitleText": "镜框选购页" - } - }, + // { + // "path": "pages/customerService/customerService", + // "style": { + // "navigationBarTitleText": "在线客服" + // } + // }, + // { + // "path": "pages/detailStandard/detailStandard_sun", + // "style": { + // "navigationBarTitleText": "太阳镜选购页" + // } + // }, + // { + // "path": "pages/detailStandard/detailStandard_k", + // "style": { + // "navigationBarTitleText": "镜框选购页" + // } + // }, { "path": "pages/newOpticsData/newOpticsData", "style": { @@ -139,29 +139,50 @@ ], "subpackages": [ { - "root": "pages/refundment", + "root": "refundment", "pages": [ - "pages/refundment/refundWays", - "pages/refundment/refundment", - "pages/refundProgress/refundProgress" + { + "path": "refundWays", + "style": {} + }, + { + "path": "refundment", + "style": {} + }, + { + "path": "/pages/refundProgress/refundProgress", + "style": {} + } ] }, { - "root": "pages/address", + "root": "address", "name": "pack2", "pages": [ - "pages/address/addAddress", - "pages/address/addressList" - ] - }, - { - "root": "pages/myOrder", - "name": "pack3", - "pages": [ - "pages/myOrder/myOrder", - "pages/myOrderPaying/myOrderPaying" + { + "path": "addAddress", + "style": {} + }, + { + "path": "addressList", + "style": {} + } ] } + // { + // "root": "pages/myOrder", + // "name": "pack3", + // "pages": [ + // { + // "path": "pages/myOrder/myOrder", + // "style": {} + // }, + // { + // "path": "pages/myOrderPaying/myOrderPaying", + // "style": {} + // } + // ] + // } ], "globalStyle": { "navigationBarTextStyle": "black", diff --git a/src/pages/details/details.vue b/src/pages/details/details.vue index b2c2e73..752993d 100644 --- a/src/pages/details/details.vue +++ b/src/pages/details/details.vue @@ -421,7 +421,7 @@ export default { }, // 加入购物车 addCart (mpId, num, checkedSKU, skId, price) { - const addCartList = {} + const addCartList = {} addCartList.mp_id = mpId addCartList.sk_id = skId addCartList.num = num @@ -641,7 +641,7 @@ export default { .menu { position: fixed; bottom: 0; - height: 74px; + min-height: 74px; width: 100%; background: #ffffff; padding: 20px 20px 8px 20px; @@ -688,7 +688,7 @@ export default { } .menu_2 { width: 74%; - height: 86%; + height: 80rpx; display: grid; grid-template-columns: 50% 50%; } diff --git a/src/pages/index/index.vue b/src/pages/index/index.vue index 98afe22..7d4dab4 100644 --- a/src/pages/index/index.vue +++ b/src/pages/index/index.vue @@ -1,25 +1,28 @@ -