From 96aeb2a232d85306ced2061f024a2ff491a92ff7 Mon Sep 17 00:00:00 2001 From: xuxueyang <xuxy@fengyuntec.com> Date: 星期四, 25 七月 2024 17:47:12 +0800 Subject: [PATCH] fix bug --- pages/user/supplier-user.vue | 16 ++++++++++------ 1 files changed, 10 insertions(+), 6 deletions(-) diff --git a/pages/user/supplier-user.vue b/pages/user/supplier-user.vue index 855d5bb..a0ab487 100644 --- a/pages/user/supplier-user.vue +++ b/pages/user/supplier-user.vue @@ -32,8 +32,9 @@ </view> <view class="t2">{{ currentInfo.tel || '暂无电话' }}</view> </view> - <view class="name" v-if="!currentInfo.id" open-type="getUserInfo" @click.stop="getUserProfile" + <view class="name" v-if="!currentInfo.id" open-type="getUserInfo" @click.stop="toCustomerLogin" style="font-size: 48rpx;margin-top: 16rpx;"> + <!-- getUserProfile --> {{ '点击登陆' }} </view> <image class="icon-setting" src="../../static/common/icon-setting.png" mode="aspectFit"></image> @@ -138,7 +139,7 @@ </view> <!-- #endif --> <view class="user-utils m-20"> - <view class="user-util m-t-12 flex" @click="goto('/pages/user/user-info/user-info',true)"> + <view class="user-util m-t-12 flex" @click="goto('/sub_pages/customer/customer-info/customer-info',true)"> <view class="title">个人信息</view> <view class="right-icon"> <uni-icons type="right"></uni-icons> @@ -172,7 +173,7 @@ <view class="name" @click="callTel"> 客服电话 : <span class="topic-gray">{{ tel }}</span> </view> - <view class="right-icon" open-type="contact"> + <view class="right-icon" open-type="contact"> <uni-icons type="right"></uni-icons> </view> </view> @@ -302,9 +303,12 @@ uni.makePhoneCall({ phoneNumber: this.tel //仅为示例 }); - } - - + }, + toCustomerLogin() { + uni.navigateTo({ + url: '/pages/login/supplier-login' + }) + }, } } </script> -- Gitblit v1.9.3