From 563a0f248d37b8820cdb3e46479d7c8c891b3386 Mon Sep 17 00:00:00 2001 From: xuxy <1059738716@qq.com> Date: 星期三, 26 六月 2024 17:56:33 +0800 Subject: [PATCH] update 子包 --- pages/user/farmer-user.vue | 31 +++++++++++++++++++++++++++---- 1 files changed, 27 insertions(+), 4 deletions(-) diff --git a/pages/user/farmer-user.vue b/pages/user/farmer-user.vue index 0245c43..b08912d 100644 --- a/pages/user/farmer-user.vue +++ b/pages/user/farmer-user.vue @@ -24,12 +24,30 @@ </view> <view class="user-utils m-20"> - <view class="user-util"> + <view class="user-util m-b-5 flex" @click="goto('/pages/user/user-info/user-info',true)"> + <view class="title">个人信息</view> + <view class="right-icon"> + <uni-icons type="right"></uni-icons> + </view> + </view> + <view class="user-util m-t-12 flex" @click="goto('/sub_pages/farmer/farmer-info/farmer-info',true)"> + <view class="title">店铺信息</view> + <view class="right-icon"> + <uni-icons type="right"></uni-icons> + </view> + </view> + <view class="user-util m-t-12 flex" @click="goto('/pages/user/user-pwd/user-pwd',true)"> + <view class="title">修改密码</view> + <view class="right-icon"> + <uni-icons type="right"></uni-icons> + </view> + </view> + <view class="user-util m-t-12 " @click="callTel"> <view class="title">我的客服</view> <view class="flex"> <image class="icon-clock m-r-6 m-t-2" src="../../static/common/icon-call.png"></image> <view class="name"> - 客服电话: <span class="topic-gray">1386785374</span> + 客服电话: <span class="topic-gray">{{tel}}</span> </view> </view> </view> @@ -57,7 +75,7 @@ tcode: '', inviterName: '', // StatusBar:0, - + tel:'1386785374' }; }, @@ -78,7 +96,12 @@ url: '/pages/login/farmer-login' }) }, - + async callTel(){ + await this.$message.confirm('是否拨打客服电话') + uni.makePhoneCall({ + phoneNumber: this.tel //仅为示例 + }); + } } -- Gitblit v1.9.3