diff --git a/pages.json b/pages.json index f6086fa..a8a8304 100644 --- a/pages.json +++ b/pages.json @@ -1,686 +1,676 @@ { - "tabBar": { - "color": "#000000", - "selectedColor": "#fa2209", - "borderStyle": "black", - "backgroundColor": "#ffffff", - "list": [{ - "pagePath": "pages/index/index", - "iconPath": "static/tabbar/home.png", - "selectedIconPath": "static/tabbar/home-active.png", - "text": "首页" - }, { - "pagePath": "pages/category/index", - "iconPath": "static/tabbar/cate.png", - "selectedIconPath": "static/tabbar/cate-active.png", - "text": "分类" - }, { - "pagePath": "pages/serve/index", - "iconPath": "static/tabbar/serve.png", - "selectedIconPath": "static/tabbar/serve-active.png", - "text": "服务" - }, { - "pagePath": "pages/cart/index", - "iconPath": "static/tabbar/cart.png", - "selectedIconPath": "static/tabbar/cart-active.png", - "text": "购物车" - }, { - "pagePath": "pages/user/index", - "iconPath": "static/tabbar/user.png", - "selectedIconPath": "static/tabbar/user-active.png", - "text": "我的" - }] - }, - "pages": [ //pages数组中第一项表示应用启动页,参考:https://uniapp.dcloud.io/collocation/pages - - { - "path": "pages/index/index", - "style": { - "enablePullDownRefresh": true, - "navigationStyle": "custom" - } - }, - { - "path": "pages/serve/index", - "style": { - "enablePullDownRefresh": true, - "navigationBarTitleText": "服务" - } + "tabBar": { + "color": "#000000", + "selectedColor": "#fa2209", + "borderStyle": "black", + "backgroundColor": "#ffffff", + "list": [{ + "pagePath": "pages/index/index", + "iconPath": "static/tabbar/home.png", + "selectedIconPath": "static/tabbar/home-active.png", + "text": "首页" + }, { + "pagePath": "pages/category/index", + "iconPath": "static/tabbar/cate.png", + "selectedIconPath": "static/tabbar/cate-active.png", + "text": "分类" + }, { + "pagePath": "pages/serve/index", + "iconPath": "static/tabbar/serve.png", + "selectedIconPath": "static/tabbar/serve-active.png", + "text": "服务" + }, { + "pagePath": "pages/cart/index", + "iconPath": "static/tabbar/cart.png", + "selectedIconPath": "static/tabbar/cart-active.png", + "text": "购物车" + }, { + "pagePath": "pages/user/index", + "iconPath": "static/tabbar/user.png", + "selectedIconPath": "static/tabbar/user-active.png", + "text": "我的" + }] }, - { - "path": "pages/category/index", - "style": { - "navigationBarTitleText": "全部分类" - } - }, - { - "path": "pages/cart/index", - "style": { - "navigationBarTitleText": "购物车" - } - }, - { - "path": "pages/user/index", - "style": { - "navigationBarTitleText": "个人中心", - "enablePullDownRefresh": true, - "navigationStyle": "custom", - "mp-alipay": { - "defaultTitle": "", - "transparentTitle": "always" - } - } - }, - { - "path": "pages/member/index", - "style": { - // "navigationBarTitleText": "会员中心", - "navigationStyle": "custom" - } - }, - - - - { - "path": "pages/invite/index", - "style": { - "navigationBarTitleText": "邀请有礼", - "navigationBarBackgroundColor": "#FF5554", - "navigationBarTextStyle": "white" - } - }, - { - "path": "pages/custom/index", - "style": { - "enablePullDownRefresh": true - } - }, - { - "path": "pages/search/index", - "style": { - "navigationBarTitleText": "商品搜索" - } - }, - { - "path": "pages/login/index", - "style": { - "navigationBarTitleText": "会员登录" - } - }, - { - "path": "pages/user/bind/index", - "style": { - "navigationBarTitleText": "绑定手机" - } - }, - { - "path": "pages/user/personal/index", - "style": { - "navigationBarTitleText": "个人信息" - } - }, - { - "path": "pages/article/index", - "style": { - "navigationBarTitleText": "资讯列表" - } - }, - { - "path": "pages/article/detail", - "style": { - "navigationBarTitleText": "资讯详情" - } - }, - { - "path": "pages/help/index", - "style": { - "navigationBarTitleText": "帮助中心" - } - }, - { - "path": "pages/coupon/index", - "style": { - "navigationBarTitleText": "领券中心" - } - }, - { - "path": "pages/goods/list", - "style": { - "navigationBarTitleText": "商品列表", - "enablePullDownRefresh": true - } - }, - { - "path": "pages/goods/detail", - "style": { - "navigationStyle": "custom" - // "navigationBarTitleText": "商品详情页" - } - }, - { - "path": "pages/comment/index", - "style": { - "navigationBarTitleText": "商品评价页" - } - }, - { - "path": "pages/my-coupon/index", - "style": { - "navigationBarTitleText": "我的优惠券" - } - }, - { - "path": "pages/address/index", - "style": { - "navigationBarTitleText": "收货地址" - } - }, - { - "path": "pages/address/create", - "style": { - "navigationBarTitleText": "新增收货地址" - } - }, - { - "path": "pages/address/update", - "style": { - "navigationBarTitleText": "编辑收货地址" - } - }, - { - "path": "pages/points/log", - "style": { - "navigationBarTitleText": "账单明细" - } - }, - { - "path": "pages/wallet/index", - "style": { - "navigationBarTitleText": "我的钱包" - } - }, - { - "path": "pages/wallet/balance/log", - "style": { - "navigationBarTitleText": "账单详情" - } - }, - { - "path": "pages/wallet/recharge/index", - "style": { - "navigationBarTitleText": "充值中心" - } - }, - { - "path": "pages/wallet/recharge/order", - "style": { - "navigationBarTitleText": "充值记录" - } - }, - { - "path": "pages/checkout/index", - "style": { - "navigationBarTitleText": "订单结算台" - } - }, - { - "path": "pages/checkout/cashier/index", - "style": { - "navigationBarTitleText": "支付订单" - } - }, - { - "path": "pages/sureOrder/index", - "style": { - "navigationBarTitleText": "确认订单", - "navigationStyle": "custom" - } - }, - { - "path": "pages/order/center", - "style": { - "navigationBarTitleText": "订单中心", - "enablePullDownRefresh": true - } - }, - { - "path": "pages/order/index", - "style": { - "navigationBarTitleText": "我的订单", - "enablePullDownRefresh": true - } - }, - { - "path": "pages/order/detail", - "style": { - "navigationStyle": "custom" - // "navigationBarTitleText": "订单详情", - // "navigationBarTextStyle": "black", - // "navigationBarBackgroundColor": "#ffaaff" - } - }, - { - "path": "pages/order/express/index", - "style": { - "navigationBarTitleText": "物流跟踪" - } - }, - { - "path": "pages/order/extract/check", - "style": { - "navigationBarTitleText": "订单自提核销" - } - }, - { - "path": "pages/order/comment/index", - "style": { - "navigationBarTitleText": "订单评价" - } - }, - { - "path": "pages/refund/index", - "style": { - "navigationBarTitleText": "退换/售后" - } - }, - { - "path": "pages/refund/detail", - "style": { - "navigationBarTitleText": "售后详情" - } - }, - { - "path": "pages/refund/apply", - "style": { - "navigationBarTitleText": "申请售后" - } - }, - { - "path": "pages/shop/extract", - "style": { - "navigationBarTitleText": "选择自提门店" - } - }, - { - "path": "pages/shop/detail", - "style": { - "navigationBarTitleText": "门店详情" - } - }, - { - "path": "pages/dealer/index", - "style": { - "navigationBarTitleText": "" - } - }, - { - "path": "pages/dealer/apply", - "style": { - "navigationBarTitleText": "" - } - }, - { - "path": "pages/dealer/withdraw/apply", - "style": { - "navigationBarTitleText": "" - } - }, - { - "path": "pages/dealer/withdraw/list", - "style": { - "navigationBarTitleText": "" - } - }, - { - "path": "pages/dealer/poster", - "style": { - "navigationBarTitleText": "" - } - }, - { - "path": "pages/dealer/order", - "style": { - "navigationBarTitleText": "" - } - }, - { - "path": "pages/dealer/team", - "style": { - "navigationBarTitleText": "" - } - }, - { - "path": "pages/bargain/index", - "style": { - "navigationBarTitleText": "砍价会场" - } - }, - { - "path": "pages/bargain/goods/index", - "style": { - "navigationBarTitleText": "砍价商品" - } - }, - { - "path": "pages/bargain/task", - "style": { - "navigationBarTitleText": "砍价任务" - } - }, - { - "path": "pages/sharp/index", - "style": { - "navigationBarTitleText": "整点秒杀会场", - "enablePullDownRefresh": true - } - }, - { - "path": "pages/sharp/goods/index", - "style": { - "navigationBarTitleText": "秒杀商品详情" - } - }, - { - "path": "pages/groupon/index", - "style": { - "navigationBarTitleText": "拼团活动" - } - }, - { - "path": "pages/groupon/goods/index", - "style": { - "navigationBarTitleText": "拼团商品" - } - }, - { - "path": "pages/groupon/task/index", - "style": { - "navigationBarTitleText": "拼团详情", - // "navigationStyle": "custom" - "navigationBarBackgroundColor": "#FF5644", - "navigationBarTextStyle": "white" - } - }, - { - "path": "pages/live/index", - "style": { - "navigationBarTitleText": "直播列表", - "enablePullDownRefresh": true - } - } - ,{ - "path" : "pages/invoice/index", - "style" : - { - "navigationBarTitleText": "我的发票抬头", - "enablePullDownRefresh": false - } - - } - ,{ - "path" : "pages/invoice/detail", - "style" : - { - "navigationBarTitleText": "我的发票抬头", - "enablePullDownRefresh": false - } - - } - ,{ - "path" : "pages/invoice/edit", - "style" : - { - "navigationBarTitleText": "申请发票", - "enablePullDownRefresh": false - } - - } - ,{ - "path" : "pages/order/refund/refund", - "style" : - { - "navigationBarTitleText": "申请退款", - "enablePullDownRefresh": false - } - - } - ,{ - "path" : "pages/order/refund/index", - "style" : - { - "navigationBarTitleText": "申请售后", - "enablePullDownRefresh": false - } - - } - ,{ - "path" : "pages/order/refund/freight", - "style" : - { - "navigationBarTitleText": "退货运费", - "enablePullDownRefresh": false - } - - } - ,{ - "path" : "pages/order/refund/refund1", - "style" : - { - "navigationBarTitleText": "申请退款", - "enablePullDownRefresh": false - } - - } - ,{ - "path" : "pages/order/refund/refundDetail", - "style" : - { - "navigationBarTitleText": "退货退款详情", + "pages": [ //pages数组中第一项表示应用启动页,参考:https://uniapp.dcloud.io/collocation/pages + + { + "path": "pages/index/index", + "style": { + "enablePullDownRefresh": true, + "navigationStyle": "custom" + } + }, + { + "path": "pages/serve/index", + "style": { + "enablePullDownRefresh": true, + "navigationBarTitleText": "服务" + } + }, + { + "path": "pages/category/index", + "style": { + "navigationBarTitleText": "全部分类" + } + }, + { + "path": "pages/cart/index", + "style": { + "navigationBarTitleText": "购物车" + } + }, + { + "path": "pages/user/index", + "style": { + "navigationBarTitleText": "个人中心", + "enablePullDownRefresh": true, + "navigationStyle": "custom", + "mp-alipay": { + "defaultTitle": "", + "transparentTitle": "always" + } + } + }, + { + "path": "pages/member/index", + "style": { + // "navigationBarTitleText": "会员中心", + "navigationStyle": "custom" + } + }, + { + "path": "pages/memberInfo/index", + "style": { + // "navigationBarTitleText": "会员购买记录", + "navigationStyle": "custom" + } + }, + + + { + "path": "pages/invite/index", + "style": { + "navigationBarTitleText": "邀请有礼", + "navigationBarBackgroundColor": "#FF5554", + "navigationBarTextStyle": "white" + } + }, + { + "path": "pages/custom/index", + "style": { + "enablePullDownRefresh": true + } + }, + { + "path": "pages/search/index", + "style": { + "navigationBarTitleText": "商品搜索" + } + }, + { + "path": "pages/login/index", + "style": { + "navigationBarTitleText": "会员登录" + } + }, + { + "path": "pages/user/bind/index", + "style": { + "navigationBarTitleText": "绑定手机" + } + }, + { + "path": "pages/user/personal/index", + "style": { + "navigationBarTitleText": "个人信息" + } + }, + { + "path": "pages/article/index", + "style": { + "navigationBarTitleText": "资讯列表" + } + }, + { + "path": "pages/article/detail", + "style": { + "navigationBarTitleText": "资讯详情" + } + }, + { + "path": "pages/help/index", + "style": { + "navigationBarTitleText": "帮助中心" + } + }, + { + "path": "pages/coupon/index", + "style": { + "navigationBarTitleText": "领券中心" + } + }, + { + "path": "pages/goods/list", + "style": { + "navigationBarTitleText": "商品列表", + "enablePullDownRefresh": true + } + }, + { + "path": "pages/goods/detail", + "style": { + "navigationStyle": "custom" + // "navigationBarTitleText": "商品详情页" + } + }, + { + "path": "pages/comment/index", + "style": { + "navigationBarTitleText": "商品评价页" + } + }, + { + "path": "pages/my-coupon/index", + "style": { + "navigationBarTitleText": "我的优惠券" + } + }, + { + "path": "pages/address/index", + "style": { + "navigationBarTitleText": "收货地址" + } + }, + { + "path": "pages/address/create", + "style": { + "navigationBarTitleText": "新增收货地址" + } + }, + { + "path": "pages/address/update", + "style": { + "navigationBarTitleText": "编辑收货地址" + } + }, + { + "path": "pages/points/log", + "style": { + "navigationBarTitleText": "账单明细" + } + }, + { + "path": "pages/wallet/index", + "style": { + "navigationBarTitleText": "我的钱包" + } + }, + { + "path": "pages/wallet/balance/log", + "style": { + "navigationBarTitleText": "账单详情" + } + }, + { + "path": "pages/wallet/recharge/index", + "style": { + "navigationBarTitleText": "充值中心" + } + }, + { + "path": "pages/wallet/recharge/order", + "style": { + "navigationBarTitleText": "充值记录" + } + }, + { + "path": "pages/checkout/index", + "style": { + "navigationBarTitleText": "订单结算台" + } + }, + { + "path": "pages/checkout/cashier/index", + "style": { + "navigationBarTitleText": "支付订单" + } + }, + { + "path": "pages/sureOrder/index", + "style": { + "navigationBarTitleText": "确认订单", + "navigationStyle": "custom" + } + }, + { + "path": "pages/order/center", + "style": { + "navigationBarTitleText": "订单中心", + "enablePullDownRefresh": true + } + }, + { + "path": "pages/order/index", + "style": { + "navigationBarTitleText": "我的订单", + "enablePullDownRefresh": true + } + }, + { + "path": "pages/order/detail", + "style": { + "navigationStyle": "custom" + // "navigationBarTitleText": "订单详情", + // "navigationBarTextStyle": "black", + // "navigationBarBackgroundColor": "#ffaaff" + } + }, + { + "path": "pages/order/express/index", + "style": { + "navigationBarTitleText": "物流跟踪" + } + }, + { + "path": "pages/order/extract/check", + "style": { + "navigationBarTitleText": "订单自提核销" + } + }, + { + "path": "pages/order/comment/index", + "style": { + "navigationBarTitleText": "订单评价" + } + }, + { + "path": "pages/refund/index", + "style": { + "navigationBarTitleText": "退换/售后" + } + }, + { + "path": "pages/refund/detail", + "style": { + "navigationBarTitleText": "售后详情" + } + }, + { + "path": "pages/refund/apply", + "style": { + "navigationBarTitleText": "申请售后" + } + }, + { + "path": "pages/shop/extract", + "style": { + "navigationBarTitleText": "选择自提门店" + } + }, + { + "path": "pages/shop/detail", + "style": { + "navigationBarTitleText": "门店详情" + } + }, + { + "path": "pages/dealer/index", + "style": { + "navigationBarTitleText": "" + } + }, + { + "path": "pages/dealer/apply", + "style": { + "navigationBarTitleText": "" + } + }, + { + "path": "pages/dealer/withdraw/apply", + "style": { + "navigationBarTitleText": "" + } + }, + { + "path": "pages/dealer/withdraw/list", + "style": { + "navigationBarTitleText": "" + } + }, + { + "path": "pages/dealer/poster", + "style": { + "navigationBarTitleText": "" + } + }, + { + "path": "pages/dealer/order", + "style": { + "navigationBarTitleText": "" + } + }, + { + "path": "pages/dealer/team", + "style": { + "navigationBarTitleText": "" + } + }, + { + "path": "pages/bargain/index", + "style": { + "navigationBarTitleText": "砍价会场" + } + }, + { + "path": "pages/bargain/goods/index", + "style": { + "navigationBarTitleText": "砍价商品" + } + }, + { + "path": "pages/bargain/task", + "style": { + "navigationBarTitleText": "砍价任务" + } + }, + { + "path": "pages/sharp/index", + "style": { + "navigationBarTitleText": "整点秒杀会场", + "enablePullDownRefresh": true + } + }, + { + "path": "pages/sharp/goods/index", + "style": { + "navigationBarTitleText": "秒杀商品详情" + } + }, + { + "path": "pages/groupon/index", + "style": { + "navigationBarTitleText": "拼团活动" + } + }, + { + "path": "pages/groupon/goods/index", + "style": { + "navigationBarTitleText": "拼团商品" + } + }, + { + "path": "pages/groupon/task/index", + "style": { + "navigationBarTitleText": "拼团详情", + // "navigationStyle": "custom" + "navigationBarBackgroundColor": "#FF5644", + "navigationBarTextStyle": "white" + } + }, + { + "path": "pages/live/index", + "style": { + "navigationBarTitleText": "直播列表", + "enablePullDownRefresh": true + } + }, { + "path": "pages/invoice/index", + "style": { + "navigationBarTitleText": "我的发票抬头", + "enablePullDownRefresh": false + } + + }, { + "path": "pages/invoice/detail", + "style": { + "navigationBarTitleText": "我的发票抬头", + "enablePullDownRefresh": false + } + + }, { + "path": "pages/invoice/edit", + "style": { + "navigationBarTitleText": "申请发票", + "enablePullDownRefresh": false + } + + }, { + "path": "pages/order/refund/refund", + "style": { + "navigationBarTitleText": "申请退款", + "enablePullDownRefresh": false + } + + }, { + "path": "pages/order/refund/index", + "style": { + "navigationBarTitleText": "申请售后", + "enablePullDownRefresh": false + } + + }, { + "path": "pages/order/refund/freight", + "style": { + "navigationBarTitleText": "退货运费", + "enablePullDownRefresh": false + } + + }, { + "path": "pages/order/refund/refund1", + "style": { + "navigationBarTitleText": "申请退款", + "enablePullDownRefresh": false + } + + }, { + "path": "pages/order/refund/refundDetail", + "style": { + "navigationBarTitleText": "退货退款详情", "navigationStyle": "custom", - "enablePullDownRefresh": false - } - - } - ,{ - "path" : "pages/order/refund/refundDetail1", - "style" : - { - "navigationBarTitleText": "退货退款详情", + "enablePullDownRefresh": false + } + + }, { + "path": "pages/order/refund/refundDetail1", + "style": { + "navigationBarTitleText": "退货退款详情", "navigationStyle": "custom", - "enablePullDownRefresh": false - } - - } - ,{ - "path" : "pages/invite/list", - "style" : - { - "navigationBarTitleText": "邀请记录", + "enablePullDownRefresh": false + } + + }, { + "path": "pages/invite/list", + "style": { + "navigationBarTitleText": "邀请记录", "navigationStyle": "custom", - "enablePullDownRefresh": false - } - - } - ,{ - "path" : "pages/user/vip/goods", - "style" : - { - "navigationBarTitleText": "", + "enablePullDownRefresh": false + } + + }, { + "path": "pages/user/vip/goods", + "style": { + "navigationBarTitleText": "", "navigationStyle": "custom", - "enablePullDownRefresh": false - } - - } - ], - "subPackages": [ - { - "root": "pages/news/", - "pages": [ - { - "path" : "coupon/index", - "style" : - { - "navigationBarTitleText": "领券中心", - "navigationBarBackgroundColor": "#FB3A22", - "navigationBarTextStyle": "white", - "enablePullDownRefresh": false - } - }, - { - "path" : "coupon/list", - "style" : - { - "navigationBarTitleText": "领券中心", - "navigationBarBackgroundColor": "#FB3A22", - "navigationBarTextStyle": "white", - "enablePullDownRefresh": false - } - }, - { - "path" : "recycling/index", - "style" : - { - "navigationBarTitleText": "上门回收", - "navigationStyle": "custom", - "enablePullDownRefresh": false - } - }, + "enablePullDownRefresh": false + } + + } + ], + "subPackages": [{ + "root": "pages/news/", + "pages": [{ + "path": "coupon/index", + "style": { + "navigationBarTitleText": "领券中心", + "navigationBarBackgroundColor": "#FB3A22", + "navigationBarTextStyle": "white", + "enablePullDownRefresh": false + } + }, { - "path" : "recycling/detail", - "style" : - { - "navigationBarTitleText": "上门回收", + "path": "coupon/list", + "style": { + "navigationBarTitleText": "领券中心", + "navigationBarBackgroundColor": "#FB3A22", + "navigationBarTextStyle": "white", + "enablePullDownRefresh": false + } + }, + { + "path": "recycling/index", + "style": { + "navigationBarTitleText": "上门回收", "navigationStyle": "custom", - "enablePullDownRefresh": false - } - }, + "enablePullDownRefresh": false + } + }, { - "path" : "recycling/confirm", - "style" : - { - "navigationBarTitleText": "确认服务订单", + "path": "recycling/detail", + "style": { + "navigationBarTitleText": "上门回收", "navigationStyle": "custom", - "enablePullDownRefresh": false - } - }, + "enablePullDownRefresh": false + } + }, { - "path" : "recycling/timer", - "style" : - { - "navigationBarTitleText": "选择时间", + "path": "recycling/confirm", + "style": { + "navigationBarTitleText": "确认服务订单", "navigationStyle": "custom", - "enablePullDownRefresh": false - } - }, + "enablePullDownRefresh": false + } + }, { - "path" : "recycling/order", - "style" : - { - "navigationBarTitleText": "订单详情", + "path": "recycling/timer", + "style": { + "navigationBarTitleText": "选择时间", + "navigationStyle": "custom", + "enablePullDownRefresh": false + } + }, + { + "path": "recycling/order", + "style": { + "navigationBarTitleText": "订单详情", + "navigationStyle": "custom", + "enablePullDownRefresh": false + } + } + ] + }, + { + "root": "pages/activity/", + "pages": [{ + "path": "presale", + "style": { + "navigationBarTitleText": "预售专区", + "enablePullDownRefresh": false + } + }, + { + "path": "presaleRule", + "style": { + "navigationBarTitleText": "预售规则", + "enablePullDownRefresh": false + } + }, + { + "path": "intimate", + "style": { + "navigationBarTitleText": "贴心服务", "navigationStyle": "custom", - "enablePullDownRefresh": false - } - } - ] - }, - { - "root": "pages/activity/", - "pages": [ - { - "path" : "presale", - "style" : - { - "navigationBarTitleText": "预售专区", - "enablePullDownRefresh": false - } - }, - { - "path" : "presaleRule", - "style" : - { - "navigationBarTitleText": "预售规则", - "enablePullDownRefresh": false - } - }, - { - "path" : "intimate", - "style" : - { - "navigationBarTitleText": "贴心服务", - "navigationStyle": "custom", - "enablePullDownRefresh": false - } - }, - { - "path" : "newsshop", - "style" : - { - "navigationBarTitleText": "新年换新", - "navigationStyle": "custom", - "enablePullDownRefresh": false - } - }, - { - "path" : "newPeople", - "style" : - { - "navigationBarTitleText": "新人首单礼", - "navigationStyle": "custom", - "enablePullDownRefresh": false - } - } - - ] - }, - { - "root": "pages/news1/", - "pages": [ - { - "path" : "logistics", - "style" : - { - "navigationStyle": "default", - "navigationBarTextStyle": "black", - "navigationBarTitleText": "物流问题" - } - }, - { + "enablePullDownRefresh": false + } + }, + { + "path": "newsshop", + "style": { + "navigationBarTitleText": "新年换新", + "navigationStyle": "custom", + "enablePullDownRefresh": false + } + }, + { + "path": "newPeople", + "style": { + "navigationBarTitleText": "新人首单礼", + "navigationStyle": "custom", + "enablePullDownRefresh": false + } + }, + { + "path": "seckill", + "style": { + "navigationBarTitleText": "限时秒杀", + "navigationStyle": "custom", + "enablePullDownRefresh": false + } + }, + { + "path": "ranking", + "style": { + "navigationBarTitleText": "排行", + "navigationStyle": "custom", + "enablePullDownRefresh": false + } + }, + { + "path": "newGoods", + "style": { + "navigationBarTitleText": "新品首发", + "navigationStyle": "custom", + "enablePullDownRefresh": false + } + } + ] + }, + { + "root": "pages/news1/", + "pages": [{ + "path": "logistics", + "style": { + "navigationStyle": "default", + "navigationBarTextStyle": "black", + "navigationBarTitleText": "物流问题" + } + }, + { "path": "help", "style": { - // "enablePullDownRefresh": true, - "navigationStyle": "default", - "navigationBarTextStyle": "black", - "navigationBarTitleText": "帮助与客服" + // "enablePullDownRefresh": true, + "navigationStyle": "default", + "navigationBarTextStyle": "black", + "navigationBarTitleText": "帮助与客服" } - }, - { - "path": "jinqun", - "style": { - // "enablePullDownRefresh": true, - "navigationStyle": "default", - "navigationBarTextStyle": "black", - "navigationBarTitleText": "进社群享更多福利" - } - } - - ] - } - ], - "globalStyle": { - // #ifdef H5 - // "navigationStyle": "custom", - "maxWidth": 750, - "rpxCalcMaxDeviceWidth": 750, // rpx 计算所支持的最大设备宽度,单位 px,默认值为 960 - "rpxCalcBaseDeviceWidth": 560, // rpx 计算使用的基准设备宽度,设备实际宽度超出 rpx 计算所支持的最大设备宽度时将按基准宽度计算,单位 px,默认值为 375 - "rpxCalcIncludeWidth": 9999, // rpx 计算特殊处理的值,始终按实际的设备宽度计算,单位 rpx,默认值为 750 - // #endif - "navigationBarBackgroundColor": "#ffffff", - "navigationBarTitleText": "", - "navigationBarTextStyle": "black", - "backgroundTextStyle": "dark" - }, - "easycom": { - "autoscan": true, - "custom": {} - } + }, + { + "path": "jinqun", + "style": { + // "enablePullDownRefresh": true, + "navigationStyle": "default", + "navigationBarTextStyle": "black", + "navigationBarTitleText": "进社群享更多福利" + } + } + + ] + } + ], + "globalStyle": { + // #ifdef H5 + // "navigationStyle": "custom", + "maxWidth": 750, + "rpxCalcMaxDeviceWidth": 750, // rpx 计算所支持的最大设备宽度,单位 px,默认值为 960 + "rpxCalcBaseDeviceWidth": 560, // rpx 计算使用的基准设备宽度,设备实际宽度超出 rpx 计算所支持的最大设备宽度时将按基准宽度计算,单位 px,默认值为 375 + "rpxCalcIncludeWidth": 9999, // rpx 计算特殊处理的值,始终按实际的设备宽度计算,单位 rpx,默认值为 750 + // #endif + "navigationBarBackgroundColor": "#ffffff", + "navigationBarTitleText": "", + "navigationBarTextStyle": "black", + "backgroundTextStyle": "dark" + }, + "easycom": { + "autoscan": true, + "custom": {} + } } \ No newline at end of file diff --git a/pages/activity/presale.vue b/pages/activity/presale.vue index f352820..7122f4e 100644 --- a/pages/activity/presale.vue +++ b/pages/activity/presale.vue @@ -8,20 +8,20 @@ - + 正在进行中 - + - + 一加Ace 2pro超值砍价手机全网通双卡双待 后失效 - + 预约价¥4189 - 去预约 + 去预约 @@ -59,6 +59,11 @@ uni.navigateTo({ url: "/pages/activity/presaleRule" }) + }, + goPre(i){ + uni.navigateTo({ + url: "/pages/goods/detail?isPre=true" + }) }, } } diff --git a/pages/goods/detail.vue b/pages/goods/detail.vue index c2b5f5e..b3f05ad 100644 --- a/pages/goods/detail.vue +++ b/pages/goods/detail.vue @@ -7,7 +7,7 @@ - + @@ -152,35 +152,49 @@ - - - + + + + + + + 客服 + - - 客服 + + + + + + 购物车 + - - - + + + + 加入购物车 + + + 立即购买 - - 收藏 + + 立即预约 - - - + + + + + + - - 购物车 + + 预约成功 + + + 我知道了 - - - 加入购物车 - - - 立即购买 @@ -190,8 +204,12 @@ data() { return { searchValue: '', + isPre:false, } }, + onLoad(options){ + this.isPre = options.isPre + }, methods:{ goHome(){ uni.navigateTo({ @@ -211,10 +229,22 @@ }, shoppingCart(){ // 购物车 - uni.navigateTo({ + uni.switchTab({ url:'/pages/cart/index' }) }, + goSearch(){ + // 购物车 + uni.navigateTo({ + url:'/pages/search/index' + }) + }, + buyNow(){ + // 立即下单 + uni.navigateTo({ + url:'/pages/sureOrder/index' + }) + }, } } @@ -401,6 +431,7 @@ font-weight: 400; color: #FFFFFF; line-height: 48rpx; + text-decoration: line-through; } .rightInfo { @@ -749,6 +780,16 @@ display: flex; align-items: center; text-align: center; + justify-content: space-between; + .fooLeft{ + display: flex; + align-items: center; + } + .fooRight{ + display: flex; + align-items: center; + margin-right: 20rpx; + } .firstBtn { margin-left: 60rpx; } @@ -807,4 +848,59 @@ margin-left: 8rpx; } } + .dia{ + position: fixed; + top: 0; + left: 0; + width: 100%; + height: 100%; + background: rgba(69,69,69,0.44); + display: flex; + justify-content: center; + align-items: center; + text-align: center; + .preSuc{ + width: 560rpx; + height: 400rpx; + background: linear-gradient(180deg, #FFE4E4 0%, #FFFFFF 100%); + border-radius: 12rpx 12rpx 12rpx 12rpx; + opacity: 1; + display: flex; + flex-direction: column; + align-items: center; + .preImg{ + width: 100rpx; + height: 100rpx; + position: relative; + top: -50rpx; + .ldImg{ + width: 100%; + height: 100%; + } + } + .preTitle{ + height: 44rpx; + font-size: 32rpx; + font-family: PingFang SC, PingFang SC; + font-weight: 500; + color: #000000; + line-height: 38rpx; + margin-top: 32rpx; + } + .iKnow{ + width: 412rpx; + height: 72rpx; + background: #F55349; + border-radius: 8rpx 8rpx 8rpx 8rpx; + opacity: 1; + text-align: center; + line-height: 72rpx; + font-size: 28rpx; + font-family: PingFang SC, PingFang SC; + font-weight: 400; + color: #FFFFFF; + margin-top: 70rpx; + } + } + } \ No newline at end of file diff --git a/pages/index/index.vue b/pages/index/index.vue index f9d4257..53275dd 100644 --- a/pages/index/index.vue +++ b/pages/index/index.vue @@ -61,7 +61,7 @@ - + 新人首单礼 @@ -90,13 +90,20 @@ - + - - 大牌正品 + + + 大牌正品 + + + 店内现货 + - - 店内现货 + + + 查看更多 + @@ -115,24 +122,32 @@ - - - - - 本场剩余 - - 20 + + + - : - - 56 + + + + 本场剩余 + + 20 + + : + + 56 + + : + + 47 + - : - - 47 + + 查看更多 + - + @@ -292,7 +307,7 @@ - + 同城服务 @@ -387,16 +402,18 @@ sameCity: false, secondType: [{ name: '预售专区', - url: '' + url: '/pages/activity/presale' }, { name: '邀请有礼', - url: '/pages/invite/index' + url: '/pages/invite/index', }, { - name: '每日签到' + name: '领券中心', + url: '/pages/coupon/index' }, { name: '安装报修' }, { - name: '上门回收' + name: '上门回收', + url: '/pages/news/recycling/index' }, { name: '空调', url: '/pages/goods/detail' @@ -447,6 +464,12 @@ url: '/pages/activity/newsshop' }) }, + goNewUser(){ + // 新人首单礼 + uni.navigateTo({ + url: '/pages/activity/newPeople' + }) + }, goNewGoods() { uni.navigateTo({ url: '/pages/activity/newGoods' @@ -467,6 +490,16 @@ url: item.url }) }, + goBigGoods(){ + uni.navigateTo({ + url: '/pages/user/vip/goods' + }) + }, + sameCityServe(){ + uni.navigateTo({ + url: '/pages/activity/intimate' + }) + }, } } @@ -902,7 +935,6 @@ height: 230rpx; background-image: url('../../static/home/newUserBg.png'); background-size: 100% 100%; - margin-top: 16rpx; margin-left: 20rpx; .firLine { @@ -1006,9 +1038,13 @@ .bigheader { display: flex; align-items: center; - + justify-content: space-between; + .headLeft{ + display: flex; + align-items: center; + } .card { - width: 190rpx; + width: 146rpx; height: 58rpx; font-size: 34rpx; font-family: YouSheBiaoTiHei, YouSheBiaoTiHei; @@ -1016,30 +1052,34 @@ color: #303030; line-height: 58rpx; } - .shop { width: 148rpx; height: 42rpx; font-size: 24rpx; - font-family: PingFang SC, PingFang SC; font-weight: 500; color: #8C4D00; line-height: 42rpx; background-image: url('../../static/home/shopBack.png'); margin-left: 12rpx; - .shopText { width: 96rpx; text-align: center; margin-left: 18rpx; } } + .lookMore{ + height: 28rpx; + font-size: 20rpx; + font-weight: 400; + color: #8C4D00; + line-height: 28rpx; + margin-right: 28rpx; + } } .sellGoods { display: flex; flex-wrap: wrap; - .goodsItem { width: 134rpx; display: flex; @@ -1104,9 +1144,11 @@ display: flex; justify-content: space-between; align-items: center; - + .headeLeft{ + display: flex; + align-items: center; + } .headerTitle { - width: 159rpx; height: 60rpx; border-radius: 0rpx 0rpx 0rpx 0rpx; @@ -1134,6 +1176,15 @@ text-align: center; } } + .lookMore{ + height: 28rpx; + font-size: 20rpx; + font-family: PingFang SC, PingFang SC; + font-weight: 400; + color: #8C4D00; + line-height: 28rpx; + margin-right: 28rpx; + } } .limitGoods { @@ -1189,6 +1240,7 @@ font-weight: 400; color: #8E8E8E; line-height: 28rpx; + text-decoration: line-through; } } @@ -1399,6 +1451,7 @@ white-space: nowrap; line-height: 24rpx; margin-left: 6rpx; + } .text_13 { @@ -1475,6 +1528,7 @@ white-space: nowrap; line-height: 22rpx; margin: 16rpx 0 0 10rpx; + text-decoration: line-through; } .text_18 { diff --git a/pages/member/index.vue b/pages/member/index.vue index a9050ac..79bb059 100644 --- a/pages/member/index.vue +++ b/pages/member/index.vue @@ -23,16 +23,20 @@ 有效期至2024.01.21 + + 购买记录 + + - + 开通Ultra会员获得以下 10项特权 - + - 天天免邮 + {{item.name}} @@ -56,28 +60,6 @@ ¥12/月 - @@ -103,34 +85,7 @@ - - - 月卡订单记录 - - - - - 生效中 - - - - - - 省钱月卡1个月 - - - 活动赠送 - - - - 2023.12.22-2024.01.21 - - - - - 已展示近18个月省钱月卡订单 - - + @@ -152,6 +107,27 @@ export default { data() { return { + equityList:[{ + name:'天天免邮' + },{ + name:'超低会员价' + },{ + name:'折上95折' + },{ + name:'退换免运费' + },{ + name:'促销福利' + },{ + name:'极速售后' + },{ + name:'门店特权' + },{ + name:'不回本退差价' + },{ + name:'团购优惠券' + },{ + name:'双倍积分' + }], payTypeChose:true, isChose: 0, isVip: false, @@ -160,6 +136,13 @@ backgroundSize: '100% auto', }, } + }, + methods:{ + goBuyInfo(){ + uni.navigateTo({ + url:'/pages/memberInfo/index' + }) + }, } } @@ -257,6 +240,16 @@ } } + .buyInfo{ + // width: 112rpx; + height: 40rpx; + font-size: 28rpx; + font-family: PingFang SC, PingFang SC; + font-weight: 400; + color: #785B45; + line-height: 40rpx; + margin-left: 86rpx; + } } .notVip { @@ -278,14 +271,14 @@ .vipList { display: flex; flex-wrap: wrap; - margin: 24rpx 0 0 34rpx; + margin: 24rpx 0 0 0rpx; .vipItem { display: flex; justify-content: center; flex-direction: column; align-items: center; - margin-right: 40rpx; + margin-right: 6rpx; .itemImg { width: 88rpx; @@ -293,7 +286,7 @@ } .vipInfo { - width: 96rpx; + width: 144rpx; height: 34rpx; font-size: 24rpx; font-family: PingFang SC, PingFang SC; @@ -301,6 +294,7 @@ color: #7D2D21; line-height: 34rpx; margin-top: 30rpx; + text-align: center; } } } @@ -426,115 +420,6 @@ } } } - - .main { - width: 750rpx; - height: 1296rpx; - background: #FFFFFF; - opacity: 1; - border-radius: 50rpx 50rpx 0 0; - position: relative; - top: -30rpx; - padding-top: 56rpx; - } - - .mTitle { - width: 192rpx; - height: 44rpx; - font-size: 32rpx; - font-family: PingFang SC, PingFang SC; - font-weight: 500; - color: #8B4338; - line-height: 44rpx; - margin: 0rpx 0 0 38rpx; - } - - .card { - width: 654rpx; - height: 192rpx; - background: #FFF4F4; - border-radius: 8rpx 8rpx 8rpx 8rpx; - opacity: 1; - margin: 26rpx 0 0 38rpx; - display: flex; - - .tp { - - width: 84rpx; - height: 84rpx; - background-image: url('../../static/member/tip.png'); - background-size: 100% 100%; - - .info { - width: 84rpx; - height: 40rpx; - line-height: 40rpx; - font-size: 24rpx; - font-family: PingFang SC, PingFang SC; - font-weight: 400; - color: #FFFFFF; - transform: rotate(-45deg); - } - } - - .detail { - margin-top: 48rpx; - - .topLine { - display: flex; - align-items: center; - - .send { - height: 40rpx; - font-size: 28rpx; - font-family: PingFang SC, PingFang SC; - font-weight: 500; - color: #785B45; - line-height: 40rpx; - } - - .btn { - width: 106rpx; - height: 36rpx; - border-radius: 50rpx 50rpx 50rpx 50rpx; - opacity: 1; - border: 2rpx solid rgba(134, 102, 77, 0.45); - text-align: center; - line-height: 36rpx; - font-size: 20rpx; - font-family: PingFang SC, PingFang SC; - font-weight: 400; - color: rgba(120, 91, 69, 0.63); - line-height: 36rpx; - margin-left: 8rpx; - } - } - - .time { - height: 34rpx; - font-size: 24rpx; - font-family: PingFang SC, PingFang SC; - font-weight: 400; - color: #785B45; - line-height: 34rpx; - margin-top: 28rpx; - } - } - } - - .showInfo { - width: 100%; - - height: 40rpx; - font-size: 28rpx; - font-family: PingFang SC, PingFang SC; - font-weight: 400; - color: #785B45; - line-height: 40rpx; - text-align: center; - margin-top: 46rpx; - } - .footer { position: fixed; bottom: 0rpx; diff --git a/pages/memberInfo/index.vue b/pages/memberInfo/index.vue new file mode 100644 index 0000000..dc84a4c --- /dev/null +++ b/pages/memberInfo/index.vue @@ -0,0 +1,274 @@ + + + + + \ No newline at end of file diff --git a/pages/order/detail.vue b/pages/order/detail.vue index e8ffa84..db3d406 100644 --- a/pages/order/detail.vue +++ b/pages/order/detail.vue @@ -31,12 +31,15 @@ 2023-12-20 09:15 - + - 取件码 + 核销码 - 7599 + + + + 点击放大核销码 @@ -246,6 +249,22 @@ + + + + 核销码 + + + + + + + + + 可前往门店扫码完成操作 + + + @@ -262,6 +281,12 @@ sendType:false, cdDia:false, } + }, + methods:{ + openCode(){ + // 打开核销码 + + }, } } @@ -459,17 +484,31 @@ font-family: PingFang SC, PingFang SC; font-weight: 600; color: #F21A1C; - + display: flex; + flex-direction: column; + align-items: center; .code { height: 34rpx; font-size: 24rpx; line-height: 34rpx; + margin-bottom: 8rpx; } .codeNum { - height: 50rpx; - font-size: 36rpx; - line-height: 50rpx; + width: 80rpx; + height:78rpx; + image{ + width: 100%; + height: 100%; + } + } + .openCode{ + height: 28rpx; + font-size: 20rpx; + font-weight: 400; + color: #848484; + line-height: 23rpx; + margin-top: 4rpx; } } } @@ -888,4 +927,56 @@ } } } + .bigCode{ + position: fixed; + top: 0; + left: 0; + width: 100%; + height: 100%; + background: rgba(65,65,65,0.46); + display: flex; + align-items: center; + justify-content: center; + .cm{ + width: 560rpx; + height: 714rpx; + background: #FFFFFF; + border-radius: 16rpx 16rpx 16rpx 16rpx; + opacity: 1; + padding-top: 44rpx; + .cm_text{ + width: 100%; + height: 42rpx; + font-size: 30rpx; + font-weight: 500; + color: #424242; + line-height: 42rpx; + text-align: center; + } + .txm{ + .codeImg{ + width: 394rpx; + height: 458rpx; + border-radius: 0rpx 0rpx 0rpx 0rpx; + opacity: 1; + } + + } + .cline{ + padding: 0 34rpx; + margin: 46rpx 0 30rpx 0; + } + .sm{ + width: 100%; + height: 34rpx; + font-size: 24rpx; + font-family: PingFang SC, PingFang SC; + font-weight: 500; + color: #979797; + line-height: 28rpx; + text-align: center; + } + + } + } \ No newline at end of file diff --git a/pages/order/index.vue b/pages/order/index.vue index 6d3d1f4..fef0fde 100644 --- a/pages/order/index.vue +++ b/pages/order/index.vue @@ -20,7 +20,7 @@ 卖家已发货 - + @@ -83,10 +83,12 @@ }, { name: `已完成`, value: 'received' - }, { - name: `待评价`, - value: 'comment' - }] + }, + // { + // name: `待评价`, + // value: 'comment' + // }, + ] export default { mixins: [MescrollMixin], @@ -161,6 +163,11 @@ }, methods: { + goOrderDetail(){ + uni.navigateTo({ + url:'/pages/order/detail', + }) + }, toggleImage() { this.isToggle = !this.isToggle }, diff --git a/pages/sureOrder/index.vue b/pages/sureOrder/index.vue index c1f6f00..25a6269 100644 --- a/pages/sureOrder/index.vue +++ b/pages/sureOrder/index.vue @@ -1,7 +1,7 @@ diff --git a/static/user/sale.png b/static/user/sale.png new file mode 100644 index 0000000..2a72d33 Binary files /dev/null and b/static/user/sale.png differ diff --git a/static/user/vip.png b/static/user/vip.png new file mode 100644 index 0000000..7178214 Binary files /dev/null and b/static/user/vip.png differ