parent
111d08c902
commit
117cfcda34
File diff suppressed because it is too large
Load Diff
@ -0,0 +1,47 @@ |
||||
<template> |
||||
<view class="pages"> |
||||
<view class="content" v-html="strings"> |
||||
</view> |
||||
</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> |
Before Width: | Height: | Size: 1.5 KiB |
Before Width: | Height: | Size: 9.3 KiB |
Loading…
Reference in new issue