mirror of
https://gitee.com/beecue/fastbee.git
synced 2025-12-18 00:45:55 +08:00
添加部分页面
This commit is contained in:
46
wechat/miniprogram/pages/deviceDetail/index.wxml
Normal file
46
wechat/miniprogram/pages/deviceDetail/index.wxml
Normal 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>
|
||||
Reference in New Issue
Block a user