智能灌溉控制器页面跳转
This commit is contained in:
parent
a783455ddc
commit
e1b2f49646
@ -228,7 +228,7 @@
|
||||
</view>
|
||||
|
||||
<view class="line_pop"></view>
|
||||
<view class="changeMoreBtn" @click="toWebView(indexs)">
|
||||
<view class="changeMoreBtn" @click="toWebView(indexs,'irrigateSet-soil')">
|
||||
<image src="../../static/changeMore.png" mode=""></image>
|
||||
<text>修改更多参数</text>
|
||||
</view>
|
||||
@ -451,10 +451,10 @@
|
||||
openSoilshow(){
|
||||
this.Soilshow=true
|
||||
},
|
||||
toWebView(id) {
|
||||
toWebView(id,url) {
|
||||
// console.log(id);
|
||||
uni.navigateTo({
|
||||
url: '/pages/web_view/web_view?id=' + id + '&deviceId=' + this.deviceId
|
||||
url: '/pages/web_view/web_view?id=' + id + '&deviceId=' + this.deviceId+ '&url=' + url
|
||||
})
|
||||
},
|
||||
countData10(data) {
|
||||
|
@ -32,7 +32,6 @@
|
||||
success:function(res){
|
||||
that.userid = res.data
|
||||
that.src = `https://portal.lihe-control.com/#/${options.url}?id=${that.id}&token=${that.token}&userid=${that.userid}&deviceId=${that.deviceId}`
|
||||
// console.log(that.src);
|
||||
}
|
||||
})
|
||||
},
|
||||
|
Loading…
x
Reference in New Issue
Block a user