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>
</view> </view>
</u-popup> </u-popup>
<addShuiyin />
</view> </view>
</template> </template>
<script> <script>

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

Loading…
Cancel
Save