pifa
fanfan 4 months ago
parent bb5d505d27
commit b20be9e225
  1. 1
      pages/gamll/index.vue
  2. 28
      pages/gamll/rules.vue

@ -199,6 +199,7 @@
</view>
</view>
</u-popup>
<addShuiyin />
</view>
</template>
<script>

@ -2,21 +2,22 @@
<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:'',
import * as api from '@/api/tutorial'
export default {
data() {
return {
strings: '',
}
},
onLoad(options){
onLoad(options) {
this.getSoftAgreementData()
},
methods:{
methods: {
//
async getSoftAgreementData() {
let that = this;
@ -24,9 +25,11 @@
status,
message,
data
} = await api.getSoftAgreement({type:'soft'});
} = await api.getSoftAgreement({
type: 'soft'
});
if (status == 200) {
this.strings=data.detail.content
this.strings = data.detail.content
} else {
that.$toast(message)
}
@ -36,12 +39,13 @@
</script>
<style scoped lang="scss">
.pages{
.pages {
width: 100%;
height: 100%;
padding: 30rpx;
span{
span {
white-space: normal !important
}
}
</style>
</style>

Loading…
Cancel
Save