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.
 
 
 
 
 
 
yanzong_qianduan/pages/gamll/rules.vue

51 lines
768 B

<template>
<view class="pages">
<view class="content" v-html="strings">
</view>
<addShuiyin />
</view>
</template>
<script>
import * as api from '@/api/tutorial'
export default {
data() {
return {
strings: '',
}
},
onLoad(options) {
this.getSoftAgreementData()
},
methods: {
// 列表
async getSoftAgreementData() {
let that = this;
let {
status,
message,
data
} = await api.getSoftAgreement({
type: 'soft'
});
if (status == 200) {
this.strings = data.detail.content
} else {
that.$toast(message)
}
},
},
}
</script>
<style scoped lang="scss">
.pages {
width: 100%;
height: 100%;
padding: 30rpx;
span {
white-space: normal !important
}
}
</style>