You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

52 lines
967 B

<template>
<view class="beiji">
<view class="heads">
<image @click="fanhui" class="fanhui" src="../../static/tuichu.png"></image>
<view>操作手册</view>
</view>
<view class="rich-text">
<rich-text :nodes="content" style="color: #fff;" space="nbsp"></rich-text>
</view>
</view>
</template>
<script>
import {manual} from "@/api/user.js"
export default {
data() {
return {
content:'<p>111122223333</p>'
}
},
methods: {
fanhui(){
uni.navigateBack()
}
},
onLoad() {
manual({}).then((res)=>{
console.log(res);
this.content=res.data[0].content
})
}
}
</script>
<style lang="scss">
.beiji{
width: 100%;
min-height: 100vh;
box-sizing: border-box;
background-image: url('../../static/bg2.png');
background-repeat: no-repeat;
background-size: 100% 100%;
padding-bottom: 20rpx;
}
.rich-text{
width: 700rpx;
margin: 0px auto;
margin-top: 20rpx;
}
@import './index.scss'
</style>