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

52 lines
768 B

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