1234567891011121314151617181920212223242526272829303132333435363738 |
- <template>
- <view class="box">
- <rich-text :nodes="integralRole" style="background: #fff;"></rich-text>
- </view>
- </template>
- <script>
- export default {
- data() {
- return {
- integralRole:'',
- }
- },
- onLoad(opt) {
- this.getdata()
- },
- methods: {
-
- getdata(){
- uni.showLoading({
- title: '加载中'
- })
- this.$http('openIntegralMall/integralInfo', {
- },'GET').then(res => {
- uni.hideLoading();
- this.integralRole=res.data.integralRole
- })
- }
- }
- }
- </script>
- <style scoped>
- .box{
- /* background: #ffffff;
- min-height: 100vh; */
- }
- </style>
|