纸通宝小程序
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 

74 lines
3.8 KiB

<!--pages/home/info/index.wxml-->
<cu-custom bgColor="bg-white" isBack="{{true}}">
<view slot="content">企业信息</view>
</cu-custom>
<!-- <view class="bg-white flex flex-center flex-column" style="padding:48rpx">
<view style="width: 120px;height: 120px;position: relative" bindtap="chooseImage">
<wux-image width="{{120}}" height="{{120}}" wux-class="image" shape="circle" src="{{avatarUrl}}" />
<image class="wux-badge" src="/assets/image/icon_carmera.png"></image>
</view>
</view> -->
<wux-cell-group>
<!-- <wux-cell>
<view slot="header" class="text-gray">姓名</view>
<view slot="footer">{{linkman || ''}}</view>
</wux-cell> -->
<wux-cell title="公司名称" wx:if="{{userType == 2}}">
<view slot="header" class="text-gray">公司名称</view>
<view slot="footer">{{realName || ''}}</view>
</wux-cell>
<wux-cell title="公司性质" wx:if="{{userType == 2}}">
<view slot="header" class="text-gray">公司性质</view>
<view slot="footer">{{identityStr}}</view>
</wux-cell>
<!-- <wux-cell>
<view slot="header" class="text-gray">联系电话</view>
<view slot="footer">{{linkPhone}}</view>
</wux-cell> -->
<wux-cell wx:if="{{userType == 2}}">
<view slot="header" class="text-gray">公司地址</view>
<view slot="footer" style="width:500rpx">{{companyAddress}}</view>
</wux-cell>
<wux-cell wx:if="{{userType == 1}}" is-link data-cid='numberMoon' data-tag='打包站名' bind:click="showDialog">
<view slot="header" class="text-gray">工厂名</view>
<view slot="footer" class="{{userInfo.packageFactoryName? 'text-black':'text-gray'}}">{{userInfo.packageFactoryName || '点击修改打包站名'}}</view>
</wux-cell>
<wux-cell wx:if="{{userType == 1}}" is-link data-cid='numberMoon' data-tag='打包站占地面积' bind:click="showDialog">
<view slot="header" class="text-gray">打包站占地面积</view>
<view slot="footer" class="{{userInfo.packageFactoryArea? 'text-black':'text-gray'}}">{{userInfo.packageFactoryArea || '点击修改打包站占地面积'}}</view>
</wux-cell>
<wux-cell wx:if="{{userType == 1}}" is-link data-cid='numberMoon' data-tag='工厂人数' bind:click="showDialog">
<view slot="header" class="text-gray">工厂人数</view>
<view slot="footer" class="{{userInfo.numberOfEmployee? 'text-black':'text-gray'}}">{{userInfo.numberOfEmployee || '点击修改工厂人数'}}</view>
</wux-cell>
<wux-cell wx:if="{{userType == 1}}" is-link data-cid='numberMoon' data-tag='打包机数' bind:click="showDialog">
<view slot="header" class="text-gray">打包机数</view>
<view slot="footer" class="{{userInfo.numberOfPackageMachine? 'text-black':'text-gray'}}">{{userInfo.numberOfPackageMachine || '点击修改工厂打包机数'}}</view>
</wux-cell>
<wux-cell wx:if="{{userType == 1}}" is-link data-cid='numberMoon' data-tag='营业执照' bind:click="toBusinessLicense">
<view slot="header" class="text-gray">营业执照</view>
<view slot="footer" class="{{userInfo.businessLicenseUrl? 'text-black':'text-gray'}}">{{userInfo.businessLicenseUrl==null?'未上传':'查看'}}</view>
</wux-cell>
</wux-cell-group>
<!-- <view class="bg-white" style="padding: 1rpx 30rpx;">
<view style="padding: 20rpx 0rpx;">
<text class="lg text-sg text-black" decode="{{true}}">营业执照</text>
</view>
<view class="grid col-3 grid-square">
<view class="bg-img" bindtap="viewImage" data-url="{{licenseUrl}}">
<image src='{{licenseUrl}}' mode='aspectFill'></image>
<view class="cu-tag bg-red" catchtap="updatalicenseUrl">
<text class="cuIcon-close"></text>
</view>
</view>
</view>
</view> -->
<wux-cropper wx:if="{{visible}}" srcList="{{srcList}}" bindclose="closeCallback" bindcroped="onCropback"></wux-cropper>
<wux-dialog id="wux-dialog" />
<wux-cascader id="wux-cascader" value="{{region}}" options="{{ options }}" bind:close="onRegionChange" />