123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183 |
- <van-cell a:if="{{type == 'text'}}" border='{{ false }}' class='label-sm' ref='saveChildRef1'>
- <view slot='title'>
- <text a:if='{{isRequired}}' class="{{value?'text-green':'text-red'}}">
- *
- </text>
- <text class='van-cell-text'>
- {{title}}
- </text>
- </view>
- <custom-input
- type='{{inputType}}'
- maxlength='{{maxLength}}'
- value='{{value}}'
- placeholder='{{placeholder}}'
- disabled='{{disabled}}'
- onInput='getValue'
- >
- </custom-input>
- </van-cell>
- <van-cell a:if="{{type === 'textarea'}}" border='{{ false }}' class='label-sm' ref='saveChildRef2'>
- <view slot='title'>
- <text class="{{value?'text-green':'text-red'}}">
- *
- </text>
- <text class='van-cell-text'>
- {{title}}
- </text>
- </view>
- <textarea
- class="handlemodule-textarea"
- style='width: 100%;'
- value='{{value}}'
- placeholder='{{placeholder}}'
- auto-height='{{true}}'
- maxlength=99999
- disabled='{{disabled}}'
- onInput='getValue'
- >
- </textarea>
- </van-cell>
- <!-- 日期选择器 -->
- <picker
- class='picker'
- mode='date'
- value='{{value}}'
- data-type='date'
- start='{{startDate}}'
- end='{{endDate}}'
- disabled='{{disabled}}'
- onChange='getValue'
- >
- <van-cell a:if="{{type === 'date'}}" border='{{ false }}' class='label-sm' ref='saveChildRef3'>
- <view slot='title'>
- <text a:if='{{isRequired}}' class="{{value?'text-green':'text-red'}}">
- *
- </text>
- <text class='van-cell-text'>
- {{title}}
- </text>
- </view>
- <text>
- {{value ?value:placeholder}}
- </text>
- <van-icon class='icons' name='arrow' ref='saveChildRef4'>
- </van-icon>
- </van-cell>
- </picker>
- <!-- 时间选择器 -->
- <picker
- class='picker'
- mode='time'
- value='{{value}}'
- data-type='time'
- disabled='{{disabled}}'
- start='{{startTime}}'
- end='{{endTime}}'
- onChange='getValue'
- >
- <van-cell a:if="{{type === 'time' }}" border='{{ false }}' class='label-sm' ref='saveChildRef5'>
- <view slot='title'>
- <text a:if='{{isRequired}}' class="{{value?'text-green':'text-red'}}">
- *
- </text>
- <text class='van-cell-text'>
- {{title}}
- </text>
- </view>
- <text>
- {{value ?value:placeholder}}
- </text>
- <van-icon class='icons' name='arrow' ref='saveChildRef6'>
- </van-icon>
- </van-cell>
- </picker>
- <van-cell a:if="{{type === 'stepper'}}" border='{{ false }}' class='label-sm' ref='saveChildRef7'>
- <view slot='title'>
- <text a:if='{{isRequired}}' class="{{value?'text-green':'text-red'}}">
- *
- </text>
- <text class='van-cell-text'>
- {{title}}
- </text>
- </view>
- <van-stepper
- value='{{ value }}'
- data-type='stepper'
- integer=" "
- min='{{1}}'
- onChange='getValue'
- ref='saveChildRef8'
- >
- </van-stepper>
- </van-cell>
- <van-cell
- a:if="{{type === 'radio'}}"
- border='{{ false }}'
- class='label-sm'
- title-width='200rpx'
- ref='saveChildRef9'
- >
- <view slot='title'>
- <text a:if='{{isRequired}}' class="{{value?'text-green':'text-red'}}">
- *
- </text>
- <text class='van-cell-text'>
- {{title}}
- </text>
- </view>
- <van-radio-group value='{{ value }}' ref='saveChildRef10'>
- <van-radio
- a:for='{{listErgodic}}'
- class="dis"
- onChange='getValue'
- a:key='{{index}}'
- value="{{value}}"
- data-item="{{item}}"
- data-type="radio"
- name='{{item[key1]}}'
- ref-numbers='{{listErgodic}}'
- ref='saveChildRef11'
- >
- {{item[name1]}}
- </van-radio>
- </van-radio-group>
- </van-cell>
- <van-cell a:if="{{type === 'image'}}" border='{{ false }}' class='label-sm' ref='saveChildRef12'>
- <view slot='title'>
- <text a:if='{{isRequired}}' class="{{value?'text-green':'text-red'}}">
- *
- </text>
- <text class='van-cell-text'>
- {{title}}
- </text>
- </view>
- <view class='handlemodule-img' onTap='antmoveAction' data-antmove-tap='ChooseImage'>
- <view a:if='{{value}}' class='have-photo'>
- <image src='{{value}}'>
- </image>
- <view
- class="clear-icon meetinglayout-clear-icon"
- catchTap="clearImg"
- data-index="{{index}}"
- data-type="left"
- style="width: 25rpx; height: 25rpx; border-radius: 50%; background-color: #9494B2; display: flex; align-items: center; justify-content: center;"
- >
- <text style="color: #fff; font-size: 23rpx;" class="handlemodule-text">×</text>
- </view>
- <!--<van-icon
- name='clear'
- size='40rpx'
- class='clear-icon'
- catchTap='antmoveAction'
- onClick='clearImg'
- ref='saveChildRef13'
- ></van-icon> -->
- </view>
- <view a:else class='default-photo'>
- <van-icon name='photo-o' size='50rpx' color='#E0E1E5' ref='saveChildRef14'>
- </van-icon>
- </view>
- </view>
- </van-cell>
|