You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

76 lines
1.9 KiB

<script>
import Vue from 'vue';
export default {
methods: {
},
onLaunch: function() {
let that = this;
//获取全局邀请码
// that.$Request.getT('/common/type/88').then(res => {
// if (res.code == 0) {
// if (res.data && res.data.value) {
// this.$queue.setData('publicRelation', res.data.value);
// }
// }
// });
// 微信单笔提现最大金额
that.$Request.getT('/common/type/86').then(res => {
if (res.code == 0) {
if (res.data && res.data.value) {
this.$queue.setData('WxMaxMoney', res.data.value);
}
}
});
// 粉丝福利号
// that.$Request.getT('/common/type/170').then(res => {
// if (res.code == 0) {
// if (res.data && res.data.value) {
// this.$queue.setData('fensiImage', res.data.value);
// }
// }
// });
// 微信提现是否显示
that.$Request.getT('/common/type/168').then(res => {
if (res.code == 0) {
if (res.data && res.data.value) {
this.$queue.setData('wxCashSelect', res.data.value);
}
}
});
// 商户端微信小程序APPID 139
that.$Request.getT('/common/type/139').then(res => {
if (res.code == 0) {
if (res.data && res.data.value) {
this.$queue.setData('shopAppId', res.data.value);
}
}
});
// 我的页面是否显示商家端 167
that.$Request.getT('/common/type/167').then(res => {
if (res.code == 0) {
if (res.data && res.data.value) {
this.$queue.setData('shopIsEn', res.data.value);
}
}
});
},
onShow: function(e) {
if(e && e.query.code){ //h5微信公众号登录返回的code
let code = e.query.code
this.$queue.setData('wxCode', code);
}
},
onHide: function() {}
};
</script>
<style lang="scss">
// @import '@/static/css/colorui-main.css';
@import '@/static/css/colorui-icon.css';
@import '@/static/css/iconfont.css';
view{
box-sizing: border-box;
}
</style>