|
12345678910111213141516171819202122232425 |
- <wux-cell wx:if="{{activeMode}}" hover-class="none" wux-class="wux-cell-class-1">
- <view class="view-input" bind:tap="openPopup">
- <text wx:if="{{child_value}}">{{child_value}}</text>
- <text wx:else style="color: #999999;">{{placeholder}}</text>
- </view>
- </wux-cell>
-
-
- <wux-cell wx:else hover-class="none" wux-class="wux-cell-class">
- <wux-input label="{{label}}" placeholder="{{placeholder}}" value="{{child_value}}" requiredMark="{{requiredMark}}" labelWrap controlled readOnly bind:tap="openPopup" />
- </wux-cell>
-
- <wux-popup position="{{position}}" visible="{{ show }}" title="{{placeholder}}">
- <wux-wing-blank size="default">
- <wux-cascader-view full controlled value="{{ select_value }}" options="{{ cascaderOption }}" bind:change="onChange" bind:load="onLoadOptions" defaultFieldNames="{{cascaderOptionNames}}" />
- <wux-row gutter="10">
- <wux-col span="4">
- <wux-button block outline type="assertive" bind:tap="close">关闭</wux-button>
- </wux-col>
- <wux-col span="8">
- <wux-button block type="balanced" bind:tap="comfirm">确定</wux-button>
- </wux-col>
- </wux-row>
- </wux-wing-blank>
- </wux-popup>
|