测试支付功能
This commit is contained in:
@ -1,7 +1,7 @@
|
||||
<template>
|
||||
<view class="container">
|
||||
<view v-if="!token">
|
||||
<view v-if="$deviceType == 'weixin'">
|
||||
<view v-if="!token">
|
||||
<view v-if="$deviceType == 'routine'">
|
||||
<view class="getUserInfo">
|
||||
<text>您还未允许微信登录授权,请点击下方按钮允许微信授权登录。</text>
|
||||
<button type="primary" open-type="getUserInfo" @getuserinfo="getUserInfo">允许微信登录授权</button>
|
||||
@ -30,7 +30,7 @@ import { login } from '@/utils';
|
||||
|
||||
export default {
|
||||
data() {
|
||||
return {
|
||||
return {
|
||||
};
|
||||
},
|
||||
computed: {
|
||||
@ -80,7 +80,7 @@ export default {
|
||||
}
|
||||
},
|
||||
onUnload() {},
|
||||
mounted() {
|
||||
mounted() {
|
||||
}
|
||||
};
|
||||
</script>
|
||||
@ -206,4 +206,4 @@ export default {
|
||||
._van-dialog {
|
||||
z-index: 99999999999;
|
||||
}
|
||||
</style>
|
||||
</style>
|
||||
|
Reference in New Issue
Block a user