文件名从 pages/user/farmer-user.vue 修改 |
| | |
| | | </view> --> |
| | | <!-- 背景图 --> |
| | | <view class="top-bg img100 relative" :style="{'padding-top':(StatusBar)+'px','line-height':CustomBar+'rpx' }"> |
| | | <image class="component-bg" src="https://hmy-flower.oss-cn-shanghai.aliyuncs.com/21/21c95c14e9504be69edff7785e3b44a9bg.png" mode="scaleToFill" /> |
| | | <image class="component-bg" |
| | | src="https://hmy-flower.oss-cn-shanghai.aliyuncs.com/21/21c95c14e9504be69edff7785e3b44a9bg.png" |
| | | mode="scaleToFill" /> |
| | | |
| | | <view class="title" style="position: relative;"> |
| | | 我的 |
| | |
| | | <image class="user-icon" v-if="currentInfo.picture" :src="currentInfo.picture" mode="aspectFit"></image> |
| | | |
| | | <view class="name"> |
| | | <view class="t1">{{currentInfo.nickName || '-'}}</view> |
| | | <view class="t1">{{currentInfo.nickName || currentInfo.loginName || '-'}}<span |
| | | v-if="currentInfo.supplierDTO&¤tInfo.supplierDTO.status!=='P'"> |
| | | ({{currentInfo.supplierDTO?currentInfo.supplierDTO.statusStr:''}})</span> |
| | | </view> |
| | | <view class="t2">{{currentInfo.tel || '暂无电话'}}</view> |
| | | </view> |
| | | <image class="icon-setting" src="../../static/common/icon-setting.png" mode="aspectFit"></image> |
| | | </view> |
| | | |
| | | </view> |
| | | <view class="user-utils m-20"> |
| | | <view class="user-util m-b-5 flex" @click="goto('/pages/user/user-info/user-info',true)"> |
| | | <view class="user-util m-t-12 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="user-util m-t-12 flex" v-if="selftype==='supplier'" |
| | | @click="goto('/sub_pages/supplier/supplier-info/supplier-info',true)"> |
| | | <view class="title">店铺信息</view> |
| | | <view class="right-icon"> |
| | | <uni-icons type="right"></uni-icons> |
| | |
| | | <uni-icons type="right"></uni-icons> |
| | | </view> |
| | | </view> |
| | | <view class="user-util m-t-12 " @click="callTel"> |
| | | <view class="user-util m-t-12 " @click="callTel" v-if="selftype==='supplier'"> |
| | | <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">{{tel}}</span> |
| | | 客服电话 : <span class="topic-gray">{{tel}}</span> |
| | | </view> |
| | | </view> |
| | | </view> |
| | | <!-- <view class="user-util m-t-12 " @click="callTel" v-if="selftype==='partner'"> |
| | | <view class="name"> |
| | | 账号: <span class="topic-gray">{{tel}}</span> |
| | | </view> |
| | | <view class="name"> |
| | | 密码: <span class="topic-gray">{{tel}}</span> |
| | | </view> |
| | | </view> --> |
| | | </view> |
| | | |
| | | |
| | |
| | | |
| | | <view style="padding-bottom:200rpx"> |
| | | </view> |
| | | <farmer-footer flg="1"></farmer-footer> |
| | | <supplier-footer flg="1"></supplier-footer> |
| | | |
| | | |
| | | </view> |
| | |
| | | created() { |
| | | |
| | | }, |
| | | async onPullDownRefresh() { |
| | | await this.$store.dispatch('getCurrentInfo') |
| | | uni.stopPullDownRefresh() |
| | | }, |
| | | methods: { |
| | | |
| | | async clearlogout() { |
| | |
| | | this.$store.commit('updateLogin', false) |
| | | |
| | | uni.reLaunch({ |
| | | url: '/pages/login/farmer-login' |
| | | url: '/pages/login/supplier-login' |
| | | }) |
| | | }, |
| | | async callTel() { |