页面切图

This commit is contained in:
仲么了
2023-02-27 14:56:08 +08:00
parent 89f0e79ceb
commit a8eef6d797
15 changed files with 387 additions and 20 deletions

View File

@@ -3,9 +3,9 @@
<template v-if="type == 1">
<view class="content">
<uni-forms>
<uni-forms-item label="设备识别码">
<uni-forms-item label="网关识别码">
<view style="display:flex">
<uni-easyinput type="number" v-model="code" placeholder="请输入设备识别码" />
<uni-easyinput type="number" v-model="code" placeholder="请输入网关识别码" />
<uni-icons type="camera" color="#007aff" size="26" class="ml20"
@click="scanCode"></uni-icons>
</view>
@@ -19,6 +19,9 @@
<template v-else>
<view class="content">
<uni-forms>
<uni-forms-item label="项目">
<uni-data-select v-model="formData.project" :localdata="projectRange"></uni-data-select>
</uni-forms-item>
<uni-forms-item label="位置">
<view style="display:flex;">
<uni-easyinput :clearable="false" type="textarea" autoHeight v-model="formData.address"
@@ -65,7 +68,13 @@ export default {
type: 1,
formData: {
address: '',
project:""
},
projectRange: [
{ value: 1, text: "监测", point: 1 },
{ value: 2, text: "治理", point: 2 },
{ value: 3, text: "用能", point: 1 },
],
activeGplot: 1,
}