From a50adedd851b802b8855ed6ea47ea21a7257f00d Mon Sep 17 00:00:00 2001
From: jiangping <jp@doumee.com>
Date: 星期五, 26 七月 2024 11:42:50 +0800
Subject: [PATCH] 提交
---
wechat_staff/pages/userinfo/index.wxml | 23 ++++++++++++++---------
1 files changed, 14 insertions(+), 9 deletions(-)
diff --git a/wechat_staff/pages/userinfo/index.wxml b/wechat_staff/pages/userinfo/index.wxml
index 8809959..590c34f 100644
--- a/wechat_staff/pages/userinfo/index.wxml
+++ b/wechat_staff/pages/userinfo/index.wxml
@@ -1,6 +1,7 @@
<view class="container">
<image class="avatar" src="{{ userInfo.imgurlFull ? userInfo.imgurlFull : '../../static/images/default_avatar.png' }}" mode="widthFix"></image>
- <button open-type="chooseAvatar" bindchooseavatar="getBindchooseavatar" class="avatar_btn">鏇存崲澶村儚</button>
+ <!-- <button open-type="chooseAvatar" bindchooseavatar="getBindchooseavatar" class="avatar_btn">鏇存崲澶村儚</button> -->
+ <button bind:tap="selMedia3" class="avatar_btn">鏇存崲澶村儚</button>
<view class="list">
<view class="line">
<view class="label">濮撳悕</view>
@@ -12,26 +13,28 @@
</view>
<view class="line">
<view class="label">绛惧悕</view>
- <van-field wx:if="{{ editFalg }}" type="text" border="{{false}}" class="input" model:value="{{ slogans }}" maxlength="{{ 18 }}" clearable />
+ <van-field wx:if="{{ editFalg }}" type="text" border="{{false}}" class="input" model:value="{{ slogans }}" maxlength="{{ 50 }}" clearable />
<view wx:else class="input">{{ slogans }}</view>
</view>
<view class="line">
<view class="label">浠庝笟骞撮檺</view>
<view class="val">
<view wx:if="{{ editFalg }}" class="input">
- <picker class="picker" mode="date" value="{{date}}" fields="year" start="1970-09-01" end="{{endDate}}" bindchange="bindDateChange">
+ <van-field wx:if="{{ editFalg }}" type="text" border="{{false}}" class="input" model:value="{{ jobDate }}" maxlength="{{ 5 }}" clearable />
+ <view wx:else class="input">{{ jobDate || '0'}}骞�</view>
+ <!-- <picker class="picker" mode="date" value="{{date}}" fields="year" start="1970-09-01" end="{{endDate}}" bindchange="bindDateChange">
<view class="picker_wrap">
<view>{{ userInfo.jobDate }} <text wx:if="{{ userInfo.jobDate || userInfo.jobDate == 0 }}">骞�</text></view>
<image class="icon" src="../../static/icon/home_ar@2x.png" mode="widthFix"></image>
</view>
- </picker>
+ </picker> -->
</view>
<view wx:else class="input"><text>{{ userInfo.jobDate || '0' }} 骞�</text></view>
</view>
</view>
<view class="line">
<view class="label">鏈嶅姟瀹㈡埛</view>
- <van-field wx:if="{{ editFalg }}" type="text" border="{{false}}" class="input" model:value="{{ costomerNum || '0' }}" maxlength="{{ 5 }}" clearable />
+ <van-field wx:if="{{ editFalg }}" type="text" border="{{false}}" class="input" model:value="{{ costomerNum }}" maxlength="{{ 5 }}" clearable />
<view wx:else class="input">{{ costomerNum }}</view>
</view>
<view class="line">
@@ -50,16 +53,18 @@
<view class="label">寰俊浜岀淮鐮�</view>
<view class="val" bindtap="selMedia">
<view class="input"></view>
- <image class="qrcode" mode="widthFix" src="../../static/icon/mingpian_erweima@2x.png"></image>
- <image class="icon" src="../../static/icon/home_ar@2x.png" mode="widthFix"></image>
+ <image wx:if="userInfo.qrcodeImgFull !=null &&userInfo.qrcodeImgFull !='' " class="qrcode" mode="widthFix" src="{{userInfo.qrcodeImgFull}}"></image>
+ <image wx:else="" class="qrcode" mode="widthFix" src="../../static/icon/mingpian_erweima@2x.png"></image>
+ <image wx:if="{{ editFalg }}" class="icon" src="../../static/icon/home_ar@2x.png" mode="widthFix"></image>
</view>
</view>
<view class="line">
<view class="label">浼佷笟寰俊浜岀淮鐮�</view>
<view class="val" bindtap="selMedia2">
<view class="input"></view>
- <image class="qrcode" mode="widthFix" src="../../static/icon/mingpian_erweima@2x.png"></image>
- <image class="icon" src="../../static/icon/home_ar@2x.png" mode="widthFix"></image>
+ <image wx:if="userInfo.companyQrcodeImgFull !=null &&userInfo.companyQrcodeImgFull !='' " class="qrcode" mode="widthFix" src="{{userInfo.companyQrcodeImgFull}}"></image>
+ <image wx:else="" class="qrcode" mode="widthFix" src="../../static/icon/mingpian_erweima@2x.png"></image>
+ <image wx:if="{{ editFalg }}" class="icon" src="../../static/icon/home_ar@2x.png" mode="widthFix"></image>
</view>
</view>
<view wx:if="{{ !editFalg }}" bindtap="startEdit" class="save">缂栬緫</view>
--
Gitblit v1.9.3