金发服务包相关操作

This commit is contained in:
2022-12-27 09:23:31 +08:00
parent 1f3f6b230a
commit 3e2c6e696c
7 changed files with 312 additions and 270 deletions

View File

@@ -0,0 +1,36 @@
<template>
<view class="introduce" v-if='loaded'>
<rich-text :nodes="content" class="richTxt" />
</view>
</template>
<script>
import {
fwbDetail
} from '@/apis/interfaces/index.js'
export default {
data() {
return {
loaded:false,
content: '<p><img src=\"https://douhuo-storage.oss-cn-beijing.aliyuncs.com/uploads/images/2022/12/26/2aa1387f7bf0eac7ae861c9ca69a730a.png\" title=\"/uploads/images/2022/12/26/2aa1387f7bf0eac7ae861c9ca69a730a.png\" alt=\"2级页面-补差价类服务包.png\"/></p>'
}
},
onLoad(e) {
fwbDetail(e.id).then(res => {
this.content = res.content
this.loaded = true
}).catch(err => {
uni.showToast({
title: err.message,
icon: 'none',
mask: true,
duration: 2000
})
})
}
}
</script>
<style lang="scss" scoped>
img{
width: 100%!important;
}
</style>