Commit 5de4c2cb authored by chenwei's avatar chenwei

Merge branch 'feature' into 'dev'

member system status control

See merge request !6
parents cf29e757 f21f1592
...@@ -218,12 +218,6 @@ export default { ...@@ -218,12 +218,6 @@ export default {
url: '', url: '',
num: 0, num: 0,
isHttp: true isHttp: true
},
{
name: this.$lang.lang.index.integral,
icon: '../../static/img/copue.png',
url: '/pages/integral/integral',
num: 0
} }
// {name: this.$lang.lang.index.price, icon: '../../static/img/wallet.png', url: '../price_inquiry/price_inquiry',num:0}, // {name: this.$lang.lang.index.price, icon: '../../static/img/wallet.png', url: '../price_inquiry/price_inquiry',num:0},
], ],
...@@ -257,6 +251,7 @@ export default { ...@@ -257,6 +251,7 @@ export default {
this.getNoticeData() this.getNoticeData()
this.getVersion() this.getVersion()
this.getAdData() this.getAdData()
this.getMemberSystemStatus()
}, },
onShow() { onShow() {
this.getOrder() this.getOrder()
...@@ -324,6 +319,18 @@ export default { ...@@ -324,6 +319,18 @@ export default {
} }
// #endif // #endif
}, },
getMemberSystemStatus(){
this.$request.get('/admin-api/member/score-rule/switch/get').then((res) => {
if(res.data){
this.nvs.push({
name: this.$lang.lang.index.integral,
icon: '../../static/img/integral.png',
url: '/pages/integral/integral',
num: 0
})
}
})
},
getVersion() { getVersion() {
this.version = uni.getStorageSync('appversion') this.version = uni.getStorageSync('appversion')
this.versionCode = uni.getStorageSync('versionCode') this.versionCode = uni.getStorageSync('versionCode')
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment