Fix:【商城小程序】千县名品—店铺,文化县城介绍数据较少时,点击展开/收起按钮,没反应(云南-富源县)
This commit is contained in:
@@ -230,17 +230,22 @@
|
|||||||
<view class="county-intro-wrap">
|
<view class="county-intro-wrap">
|
||||||
<view class="title">
|
<view class="title">
|
||||||
县城介绍
|
县城介绍
|
||||||
<view class="btn" @click="toggleCountyIntro">
|
<!-- <view class="btn" @click="toggleCountyIntro">
|
||||||
{{ toggleCountyIntroStatus ? '收起' : '展开' }}
|
{{ toggleCountyIntroStatus ? '收起' : '展开' }}
|
||||||
<image :src="webUrl + '/page/qianxian/icon-arrow.png'" class="icon" />
|
<image :src="webUrl + '/page/qianxian/icon-arrow.png'" class="icon" />
|
||||||
|
</view> -->
|
||||||
</view>
|
</view>
|
||||||
</view>
|
<!-- <view
|
||||||
<view
|
|
||||||
:class="toggleCountyIntroStatus ? 'show-more' : ''"
|
:class="toggleCountyIntroStatus ? 'show-more' : ''"
|
||||||
class="intro-main"
|
class="intro-main"
|
||||||
>
|
>
|
||||||
<rich-text :nodes="inn.countyIntro" />
|
<rich-text :nodes="inn.countyIntro" />
|
||||||
<view v-if="!toggleCountyIntroStatus" class="layer" />
|
<view v-if="!toggleCountyIntroStatus" class="layer" />
|
||||||
|
</view> -->
|
||||||
|
<view class="v12-py-3">
|
||||||
|
<u-read-more ref="uReadMore" showHeight="200">
|
||||||
|
<u-parse :content="inn.countyIntro" @load="load"></u-parse>
|
||||||
|
</u-read-more>
|
||||||
</view>
|
</view>
|
||||||
<view class="title">
|
<view class="title">
|
||||||
图片
|
图片
|
||||||
@@ -682,6 +687,9 @@ export default {
|
|||||||
this.getListReq()
|
this.getListReq()
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
|
load() {
|
||||||
|
this.$refs.uReadMore.init();
|
||||||
|
},
|
||||||
goGoodsCon(item) {
|
goGoodsCon(item) {
|
||||||
this.$yrouter.push({
|
this.$yrouter.push({
|
||||||
path: '/pages/shop/GoodsCon/index',
|
path: '/pages/shop/GoodsCon/index',
|
||||||
|
|||||||
Reference in New Issue
Block a user