合并前

This commit is contained in:
wwz
2024-12-23 18:33:22 +08:00
parent 7b44d1f9fb
commit d747791c9a
119 changed files with 6788 additions and 199 deletions

View File

@@ -1,9 +1,6 @@
<template>
<view>
<!-- <view class="helpTitle">{{ resultData.helpWordTitle }}</view> -->
<view class="helpCon" v-html="content"></view>
<view class="helpConczg" v-html="content"></view>
</view>
</template>
@@ -12,8 +9,8 @@
data() {
return {
helpWordId: '',
resultData:[],
content:''
resultData: [],
content: ''
};
},
onLoad(options) {
@@ -33,7 +30,8 @@
this.$u.api.helpDet(data).then(res => {
if (res.code == 0) {
this.resultData = res.data
this.content = res.data.helpWordContent.replace(new RegExp("img","g"),'img style="width:100%;height:auto;"')
this.content = res.data.helpWordContent.replace(new RegExp("img", "g"),
'img style="width:100%;height:auto;"')
} else {
uni.showToast({
title: res.msg,
@@ -41,7 +39,7 @@
})
}
})
}
}
};
@@ -52,17 +50,17 @@
background-color: #FFFFFF;
}
.helpTitle {
.helpTitleczg {
font-size: 40rpx;
font-weight: bold;
margin: 50rpx 30rpx 30rpx;
color: #000;
}
.helpCon {
.helpConczg {
font-size: 30rpx;
margin: 30rpx 30rpx 50rpx;
color: #000;
line-height: 2em;
}
</style>
</style>