支付接口调用

This commit is contained in:
duan
2024-05-21 16:59:31 +08:00
parent 07a6425ec4
commit 75ac4e967c
20 changed files with 512 additions and 245 deletions

View File

@@ -3,7 +3,7 @@
<view class="user-info-wrap" @click="clickinformation">
<view style="width: 108rpx; height: 108rpx;border-radius: 50%;">
<image style="width: 108rpx; height: 108rpx; border-radius: 50%;" v-if="userInfo.headImg"
:src="userInfo.headImg" mode="aspectFill" >
:src="userInfo.headImg" mode="aspectFill">
</image>
<image style="width: 108rpx; height: 108rpx; border-radius: 50%;" v-else src="@/static/avatar.png"
mode="aspectFill">
@@ -42,7 +42,7 @@
userInfo: {},
shopInfo: {},
teblist: [],
list:[]
list: []
};
},
onLoad() {
@@ -55,7 +55,7 @@
}
},
methods: {
clickinformation(){
clickinformation() {
uni.pro.navigateTo('user/information')
},
//退出登录
@@ -118,6 +118,7 @@
} catch (e) {}
},
clickinfo(item, index) {
console.log(item, '调试121')
switch (item.jumpType) {
case 'scan': //特殊处理点击
switch (item.value) {
@@ -126,6 +127,9 @@
break;
}
break;
case 'scan_applet':
uni.navigateToMiniProgram(JSON.parse(item.value))
break
case 'relative': //内部页面
uni.pro.navigateTo(item.absUrl)
break;