|
@@ -4,28 +4,28 @@
|
|
|
<view class="con">
|
|
|
<u-cell-group :border="false">
|
|
|
<u-cell-item :title="item.paramName" v-for="(item, i) in systemList" :key="item.id" @click="openModal(item,i)">
|
|
|
- <u-input
|
|
|
- v-show="item.remarks != 'FLAG'"
|
|
|
- slot="right-icon"
|
|
|
- v-model="item.value"
|
|
|
- disabled
|
|
|
- @click="openModal(item,i)"
|
|
|
- placeholder="请选择"
|
|
|
- placeholder-style="text-align:right"
|
|
|
- :custom-style="inputStyle"
|
|
|
- />
|
|
|
- <u-switch
|
|
|
- v-show="item.remarks == 'FLAG'"
|
|
|
- :size="40"
|
|
|
- :active-color="activeColor"
|
|
|
- slot="right-icon"
|
|
|
- :value="item.paramValue == 1"
|
|
|
- @change="
|
|
|
- status => {
|
|
|
- changeSwitch(status, i);
|
|
|
- }
|
|
|
- "
|
|
|
- ></u-switch>
|
|
|
+ <template v-slot:right-icon>
|
|
|
+ <u-input
|
|
|
+ v-show="item.remarks != 'FLAG'"
|
|
|
+ v-model="item.value"
|
|
|
+ disabled
|
|
|
+ @click="openModal(item,i)"
|
|
|
+ placeholder="请选择"
|
|
|
+ placeholder-style="text-align:right"
|
|
|
+ :custom-style="inputStyle"
|
|
|
+ />
|
|
|
+ <u-switch
|
|
|
+ v-show="item.remarks == 'FLAG'"
|
|
|
+ :size="40"
|
|
|
+ :active-color="activeColor"
|
|
|
+ :value="item.paramValue == 1"
|
|
|
+ @change="
|
|
|
+ status => {
|
|
|
+ changeSwitch(status, i);
|
|
|
+ }
|
|
|
+ "
|
|
|
+ ></u-switch>
|
|
|
+ </template>
|
|
|
</u-cell-item>
|
|
|
</u-cell-group>
|
|
|
</view>
|