新增意见反馈、帮助中心

This commit is contained in:
gyq
2025-01-08 11:01:34 +08:00
parent 7b0fc90f8c
commit cef6f2be85
13 changed files with 752 additions and 59 deletions

View File

@@ -0,0 +1,27 @@
<template>
<view class="container">
<rich-text :nodes="content.helpWordContent"></rich-text>
</view>
</template>
<script setup>
import { ref } from 'vue';
import { onLoad } from '@dcloudio/uni-app';
const content = ref('');
onLoad(() => {
content.value = uni.getStorageSync('helpDetail');
const regex = new RegExp('img', 'gi');
content.value.helpWordContent = content.value.helpWordContent.replace(regex, `img style="width:100%;"`);
uni.setNavigationBarTitle({
title: content.value.helpWordTitle
});
});
</script>
<style scoped lang="scss">
.container {
padding: 28upx;
}
</style>