You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
45 lines
765 B
45 lines
765 B
<template>
|
|
<view class="page">
|
|
<view class="pageMain">
|
|
<ty-text-rich-text :html="content"></ty-text-rich-text>
|
|
</view>
|
|
</view>
|
|
</template>
|
|
|
|
<script>
|
|
export default {
|
|
data() {
|
|
return {
|
|
content:'',
|
|
type:1,//1--专家入驻协议 2-供应商入驻协议
|
|
}
|
|
},
|
|
onLoad(options) {
|
|
this.type = options.type;
|
|
var url = '';
|
|
if(this.type == 1){
|
|
url = 'fire/api/Fire/getExpertJoinRule'
|
|
}else{
|
|
url = 'fire/api/Fire/getSupplyJoinRule'
|
|
}
|
|
this.rq.getData(url).then(res=>{
|
|
if(res.code == 0){
|
|
this.content = res.data.join_rule
|
|
}
|
|
})
|
|
},
|
|
methods: {
|
|
|
|
}
|
|
}
|
|
</script>
|
|
|
|
<style scoped>
|
|
.pageMain{
|
|
width: 100vw;
|
|
min-height: 100vh;
|
|
background: #fff;
|
|
padding: 30rpx;
|
|
box-sizing: border-box;
|
|
}
|
|
</style> |