完善会员开通信息
This commit is contained in:
@@ -29,8 +29,24 @@ const payInfo = (orderId) => {
|
||||
})
|
||||
}
|
||||
|
||||
// 会员开通协议
|
||||
const agreement = () => {
|
||||
return request({
|
||||
url: 'cms/pages/1'
|
||||
})
|
||||
}
|
||||
|
||||
// 成长体系
|
||||
const growth = () => {
|
||||
return request({
|
||||
url: 'cms/pages/2'
|
||||
})
|
||||
}
|
||||
|
||||
export {
|
||||
vip,
|
||||
vipPay,
|
||||
payInfo
|
||||
payInfo,
|
||||
agreement,
|
||||
growth
|
||||
}
|
||||
|
||||
852
pages.json
852
pages.json
@@ -1,428 +1,436 @@
|
||||
{
|
||||
"pages": [{
|
||||
"path": "pages/auth/auth",
|
||||
"name": "Auth",
|
||||
"style": {
|
||||
"navigationBarTitleText": "登录",
|
||||
"navigationStyle": "custom"
|
||||
}
|
||||
},
|
||||
{
|
||||
"path": "pages/auth/role",
|
||||
"name": "AuthRole",
|
||||
"style": {
|
||||
"navigationBarTitleText": "角色创建",
|
||||
"navigationBarBackgroundColor": "#FFF",
|
||||
"app-plus": {
|
||||
"titleNView": {
|
||||
"buttons": [{
|
||||
"text": "退出登录",
|
||||
"fontSize": "14",
|
||||
"width": "80px",
|
||||
"color": "#34CE98"
|
||||
}]
|
||||
}
|
||||
}
|
||||
}
|
||||
}, {
|
||||
"path": "pages/life/life",
|
||||
"name": "Life",
|
||||
"style": {
|
||||
"navigationBarTitleText": "共力人生",
|
||||
"navigationStyle": "custom",
|
||||
"app-plus": {
|
||||
"titleNView": {
|
||||
"type": "transparent"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"path": "pages/store/index",
|
||||
"name": "Store",
|
||||
"style": {
|
||||
"navigationBarTitleText": "DT商城",
|
||||
"enablePullDownRefresh": true,
|
||||
"app-plus": {
|
||||
"titleNView": {
|
||||
"backgroundColor": "#FFFFFF",
|
||||
"buttons": [{
|
||||
"float": "right",
|
||||
"text": "\ue603",
|
||||
"fontSrc": "/static/iconfont.ttf",
|
||||
"color": "#000",
|
||||
"fontSize": "20px"
|
||||
}]
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"path": "pages/user/index",
|
||||
"name": "User",
|
||||
"style": {
|
||||
"navigationBarTitleText": "我的",
|
||||
"navigationBarTextStyle": "white",
|
||||
"app-plus": {
|
||||
"titleNView": {
|
||||
"backgroundColor": "#34CE98",
|
||||
"type": "transparent"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"path": "pages/setting/setting",
|
||||
"name": "Setting",
|
||||
"style": {
|
||||
"navigationBarTitleText": "设置中心",
|
||||
"navigationBarBackgroundColor": "#34CE98",
|
||||
"navigationBarTextStyle": "white"
|
||||
}
|
||||
},
|
||||
"pages": [{
|
||||
"path": "pages/auth/auth",
|
||||
"name": "Auth",
|
||||
"style": {
|
||||
"navigationBarTitleText": "登录",
|
||||
"navigationStyle": "custom"
|
||||
}
|
||||
},
|
||||
{
|
||||
"path": "pages/auth/role",
|
||||
"name": "AuthRole",
|
||||
"style": {
|
||||
"navigationBarTitleText": "角色创建",
|
||||
"navigationBarBackgroundColor": "#FFF",
|
||||
"app-plus": {
|
||||
"titleNView": {
|
||||
"buttons": [{
|
||||
"text": "退出登录",
|
||||
"fontSize": "14",
|
||||
"width": "80px",
|
||||
"color": "#34CE98"
|
||||
}]
|
||||
}
|
||||
}
|
||||
}
|
||||
}, {
|
||||
"path": "pages/life/life",
|
||||
"name": "Life",
|
||||
"style": {
|
||||
"navigationBarTitleText": "共力人生",
|
||||
"navigationStyle": "custom",
|
||||
"app-plus": {
|
||||
"titleNView": {
|
||||
"type": "transparent"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"path": "pages/store/index",
|
||||
"name": "Store",
|
||||
"style": {
|
||||
"navigationBarTitleText": "DT商城",
|
||||
"enablePullDownRefresh": true,
|
||||
"app-plus": {
|
||||
"titleNView": {
|
||||
"backgroundColor": "#FFFFFF",
|
||||
"buttons": [{
|
||||
"float": "right",
|
||||
"text": "\ue603",
|
||||
"fontSrc": "/static/iconfont.ttf",
|
||||
"color": "#000",
|
||||
"fontSize": "20px"
|
||||
}]
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"path": "pages/user/index",
|
||||
"name": "User",
|
||||
"style": {
|
||||
"navigationBarTitleText": "我的",
|
||||
"navigationBarTextStyle": "white",
|
||||
"app-plus": {
|
||||
"titleNView": {
|
||||
"backgroundColor": "#34CE98",
|
||||
"type": "transparent"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"path": "pages/setting/setting",
|
||||
"name": "Setting",
|
||||
"style": {
|
||||
"navigationBarTitleText": "设置中心",
|
||||
"navigationBarBackgroundColor": "#34CE98",
|
||||
"navigationBarTextStyle": "white"
|
||||
}
|
||||
},
|
||||
|
||||
{
|
||||
"path": "pages/store/goods",
|
||||
"name": "StoreGoods",
|
||||
"style": {
|
||||
"navigationStyle": "custom",
|
||||
"navigationBarTitleText": "详情",
|
||||
"app-plus": {
|
||||
"titleNView": {
|
||||
"backgroundColor": "#FFFFFF",
|
||||
"type": "transparent"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"path": "pages/store/buy",
|
||||
"name": "StoreBuy",
|
||||
"style": {
|
||||
"navigationBarTitleText": "确认订单",
|
||||
"enablePullDownRefresh": false
|
||||
}
|
||||
},
|
||||
{
|
||||
"path": "pages/order/index",
|
||||
"name": "Order",
|
||||
"style": {
|
||||
"navigationBarTitleText": "我的订单",
|
||||
"navigationBarBackgroundColor": "#FFFFFF",
|
||||
"enablePullDownRefresh": false
|
||||
}
|
||||
},{
|
||||
"path": "pages/order/logistics",
|
||||
"name": "OrderLogistics",
|
||||
"style": {
|
||||
"navigationBarTitleText": "物流进度",
|
||||
"navigationBarBackgroundColor": "#FFFFFF",
|
||||
"enablePullDownRefresh": false
|
||||
}
|
||||
},
|
||||
{
|
||||
"path": "pages/order/details",
|
||||
"name": "OrderDetails",
|
||||
"style": {
|
||||
"navigationBarTitleText": "订单详情",
|
||||
"enablePullDownRefresh": false
|
||||
}
|
||||
},
|
||||
{
|
||||
"path": "pages/address/index",
|
||||
"name": "Address",
|
||||
"style": {
|
||||
"navigationBarTitleText": "收货地址"
|
||||
}
|
||||
},
|
||||
{
|
||||
"path": "pages/address/edit",
|
||||
"name": "AddressEdit",
|
||||
"style": {
|
||||
"navigationBarTitleText": "编辑",
|
||||
"enablePullDownRefresh": false
|
||||
}
|
||||
},
|
||||
{
|
||||
"path": "pages/pay/pay",
|
||||
"name": "Pay",
|
||||
"style": {
|
||||
"navigationBarTitleText": "收银台",
|
||||
"navigationBarBackgroundColor": "#FFFFFF"
|
||||
}
|
||||
},
|
||||
{
|
||||
"path": "pages/store/list",
|
||||
"name": "StoreList",
|
||||
"style": {
|
||||
"navigationBarTitleText": "商品",
|
||||
"navigationBarBackgroundColor": "#FFFFFF",
|
||||
"enablePullDownRefresh": true
|
||||
}
|
||||
},
|
||||
{
|
||||
"path": "pages/store/meals",
|
||||
"name": "StoreMeals",
|
||||
"style": {
|
||||
"navigationBarTitleText": "套餐",
|
||||
"navigationBarBackgroundColor": "#FFFFFF",
|
||||
"enablePullDownRefresh": true
|
||||
}
|
||||
},
|
||||
{
|
||||
"path": "pages/store/search",
|
||||
"name": "StoreSearch",
|
||||
"style": {
|
||||
"navigationBarTitleText": "搜索",
|
||||
"navigationBarBackgroundColor": "#FFFFFF"
|
||||
}
|
||||
},
|
||||
{
|
||||
"path": "pages/refund/list",
|
||||
"name": "OrderRefund",
|
||||
"style": {
|
||||
"navigationBarTitleText": "退换货",
|
||||
"navigationBarBackgroundColor": "#FFFFFF"
|
||||
}
|
||||
}, {
|
||||
"path": "pages/refund/exchange",
|
||||
"name": "Exchange",
|
||||
"style": {
|
||||
"navigationBarTitleText": "换货",
|
||||
"navigationBarBackgroundColor": "#FFFFFF"
|
||||
}
|
||||
},
|
||||
{
|
||||
"path": "pages/store/goods",
|
||||
"name": "StoreGoods",
|
||||
"style": {
|
||||
"navigationStyle": "custom",
|
||||
"navigationBarTitleText": "详情",
|
||||
"app-plus": {
|
||||
"titleNView": {
|
||||
"backgroundColor": "#FFFFFF",
|
||||
"type": "transparent"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"path": "pages/store/buy",
|
||||
"name": "StoreBuy",
|
||||
"style": {
|
||||
"navigationBarTitleText": "确认订单",
|
||||
"enablePullDownRefresh": false
|
||||
}
|
||||
},
|
||||
{
|
||||
"path": "pages/order/index",
|
||||
"name": "Order",
|
||||
"style": {
|
||||
"navigationBarTitleText": "我的订单",
|
||||
"navigationBarBackgroundColor": "#FFFFFF",
|
||||
"enablePullDownRefresh": false
|
||||
}
|
||||
}, {
|
||||
"path": "pages/order/logistics",
|
||||
"name": "OrderLogistics",
|
||||
"style": {
|
||||
"navigationBarTitleText": "物流进度",
|
||||
"navigationBarBackgroundColor": "#FFFFFF",
|
||||
"enablePullDownRefresh": false
|
||||
}
|
||||
},
|
||||
{
|
||||
"path": "pages/order/details",
|
||||
"name": "OrderDetails",
|
||||
"style": {
|
||||
"navigationBarTitleText": "订单详情",
|
||||
"enablePullDownRefresh": false
|
||||
}
|
||||
},
|
||||
{
|
||||
"path": "pages/address/index",
|
||||
"name": "Address",
|
||||
"style": {
|
||||
"navigationBarTitleText": "收货地址"
|
||||
}
|
||||
},
|
||||
{
|
||||
"path": "pages/address/edit",
|
||||
"name": "AddressEdit",
|
||||
"style": {
|
||||
"navigationBarTitleText": "编辑",
|
||||
"enablePullDownRefresh": false
|
||||
}
|
||||
},
|
||||
{
|
||||
"path": "pages/pay/pay",
|
||||
"name": "Pay",
|
||||
"style": {
|
||||
"navigationBarTitleText": "收银台",
|
||||
"navigationBarBackgroundColor": "#FFFFFF"
|
||||
}
|
||||
},
|
||||
{
|
||||
"path": "pages/store/list",
|
||||
"name": "StoreList",
|
||||
"style": {
|
||||
"navigationBarTitleText": "商品",
|
||||
"navigationBarBackgroundColor": "#FFFFFF",
|
||||
"enablePullDownRefresh": true
|
||||
}
|
||||
},
|
||||
{
|
||||
"path": "pages/store/meals",
|
||||
"name": "StoreMeals",
|
||||
"style": {
|
||||
"navigationBarTitleText": "套餐",
|
||||
"navigationBarBackgroundColor": "#FFFFFF",
|
||||
"enablePullDownRefresh": true
|
||||
}
|
||||
},
|
||||
{
|
||||
"path": "pages/store/search",
|
||||
"name": "StoreSearch",
|
||||
"style": {
|
||||
"navigationBarTitleText": "搜索",
|
||||
"navigationBarBackgroundColor": "#FFFFFF"
|
||||
}
|
||||
},
|
||||
{
|
||||
"path": "pages/refund/list",
|
||||
"name": "OrderRefund",
|
||||
"style": {
|
||||
"navigationBarTitleText": "退换货",
|
||||
"navigationBarBackgroundColor": "#FFFFFF"
|
||||
}
|
||||
}, {
|
||||
"path": "pages/refund/exchange",
|
||||
"name": "Exchange",
|
||||
"style": {
|
||||
"navigationBarTitleText": "换货",
|
||||
"navigationBarBackgroundColor": "#FFFFFF"
|
||||
}
|
||||
},
|
||||
|
||||
{
|
||||
"path": "pages/refund/detail",
|
||||
"name": "OrderRefundDetail",
|
||||
"style": {
|
||||
"navigationBarTitleText": "退货退款详情",
|
||||
"navigationBarBackgroundColor": "#FFFFFF"
|
||||
}
|
||||
},
|
||||
{
|
||||
"path": "pages/refund/aftersale",
|
||||
"name": "AfterSale",
|
||||
"style": {
|
||||
"navigationBarTitleText": " 选择售后类型",
|
||||
"navigationBarBackgroundColor": "#FFFFFF"
|
||||
}
|
||||
},
|
||||
{
|
||||
"path": "pages/refund/refund_history",
|
||||
"name": "RefundHistory",
|
||||
"style": {
|
||||
"navigationBarTitleText": "售后历史",
|
||||
"navigationBarBackgroundColor": "#FFFFFF"
|
||||
}
|
||||
},
|
||||
{
|
||||
"path": "pages/refund/deliver_form",
|
||||
"name": "DeliverForm",
|
||||
"style": {
|
||||
"navigationBarTitleText": "填写物流信息",
|
||||
"navigationBarBackgroundColor": "#FFFFFF"
|
||||
}
|
||||
},
|
||||
{
|
||||
"path": "pages/refund/refund_or_exchange_apply",
|
||||
"name": "RefundOrExchangeApply",
|
||||
"style": {
|
||||
"navigationBarTitleText": "退换货申请",
|
||||
"navigationBarBackgroundColor": "#FFFFFF"
|
||||
}
|
||||
},
|
||||
{
|
||||
"path": "pages/refund/refund_money",
|
||||
"name": "RefundMoney",
|
||||
"style": {
|
||||
"navigationBarTitleText": "申请退款",
|
||||
"navigationBarBackgroundColor": "#FFFFFF"
|
||||
}
|
||||
},
|
||||
{
|
||||
"path": "pages/account/integral",
|
||||
"name": "AccountIntegral",
|
||||
"style": {
|
||||
"navigationBarTitleText": "共力值",
|
||||
"navigationBarBackgroundColor": "#34CE98",
|
||||
"navigationBarTextStyle": "white"
|
||||
}
|
||||
}, {
|
||||
"path": "pages/account/dt",
|
||||
"name": "AccountDt",
|
||||
"style": {
|
||||
"navigationBarTitleText": "DT积分",
|
||||
"navigationBarBackgroundColor": "#34CE98",
|
||||
"backgroundColorTop": "#34CE98",
|
||||
"navigationBarTextStyle": "white",
|
||||
"app-plus": {
|
||||
"titleNView": {
|
||||
"buttons": [{
|
||||
"text": "充值",
|
||||
"width": "60",
|
||||
"fontSize": "14"
|
||||
}]
|
||||
}
|
||||
}
|
||||
}
|
||||
}, {
|
||||
"path": "pages/account/recharge",
|
||||
"name": "AccountRecharge",
|
||||
"style": {
|
||||
"navigationBarTitleText": "充值",
|
||||
"navigationBarBackgroundColor": "#FFFFFF",
|
||||
"app-plus": {
|
||||
"titleNView": {
|
||||
"buttons": [{
|
||||
"text": "充值记录",
|
||||
"width": "80",
|
||||
"fontSize": "14"
|
||||
}]
|
||||
}
|
||||
}
|
||||
}
|
||||
}, {
|
||||
"path": "pages/vip/vip",
|
||||
"name": "Vip",
|
||||
"style": {
|
||||
"navigationBarTitleText": "共力会员",
|
||||
"navigationBarBackgroundColor": "#242430",
|
||||
"navigationBarTextStyle": "white",
|
||||
"backgroundColorTop": "#242430"
|
||||
}
|
||||
}, {
|
||||
"path": "pages/vip/agreement",
|
||||
"style": {
|
||||
"navigationBarTitleText": "共力会员协议"
|
||||
}
|
||||
}, {
|
||||
"path": "pages/team/index",
|
||||
"name": "Team",
|
||||
"style": {
|
||||
"navigationBarTitleText": "共力团队"
|
||||
}
|
||||
{
|
||||
"path": "pages/refund/detail",
|
||||
"name": "OrderRefundDetail",
|
||||
"style": {
|
||||
"navigationBarTitleText": "退货退款详情",
|
||||
"navigationBarBackgroundColor": "#FFFFFF"
|
||||
}
|
||||
},
|
||||
{
|
||||
"path": "pages/refund/aftersale",
|
||||
"name": "AfterSale",
|
||||
"style": {
|
||||
"navigationBarTitleText": " 选择售后类型",
|
||||
"navigationBarBackgroundColor": "#FFFFFF"
|
||||
}
|
||||
},
|
||||
{
|
||||
"path": "pages/refund/refund_history",
|
||||
"name": "RefundHistory",
|
||||
"style": {
|
||||
"navigationBarTitleText": "售后历史",
|
||||
"navigationBarBackgroundColor": "#FFFFFF"
|
||||
}
|
||||
},
|
||||
{
|
||||
"path": "pages/refund/deliver_form",
|
||||
"name": "DeliverForm",
|
||||
"style": {
|
||||
"navigationBarTitleText": "填写物流信息",
|
||||
"navigationBarBackgroundColor": "#FFFFFF"
|
||||
}
|
||||
},
|
||||
{
|
||||
"path": "pages/refund/refund_or_exchange_apply",
|
||||
"name": "RefundOrExchangeApply",
|
||||
"style": {
|
||||
"navigationBarTitleText": "退换货申请",
|
||||
"navigationBarBackgroundColor": "#FFFFFF"
|
||||
}
|
||||
},
|
||||
{
|
||||
"path": "pages/refund/refund_money",
|
||||
"name": "RefundMoney",
|
||||
"style": {
|
||||
"navigationBarTitleText": "申请退款",
|
||||
"navigationBarBackgroundColor": "#FFFFFF"
|
||||
}
|
||||
},
|
||||
{
|
||||
"path": "pages/account/integral",
|
||||
"name": "AccountIntegral",
|
||||
"style": {
|
||||
"navigationBarTitleText": "共力值",
|
||||
"navigationBarBackgroundColor": "#34CE98",
|
||||
"navigationBarTextStyle": "white"
|
||||
}
|
||||
}, {
|
||||
"path": "pages/account/dt",
|
||||
"name": "AccountDt",
|
||||
"style": {
|
||||
"navigationBarTitleText": "DT积分",
|
||||
"navigationBarBackgroundColor": "#34CE98",
|
||||
"backgroundColorTop": "#34CE98",
|
||||
"navigationBarTextStyle": "white",
|
||||
"app-plus": {
|
||||
"titleNView": {
|
||||
"buttons": [{
|
||||
"text": "充值",
|
||||
"width": "60",
|
||||
"fontSize": "14"
|
||||
}]
|
||||
}
|
||||
}
|
||||
}
|
||||
}, {
|
||||
"path": "pages/account/recharge",
|
||||
"name": "AccountRecharge",
|
||||
"style": {
|
||||
"navigationBarTitleText": "充值",
|
||||
"navigationBarBackgroundColor": "#FFFFFF",
|
||||
"app-plus": {
|
||||
"titleNView": {
|
||||
"buttons": [{
|
||||
"text": "充值记录",
|
||||
"width": "80",
|
||||
"fontSize": "14"
|
||||
}]
|
||||
}
|
||||
}
|
||||
}
|
||||
}, {
|
||||
"path": "pages/vip/vip",
|
||||
"name": "Vip",
|
||||
"style": {
|
||||
"navigationBarTitleText": "共力会员",
|
||||
"navigationBarBackgroundColor": "#242430",
|
||||
"navigationBarTextStyle": "white",
|
||||
"backgroundColorTop": "#242430"
|
||||
}
|
||||
}, {
|
||||
"path": "pages/vip/agreement",
|
||||
"style": {
|
||||
"navigationBarTitleText": "共力会员协议",
|
||||
"navigationBarBackgroundColor": "#FFFFFF"
|
||||
}
|
||||
}, {
|
||||
"path": "pages/team/index",
|
||||
"name": "Team",
|
||||
"style": {
|
||||
"navigationBarTitleText": "共力团队"
|
||||
}
|
||||
|
||||
},
|
||||
{
|
||||
"path": "pages/store/shop/shopDetail",
|
||||
"name": "ShopDetail",
|
||||
"style": {
|
||||
"navigationStyle": "custom"
|
||||
}
|
||||
},
|
||||
{
|
||||
"path": "pages/store/shop/shopList",
|
||||
"name": "ShopList",
|
||||
"style": {
|
||||
"navigationBarTitleText": "店铺",
|
||||
"navigationBarBackgroundColor": "#FFFFFF",
|
||||
"enablePullDownRefresh": true
|
||||
}
|
||||
}, {
|
||||
"path": "pages/account/log",
|
||||
"name": "AccountLog",
|
||||
"style": {
|
||||
"navigationBarTitleText": "充值记录",
|
||||
"navigationBarBackgroundColor": "#FFFFFF"
|
||||
}
|
||||
}, {
|
||||
"path": "pages/account/transfer",
|
||||
"name": "AccountTransfer",
|
||||
"style": {
|
||||
"navigationBarTitleText": "转账",
|
||||
"navigationBarBackgroundColor": "#F3F6FB"
|
||||
}
|
||||
}, {
|
||||
"path": "pages/account/resetPassword",
|
||||
"name": "AccountResetPassword",
|
||||
"style": {
|
||||
"navigationBarTitleText": "钱包密码",
|
||||
"navigationBarBackgroundColor": "#F3F6FB"
|
||||
}
|
||||
}, {
|
||||
"path": "pages/account/results",
|
||||
"name": "Accountresults",
|
||||
"style": {
|
||||
"navigationBarTitleText": "转账结果",
|
||||
"navigationBarBackgroundColor": "#FFFFFF"
|
||||
}
|
||||
}, {
|
||||
"path": "pages/account/code",
|
||||
"name": "AccountCode",
|
||||
"style": {
|
||||
"navigationBarTitleText": "收款码",
|
||||
"navigationBarBackgroundColor": "#34CE98",
|
||||
"backgroundColorTop": "#34CE98",
|
||||
"navigationBarTextStyle": "white"
|
||||
}
|
||||
}, {
|
||||
"path": "pages/invitation/invitation",
|
||||
"name": "Invitation",
|
||||
"style": {
|
||||
"navigationStyle": "custom",
|
||||
"disableScroll": true
|
||||
}
|
||||
}, {
|
||||
"path": "pages/life/capacity",
|
||||
"name": "Capacity",
|
||||
"style": {
|
||||
"navigationBarTitleText": "-"
|
||||
}
|
||||
},{
|
||||
"path" : "pages/feedback/feedback",
|
||||
},
|
||||
{
|
||||
"path": "pages/store/shop/shopDetail",
|
||||
"name": "ShopDetail",
|
||||
"style": {
|
||||
"navigationStyle": "custom"
|
||||
}
|
||||
},
|
||||
{
|
||||
"path": "pages/store/shop/shopList",
|
||||
"name": "ShopList",
|
||||
"style": {
|
||||
"navigationBarTitleText": "店铺",
|
||||
"navigationBarBackgroundColor": "#FFFFFF",
|
||||
"enablePullDownRefresh": true
|
||||
}
|
||||
}, {
|
||||
"path": "pages/account/log",
|
||||
"name": "AccountLog",
|
||||
"style": {
|
||||
"navigationBarTitleText": "充值记录",
|
||||
"navigationBarBackgroundColor": "#FFFFFF"
|
||||
}
|
||||
}, {
|
||||
"path": "pages/account/transfer",
|
||||
"name": "AccountTransfer",
|
||||
"style": {
|
||||
"navigationBarTitleText": "转账",
|
||||
"navigationBarBackgroundColor": "#F3F6FB"
|
||||
}
|
||||
}, {
|
||||
"path": "pages/account/resetPassword",
|
||||
"name": "AccountResetPassword",
|
||||
"style": {
|
||||
"navigationBarTitleText": "钱包密码",
|
||||
"navigationBarBackgroundColor": "#F3F6FB"
|
||||
}
|
||||
}, {
|
||||
"path": "pages/account/results",
|
||||
"name": "Accountresults",
|
||||
"style": {
|
||||
"navigationBarTitleText": "转账结果",
|
||||
"navigationBarBackgroundColor": "#FFFFFF"
|
||||
}
|
||||
}, {
|
||||
"path": "pages/account/code",
|
||||
"name": "AccountCode",
|
||||
"style": {
|
||||
"navigationBarTitleText": "收款码",
|
||||
"navigationBarBackgroundColor": "#34CE98",
|
||||
"backgroundColorTop": "#34CE98",
|
||||
"navigationBarTextStyle": "white"
|
||||
}
|
||||
}, {
|
||||
"path": "pages/invitation/invitation",
|
||||
"name": "Invitation",
|
||||
"style": {
|
||||
"navigationStyle": "custom",
|
||||
"disableScroll": true
|
||||
}
|
||||
}, {
|
||||
"path": "pages/life/capacity",
|
||||
"name": "Capacity",
|
||||
"style": {
|
||||
"navigationBarTitleText": "-"
|
||||
}
|
||||
}, {
|
||||
"path": "pages/feedback/feedback",
|
||||
"name": "Feedback",
|
||||
"style": {
|
||||
"navigationBarTitleText": "意见反馈",
|
||||
"enablePullDownRefresh": false,
|
||||
"navigationBarBackgroundColor": "#FFFFFF",
|
||||
"app-plus": {
|
||||
"titleNView": {
|
||||
"type": "default",
|
||||
"buttons": [{
|
||||
"float": "right",
|
||||
"text": "电话反馈",
|
||||
"width": "80px",
|
||||
"fontSize": "14px",
|
||||
"color": "#34CE98"
|
||||
}]
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
],
|
||||
"tabBar": {
|
||||
"borderStyle": "white",
|
||||
"selectedColor": "#34CE98",
|
||||
"list": [{
|
||||
"iconPath": "static/tabBar/tabBar_02.png",
|
||||
"selectedIconPath": "static/tabBar/tabBar_show_02.png",
|
||||
"pagePath": "pages/life/life",
|
||||
"text": "共力人生"
|
||||
}, {
|
||||
"iconPath": "static/tabBar/tabBar_02.png",
|
||||
"selectedIconPath": "static/tabBar/tabBar_show_02.png",
|
||||
"pagePath": "pages/store/index",
|
||||
"text": "DT商城"
|
||||
}, {
|
||||
"iconPath": "static/tabBar/tabBar_03.png",
|
||||
"selectedIconPath": "static/tabBar/tabBar_show_03.png",
|
||||
"pagePath": "pages/user/index",
|
||||
"text": "我的"
|
||||
}]
|
||||
},
|
||||
"globalStyle": {
|
||||
"navigationBarTextStyle": "black",
|
||||
"navigationBarTitleText": "ZH健康",
|
||||
"navigationBarBackgroundColor": "#F3F6FB",
|
||||
"backgroundColorTop": "#F3F6FB",
|
||||
"backgroundColorBottom": "#F3F6FB"
|
||||
},
|
||||
"easycom": {
|
||||
"^u-(.*)": "uview-ui/components/u-$1/u-$1.vue"
|
||||
},
|
||||
"condition": { //模式配置,仅开发期间生效
|
||||
"current": 0 //当前激活的模式(list 的索引项)
|
||||
}
|
||||
"style": {
|
||||
"navigationBarTitleText": "意见反馈",
|
||||
"enablePullDownRefresh": false,
|
||||
"navigationBarBackgroundColor": "#FFFFFF",
|
||||
"app-plus": {
|
||||
"titleNView": {
|
||||
"type": "default",
|
||||
"buttons": [{
|
||||
"float": "right",
|
||||
"text": "电话反馈",
|
||||
"width": "80px",
|
||||
"fontSize": "14px",
|
||||
"color": "#34CE98"
|
||||
}]
|
||||
}
|
||||
}
|
||||
}
|
||||
}, {
|
||||
"path": "pages/vip/growth",
|
||||
"style": {
|
||||
"navigationBarTitleText": "成长体系",
|
||||
"navigationBarBackgroundColor": "#FFFFFF",
|
||||
"enablePullDownRefresh": false
|
||||
}
|
||||
}
|
||||
],
|
||||
"tabBar": {
|
||||
"borderStyle": "white",
|
||||
"selectedColor": "#34CE98",
|
||||
"list": [{
|
||||
"iconPath": "static/tabBar/tabBar_02.png",
|
||||
"selectedIconPath": "static/tabBar/tabBar_show_02.png",
|
||||
"pagePath": "pages/life/life",
|
||||
"text": "共力人生"
|
||||
}, {
|
||||
"iconPath": "static/tabBar/tabBar_02.png",
|
||||
"selectedIconPath": "static/tabBar/tabBar_show_02.png",
|
||||
"pagePath": "pages/store/index",
|
||||
"text": "DT商城"
|
||||
}, {
|
||||
"iconPath": "static/tabBar/tabBar_03.png",
|
||||
"selectedIconPath": "static/tabBar/tabBar_show_03.png",
|
||||
"pagePath": "pages/user/index",
|
||||
"text": "我的"
|
||||
}]
|
||||
},
|
||||
"globalStyle": {
|
||||
"navigationBarTextStyle": "black",
|
||||
"navigationBarTitleText": "ZH健康",
|
||||
"navigationBarBackgroundColor": "#F3F6FB",
|
||||
"backgroundColorTop": "#F3F6FB",
|
||||
"backgroundColorBottom": "#F3F6FB"
|
||||
},
|
||||
"easycom": {
|
||||
"^u-(.*)": "uview-ui/components/u-$1/u-$1.vue"
|
||||
},
|
||||
"condition": { //模式配置,仅开发期间生效
|
||||
"current": 0 //当前激活的模式(list 的索引项)
|
||||
}
|
||||
}
|
||||
|
||||
@@ -69,10 +69,10 @@
|
||||
provider: 'weixin',
|
||||
scene : 'WXSceneSession',
|
||||
type : 0,
|
||||
href : 'https://www.baidu.com',
|
||||
href : 'https://www.baidu.com?invite_code=',
|
||||
title : '共力生态',
|
||||
summary : '共力生态 共力 共赢 共享 带你进入web3.0!',
|
||||
imageUrl: 'https://gl-ecological.oss-cn-zhangjiakou.aliyuncs.com/images/2022/06/10/e763ae96ce9d0b4407b68e66963c7cb2.jpg',
|
||||
imageUrl: 'https://gl-ecological.oss-cn-zhangjiakou.aliyuncs.com/images/2022/06/11/3b7e6e330f465ecbf136d15def1039fd.jpg',
|
||||
fail(err) {
|
||||
uni.showToast({
|
||||
title: err.errMsg,
|
||||
@@ -88,7 +88,7 @@
|
||||
type : 0,
|
||||
href : 'https://www.baidu.com',
|
||||
title : '共力生态 共力 共赢 共享',
|
||||
imageUrl: 'https://gl-ecological.oss-cn-zhangjiakou.aliyuncs.com/images/2022/06/10/e763ae96ce9d0b4407b68e66963c7cb2.jpg',
|
||||
imageUrl: 'https://gl-ecological.oss-cn-zhangjiakou.aliyuncs.com/images/2022/06/11/3b7e6e330f465ecbf136d15def1039fd.jpg',
|
||||
fail(err) {
|
||||
uni.showToast({
|
||||
title: err.errMsg,
|
||||
|
||||
@@ -1,19 +1,32 @@
|
||||
<template>
|
||||
<view>
|
||||
会员开通协议
|
||||
<view class="agreement">
|
||||
<rich-text :nodes="content"></rich-text>
|
||||
</view>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
import { agreement } from '@/apis/interfaces/vip.js'
|
||||
export default {
|
||||
data() {
|
||||
return {
|
||||
|
||||
content: ''
|
||||
};
|
||||
},
|
||||
created() {
|
||||
agreement().then(res => {
|
||||
this.content = res.content
|
||||
}).catch(err => {
|
||||
uni.showToast({
|
||||
title: err.message,
|
||||
icon : 'none'
|
||||
})
|
||||
})
|
||||
}
|
||||
}
|
||||
</script>
|
||||
|
||||
<style lang="scss">
|
||||
|
||||
.agreement{
|
||||
padding: $padding;
|
||||
}
|
||||
</style>
|
||||
|
||||
32
pages/vip/growth.vue
Normal file
32
pages/vip/growth.vue
Normal file
@@ -0,0 +1,32 @@
|
||||
<template>
|
||||
<view class="growth">
|
||||
<rich-text :nodes="content"></rich-text>
|
||||
</view>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
import { growth } from '@/apis/interfaces/vip.js'
|
||||
export default {
|
||||
data() {
|
||||
return {
|
||||
content: ''
|
||||
};
|
||||
},
|
||||
created() {
|
||||
growth().then(res => {
|
||||
this.content = res.content
|
||||
}).catch(err => {
|
||||
uni.showToast({
|
||||
title: err.message,
|
||||
icon : 'none'
|
||||
})
|
||||
})
|
||||
}
|
||||
}
|
||||
</script>
|
||||
|
||||
<style lang="scss">
|
||||
.growth{
|
||||
padding: $padding;
|
||||
}
|
||||
</style>
|
||||
@@ -13,14 +13,14 @@
|
||||
<view class="vip-lv">{{identity.identity_text}}</view>
|
||||
<block>
|
||||
<view class="vip-progress">
|
||||
<view class="vip-progress-loding" style="width: 50%;"></view>
|
||||
<view class="vip-progress-loding" :style="'width:' + firstRule.rate + '%'"></view>
|
||||
</view>
|
||||
<view class="vip-loding">
|
||||
<view>0/0共分</view>
|
||||
<view>{{firstRule.current}}/{{firstRule.need}}{{firstRule.title}}</view>
|
||||
</view>
|
||||
</block>
|
||||
</view>
|
||||
<navigator class="vip-more" hover-class="none">成长体系<uni-icons size="14" type="forward" color="#9f5529"></uni-icons></navigator>
|
||||
<navigator class="vip-more" url="/pages/vip/growth" hover-class="none">成长体系<uni-icons size="14" type="forward" color="#9f5529"></uni-icons></navigator>
|
||||
</view>
|
||||
</view>
|
||||
<view class="vip-content">
|
||||
@@ -34,10 +34,10 @@
|
||||
</block>
|
||||
<view class="vip-content-title">会员特权</view>
|
||||
<view class="vip-privilege">
|
||||
<view class="vip-privilege-item" v-for="(item, index) in 8" :key="index">
|
||||
<image class="vip-privilege-icon" src="" mode="widthFix"></image>
|
||||
<view class="vip-privilege-text">特权名称{{index}}</view>
|
||||
<view class="vip-privilege-sub">特权名称{{index}}</view>
|
||||
<view class="vip-privilege-item" v-for="(item, index) in rights" :key="index">
|
||||
<image class="vip-privilege-icon" :src="item.cover" mode="widthFix"></image>
|
||||
<view class="vip-privilege-text">{{item.name}}</view>
|
||||
<view class="vip-privilege-sub">{{item.remark}}</view>
|
||||
</view>
|
||||
</view>
|
||||
<view class="vip-content-title">会员折扣说明</view>
|
||||
@@ -82,7 +82,14 @@
|
||||
// 会员折扣说明
|
||||
prices: [],
|
||||
// 是否可续费
|
||||
isOpen: true
|
||||
isOpen: true,
|
||||
// 卡片信息
|
||||
firstRule: {
|
||||
title : '-',
|
||||
need : '-',
|
||||
current: '-',
|
||||
rate: 0
|
||||
}
|
||||
};
|
||||
},
|
||||
onShow() {
|
||||
@@ -92,6 +99,7 @@
|
||||
// 获取会员信息
|
||||
getVipInfo(){
|
||||
vip().then(res =>{
|
||||
this.firstRule = res.first_rule
|
||||
this.isOpen = res.is_open
|
||||
this.prices = res.prices
|
||||
this.rights = res.rights
|
||||
|
||||
File diff suppressed because one or more lines are too long
6689
unpackage/dist/dev/app-plus/app-service.js
vendored
6689
unpackage/dist/dev/app-plus/app-service.js
vendored
File diff suppressed because one or more lines are too long
20156
unpackage/dist/dev/app-plus/app-view.js
vendored
20156
unpackage/dist/dev/app-plus/app-view.js
vendored
File diff suppressed because one or more lines are too long
2
unpackage/dist/dev/app-plus/manifest.json
vendored
2
unpackage/dist/dev/app-plus/manifest.json
vendored
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user