完善会员开通信息

This commit is contained in:
唐明明
2022-06-11 16:14:36 +08:00
parent c48bbc4021
commit 80cadf6d49
10 changed files with 13981 additions and 13823 deletions

View File

@@ -29,8 +29,24 @@ const payInfo = (orderId) => {
}) })
} }
// 会员开通协议
const agreement = () => {
return request({
url: 'cms/pages/1'
})
}
// 成长体系
const growth = () => {
return request({
url: 'cms/pages/2'
})
}
export { export {
vip, vip,
vipPay, vipPay,
payInfo payInfo,
agreement,
growth
} }

View File

@@ -1,428 +1,436 @@
{ {
"pages": [{ "pages": [{
"path": "pages/auth/auth", "path": "pages/auth/auth",
"name": "Auth", "name": "Auth",
"style": { "style": {
"navigationBarTitleText": "登录", "navigationBarTitleText": "登录",
"navigationStyle": "custom" "navigationStyle": "custom"
} }
}, },
{ {
"path": "pages/auth/role", "path": "pages/auth/role",
"name": "AuthRole", "name": "AuthRole",
"style": { "style": {
"navigationBarTitleText": "角色创建", "navigationBarTitleText": "角色创建",
"navigationBarBackgroundColor": "#FFF", "navigationBarBackgroundColor": "#FFF",
"app-plus": { "app-plus": {
"titleNView": { "titleNView": {
"buttons": [{ "buttons": [{
"text": "退出登录", "text": "退出登录",
"fontSize": "14", "fontSize": "14",
"width": "80px", "width": "80px",
"color": "#34CE98" "color": "#34CE98"
}] }]
} }
} }
} }
}, { }, {
"path": "pages/life/life", "path": "pages/life/life",
"name": "Life", "name": "Life",
"style": { "style": {
"navigationBarTitleText": "共力人生", "navigationBarTitleText": "共力人生",
"navigationStyle": "custom", "navigationStyle": "custom",
"app-plus": { "app-plus": {
"titleNView": { "titleNView": {
"type": "transparent" "type": "transparent"
} }
} }
} }
}, },
{ {
"path": "pages/store/index", "path": "pages/store/index",
"name": "Store", "name": "Store",
"style": { "style": {
"navigationBarTitleText": "DT商城", "navigationBarTitleText": "DT商城",
"enablePullDownRefresh": true, "enablePullDownRefresh": true,
"app-plus": { "app-plus": {
"titleNView": { "titleNView": {
"backgroundColor": "#FFFFFF", "backgroundColor": "#FFFFFF",
"buttons": [{ "buttons": [{
"float": "right", "float": "right",
"text": "\ue603", "text": "\ue603",
"fontSrc": "/static/iconfont.ttf", "fontSrc": "/static/iconfont.ttf",
"color": "#000", "color": "#000",
"fontSize": "20px" "fontSize": "20px"
}] }]
} }
} }
} }
}, },
{ {
"path": "pages/user/index", "path": "pages/user/index",
"name": "User", "name": "User",
"style": { "style": {
"navigationBarTitleText": "我的", "navigationBarTitleText": "我的",
"navigationBarTextStyle": "white", "navigationBarTextStyle": "white",
"app-plus": { "app-plus": {
"titleNView": { "titleNView": {
"backgroundColor": "#34CE98", "backgroundColor": "#34CE98",
"type": "transparent" "type": "transparent"
} }
} }
} }
}, },
{ {
"path": "pages/setting/setting", "path": "pages/setting/setting",
"name": "Setting", "name": "Setting",
"style": { "style": {
"navigationBarTitleText": "设置中心", "navigationBarTitleText": "设置中心",
"navigationBarBackgroundColor": "#34CE98", "navigationBarBackgroundColor": "#34CE98",
"navigationBarTextStyle": "white" "navigationBarTextStyle": "white"
} }
}, },
{ {
"path": "pages/store/goods", "path": "pages/store/goods",
"name": "StoreGoods", "name": "StoreGoods",
"style": { "style": {
"navigationStyle": "custom", "navigationStyle": "custom",
"navigationBarTitleText": "详情", "navigationBarTitleText": "详情",
"app-plus": { "app-plus": {
"titleNView": { "titleNView": {
"backgroundColor": "#FFFFFF", "backgroundColor": "#FFFFFF",
"type": "transparent" "type": "transparent"
} }
} }
} }
}, },
{ {
"path": "pages/store/buy", "path": "pages/store/buy",
"name": "StoreBuy", "name": "StoreBuy",
"style": { "style": {
"navigationBarTitleText": "确认订单", "navigationBarTitleText": "确认订单",
"enablePullDownRefresh": false "enablePullDownRefresh": false
} }
}, },
{ {
"path": "pages/order/index", "path": "pages/order/index",
"name": "Order", "name": "Order",
"style": { "style": {
"navigationBarTitleText": "我的订单", "navigationBarTitleText": "我的订单",
"navigationBarBackgroundColor": "#FFFFFF", "navigationBarBackgroundColor": "#FFFFFF",
"enablePullDownRefresh": false "enablePullDownRefresh": false
} }
},{ }, {
"path": "pages/order/logistics", "path": "pages/order/logistics",
"name": "OrderLogistics", "name": "OrderLogistics",
"style": { "style": {
"navigationBarTitleText": "物流进度", "navigationBarTitleText": "物流进度",
"navigationBarBackgroundColor": "#FFFFFF", "navigationBarBackgroundColor": "#FFFFFF",
"enablePullDownRefresh": false "enablePullDownRefresh": false
} }
}, },
{ {
"path": "pages/order/details", "path": "pages/order/details",
"name": "OrderDetails", "name": "OrderDetails",
"style": { "style": {
"navigationBarTitleText": "订单详情", "navigationBarTitleText": "订单详情",
"enablePullDownRefresh": false "enablePullDownRefresh": false
} }
}, },
{ {
"path": "pages/address/index", "path": "pages/address/index",
"name": "Address", "name": "Address",
"style": { "style": {
"navigationBarTitleText": "收货地址" "navigationBarTitleText": "收货地址"
} }
}, },
{ {
"path": "pages/address/edit", "path": "pages/address/edit",
"name": "AddressEdit", "name": "AddressEdit",
"style": { "style": {
"navigationBarTitleText": "编辑", "navigationBarTitleText": "编辑",
"enablePullDownRefresh": false "enablePullDownRefresh": false
} }
}, },
{ {
"path": "pages/pay/pay", "path": "pages/pay/pay",
"name": "Pay", "name": "Pay",
"style": { "style": {
"navigationBarTitleText": "收银台", "navigationBarTitleText": "收银台",
"navigationBarBackgroundColor": "#FFFFFF" "navigationBarBackgroundColor": "#FFFFFF"
} }
}, },
{ {
"path": "pages/store/list", "path": "pages/store/list",
"name": "StoreList", "name": "StoreList",
"style": { "style": {
"navigationBarTitleText": "商品", "navigationBarTitleText": "商品",
"navigationBarBackgroundColor": "#FFFFFF", "navigationBarBackgroundColor": "#FFFFFF",
"enablePullDownRefresh": true "enablePullDownRefresh": true
} }
}, },
{ {
"path": "pages/store/meals", "path": "pages/store/meals",
"name": "StoreMeals", "name": "StoreMeals",
"style": { "style": {
"navigationBarTitleText": "套餐", "navigationBarTitleText": "套餐",
"navigationBarBackgroundColor": "#FFFFFF", "navigationBarBackgroundColor": "#FFFFFF",
"enablePullDownRefresh": true "enablePullDownRefresh": true
} }
}, },
{ {
"path": "pages/store/search", "path": "pages/store/search",
"name": "StoreSearch", "name": "StoreSearch",
"style": { "style": {
"navigationBarTitleText": "搜索", "navigationBarTitleText": "搜索",
"navigationBarBackgroundColor": "#FFFFFF" "navigationBarBackgroundColor": "#FFFFFF"
} }
}, },
{ {
"path": "pages/refund/list", "path": "pages/refund/list",
"name": "OrderRefund", "name": "OrderRefund",
"style": { "style": {
"navigationBarTitleText": "退换货", "navigationBarTitleText": "退换货",
"navigationBarBackgroundColor": "#FFFFFF" "navigationBarBackgroundColor": "#FFFFFF"
} }
}, { }, {
"path": "pages/refund/exchange", "path": "pages/refund/exchange",
"name": "Exchange", "name": "Exchange",
"style": { "style": {
"navigationBarTitleText": "换货", "navigationBarTitleText": "换货",
"navigationBarBackgroundColor": "#FFFFFF" "navigationBarBackgroundColor": "#FFFFFF"
} }
}, },
{ {
"path": "pages/refund/detail", "path": "pages/refund/detail",
"name": "OrderRefundDetail", "name": "OrderRefundDetail",
"style": { "style": {
"navigationBarTitleText": "退货退款详情", "navigationBarTitleText": "退货退款详情",
"navigationBarBackgroundColor": "#FFFFFF" "navigationBarBackgroundColor": "#FFFFFF"
} }
}, },
{ {
"path": "pages/refund/aftersale", "path": "pages/refund/aftersale",
"name": "AfterSale", "name": "AfterSale",
"style": { "style": {
"navigationBarTitleText": " 选择售后类型", "navigationBarTitleText": " 选择售后类型",
"navigationBarBackgroundColor": "#FFFFFF" "navigationBarBackgroundColor": "#FFFFFF"
} }
}, },
{ {
"path": "pages/refund/refund_history", "path": "pages/refund/refund_history",
"name": "RefundHistory", "name": "RefundHistory",
"style": { "style": {
"navigationBarTitleText": "售后历史", "navigationBarTitleText": "售后历史",
"navigationBarBackgroundColor": "#FFFFFF" "navigationBarBackgroundColor": "#FFFFFF"
} }
}, },
{ {
"path": "pages/refund/deliver_form", "path": "pages/refund/deliver_form",
"name": "DeliverForm", "name": "DeliverForm",
"style": { "style": {
"navigationBarTitleText": "填写物流信息", "navigationBarTitleText": "填写物流信息",
"navigationBarBackgroundColor": "#FFFFFF" "navigationBarBackgroundColor": "#FFFFFF"
} }
}, },
{ {
"path": "pages/refund/refund_or_exchange_apply", "path": "pages/refund/refund_or_exchange_apply",
"name": "RefundOrExchangeApply", "name": "RefundOrExchangeApply",
"style": { "style": {
"navigationBarTitleText": "退换货申请", "navigationBarTitleText": "退换货申请",
"navigationBarBackgroundColor": "#FFFFFF" "navigationBarBackgroundColor": "#FFFFFF"
} }
}, },
{ {
"path": "pages/refund/refund_money", "path": "pages/refund/refund_money",
"name": "RefundMoney", "name": "RefundMoney",
"style": { "style": {
"navigationBarTitleText": "申请退款", "navigationBarTitleText": "申请退款",
"navigationBarBackgroundColor": "#FFFFFF" "navigationBarBackgroundColor": "#FFFFFF"
} }
}, },
{ {
"path": "pages/account/integral", "path": "pages/account/integral",
"name": "AccountIntegral", "name": "AccountIntegral",
"style": { "style": {
"navigationBarTitleText": "共力值", "navigationBarTitleText": "共力值",
"navigationBarBackgroundColor": "#34CE98", "navigationBarBackgroundColor": "#34CE98",
"navigationBarTextStyle": "white" "navigationBarTextStyle": "white"
} }
}, { }, {
"path": "pages/account/dt", "path": "pages/account/dt",
"name": "AccountDt", "name": "AccountDt",
"style": { "style": {
"navigationBarTitleText": "DT积分", "navigationBarTitleText": "DT积分",
"navigationBarBackgroundColor": "#34CE98", "navigationBarBackgroundColor": "#34CE98",
"backgroundColorTop": "#34CE98", "backgroundColorTop": "#34CE98",
"navigationBarTextStyle": "white", "navigationBarTextStyle": "white",
"app-plus": { "app-plus": {
"titleNView": { "titleNView": {
"buttons": [{ "buttons": [{
"text": "充值", "text": "充值",
"width": "60", "width": "60",
"fontSize": "14" "fontSize": "14"
}] }]
} }
} }
} }
}, { }, {
"path": "pages/account/recharge", "path": "pages/account/recharge",
"name": "AccountRecharge", "name": "AccountRecharge",
"style": { "style": {
"navigationBarTitleText": "充值", "navigationBarTitleText": "充值",
"navigationBarBackgroundColor": "#FFFFFF", "navigationBarBackgroundColor": "#FFFFFF",
"app-plus": { "app-plus": {
"titleNView": { "titleNView": {
"buttons": [{ "buttons": [{
"text": "充值记录", "text": "充值记录",
"width": "80", "width": "80",
"fontSize": "14" "fontSize": "14"
}] }]
} }
} }
} }
}, { }, {
"path": "pages/vip/vip", "path": "pages/vip/vip",
"name": "Vip", "name": "Vip",
"style": { "style": {
"navigationBarTitleText": "共力会员", "navigationBarTitleText": "共力会员",
"navigationBarBackgroundColor": "#242430", "navigationBarBackgroundColor": "#242430",
"navigationBarTextStyle": "white", "navigationBarTextStyle": "white",
"backgroundColorTop": "#242430" "backgroundColorTop": "#242430"
} }
}, { }, {
"path": "pages/vip/agreement", "path": "pages/vip/agreement",
"style": { "style": {
"navigationBarTitleText": "共力会员协议" "navigationBarTitleText": "共力会员协议",
} "navigationBarBackgroundColor": "#FFFFFF"
}, { }
"path": "pages/team/index", }, {
"name": "Team", "path": "pages/team/index",
"style": { "name": "Team",
"navigationBarTitleText": "共力团队" "style": {
} "navigationBarTitleText": "共力团队"
}
}, },
{ {
"path": "pages/store/shop/shopDetail", "path": "pages/store/shop/shopDetail",
"name": "ShopDetail", "name": "ShopDetail",
"style": { "style": {
"navigationStyle": "custom" "navigationStyle": "custom"
} }
}, },
{ {
"path": "pages/store/shop/shopList", "path": "pages/store/shop/shopList",
"name": "ShopList", "name": "ShopList",
"style": { "style": {
"navigationBarTitleText": "店铺", "navigationBarTitleText": "店铺",
"navigationBarBackgroundColor": "#FFFFFF", "navigationBarBackgroundColor": "#FFFFFF",
"enablePullDownRefresh": true "enablePullDownRefresh": true
} }
}, { }, {
"path": "pages/account/log", "path": "pages/account/log",
"name": "AccountLog", "name": "AccountLog",
"style": { "style": {
"navigationBarTitleText": "充值记录", "navigationBarTitleText": "充值记录",
"navigationBarBackgroundColor": "#FFFFFF" "navigationBarBackgroundColor": "#FFFFFF"
} }
}, { }, {
"path": "pages/account/transfer", "path": "pages/account/transfer",
"name": "AccountTransfer", "name": "AccountTransfer",
"style": { "style": {
"navigationBarTitleText": "转账", "navigationBarTitleText": "转账",
"navigationBarBackgroundColor": "#F3F6FB" "navigationBarBackgroundColor": "#F3F6FB"
} }
}, { }, {
"path": "pages/account/resetPassword", "path": "pages/account/resetPassword",
"name": "AccountResetPassword", "name": "AccountResetPassword",
"style": { "style": {
"navigationBarTitleText": "钱包密码", "navigationBarTitleText": "钱包密码",
"navigationBarBackgroundColor": "#F3F6FB" "navigationBarBackgroundColor": "#F3F6FB"
} }
}, { }, {
"path": "pages/account/results", "path": "pages/account/results",
"name": "Accountresults", "name": "Accountresults",
"style": { "style": {
"navigationBarTitleText": "转账结果", "navigationBarTitleText": "转账结果",
"navigationBarBackgroundColor": "#FFFFFF" "navigationBarBackgroundColor": "#FFFFFF"
} }
}, { }, {
"path": "pages/account/code", "path": "pages/account/code",
"name": "AccountCode", "name": "AccountCode",
"style": { "style": {
"navigationBarTitleText": "收款码", "navigationBarTitleText": "收款码",
"navigationBarBackgroundColor": "#34CE98", "navigationBarBackgroundColor": "#34CE98",
"backgroundColorTop": "#34CE98", "backgroundColorTop": "#34CE98",
"navigationBarTextStyle": "white" "navigationBarTextStyle": "white"
} }
}, { }, {
"path": "pages/invitation/invitation", "path": "pages/invitation/invitation",
"name": "Invitation", "name": "Invitation",
"style": { "style": {
"navigationStyle": "custom", "navigationStyle": "custom",
"disableScroll": true "disableScroll": true
} }
}, { }, {
"path": "pages/life/capacity", "path": "pages/life/capacity",
"name": "Capacity", "name": "Capacity",
"style": { "style": {
"navigationBarTitleText": "-" "navigationBarTitleText": "-"
} }
},{ }, {
"path" : "pages/feedback/feedback", "path": "pages/feedback/feedback",
"name": "Feedback", "name": "Feedback",
"style": { "style": {
"navigationBarTitleText": "意见反馈", "navigationBarTitleText": "意见反馈",
"enablePullDownRefresh": false, "enablePullDownRefresh": false,
"navigationBarBackgroundColor": "#FFFFFF", "navigationBarBackgroundColor": "#FFFFFF",
"app-plus": { "app-plus": {
"titleNView": { "titleNView": {
"type": "default", "type": "default",
"buttons": [{ "buttons": [{
"float": "right", "float": "right",
"text": "电话反馈", "text": "电话反馈",
"width": "80px", "width": "80px",
"fontSize": "14px", "fontSize": "14px",
"color": "#34CE98" "color": "#34CE98"
}] }]
} }
} }
} }
} }, {
], "path": "pages/vip/growth",
"tabBar": { "style": {
"borderStyle": "white", "navigationBarTitleText": "成长体系",
"selectedColor": "#34CE98", "navigationBarBackgroundColor": "#FFFFFF",
"list": [{ "enablePullDownRefresh": false
"iconPath": "static/tabBar/tabBar_02.png", }
"selectedIconPath": "static/tabBar/tabBar_show_02.png", }
"pagePath": "pages/life/life", ],
"text": "共力人生" "tabBar": {
}, { "borderStyle": "white",
"iconPath": "static/tabBar/tabBar_02.png", "selectedColor": "#34CE98",
"selectedIconPath": "static/tabBar/tabBar_show_02.png", "list": [{
"pagePath": "pages/store/index", "iconPath": "static/tabBar/tabBar_02.png",
"text": "DT商城" "selectedIconPath": "static/tabBar/tabBar_show_02.png",
}, { "pagePath": "pages/life/life",
"iconPath": "static/tabBar/tabBar_03.png", "text": "共力人生"
"selectedIconPath": "static/tabBar/tabBar_show_03.png", }, {
"pagePath": "pages/user/index", "iconPath": "static/tabBar/tabBar_02.png",
"text": "我的" "selectedIconPath": "static/tabBar/tabBar_show_02.png",
}] "pagePath": "pages/store/index",
}, "text": "DT商城"
"globalStyle": { }, {
"navigationBarTextStyle": "black", "iconPath": "static/tabBar/tabBar_03.png",
"navigationBarTitleText": "ZH健康", "selectedIconPath": "static/tabBar/tabBar_show_03.png",
"navigationBarBackgroundColor": "#F3F6FB", "pagePath": "pages/user/index",
"backgroundColorTop": "#F3F6FB", "text": "我的"
"backgroundColorBottom": "#F3F6FB" }]
}, },
"easycom": { "globalStyle": {
"^u-(.*)": "uview-ui/components/u-$1/u-$1.vue" "navigationBarTextStyle": "black",
}, "navigationBarTitleText": "ZH健康",
"condition": { //模式配置,仅开发期间生效 "navigationBarBackgroundColor": "#F3F6FB",
"current": 0 //当前激活的模式(list 的索引项) "backgroundColorTop": "#F3F6FB",
} "backgroundColorBottom": "#F3F6FB"
},
"easycom": {
"^u-(.*)": "uview-ui/components/u-$1/u-$1.vue"
},
"condition": { //模式配置,仅开发期间生效
"current": 0 //当前激活的模式(list 的索引项)
}
} }

