修改bug

develop
ihzero 2023-12-30 23:18:26 +08:00
commit bce9df6b1c
16 changed files with 48 additions and 49 deletions

View File

@ -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)')) <!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="https://lcny.sk797.cn/h5/static/index.97465e7b.css"></head><body><noscript><strong>Please enable JavaScript to continue.</strong></noscript><div id="app"></div><script src="https://lcny.sk797.cn/h5/static/js/chunk-vendors.959091ef.js"></script><script src="https://lcny.sk797.cn/h5/static/js/index.0b310731.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="https://lcny.sk797.cn/h5/static/index.97465e7b.css"></head><body><noscript><strong>Please enable JavaScript to continue.</strong></noscript><div id="app"></div><script src="https://lcny.sk797.cn/h5/static/js/chunk-vendors.959091ef.js"></script><script src="https://lcny.sk797.cn/h5/static/js/index.da3e7cd2.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

View File

@ -234,16 +234,15 @@
"style" : "style" :
{ {
"navigationBarTitleText": "基地概况", "navigationBarTitleText": "基地概况",
"enablePullDownRefresh": false, "enablePullDownRefresh": false
"navigationStyle":"custom"
} }
},{ },{
"path" : "pages/basics/profile-detail", "path" : "pages/basics/profile-detail",
"style" : "style" :
{ {
"navigationBarTitleText": "基地详情", "navigationBarTitleText": "",
"enablePullDownRefresh": false, "enablePullDownRefresh": false
"navigationStyle":"custom"
} }
},{ },{
"path" : "pages/crop/town-crop", "path" : "pages/crop/town-crop",

View File

@ -185,7 +185,7 @@ export default {
}, },
}, },
{ {
field: 'type', field: 'industry',
label: '农业类型', label: '农业类型',
component: 'ApiSelect', component: 'ApiSelect',
componentProps: ({ formActionType }) => { componentProps: ({ formActionType }) => {
@ -197,7 +197,7 @@ export default {
return data.data return data.data
}, },
labelField: 'name', labelField: 'name',
valueField: 'id', valueField: 'key',
} }
}, },
}, },

View File

@ -1,6 +1,6 @@
<template> <template>
<view> <view>
<Appbar :show="showAppbar" :title="title"> </Appbar> <!-- <Appbar :show="showAppbar" :title="title"> </Appbar> -->
<view class="space-y-20rpx"> <view class="space-y-20rpx">
<BaseChat <BaseChat
:baseId="id" :baseId="id"
@ -73,7 +73,7 @@ export default {
const { crops, devices, name } = data.data const { crops, devices, name } = data.data
this.title = name this.title = name
this.devices = devices this.devices = devices
console.log(this.devices); uni.setNavigationBarTitle({ title: name })
this.crops = crops this.crops = crops
}) })
}, },

View File

@ -1,6 +1,6 @@
<template> <template>
<view> <view>
<Appbar :show="showAppbar" title="基地概况"> </Appbar> <!-- <Appbar :show="showAppbar" title="基地概况"> </Appbar> -->
<u-sticky> <u-sticky>
<view class="bg-white"> <view class="bg-white">
<SearchForm <SearchForm
@ -157,7 +157,7 @@ export default {
}, },
}, },
{ {
field: 'type', field: 'industry',
label: '农业类型', label: '农业类型',
component: 'ApiSelect', component: 'ApiSelect',
componentProps: ({ formActionType }) => { componentProps: ({ formActionType }) => {
@ -169,7 +169,7 @@ export default {
return data.data return data.data
}, },
labelField: 'name', labelField: 'name',
valueField: 'id', valueField: 'key',
} }
}, },
}, },
@ -178,15 +178,15 @@ export default {
}, },
computed: { computed: {
options() { options() {
return [ return [].filter((e) => checkPermission(e.permission))
].filter((e) => checkPermission(e.permission))
}, },
}, },
methods: { methods: {
handleSubmit(e) { handleSubmit(e) {
this.filterParmas = e this.filterParmas = e
this.mescroll.resetUpScroll() this.$nextTick(() => {
this.mescroll.resetUpScroll()
})
}, },
upCallback({ num, size }) { upCallback({ num, size }) {
this.getData({ this.getData({

View File

@ -135,7 +135,7 @@
</view> </view>
<view class="content-box"> <view class="content-box">
<view class="video_ul" v-show="current == 0"> <view class="video_ul" v-show="current == 0">
<view class="video_li" v-for="(video, index) in videoList" :key="video.video_url+index"> <view class="video_li" v-for="(video, index) in videoList" :key="index+'s'">
<view class="video_cd"> <view class="video_cd">
<!-- #ifdef H5 --> <!-- #ifdef H5 -->
<!-- {{ video.video_url }} --> <!-- {{ video.video_url }} -->
@ -165,7 +165,7 @@
<view <view
class="video_li" class="video_li"
v-for="(video, index) in videoList2" v-for="(video, index) in videoList2"
:key="video.video_url+index" :key="index+'s2'"
> >
<view class="video_cd"> <view class="video_cd">
<!-- #ifdef H5 --> <!-- #ifdef H5 -->