Compare commits
2 Commits
40e8bb3a6d
...
3bb54948b3
| Author | SHA1 | Date |
|---|---|---|
|
|
3bb54948b3 | |
|
|
b0df7d8be9 |
|
|
@ -1,2 +1,2 @@
|
|||
<!DOCTYPE html><html lang="zh-CN"><head><meta charset="utf-8"><meta http-equiv="X-UA-Compatible" content="IE=edge"><title></title><script>var coverSupport = 'CSS' in window && typeof CSS.supports === 'function' && (CSS.supports('top: env(a)') || CSS.supports('top: constant(a)'))
|
||||
document.write('<meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0' + (coverSupport ? ', viewport-fit=cover' : '') + '" />')</script><link rel="stylesheet" href="/static/index.97465e7b.css"></head><body><noscript><strong>Please enable JavaScript to continue.</strong></noscript><div id="app"></div><script src="/static/js/chunk-vendors.959091ef.js"></script><script src="/static/js/index.a31ea64f.js"></script></body></html>
|
||||
document.write('<meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0' + (coverSupport ? ', viewport-fit=cover' : '') + '" />')</script><link rel="stylesheet" href="/static/index.97465e7b.css"></head><body><noscript><strong>Please enable JavaScript to continue.</strong></noscript><div id="app"></div><script src="/static/js/chunk-vendors.959091ef.js"></script><script src="/static/js/index.a6cb70fb.js"></script></body></html>
|
||||
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
|
|
@ -239,8 +239,9 @@
|
|||
"path" : "pages/basics/profile-detail",
|
||||
"style" :
|
||||
{
|
||||
"navigationBarTitleText": "",
|
||||
"enablePullDownRefresh": false
|
||||
"navigationBarTitleText": "基地概况",
|
||||
"enablePullDownRefresh": false,
|
||||
"navigationStyle":"custom"
|
||||
}
|
||||
},{
|
||||
"path" : "pages/crop/town-crop",
|
||||
|
|
|
|||
|
|
@ -1,5 +1,15 @@
|
|||
<template>
|
||||
<view>
|
||||
<u-navbar
|
||||
:isBack="showAppbar"
|
||||
:title="title"
|
||||
:background="background"
|
||||
:custom-back="goback"
|
||||
:title-color="titleColor"
|
||||
v-if="showAppbar"
|
||||
:back-icon-color="titleColor"
|
||||
>
|
||||
</u-navbar>
|
||||
<view class="space-y-20rpx">
|
||||
<BaseChat
|
||||
:baseId="id"
|
||||
|
|
@ -18,6 +28,7 @@
|
|||
</view>
|
||||
</template>
|
||||
<script>
|
||||
import { navigateBack } from '@/com/utils.js'
|
||||
import { http } from '@/api/index.js'
|
||||
import BaseChat from './components/base-chat.vue'
|
||||
import SBYXZT from './components/sbyxzt.vue'
|
||||
|
|
@ -32,10 +43,14 @@ export default {
|
|||
QXSJ,
|
||||
TRJC,
|
||||
SZJC,
|
||||
JK
|
||||
JK,
|
||||
},
|
||||
data() {
|
||||
return {
|
||||
background: {
|
||||
backgroundColor: '#2a7dc9',
|
||||
},
|
||||
titleColor: '#ffffff',
|
||||
id: '',
|
||||
devices: [],
|
||||
crops: [],
|
||||
|
|
@ -43,21 +58,21 @@ export default {
|
|||
}
|
||||
},
|
||||
computed: {
|
||||
isJK(){
|
||||
isJK() {
|
||||
return this.devices.findIndex((e) => e.type == '监控设备') >= 0
|
||||
},
|
||||
isTR(){
|
||||
isTR() {
|
||||
return this.devices.findIndex((e) => e.type == '土壤设备') >= 0
|
||||
},
|
||||
isQX(){
|
||||
isQX() {
|
||||
return this.devices.findIndex((e) => e.type == '气象设备') >= 0
|
||||
},
|
||||
isSZ(){
|
||||
isSZ() {
|
||||
return this.devices.findIndex((e) => e.type == '水质设备') >= 0
|
||||
},
|
||||
isSB(){
|
||||
isSB() {
|
||||
return this.devices.length > 0
|
||||
}
|
||||
},
|
||||
},
|
||||
onLoad({ id }) {
|
||||
this.id = id
|
||||
|
|
@ -72,8 +87,20 @@ export default {
|
|||
this.devices = devices
|
||||
uni.setNavigationBarTitle({ title: name })
|
||||
this.crops = crops
|
||||
try {
|
||||
uni.postMessage({
|
||||
data: {
|
||||
even:'xxxxxi'
|
||||
}
|
||||
});
|
||||
} catch (error) {
|
||||
|
||||
}
|
||||
})
|
||||
},
|
||||
goback() {
|
||||
navigateBack()
|
||||
},
|
||||
},
|
||||
}
|
||||
</script>
|
||||
|
|
|
|||
|
|
@ -1,13 +1,13 @@
|
|||
<template>
|
||||
<view>
|
||||
<u-sticky :offsetTop="0">
|
||||
<!-- <u-sticky :h5NavHeight="h5NavHeightP"> -->
|
||||
<view class="bg-white">
|
||||
<SearchForm
|
||||
:schemas="searchFormSchema"
|
||||
@submit="handleSubmit"
|
||||
></SearchForm>
|
||||
</view>
|
||||
</u-sticky>
|
||||
<!-- </u-sticky> -->
|
||||
<mescroll-body
|
||||
@init="mescrollInit"
|
||||
@up="upCallback"
|
||||
|
|
|
|||
Loading…
Reference in New Issue