View File

@@ -69,10 +69,10 @@
provider: 'weixin', provider: 'weixin',
scene : 'WXSceneSession', scene : 'WXSceneSession',
type : 0, type : 0,
href : 'https://www.baidu.com', href : 'https://www.baidu.com?invite_code=',
title : '共力生态', title : '共力生态',
summary : '共力生态 共力 共赢 共享 带你进入web3.0', 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) { fail(err) {
uni.showToast({ uni.showToast({
title: err.errMsg, title: err.errMsg,
@@ -88,7 +88,7 @@
type : 0, type : 0,
href : 'https://www.baidu.com', href : 'https://www.baidu.com',
title : '共力生态 共力 共赢 共享', 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) { fail(err) {
uni.showToast({ uni.showToast({
title: err.errMsg, title: err.errMsg,

View File

@@ -1,19 +1,32 @@
<template> <template>
<view> <view class="agreement">
会员开通协议 <rich-text :nodes="content"></rich-text>
</view> </view>
</template> </template>
<script> <script>
import { agreement } from '@/apis/interfaces/vip.js'
export default { export default {
data() { data() {
return { return {
content: ''
}; };
},
created() {
agreement().then(res => {
this.content = res.content
}).catch(err => {
uni.showToast({
title: err.message,
icon : 'none'
})
})
} }
} }
</script> </script>
<style lang="scss"> <style lang="scss">
.agreement{
padding: $padding;
}
</style> </style>

32
pages/vip/growth.vue Normal file
View 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>

View File

@@ -13,14 +13,14 @@
<view class="vip-lv">{{identity.identity_text}}</view> <view class="vip-lv">{{identity.identity_text}}</view>
<block> <block>
<view class="vip-progress"> <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>
<view class="vip-loding"> <view class="vip-loding">
<view>0/0共分</view> <view>{{firstRule.current}}/{{firstRule.need}}{{firstRule.title}}</view>
</view> </view>
</block> </block>
</view> </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> </view>
<view class="vip-content"> <view class="vip-content">
@@ -34,10 +34,10 @@
</block> </block>
<view class="vip-content-title">会员特权</view> <view class="vip-content-title">会员特权</view>
<view class="vip-privilege"> <view class="vip-privilege">
<view class="vip-privilege-item" v-for="(item, index) in 8" :key="index"> <view class="vip-privilege-item" v-for="(item, index) in rights" :key="index">
<image class="vip-privilege-icon" src="" mode="widthFix"></image> <image class="vip-privilege-icon" :src="item.cover" mode="widthFix"></image>
<view class="vip-privilege-text">特权名称{{index}}</view> <view class="vip-privilege-text">{{item.name}}</view>
<view class="vip-privilege-sub">特权名称{{index}}</view> <view class="vip-privilege-sub">{{item.remark}}</view>
</view> </view>
</view> </view>
<view class="vip-content-title">会员折扣说明</view> <view class="vip-content-title">会员折扣说明</view>
@@ -82,7 +82,14 @@
// 会员折扣说明 // 会员折扣说明
prices: [], prices: [],
// 是否可续费 // 是否可续费
isOpen: true isOpen: true,
// 卡片信息
firstRule: {
title : '-',
need : '-',
current: '-',
rate: 0
}
}; };
}, },
onShow() { onShow() {
@@ -92,6 +99,7 @@
// 获取会员信息 // 获取会员信息
getVipInfo(){ getVipInfo(){
vip().then(res =>{ vip().then(res =>{
this.firstRule = res.first_rule
this.isOpen = res.is_open this.isOpen = res.is_open
this.prices = res.prices this.prices = res.prices
this.rights = res.rights this.rights = res.rights

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long