fix(code): code

code

Signed-off-by: clibing <wmsjhappy@gmail.com>
pull/1/head 0.0.1
clibing 2023-10-02 15:35:50 +08:00
parent cc99ed4ace
commit 72308cd591
347 changed files with 777 additions and 147 deletions

View File

@ -1,6 +1,6 @@
{ {
"name" : "greenhouse-wisdom-applet", "name" : "greenhouse-wisdom-applet",
"appid" : "__UNI__1066059", "appid" : "__UNI__A71060E",
"description" : "", "description" : "",
"versionName" : "1.0.0", "versionName" : "1.0.0",
"versionCode" : "100", "versionCode" : "100",

View File

@ -15,7 +15,7 @@
<view class="save"> <view class="save">
<view class="save_btn"> <view class="save_btn">
<image src="/static/save_image.png" mode=""></image> <image src="https://cdn.lihe-control.com/static/save_image.png" mode=""></image>
保存 保存
</view> </view>
</view> </view>

View File

@ -28,7 +28,7 @@
</view> </view>
<view class="btn"> <view class="btn">
<view class="edit"> <view class="edit">
<image src="/static/edit.png" mode=""></image> <image src="https://cdn.lihe-control.com/static/edit.png" mode=""></image>
<text>编辑</text> <text>编辑</text>
</view> </view>
<view class="delete"> <view class="delete">
@ -40,7 +40,7 @@
<view class="camera"> <view class="camera">
<text class="left">摄像机</text> <text class="left">摄像机</text>
<view class="right"> <view class="right">
<image src="/static/add_camera.png" mode=""></image> <image src="https://cdn.lihe-control.com/static/add_camera.png" mode=""></image>
<text>摄像机</text> <text>摄像机</text>
</view> </view>
</view> </view>
@ -67,7 +67,7 @@
<text class="left">主摄像机</text> <text class="left">主摄像机</text>
<view class="right"> <view class="right">
摄像机#2 摄像机#2
<image src="/static/downArrow.png" mode=""></image> <image src="https://cdn.lihe-control.com/static/downArrow.png" mode=""></image>
</view> </view>
</view> </view>
@ -76,7 +76,7 @@
<view class="save"> <view class="save">
<view class="save_btn"> <view class="save_btn">
<image src="/static/save_image.png" mode=""></image> <image src="https://cdn.lihe-control.com/static/save_image.png" mode=""></image>
保存 保存
</view> </view>
</view> </view>

View File

@ -6,7 +6,7 @@
<view class="content"> <view class="content">
<view class="output_valve"> <view class="output_valve">
<view class="title"> <view class="title">
<image src="/static/output_valve.png" mode=""></image> <image src="https://cdn.lihe-control.com/static/output_valve.png" mode=""></image>
<text>输出电磁阀</text> <text>输出电磁阀</text>
</view> </view>
<view class="detail"> <view class="detail">
@ -21,28 +21,28 @@
<view class="dataInfo1"> <view class="dataInfo1">
<view class="item"> <view class="item">
<view class="img"> <view class="img">
<image src="/static/PH1.png" mode=""></image> <image src="https://cdn.lihe-control.com/static/PH1.png" mode=""></image>
</view> </view>
<text>目标PH</text> <text>目标PH</text>
<text>{{ countData100(inputData['6']) }}</text> <text>{{ countData100(inputData['6']) }}</text>
</view> </view>
<view class="item"> <view class="item">
<view class="img"> <view class="img">
<image src="/static/PH1.png" mode=""></image> <image src="https://cdn.lihe-control.com/static/PH1.png" mode=""></image>
</view> </view>
<text>实测PH</text> <text>实测PH</text>
<text>{{ countData100(inputData['8']) }}</text> <text>{{ countData100(inputData['8']) }}</text>
</view> </view>
<view class="item1"> <view class="item1">
<view class="img"> <view class="img">
<image src="/static/EC.png" mode=""></image> <image src="https://cdn.lihe-control.com/static/EC.png" mode=""></image>
</view> </view>
<text>目标EC</text> <text>目标EC</text>
<text>{{ countData100(inputData['7']) }}</text> <text>{{ countData100(inputData['7']) }}</text>
</view> </view>
<view class="item1"> <view class="item1">
<view class="img"> <view class="img">
<image src="/static/EC.png" mode=""></image> <image src="https://cdn.lihe-control.com/static/EC.png" mode=""></image>
</view> </view>
<text>实测EC</text> <text>实测EC</text>
<text>{{ countData100(inputData['9']) }}</text> <text>{{ countData100(inputData['9']) }}</text>
@ -59,13 +59,13 @@
</view> </view>
<view class="bottom"> <view class="bottom">
<view class="btn-1" :class="left1Act == 0 ? 'in' : 'out'"> <view class="btn-1" :class="left1Act == 0 ? 'in' : 'out'">
<image v-if="left1Act == 0" src="/static/in-sel.png" mode=""></image> <image v-if="left1Act == 0" src="https://cdn.lihe-control.com/static/in-sel.png" mode=""></image>
<image v-else src="/static/in.png" mode=""></image> <image v-else src="https://cdn.lihe-control.com/static/in.png" mode=""></image>
<text>进水泵</text> <text>进水泵</text>
</view> </view>
<view class="btn-2" :class="left1Act == 1 ? 'in' : 'out'"> <view class="btn-2" :class="left1Act == 1 ? 'in' : 'out'">
<image v-if="left1Act == 1" src="/static/out-sel.png" mode=""></image> <image v-if="left1Act == 1" src="https://cdn.lihe-control.com/static/out-sel.png" mode=""></image>
<image v-else src="/static/out.png" mode=""></image> <image v-else src="https://cdn.lihe-control.com/static/out.png" mode=""></image>
<text>配肥泵</text> <text>配肥泵</text>
</view> </view>
</view> </view>
@ -85,7 +85,7 @@
</view> </view>
<view class="right"> <view class="right">
<text>设置</text> <text>设置</text>
<image src="/static/downArrow.png" mode=""></image> <image src="https://cdn.lihe-control.com/static/downArrow.png" mode=""></image>
</view> </view>
</view> </view>
</view> </view>
@ -139,12 +139,12 @@
次施肥 次施肥
</view> </view>
<!-- <view class="changeMoreBtn"> <!-- <view class="changeMoreBtn">
<image src="/static/changeMore.png" mode=""></image> <image src="https://cdn.lihe-control.com/static/changeMore.png" mode=""></image>
<text>修改更多参数</text> <text>修改更多参数</text>
</view> --> </view> -->
</view> </view>
<image src="/static/closed.png" mode="" @click="closePop"></image> <image src="https://cdn.lihe-control.com/static/closed.png" mode="" @click="closePop"></image>
</view> </view>
</u-popup> </u-popup>
</view> </view>
@ -163,32 +163,32 @@
// //
dataInfo2_list: [{ dataInfo2_list: [{
image: '/static/icon_1.png', image: 'https://cdn.lihe-control.com/static/icon_1.png',
title: '灌溉剩余时长', title: '灌溉剩余时长',
timer: '0min' timer: '0min'
}, },
{ {
image: '/static/icon_2.png', image: 'https://cdn.lihe-control.com/static/icon_2.png',
title: '灌溉瞬时流量', title: '灌溉瞬时流量',
timer: '0L/h' timer: '0L/h'
}, },
{ {
image: '/static/icon_3.png', image: 'https://cdn.lihe-control.com/static/icon_3.png',
title: '本次灌溉量', title: '本次灌溉量',
timer: '0L' timer: '0L'
}, },
{ {
image: '/static/icon_4.png', image: 'https://cdn.lihe-control.com/static/icon_4.png',
title: '启动方式', title: '启动方式',
timer: '无' timer: '无'
}, },
{ {
image: '/static/icon_5.png', image: 'https://cdn.lihe-control.com/static/icon_5.png',
title: '使用灌溉配方号', title: '使用灌溉配方号',
timer: '0' timer: '0'
}, },
{ {
image: '/static/icon_6.png', image: 'https://cdn.lihe-control.com/static/icon_6.png',
title: '执行灌溉组号', title: '执行灌溉组号',
timer: '0' timer: '0'
}, },

View File

@ -4,7 +4,7 @@
title-color='#FFFFFF' :title-bold='true' title-size='32'></u-navbar> title-color='#FFFFFF' :title-bold='true' title-size='32'></u-navbar>
<view class="navbar"> <view class="navbar">
<image src="/static/login.png" mode=""></image> <image src="https://cdn.lihe-control.com/static/login.png" mode=""></image>
</view> </view>
<view class="content"> <view class="content">
@ -15,14 +15,14 @@
<view class="userInfo"> <view class="userInfo">
<u-form :model="form" ref="uForm"> <u-form :model="form" ref="uForm">
<view class="input"> <view class="input">
<image src="/static/userName.png" mode="" <image src="https://cdn.lihe-control.com/static/userName.png" mode=""
style="width: 33rpx;height: 35rpx;margin-right: 29rpx;"> style="width: 33rpx;height: 35rpx;margin-right: 29rpx;">
</image> </image>
<u-form-item label="姓名" prop="name"><u-input v-model="form.name" :clearable='false' <u-form-item label="姓名" prop="name"><u-input v-model="form.name" :clearable='false'
placeholder='请输入用户名' /></u-form-item> placeholder='请输入用户名' /></u-form-item>
</view> </view>
<view class="input"> <view class="input">
<image src="/static/passWord.png" mode="" <image src="https://cdn.lihe-control.com/static/passWord.png" mode=""
style="width: 29rpx;height: 36rpx;margin-right: 31rpx;"> style="width: 29rpx;height: 36rpx;margin-right: 31rpx;">
</image> </image>
<u-form-item class="no-cross" label="密码" prop="password"><u-input v-model="form.password" <u-form-item class="no-cross" label="密码" prop="password"><u-input v-model="form.password"
@ -54,8 +54,8 @@
}, },
form: { form: {
name: 'jiaxinglihe2', name: '',
password: 'lihe-control303' password: ''
}, },
rules: { rules: {

View File

@ -5,14 +5,14 @@
<view class="content"> <view class="content">
<view class="item" v-for="item,index in deviceList" :key="index"> <view class="item" v-for="item,index in deviceList" :key="index">
<image src="/static/icon_precise.png" mode=""></image> <image src="https://cdn.lihe-control.com/static/icon_precise.png" mode=""></image>
<view class="center"> <view class="center">
<text>{{item.deviceTypeName}}</text> <text>{{item.deviceTypeName}}</text>
<text>在线</text> <text>在线</text>
</view> </view>
<view class="right" @click="toFertilizer(item)"> <view class="right" @click="toFertilizer(item)">
<text>状态</text> <text>状态</text>
<image src="/static/right-arrow.png" mode=""></image> <image src="https://cdn.lihe-control.com/static/right-arrow.png" mode=""></image>
</view> </view>
</view> </view>
</view> </view>

View File

@ -10,7 +10,7 @@
</view> </view>
<view class="right"> <view class="right">
<view class="edit" @click="toEditSite"> <view class="edit" @click="toEditSite">
<image class="editImage" src="/static/edit.png" mode=""></image> <image class="editImage" src="https://cdn.lihe-control.com/static/edit.png" mode=""></image>
<text>编辑</text> <text>编辑</text>
</view> </view>
<text class="delete">删除</text> <text class="delete">删除</text>

View File

@ -5,7 +5,7 @@
title="目标水肥PH" title-color='#FFFFFF' :title-bold='true' title-size='32'></u-navbar> title="目标水肥PH" title-color='#FFFFFF' :title-bold='true' title-size='32'></u-navbar>
<view class="navbar"> <view class="navbar">
<image src="/static/PH_bg.png" mode=""></image> <image src="https://cdn.lihe-control.com/static/PH_bg.png" mode=""></image>
</view> </view>
<view class="content"> <view class="content">
@ -13,12 +13,12 @@
{{ valuePH }} {{ valuePH }}
</view> </view>
<view class="data_analysis"> <view class="data_analysis">
<image src="/static/data_analysis.png" mode=""></image> <image src="https://cdn.lihe-control.com/static/data_analysis.png" mode=""></image>
<text>数据分析</text> <text>数据分析</text>
</view> </view>
<view class="echart"> <view class="echart">
<view class="title"> <view class="title">
<image src="/static/icon_ph.png" mode=""></image> <image src="https://cdn.lihe-control.com/static/icon_ph.png" mode=""></image>
<text>目标水肥PH</text> <text>目标水肥PH</text>
</view> </view>
<view id="echart_p"> <view id="echart_p">

View File

@ -4,12 +4,12 @@
title-color='#FFFFFF' :title-bold='true' title-size='32'></u-navbar> title-color='#FFFFFF' :title-bold='true' title-size='32'></u-navbar>
<view class="navbar"> <view class="navbar">
<image src="/static/timeEnvironment_bg.png" mode=""></image> <image src="https://cdn.lihe-control.com/static/timeEnvironment_bg.png" mode=""></image>
</view> </view>
<view class="content"> <view class="content">
<view class="title"> <view class="title">
<image src="/static/logo_1.png" mode=""></image> <image src="https://cdn.lihe-control.com/static/logo_1.png" mode=""></image>
<view class="right"> <view class="right">
<view class=""> <view class="">
温室智慧云 温室智慧云
@ -26,12 +26,12 @@
<view class="waterAndFertilizerParams" v-for="(item1,index1) in waterAndFertilizerParamsList" :key="index1"> <view class="waterAndFertilizerParams" v-for="(item1,index1) in waterAndFertilizerParamsList" :key="index1">
<view class="nav"> <view class="nav">
<image src="/static/PH.png" mode=""></image> <image src="https://cdn.lihe-control.com/static/PH.png" mode=""></image>
<text>{{ item1.deviceTypeName }}</text> <text>{{ item1.deviceTypeName }}</text>
</view> </view>
<view class="detail"> <view class="detail">
<view class="item" v-for="(item2,index2) in item1.childList" :key="index2" @click="toTarget_water_fertilizer_PH(item2.equipmentId,item2.environmentData)"> <view class="item" v-for="(item2,index2) in item1.childList" :key="index2" @click="toTarget_water_fertilizer_PH(item2.equipmentId,item2.environmentData)">
<image :src='`/static/icon${ (index2 + 1) < 9 ? (index2 + 1) : 1 }.png`' mode=""></image> <image :src='`https://cdn.lihe-control.com/static/icon${ (index2 + 1) < 9 ? (index2 + 1) : 1 }.png`' mode=""></image>
<view class="info"> <view class="info">
<view class="">{{ item2.environmentDataId }}</view> <view class="">{{ item2.environmentDataId }}</view>
<view class="">{{ item2.environmentData }}</view> <view class="">{{ item2.environmentData }}</view>
@ -42,12 +42,12 @@
<view class="testBase" v-for="(item1,index1) in waterAndFertilizerParamsList" :key="index1"> <view class="testBase" v-for="(item1,index1) in waterAndFertilizerParamsList" :key="index1">
<view class="nav"> <view class="nav">
<image src="/static/base.png" mode=""></image> <image src="https://cdn.lihe-control.com/static/base.png" mode=""></image>
<text>{{ item1.deviceTypeName }}</text> <text>{{ item1.deviceTypeName }}</text>
</view> </view>
<view class="detail"> <view class="detail">
<view class="item" v-for="(item2,index2) in item1.childList" :key="index2" @click="toTarget_water_fertilizer_PH(item2.equipmentId,item2.environmentData)"> <view class="item" v-for="(item2,index2) in item1.childList" :key="index2" @click="toTarget_water_fertilizer_PH(item2.equipmentId,item2.environmentData)">
<image :src='`/static/base${ (index2 + 1) < 16 ? (index2 + 1) : 1 }.png`' mode=""></image> <image :src='`https://cdn.lihe-control.com/static/base${ (index2 + 1) < 16 ? (index2 + 1) : 1 }.png`' mode=""></image>
<view class="info"> <view class="info">
<view class="">{{ item2.environmentDataId }}</view> <view class="">{{ item2.environmentDataId }}</view>
<view class="">{{ item2.environmentData }}</view> <view class="">{{ item2.environmentData }}</view>
@ -58,12 +58,12 @@
<view class="testBase1" v-for="(item1,index1) in waterAndFertilizerParamsList" :key="index1"> <view class="testBase1" v-for="(item1,index1) in waterAndFertilizerParamsList" :key="index1">
<view class="nav"> <view class="nav">
<image src="/static/testBase1.png" mode=""></image> <image src="https://cdn.lihe-control.com/static/testBase1.png" mode=""></image>
<text>{{ item1.deviceTypeName }}</text> <text>{{ item1.deviceTypeName }}</text>
<text>温室#1</text> <text>温室#1</text>
</view> </view>
<view class="item" v-for="(item2,index2) in item1.childList" :key="index2" @click="toTarget_water_fertilizer_PH(item2.equipmentId,item2.environmentData)"> <view class="item" v-for="(item2,index2) in item1.childList" :key="index2" @click="toTarget_water_fertilizer_PH(item2.equipmentId,item2.environmentData)">
<image :src="`/static/${ (index2 + 1) < 5 ? (index2 + 1) : 1 }.png`" mode=""></image> <image :src="`https://cdn.lihe-control.com/static/${ (index2 + 1) < 5 ? (index2 + 1) : 1 }.png`" mode=""></image>
<text>{{ item2.environmentDataId }}</text> <text>{{ item2.environmentDataId }}</text>
<text>{{ item2.environmentData }}</text> <text>{{ item2.environmentData }}</text>
</view> </view>
@ -87,77 +87,77 @@
// //
testBaseList: [{ testBaseList: [{
img: "/static/base1.png", img: "https://cdn.lihe-control.com/static/base1.png",
name: '空气温度', name: '空气温度',
value: "38.8klux" value: "38.8klux"
}, },
{ {
img: "/static/base2.png", img: "https://cdn.lihe-control.com/static/base2.png",
name: '光亮度', name: '光亮度',
value: "38.8klux" value: "38.8klux"
}, },
{ {
img: "/static/base3.png", img: "https://cdn.lihe-control.com/static/base3.png",
name: '二氧化碳', name: '二氧化碳',
value: "二氧化碳" value: "二氧化碳"
}, },
{ {
img: "/static/base3.png", img: "https://cdn.lihe-control.com/static/base3.png",
name: '二氧化碳', name: '二氧化碳',
value: "678PPM" value: "678PPM"
}, },
{ {
img: "/static/base4.png", img: "https://cdn.lihe-control.com/static/base4.png",
name: '土壤温度', name: '土壤温度',
value: "20℃" value: "20℃"
}, },
{ {
img: "/static/base4.png", img: "https://cdn.lihe-control.com/static/base4.png",
name: '土壤温度', name: '土壤温度',
value: "30.1℃" value: "30.1℃"
}, },
{ {
img: "/static/base5.png", img: "https://cdn.lihe-control.com/static/base5.png",
name: '土壤湿度', name: '土壤湿度',
value: "18.5%" value: "18.5%"
}, },
{ {
img: "/static/base5.png", img: "https://cdn.lihe-control.com/static/base5.png",
name: '土壤湿度', name: '土壤湿度',
value: "18.5%" value: "18.5%"
}, },
{ {
img: "/static/base6.png", img: "https://cdn.lihe-control.com/static/base6.png",
name: '水肥PH', name: '水肥PH',
value: "0" value: "0"
}, },
{ {
img: "/static/base6.png", img: "https://cdn.lihe-control.com/static/base6.png",
name: '水肥EC', name: '水肥EC',
value: "0.2mS/cm" value: "0.2mS/cm"
}, },
{ {
img: "/static/base7.png", img: "https://cdn.lihe-control.com/static/base7.png",
name: '3#空气温度', name: '3#空气温度',
value: "29.8C" value: "29.8C"
}, },
{ {
img: "/static/base8.png", img: "https://cdn.lihe-control.com/static/base8.png",
name: '3#空气湿度', name: '3#空气湿度',
value: "80.6%" value: "80.6%"
}, },
{ {
img: "/static/base2.png", img: "https://cdn.lihe-control.com/static/base2.png",
name: '3#光亮度', name: '3#光亮度',
value: "34.6 klux" value: "34.6 klux"
}, },
{ {
img: "/static/base3.png", img: "https://cdn.lihe-control.com/static/base3.png",
name: '3#二氧化碳', name: '3#二氧化碳',
value: "29.8C" value: "29.8C"
}, },
{ {
img: "/static/base5.png", img: "https://cdn.lihe-control.com/static/base5.png",
name: '3#土壤温度', name: '3#土壤温度',
value: "31℃" value: "31℃"
}, },
@ -165,22 +165,22 @@
// //
testBaseList1: [{ testBaseList1: [{
img: "/static/1.png", img: "https://cdn.lihe-control.com/static/1.png",
name: '4#光亮度', name: '4#光亮度',
value: "43 klux" value: "43 klux"
}, },
{ {
img: "/static/2.png", img: "https://cdn.lihe-control.com/static/2.png",
name: '4#二氧化碳', name: '4#二氧化碳',
value: "742 PPM" value: "742 PPM"
}, },
{ {
img: "/static/3.png", img: "https://cdn.lihe-control.com/static/3.png",
name: '4#土壤温度', name: '4#土壤温度',
value: "29.3C" value: "29.3C"
}, },
{ {
img: "/static/4.png", img: "https://cdn.lihe-control.com/static/4.png",
name: '4#土壤湿度', name: '4#土壤湿度',
value: "4%" value: "4%"
}, },

View File

@ -6,19 +6,19 @@
<view class="content"> <view class="content">
<view class="item" v-for="(item,index) in 3" :key="index"> <view class="item" v-for="(item,index) in 3" :key="index">
<view class="nav"> <view class="nav">
<image src="/static/video.png" mode=""></image> <image src="https://cdn.lihe-control.com/static/video.png" mode=""></image>
<text>温室#2-摄像机#2</text> <text>温室#2-摄像机#2</text>
</view> </view>
<view class="video"> <view class="video">
<image src="/static/video1.png" mode=""></image> <image src="https://cdn.lihe-control.com/static/video1.png" mode=""></image>
</view> </view>
<view class="timer"> <view class="timer">
<view class="left"> <view class="left">
<image src="/static/timer.png" mode=""></image> <image src="https://cdn.lihe-control.com/static/timer.png" mode=""></image>
<text>2023-09-20 14:00:55</text> <text>2023-09-20 14:00:55</text>
</view> </view>
<view class="right" @click="toVideoLive"> <view class="right" @click="toVideoLive">
<image src="/static/play.png" mode=""></image> <image src="https://cdn.lihe-control.com/static/play.png" mode=""></image>
<text>现场实况</text> <text>现场实况</text>
</view> </view>
</view> </view>

View File

@ -4,7 +4,7 @@
title-color='#FFFFFF' :title-bold='true' title-size='32'></u-navbar> title-color='#FFFFFF' :title-bold='true' title-size='32'></u-navbar>
<view class="navbar"> <view class="navbar">
<image src="/static/userCenter.png" mode=""></image> <image src="https://cdn.lihe-control.com/static/userCenter.png" mode=""></image>
</view> </view>
<view class="content"> <view class="content">
@ -16,47 +16,47 @@
<view class="userAbility"> <view class="userAbility">
<view class="item"> <view class="item">
<view class="left"> <view class="left">
<image src="/static/ability1.png" mode=""></image> <image src="https://cdn.lihe-control.com/static/ability1.png" mode=""></image>
</view> </view>
<view class="right"> <view class="right">
<text>产品百科</text> <text>产品百科</text>
<image src="/static/arrow.png" mode=""></image> <image src="https://cdn.lihe-control.com/static/arrow.png" mode=""></image>
</view> </view>
</view> </view>
<view class="item" @click="toChange_password"> <view class="item" @click="toChange_password">
<view class="left"> <view class="left">
<image src="/static/ability2.png" mode="" style="width: 30rpx;height: 40rpx;"></image> <image src="https://cdn.lihe-control.com/static/ability2.png" mode="" style="width: 30rpx;height: 40rpx;"></image>
</view> </view>
<view class="right"> <view class="right">
<text>修改密码</text> <text>修改密码</text>
<image src="/static/arrow.png" mode=""></image> <image src="https://cdn.lihe-control.com/static/arrow.png" mode=""></image>
</view> </view>
</view> </view>
<view class="item"> <view class="item">
<view class="left"> <view class="left">
<image src="/static/ability3.png" mode="" style="width: 35rpx;height: 40rpx;"></image> <image src="https://cdn.lihe-control.com/static/ability3.png" mode="" style="width: 35rpx;height: 40rpx;"></image>
</view> </view>
<view class="right"> <view class="right">
<text>关于我们</text> <text>关于我们</text>
<image src="/static/arrow.png" mode=""></image> <image src="https://cdn.lihe-control.com/static/arrow.png" mode=""></image>
</view> </view>
</view> </view>
<view class="item" @click="toSiteAdmin"> <view class="item" @click="toSiteAdmin">
<view class="left"> <view class="left">
<image src="/static/ability4.png" mode="" style="width: 40rpx;height: 36rpx;"></image> <image src="https://cdn.lihe-control.com/static/ability4.png" mode="" style="width: 40rpx;height: 36rpx;"></image>
</view> </view>
<view class="right"> <view class="right">
<text>站点管理</text> <text>站点管理</text>
<image src="/static/arrow.png" mode=""></image> <image src="https://cdn.lihe-control.com/static/arrow.png" mode=""></image>
</view> </view>
</view> </view>
<view class="item" @click="toLogout"> <view class="item" @click="toLogout">
<view class="left"> <view class="left">
<image src="/static/ability5.png" mode="" style="width: 35rpx;height: 36rpx;"></image> <image src="https://cdn.lihe-control.com/static/ability5.png" mode="" style="width: 35rpx;height: 36rpx;"></image>
</view> </view>
<view class="right"> <view class="right">
<text>退出登录</text> <text>退出登录</text>
<image src="/static/arrow.png" mode=""></image> <image src="https://cdn.lihe-control.com/static/arrow.png" mode=""></image>
</view> </view>
</view> </view>
</view> </view>
@ -72,7 +72,7 @@
background: { background: {
backgroundColor: 'transparent', backgroundColor: 'transparent',
}, },
src: '/static/logo.png', src: 'https://cdn.lihe-control.com/static/logo.png',
userName: '', userName: '',
admin: '', admin: '',
userid:'' userid:''

View File

@ -5,55 +5,55 @@
<view class="center"> <view class="center">
<view class="video_live"> <view class="video_live">
<image src="/static/videoLive.png" mode=""></image> <image src="https://cdn.lihe-control.com/static/videoLive.png" mode=""></image>
</view> </view>
<view class="skills"> <view class="skills">
<view class="left"> <view class="left">
<image src="/static/direction_keys.png" mode=""></image> <image src="https://cdn.lihe-control.com/static/direction_keys.png" mode=""></image>
<image class="left_arrow" src="/static/left_arrow.png" mode=""></image> <image class="left_arrow" src="https://cdn.lihe-control.com/static/left_arrow.png" mode=""></image>
<image class="right_arrow" src="/static/right_arrow.png" mode=""></image> <image class="right_arrow" src="https://cdn.lihe-control.com/static/right_arrow.png" mode=""></image>
<image class="up_arrow" src="/static/up_arrow.png" mode=""></image> <image class="up_arrow" src="https://cdn.lihe-control.com/static/up_arrow.png" mode=""></image>
<image class="down_arrow" src="/static/down_arrow.png" mode=""></image> <image class="down_arrow" src="https://cdn.lihe-control.com/static/down_arrow.png" mode=""></image>
</view> </view>
<view class="right"> <view class="right">
<view class="right_item"> <view class="right_item">
<view :class="flag1?'add_act':'add'" @click="focus_addClick"> <view :class="flag1?'add_act':'add'" @click="focus_addClick">
<image src="/static/add_act.png" mode="" v-if="flag1==true"></image> <image src="https://cdn.lihe-control.com/static/add_act.png" mode="" v-if="flag1==true"></image>
<image src="/static/add.png" mode="" v-if="flag1==false"></image> <image src="https://cdn.lihe-control.com/static/add.png" mode="" v-if="flag1==false"></image>
</view> </view>
<view class="focus"> <view class="focus">
焦距 焦距
</view> </view>
<view :class="flag1?'subtract':'subtract_act'" @click="focus_subtractClick"> <view :class="flag1?'subtract':'subtract_act'" @click="focus_subtractClick">
<image src="/static/subtract.png" mode="" v-if="flag1==true"></image> <image src="https://cdn.lihe-control.com/static/subtract.png" mode="" v-if="flag1==true"></image>
<image src="/static/subtract_act.png" mode="" v-if="flag1==false"></image> <image src="https://cdn.lihe-control.com/static/subtract_act.png" mode="" v-if="flag1==false"></image>
</view> </view>
</view> </view>
<view class="right_item"> <view class="right_item">
<view :class="flag2?'add_act':'add'" @click="scale_addClick"> <view :class="flag2?'add_act':'add'" @click="scale_addClick">
<image src="/static/add_act.png" mode="" v-if="flag2==true"></image> <image src="https://cdn.lihe-control.com/static/add_act.png" mode="" v-if="flag2==true"></image>
<image src="/static/add.png" mode="" v-if="flag2==false"></image> <image src="https://cdn.lihe-control.com/static/add.png" mode="" v-if="flag2==false"></image>
</view> </view>
<view class="focus"> <view class="focus">
缩放 缩放
</view> </view>
<view :class="flag2?'subtract':'subtract_act'" @click="scale_subtractClick"> <view :class="flag2?'subtract':'subtract_act'" @click="scale_subtractClick">
<image src="/static/subtract.png" mode="" v-if="flag2==true"></image> <image src="https://cdn.lihe-control.com/static/subtract.png" mode="" v-if="flag2==true"></image>
<image src="/static/subtract_act.png" mode="" v-if="flag2==false"></image> <image src="https://cdn.lihe-control.com/static/subtract_act.png" mode="" v-if="flag2==false"></image>
</view> </view>
</view> </view>
<view class="right_item"> <view class="right_item">
<view :class="flag3?'add_act':'add'" @click="aperture_addClick"> <view :class="flag3?'add_act':'add'" @click="aperture_addClick">
<image src="/static/add_act.png" mode="" v-if="flag3==true"></image> <image src="https://cdn.lihe-control.com/static/add_act.png" mode="" v-if="flag3==true"></image>
<image src="/static/add.png" mode="" v-if="flag3==false"></image> <image src="https://cdn.lihe-control.com/static/add.png" mode="" v-if="flag3==false"></image>
</view> </view>
<view class="focus"> <view class="focus">
光圈 光圈
</view> </view>
<view :class="flag3?'subtract':'subtract_act'" @click="aperture_subtractClick"> <view :class="flag3?'subtract':'subtract_act'" @click="aperture_subtractClick">
<image src="/static/subtract.png" mode="" v-if="flag3==true"></image> <image src="https://cdn.lihe-control.com/static/subtract.png" mode="" v-if="flag3==true"></image>
<image src="/static/subtract_act.png" mode="" v-if="flag3==false"></image> <image src="https://cdn.lihe-control.com/static/subtract_act.png" mode="" v-if="flag3==false"></image>
</view> </view>
</view> </view>
</view> </view>

View File

Before

Width:  |  Height:  |  Size: 1.7 KiB

After

Width:  |  Height:  |  Size: 1.7 KiB

View File

Before

Width:  |  Height:  |  Size: 1.9 KiB

After

Width:  |  Height:  |  Size: 1.9 KiB

View File

Before

Width:  |  Height:  |  Size: 1.8 KiB

After

Width:  |  Height:  |  Size: 1.8 KiB

View File

Before

Width:  |  Height:  |  Size: 1.9 KiB

After

Width:  |  Height:  |  Size: 1.9 KiB

View File

Before

Width:  |  Height:  |  Size: 2.6 KiB

After

Width:  |  Height:  |  Size: 2.6 KiB

View File

Before

Width:  |  Height:  |  Size: 3.7 KiB

After

Width:  |  Height:  |  Size: 3.7 KiB

View File

Before

Width:  |  Height:  |  Size: 2.3 KiB

After

Width:  |  Height:  |  Size: 2.3 KiB

View File

Before

Width:  |  Height:  |  Size: 29 KiB

After

Width:  |  Height:  |  Size: 29 KiB

View File

Before

Width:  |  Height:  |  Size: 1.3 KiB

After

Width:  |  Height:  |  Size: 1.3 KiB

View File

Before

Width:  |  Height:  |  Size: 2.0 KiB

After

Width:  |  Height:  |  Size: 2.0 KiB

View File

Before

Width:  |  Height:  |  Size: 2.1 KiB

After

Width:  |  Height:  |  Size: 2.1 KiB

View File

Before

Width:  |  Height:  |  Size: 1.2 KiB

After

Width:  |  Height:  |  Size: 1.2 KiB

View File

Before

Width:  |  Height:  |  Size: 703 B

After

Width:  |  Height:  |  Size: 703 B

View File

Before

Width:  |  Height:  |  Size: 589 B

After

Width:  |  Height:  |  Size: 589 B

View File

Before

Width:  |  Height:  |  Size: 487 B

After

Width:  |  Height:  |  Size: 487 B

View File

Before

Width:  |  Height:  |  Size: 891 B

After

Width:  |  Height:  |  Size: 891 B

View File

Before

Width:  |  Height:  |  Size: 583 B

After

Width:  |  Height:  |  Size: 583 B

View File

Before

Width:  |  Height:  |  Size: 3.0 KiB

After

Width:  |  Height:  |  Size: 3.0 KiB

View File

Before

Width:  |  Height:  |  Size: 2.3 KiB

After

Width:  |  Height:  |  Size: 2.3 KiB

View File

Before

Width:  |  Height:  |  Size: 2.1 KiB

After

Width:  |  Height:  |  Size: 2.1 KiB

View File

Before

Width:  |  Height:  |  Size: 2.5 KiB

After

Width:  |  Height:  |  Size: 2.5 KiB

View File

Before

Width:  |  Height:  |  Size: 2.4 KiB

After

Width:  |  Height:  |  Size: 2.4 KiB

View File

Before

Width:  |  Height:  |  Size: 2.4 KiB

After

Width:  |  Height:  |  Size: 2.4 KiB

View File

Before

Width:  |  Height:  |  Size: 2.2 KiB

After

Width:  |  Height:  |  Size: 2.2 KiB

View File

Before

Width:  |  Height:  |  Size: 2.1 KiB

After

Width:  |  Height:  |  Size: 2.1 KiB

View File

Before

Width:  |  Height:  |  Size: 2.5 KiB

After

Width:  |  Height:  |  Size: 2.5 KiB

View File

Before

Width:  |  Height:  |  Size: 1.3 KiB

After

Width:  |  Height:  |  Size: 1.3 KiB

View File

Before

Width:  |  Height:  |  Size: 2.0 KiB

After

Width:  |  Height:  |  Size: 2.0 KiB

View File

Before

Width:  |  Height:  |  Size: 703 B

After

Width:  |  Height:  |  Size: 703 B

View File

Before

Width:  |  Height:  |  Size: 50 KiB

After

Width:  |  Height:  |  Size: 50 KiB

View File

Before

Width:  |  Height:  |  Size: 146 B

After

Width:  |  Height:  |  Size: 146 B

View File

Before

Width:  |  Height:  |  Size: 713 B

After

Width:  |  Height:  |  Size: 713 B

View File

Before

Width:  |  Height:  |  Size: 636 B

After

Width:  |  Height:  |  Size: 636 B

View File

Before

Width:  |  Height:  |  Size: 4.8 KiB

After

Width:  |  Height:  |  Size: 4.8 KiB

View File

Before

Width:  |  Height:  |  Size: 4.6 KiB

After

Width:  |  Height:  |  Size: 4.6 KiB

View File

Before

Width:  |  Height:  |  Size: 5.0 KiB

After

Width:  |  Height:  |  Size: 5.0 KiB

View File

Before

Width:  |  Height:  |  Size: 5.6 KiB

After

Width:  |  Height:  |  Size: 5.6 KiB

View File

Before

Width:  |  Height:  |  Size: 5.1 KiB

After

Width:  |  Height:  |  Size: 5.1 KiB

View File

Before

Width:  |  Height:  |  Size: 4.6 KiB

After

Width:  |  Height:  |  Size: 4.6 KiB

View File

Before

Width:  |  Height:  |  Size: 5.0 KiB

After

Width:  |  Height:  |  Size: 5.0 KiB

View File

Before

Width:  |  Height:  |  Size: 4.7 KiB

After

Width:  |  Height:  |  Size: 4.7 KiB

View File

Before

Width:  |  Height:  |  Size: 14 KiB

After

Width:  |  Height:  |  Size: 14 KiB

View File

Before

Width:  |  Height:  |  Size: 13 KiB

After

Width:  |  Height:  |  Size: 13 KiB

View File

Before

Width:  |  Height:  |  Size: 12 KiB

After

Width:  |  Height:  |  Size: 12 KiB

View File

Before

Width:  |  Height:  |  Size: 14 KiB

After

Width:  |  Height:  |  Size: 14 KiB

View File

Before

Width:  |  Height:  |  Size: 12 KiB

After

Width:  |  Height:  |  Size: 12 KiB

View File

Before

Width:  |  Height:  |  Size: 14 KiB

After

Width:  |  Height:  |  Size: 14 KiB

View File

Before

Width:  |  Height:  |  Size: 617 B

After

Width:  |  Height:  |  Size: 617 B

View File

Before

Width:  |  Height:  |  Size: 3.7 KiB

After

Width:  |  Height:  |  Size: 3.7 KiB

View File

Before

Width:  |  Height:  |  Size: 824 B

After

Width:  |  Height:  |  Size: 824 B

View File

Before

Width:  |  Height:  |  Size: 1.6 KiB

After

Width:  |  Height:  |  Size: 1.6 KiB

View File

Before

Width:  |  Height:  |  Size: 501 B

After

Width:  |  Height:  |  Size: 501 B

View File

Before

Width:  |  Height:  |  Size: 714 KiB

After

Width:  |  Height:  |  Size: 714 KiB

View File

Before

Width:  |  Height:  |  Size: 3.9 KiB

After

Width:  |  Height:  |  Size: 3.9 KiB

View File

Before

Width:  |  Height:  |  Size: 2.2 KiB

After

Width:  |  Height:  |  Size: 2.2 KiB

View File

Before

Width:  |  Height:  |  Size: 1.6 KiB

After

Width:  |  Height:  |  Size: 1.6 KiB

View File

Before

Width:  |  Height:  |  Size: 1.1 KiB

After

Width:  |  Height:  |  Size: 1.1 KiB

View File

Before

Width:  |  Height:  |  Size: 3.0 KiB

After

Width:  |  Height:  |  Size: 3.0 KiB

View File

Before

Width:  |  Height:  |  Size: 2.0 KiB

After

Width:  |  Height:  |  Size: 2.0 KiB

View File

Before

Width:  |  Height:  |  Size: 739 B

After

Width:  |  Height:  |  Size: 739 B

View File

Before

Width:  |  Height:  |  Size: 502 B

After

Width:  |  Height:  |  Size: 502 B

View File

Before

Width:  |  Height:  |  Size: 312 B

After

Width:  |  Height:  |  Size: 312 B

View File

Before

Width:  |  Height:  |  Size: 844 B

After

Width:  |  Height:  |  Size: 844 B

View File

Before

Width:  |  Height:  |  Size: 362 B

After

Width:  |  Height:  |  Size: 362 B

View File

Before

Width:  |  Height:  |  Size: 356 B

After

Width:  |  Height:  |  Size: 356 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.6 KiB

View File

Before

Width:  |  Height:  |  Size: 3.3 KiB

After

Width:  |  Height:  |  Size: 3.3 KiB

View File

Before

Width:  |  Height:  |  Size: 266 KiB

After

Width:  |  Height:  |  Size: 266 KiB

View File

Before

Width:  |  Height:  |  Size: 975 B

After

Width:  |  Height:  |  Size: 975 B

View File

Before

Width:  |  Height:  |  Size: 438 B

After

Width:  |  Height:  |  Size: 438 B

View File

Before

Width:  |  Height:  |  Size: 10 KiB

After

Width:  |  Height:  |  Size: 10 KiB

View File

Before

Width:  |  Height:  |  Size: 1.4 KiB

After

Width:  |  Height:  |  Size: 1.4 KiB

View File

Before

Width:  |  Height:  |  Size: 2.6 KiB

After

Width:  |  Height:  |  Size: 2.6 KiB

View File

Before

Width:  |  Height:  |  Size: 184 KiB

After

Width:  |  Height:  |  Size: 184 KiB

View File

Before

Width:  |  Height:  |  Size: 367 KiB

After

Width:  |  Height:  |  Size: 367 KiB

View File

@ -0,0 +1,4 @@
require('./common/runtime.js')
require('./common/vendor.js')
require('./common/main.js')

View File

@ -0,0 +1,65 @@
{
"pages": [
"pages/timeEnvironment/timeEnvironment",
"pages/timeVideo/timeVideo",
"pages/greenhouseDevice/greenhouseDevice",
"pages/preciseWaterAndFertilizer/preciseWaterAndFertilizer",
"pages/userCenter/userCenter",
"pages/videoLive/videoLive",
"pages/login/login",
"pages/change_password/change_password",
"pages/siteAdmin/siteAdmin",
"pages/editSite/editSite",
"pages/fertilizer_machine/fertilizer_machine",
"pages/add_irrigation_group/add_irrigation_group",
"pages/target_water_fertilizer_PH/target_water_fertilizer_PH"
],
"subPackages": [],
"window": {
"navigationBarTextStyle": "black",
"navigationBarTitleText": "uni-app",
"navigationBarBackgroundColor": "#F8F8F8",
"backgroundColor": "#F8F8F8"
},
"tabBar": {
"color": "#999999",
"selectedColor": "#00B386",
"backgroundColor": "#FFFFFF",
"padding": "23rpx",
"fontSize": "20rpx",
"borderStyle": "white",
"list": [
{
"pagePath": "pages/timeEnvironment/timeEnvironment",
"text": "实时环境",
"iconPath": "static/tabbar/timeEnvironment.png",
"selectedIconPath": "static/tabbar/timeEnvironment_act.png"
},
{
"pagePath": "pages/timeVideo/timeVideo",
"text": "实时视频",
"iconPath": "static/tabbar/timeVideo.png",
"selectedIconPath": "static/tabbar/timeVideo_act.png"
},
{
"pagePath": "pages/greenhouseDevice/greenhouseDevice",
"text": "温室设备",
"iconPath": "static/tabbar/greenhouseDevice.png",
"selectedIconPath": "static/tabbar/greenhouseDevice_act.png"
},
{
"pagePath": "pages/preciseWaterAndFertilizer/preciseWaterAndFertilizer",
"text": "精准水肥",
"iconPath": "static/tabbar/preciseWaterAndFertilizer.png",
"selectedIconPath": "static/tabbar/preciseWaterAndFertilizer_act.png"
},
{
"pagePath": "pages/userCenter/userCenter",
"text": "用户中心",
"iconPath": "static/tabbar/userCenter.png",
"selectedIconPath": "static/tabbar/userCenter_act.png"
}
]
},
"usingComponents": {}
}

View File

@ -0,0 +1,3 @@
@import './common/main.wxss';
[data-custom-hidden="true"],[bind-data-custom-hidden="true"]{display: none !important;}

Some files were not shown because too many files have changed in this diff Show More