添加部分页面

This commit is contained in:
qianlile
2021-08-21 20:11:09 +08:00
parent fe4902da1c
commit dbaee1db02
903 changed files with 1198 additions and 35963 deletions

View File

@@ -0,0 +1,46 @@
<!--miniprogram/pages/deviceDetail/index.wxml-->
<van-cell-group title='设备信息'>
<van-field
label="设备编号"
value="{{ info.deviceNum }}"
readonly
/>
<van-field
label="设备分类"
value="4G开关"
readonly
/>
</van-cell-group>
<van-cell-group title='自定义信息'>
<van-field
label="设备名称"
value="{{ info.deviceName }}"
bind:change="changeName"
/>
<van-field
label="设备位置"
value="客厅"
/>
<van-field
label="备注"
value="{{ info.remark }}"
type='textarea'
bind:change="changeRemark"
/>
</van-cell-group>
<view class="btn">
<van-button block round color="linear-gradient(to right, #4bb0ff, #6149f6)" bindtap="showDialog">
提交修改
</van-button>
</view>
<van-dialog
message='您确定要提交您所做的修改吗?'
show="{{ show }}"
show-cancel-button
bind:close="onClose"
bind:confirm="onConfirm"
bind:cancel='onCancel'
>
</van-dialog>