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.
xuan-pay-cweb/App.vue

60 lines
1.2 KiB

3 years ago
<script>
export default {
globalData: {
// url: 'http://192.168.3.4:9301/crest',
// imgUrl: 'https://192.168.3.4:9301/filesystem/',
//正式
url: 'https://pay.bxb.cn/crest',
imgUrl: 'https://xuan-pay-private.obs.cn-southwest-2.myhuaweicloud.com',
//测试
// url: 'https://paycs.dctpay.com/crest',
// imgUrl: 'https://xuan-pay-private.obs.cn-southwest-2.myhuaweicloud.com',
3 years ago
userInfo: "",
openId: '',
code: '',
token: '',
//行业id
businessid:'',
//行业名称
businessname:'',
//mccid
mccid:'',
//mcc名称
mccname:''
},
onLaunch: function() {
let that = this;
uni.getStorage({
key: 'payuser',
success: (res) => {
that.globalData.userInfo = res.data;
uni.getStorage({
key: "paytoken",
success: (res) => {
that.globalData.token = res.data;
}
})
}
});
},
onShow: function() {
},
onHide: function() {
}
3 years ago
}
</script>
<style lang="scss">
/*每个页面公共css */
@import "/static/iconfont/font.scss";
::-webkit-scrollbar {
display: none;
width: 0 !important;
height: 0 !important;
-webkit-appearance: none;
background: transparent;
}
</style>