Browse Source

优化个人资料信息

master
杜叶春 2 years ago
parent
commit
76616861dd
  1. 1
      pages/product/detail.js
  2. 1
      pages/user/user.js
  3. 3
      pages/userinfo/userinfo.js
  4. 10
      pages/userinfo/userinfo.wxml

1
pages/product/detail.js

@ -136,7 +136,6 @@ Page({
accessId: app.globalData.accessId,
storeId: 239,
storeType: 1,
mobile:'',
}).then(res => {
if (res.code == 200) {
var data = res.data;

1
pages/user/user.js

@ -145,7 +145,6 @@ Page({
accessId: app.globalData.accessId,
storeId: 239,
storeType: 1,
mobile:'',
}).then(res => {
if (res.code == 200) {
var data = res.data;

3
pages/userinfo/userinfo.js

@ -17,14 +17,13 @@ Page({
accessId: app.globalData.accessId,
storeId: 239,
storeType: 1,
mobile:'',
}).then(res => {
if (res.code == 200) {
var data = res.data;
if (data.data) {
that.setData({
user: data.data.user,
company: data.data.company,
company: data.data.user.company,
gender: data.data.user.sex==0?'女':'男'
});
}

10
pages/userinfo/userinfo.wxml

@ -44,23 +44,23 @@
</view>
<view class="cellModule large">
<view class="title">营业执照</view>
<image class="cell_image" src="{{company.image}}" bindtap="imagePreview" mode="aspectFill" />
<image class="cell_image" src="{{company.businessLicense}}" bindtap="imagePreview" mode="aspectFill" />
</view>
<view class="areaModule">
<!-- <view class="areaModule">
<view class="title">开户行信息</view>
<text>{{company.image}}</text>
</view>
<view class="areaModule">
<view class="title">纳税人识别号</view>
<text>{{company.image}}</text>
</view>
</view> -->
<view class="areaModule">
<view class="title">联系人(法人)</view>
<text>{{company.image}}</text>
<text>{{company.contact}}</text>
</view>
<view class="areaModule">
<view class="title">联系方式</view>
<text>{{company.phone}}</text>
<text>{{company.telephone}}</text>
</view>
</view>

Loading…
Cancel
Save