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.
77 lines
1.2 KiB
77 lines
1.2 KiB
<template>
|
|
<view class="content">
|
|
<view class="ru-head">
|
|
<view class="ru-imgcon">
|
|
<image src="../../../../static/home/[email protected]" mode="" @click="back"></image>
|
|
</view>
|
|
</view>
|
|
|
|
<view class="ru-body">
|
|
<p class="ru-body-p1">platform agent rebate model</p>
|
|
<table class="ru-table">
|
|
<thead>
|
|
<tr>
|
|
<th class="t1">level</th>
|
|
<th class="t2">Commission rate</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
<tr v-for="(item,key) in inviteRule.rates">
|
|
<th class="t1">{{key}}</th>
|
|
<th class="t2">{{item}}</th>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
|
|
|
|
<view class="ru-cont" v-html="inviteRule.tips">
|
|
</view>
|
|
</view>
|
|
|
|
|
|
|
|
</view>
|
|
|
|
|
|
|
|
</template>
|
|
|
|
<script>
|
|
export default {
|
|
data() {
|
|
return {
|
|
inviteRule:[],
|
|
}
|
|
},
|
|
onLoad() {
|
|
|
|
const post2 = api.inviteCode({
|
|
"ticket": uni.getStorageSync('logInfo').data,
|
|
})
|
|
post2.then(res => {
|
|
this.inviteRule=res.data
|
|
|
|
|
|
})
|
|
.catch(e => {
|
|
uni.showToast({
|
|
title: e,
|
|
icon: 'none',
|
|
duration: 2500
|
|
})
|
|
})
|
|
|
|
|
|
|
|
},
|
|
methods: {
|
|
back(){
|
|
uni.navigateBack()
|
|
}
|
|
}
|
|
}
|
|
</script>
|
|
|
|
<style>
|
|
@import url("./index.css");
|
|
</style>
|
|
|