Files
crmeb-mp/pages/users/user_distribution_info/index.vue
karlcarlo a5c5d753b6 feat: 添加静态资源文件及基础组件
- 新增大量图片资源,包括图标、背景图、海报等,用于页面展示
- 添加字体文件及样式配置,支持自定义字体
- 引入 uni-ui 组件库,包括图标、弹窗、日期选择器等常用组件
- 添加网络状态监听、加密工具等基础工具函数
- 配置 Vuex 状态管理,包括购物车数量、热门搜索词等
- 增加页面组件,如用户协议、分销信息、提现状态等
- 配置项目构建和忽略文件,优化开发体验
2026-02-26 17:59:51 +08:00

67 lines
1.0 KiB
Vue

<template>
<view>
<view class="content">
<!-- #ifdef MP-WEIXIN -->
<rich-text :nodes="content"></rich-text>
<!-- #endif -->
<!-- #ifdef H5 || APP-PLUS -->
<view v-html="content"></view>
<!-- #endif -->
</view>
</view>
</template>
<script>
import { getDistributionInfo } from '@/api/user.js';
export default {
data() {
return {
content: ``
};
},
computed: {
},
onLoad(e) {
this.distributionInfo();
},
mounted() {},
methods: {
distributionInfo(){
getDistributionInfo().then(res=>{
this.content = res.data.member_explain.content;
}).catch((err) => {
this.$util.Tips({
title: err.msg
});
});
}
}
};
</script>
<style scoped lang="scss">
page {
background-color: #fff;
}
.content {
padding: 15px 30rpx 40rpx 30rpx;
}
.sys-head {
position: fixed;
width: 100%;
background-color: #fff;
top: 0;
left: 0;
z-index: 9;
.sys-title {
height: 43px;
line-height: 43px;
text-align: center;
position: relative;
.iconfont {
position: absolute;
left: 20rpx;
}
}
}
</style>