riku
2026-01-21 a2c5def7cf9562312a54216bc195a6ea071a26c5
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
<view wx:if="{{item.show != false}}">
  <view class="hr-view"></view>
  <mp-cell ext-class="ext-cell">
    <view slot="title" class="title-cell"
      ><text class="{{item.required != false ? 'required' : 'not-required'}}"
        >*</text
      >{{item.name}}</view
    >
    <image
      wx:if="{{item.src}}"
      slot="icon"
      class="header-img"
      src="{{item.src}}"
    ></image>
 
    <view class="flexbox {{alignLeft?'':'flexbox-end'}}">
      <input
        wx:if="{{item.input}}"
        type="{{item.type?item.type:'text'}}"
        maxlength="{{item.maxLength?item.maxLength:'-1'}}"
        id="{{item.id?item.id:''}}"
        placeholder-style="color:{{item.noValue?'red':'#B2B2B2'}};"
        class="weui-up-input {{inputClass}} {{alignLeft?'':'input-right'}} {{item.disable ? 'input-disable':''}}"
        bindinput="changeV"
        value="{{item.value}}"
        placeholder="{{item.placeholder ? item.placeholder : '请输入' + item.name}} "
        confirm-type="next"
        disabled="{{item.disable}}"
      />
      <view
        wx:else="{{text}}"
        class="weui-up-input {{inputClass}} {{alignLeft?'':'input-right'}}"
        >{{item.value}}</view
      >
      <view class="unit">{{item.unit}}</view>
    </view>
  </mp-cell>
</view>