|
@@ -30,7 +30,7 @@
|
|
|
</view>
|
|
|
</view>
|
|
|
</view>
|
|
|
- <view class="tj-look" @click="button()">
|
|
|
+ <view class="tj-look" @click="getReferrer()">
|
|
|
查看推荐
|
|
|
</view>
|
|
|
<uni-popup ref="yeji" type="center">
|
|
@@ -93,7 +93,7 @@
|
|
|
</view>
|
|
|
|
|
|
</uni-popup>
|
|
|
- <uni-popup ref="yeji1" type="center">
|
|
|
+ <uni-popup ref="yeji1" type="center">
|
|
|
<view class="yj-wrap">
|
|
|
<view class="yj-tit">
|
|
|
我的推荐
|
|
@@ -133,6 +133,9 @@
|
|
|
|
|
|
<script>
|
|
|
import top from '@/components/top/top.vue';
|
|
|
+ import {
|
|
|
+ spreadList
|
|
|
+ } from '@/api/index.js'
|
|
|
export default {
|
|
|
comments: {
|
|
|
top,
|
|
@@ -160,14 +163,25 @@
|
|
|
}
|
|
|
},
|
|
|
methods: {
|
|
|
+ //查看推荐人
|
|
|
+ getReferrer() {
|
|
|
+ spreadList({}).then(
|
|
|
+ ({
|
|
|
+ data
|
|
|
+ }) => {
|
|
|
+ console.log(data, '1111111');
|
|
|
+ }
|
|
|
+
|
|
|
+ )
|
|
|
+ },
|
|
|
qrR() {
|
|
|
|
|
|
},
|
|
|
opneYj() {
|
|
|
this.$refs.yeji.open()
|
|
|
},
|
|
|
- button(){
|
|
|
- this.$refs.yeji1.open()
|
|
|
+ button() {
|
|
|
+ this.$refs.yeji1.open()
|
|
|
},
|
|
|
// 点击切换
|
|
|
navClick(index) {
|