Commit 562830bb authored by Facius's avatar Facius

fix: app 修复 bug

parent 3e36dd56
Pipeline #6426 canceled with stages
......@@ -416,7 +416,8 @@
"path": "help/help-detail",
"style": {
"navigationBarTitleText": "",
"enablePullDownRefresh": false
"enablePullDownRefresh": false,
"navigationStyle": "custom"
}
}
]
......
......@@ -46,7 +46,9 @@ export default {
watch: {
visible (val) {
this.show = val
this.sealList = this.list
if (val) {
this.sealList = this.list
}
},
},
methods: {
......
......@@ -36,8 +36,6 @@ export default {
}
},
},
components: {
},
data () {
return {
visible: false,
......@@ -62,9 +60,6 @@ export default {
this.$emit('change', {...item})
},
handleSelect () {
if (this.current == 3) {
return
}
this.visible = true
},
},
......
<template>
<view class="content-view">
<NavbarNormal :title="title" title-bold :background="{ 'background-color': '#f6f7fa' }"/>
<view class="rich-text" v-if="info.content">
<view class="title">
{{info.title||""}}
</view>
<!-- <rich-text space="nbsp" :nodes="info.content"></rich-text> -->
<mp-html :content="info.content" domain="https://img-code.banshouhui.com/" :tag-style="tagStyle" lazy-load
scroll-table :show-img-menu="false" @load="load" @ready="ready" @imgtap="imgtap" @linktap="linktap" />
</view>
......@@ -12,10 +9,15 @@
</template>
<script>
import NavbarNormal from '@/components/navbar-normal';
import {
getList
} from '@/api/mine/help.js';
export default {
components: {
NavbarNormal
},
data() {
return {
id: null,
......@@ -28,6 +30,11 @@
},
};
},
computed: {
title() {
return this.info.title || ''
}
},
onLoad(options) {
if (options && options.id) {
this.id = options.id;
......@@ -50,9 +57,9 @@
}
}
this.info = info
uni.setNavigationBarTitle({
title: this.info.title
});
// uni.setNavigationBarTitle({
// title: this.info.title
// });
console.log('getList', this.info);
} catch (e) {
//TODO handle the exception
......
<template>
<view class="seal-list">
<NavbarRight :title="title" />
<NavbarNormal title-bold :title="title" :background="{ 'background-color': '#f6f7fa' }"/>
<view class="seal-tips">
<view class="seal-tips-icon">
<u-icon name="info-circle" color="#02A074" size="28"></u-icon>
......@@ -37,14 +37,14 @@
</template>
<script>
import NavbarRight from '@/components/navbar-right';
import NavbarNormal from '@/components/navbar-normal';
import CellSeal from '@/components/cell-seal/index';
import NoData from '@/components/no-data';
import { getSealList } from '@/api/mine/shop.js';
export default {
components: {
NavbarRight,
NavbarNormal,
CellSeal,
NoData,
},
......
......@@ -305,8 +305,11 @@
// 跳转帮助页
toHelp(id){
this.$u.route({
url: `pages/mine/help/help-detail?id=${id}`,
url: `pages/mine/help/help-detail`,
type: 'navigateTo',
params: {
id: id
}
});
},
handlClickNav(index) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment