|
@@ -4,7 +4,7 @@
|
|
|
<view wx:for="{{list}}" wx:key="index" class="border" wx:if="{{item.isShow===1}}">
|
|
|
<view class="cu-form-group" wx:if="{{item.customType==='下拉选择'&&item.isShow===1}}">
|
|
|
<view class="title"><text class="{{item.customNameVal?'text-green':'text-red'}}">*</text>
|
|
|
- <text>{{item.customName}}</text>
|
|
|
+ <text>{{item.customName}}{{item.isEditable === 0?'(禁用)':''}}</text>
|
|
|
</view>
|
|
|
<picker disabled="{{item.isEditable === 0}}" data-index="{{index}}" bindchange="getSelect" value="{{item.customNameVal}}" range="{{item.configurationOption}}" range-key="{{'name'}}" data-index="{{index}}">
|
|
|
<view class="picker" style="{{item.customNameVal?'color: #646566':'color: #C8C9CC'}}">
|
|
@@ -14,12 +14,12 @@
|
|
|
</picker>
|
|
|
</view>
|
|
|
<view class="cu-form-group" wx:if="{{item.customType==='文本' &&item.isShow===1}}">
|
|
|
- <view class="title"><text class="{{item.customNameVal?'text-green':'text-red'}}">*</text><text>{{item.customName}}</text>
|
|
|
+ <view class="title"><text class="{{item.customNameVal?'text-green':'text-red'}}">*</text><text>{{item.customName}}{{item.isEditable === 0?'(禁用)':''}}</text>
|
|
|
</view>
|
|
|
<input disabled="{{item.isEditable === 0}}" type="text" bindinput="getValue" value="{{item.customNameVal}}" placeholder="{{item.prompt || '请填写内容'}}" data-index="{{index}}" placeholder-style="color: #C8C9CC"></input>
|
|
|
</view>
|
|
|
<view class="cu-form-group" wx:if="{{item.customType==='日期'&&item.isShow===1}}">
|
|
|
- <view class="title"><text class="{{item.customNameVal ?'text-green':'text-red'}}">*</text><text>{{item.customName}}</text>
|
|
|
+ <view class="title"><text class="{{item.customNameVal ?'text-green':'text-red'}}">*</text><text>{{item.customName}}{{item.isEditable === 0?'(禁用)':''}}</text>
|
|
|
</view>
|
|
|
<picker disabled="{{item.isEditable === 0}}" data-index="{{index}}" class="picker" mode="date" value="{{item.customNameVal}}" start="2015-01-01" end="2100-01-01" bindchange="getValue">
|
|
|
<view class="picker" style="{{item.customNameVal?'color: #646566':'color: #C8C9CC'}}">
|
|
@@ -28,7 +28,7 @@
|
|
|
</picker>
|
|
|
</view>
|
|
|
<view class="cu-form-group" wx:if="{{item.customType==='时间'&&item.isShow===1}}">
|
|
|
- <view class="title"><text class="{{item.customNameVal?'text-green':'text-red'}}">*</text><text>{{item.customName}}</text>
|
|
|
+ <view class="title"><text class="{{item.customNameVal?'text-green':'text-red'}}">*</text><text>{{item.customName}}{{item.isEditable === 0?'(禁用)':''}}</text>
|
|
|
</view>
|
|
|
<picker disabled="{{item.isEditable === 0}}" data-index="{{index}}" class="picker" mode="time" value="{{item.customNameVal}}" start="00:00" end="23:59" bindchange="getValue">
|
|
|
<view class="picker" style="{{item.customNameVal?'color: #646566':'color: #C8C9CC'}}">
|
|
@@ -38,7 +38,7 @@
|
|
|
</view>
|
|
|
<!-- 图片 -->
|
|
|
<view class="cu-form-group height" wx:if="{{item.customType==='图片'&&item.isShow===1}}">
|
|
|
- <view class="title"><text class="{{item.customNameVal?'text-green':'text-red'}}">*</text><text>{{item.customName}}</text>
|
|
|
+ <view class="title"><text class="{{item.customNameVal?'text-green':'text-red'}}">*</text><text>{{item.customName}}{{item.isEditable === 0?'(禁用)':''}}</text>
|
|
|
</view>
|
|
|
<view wx:if="{{item.customNameVal}}" class="img_box">
|
|
|
<image src="{{item.customNameVal}}" class="img" bindtap="previewImg" data-src="{{item.customNameVal}}"></image>
|
|
@@ -51,7 +51,7 @@
|
|
|
<!-- 标题 -->
|
|
|
<view class="cu-form-group">
|
|
|
<view class="title">
|
|
|
- <text class="{{item.customNameVal?'text-green':'text-red'}}">*</text><text>{{item.customName}}</text>
|
|
|
+ <text class="{{item.customNameVal?'text-green':'text-red'}}">*</text><text>{{item.customName}}{{item.isEditable === 0?'(禁用)':''}}</text>
|
|
|
</view>
|
|
|
<area-picker bind:value="getAddress" content="{{item.customNameVal}}" hasStreet="{{item.customType==='省市区街道'}}" data-index="{{index}}"></area-picker>
|
|
|
</view>
|