|
|
|
@ -4,7 +4,7 @@ |
|
|
|
|
<u-notice-bar mode="horizontal" :list="list" color="#fff" bg-color="rgba(255,255,255,0.22)"></u-notice-bar> |
|
|
|
|
</view> |
|
|
|
|
<view class="invite-hd"> |
|
|
|
|
<image src="@/static/news/invite-bg.png"></image> |
|
|
|
|
<image src="https://www.saas.njrenzhou.com/static/news/invite-bg.png"></image> |
|
|
|
|
<view class="btn"></view> |
|
|
|
|
<view class="rule"></view> |
|
|
|
|
</view> |
|
|
|
@ -13,11 +13,11 @@ |
|
|
|
|
<view class="a"> |
|
|
|
|
<view class="l"> |
|
|
|
|
累计邀请好友(人) |
|
|
|
|
<view class="p">224</view> |
|
|
|
|
<view class="p">{{info.count_people}}</view> |
|
|
|
|
</view> |
|
|
|
|
<view class="l"> |
|
|
|
|
累计现金奖励(元) |
|
|
|
|
<view class="p">224</view> |
|
|
|
|
<view class="p">{{info.money}}</view> |
|
|
|
|
</view> |
|
|
|
|
</view> |
|
|
|
|
<view class="b" @click="openPage(1)"> |
|
|
|
@ -28,35 +28,35 @@ |
|
|
|
|
</view> |
|
|
|
|
</view> |
|
|
|
|
<view class="invite-bd-b"> |
|
|
|
|
<image src="@/static/news/invite-bg2.png"></image> |
|
|
|
|
<image src="https://www.saas.njrenzhou.com/static/news/invite-bg2.png"></image> |
|
|
|
|
<view class="a"> |
|
|
|
|
<view class="l"> |
|
|
|
|
可得288积分<br />188元优惠券 |
|
|
|
|
可得{{info.integral}}积分<br />{{info.coupon_name}} |
|
|
|
|
</view> |
|
|
|
|
<view class="l"> |
|
|
|
|
可返现3% |
|
|
|
|
可返现{{info.one_order_rate}}% |
|
|
|
|
</view> |
|
|
|
|
<view class="l"> |
|
|
|
|
188元优惠券 |
|
|
|
|
{{info.one_order_rate}}元{{info.coupon_name}} |
|
|
|
|
</view> |
|
|
|
|
</view> |
|
|
|
|
</view> |
|
|
|
|
<view class="invite-bd-c"> |
|
|
|
|
<image src="@/static/news/invite-bg3.png"></image> |
|
|
|
|
<image src="https://www.saas.njrenzhou.com/static/news/invite-bg3.png"></image> |
|
|
|
|
<view class="a"> |
|
|
|
|
<view class="l"> |
|
|
|
|
188优惠券 |
|
|
|
|
{{info.one_order_rate}}元{{info.coupon_name}} |
|
|
|
|
</view> |
|
|
|
|
<view class="l"> |
|
|
|
|
288积分 |
|
|
|
|
{{info.integral}}积分 |
|
|
|
|
</view> |
|
|
|
|
<view class="l"> |
|
|
|
|
首单返3% |
|
|
|
|
首单返{{info.one_order_rate}}% |
|
|
|
|
</view> |
|
|
|
|
</view> |
|
|
|
|
</view> |
|
|
|
|
<view class="invite-bd-d"> |
|
|
|
|
<image src="@/static/news/invite-bg4.png"></image> |
|
|
|
|
<image src="https://www.saas.njrenzhou.com/static/news/invite-bg4.png"></image> |
|
|
|
|
<view class="p">立即邀请</view> |
|
|
|
|
</view> |
|
|
|
|
</view> |
|
|
|
@ -64,12 +64,14 @@ |
|
|
|
|
</template> |
|
|
|
|
|
|
|
|
|
<script> |
|
|
|
|
import * as newFunApi from '@/api/newFun' |
|
|
|
|
export default{ |
|
|
|
|
data(){ |
|
|
|
|
return{ |
|
|
|
|
backgroundBg: { |
|
|
|
|
"background": "rgba(255,255,255,0.22)" |
|
|
|
|
}, |
|
|
|
|
info: {}, |
|
|
|
|
list: [ |
|
|
|
|
'寒雨连江夜入吴', |
|
|
|
|
'平明送客楚山孤', |
|
|
|
@ -78,7 +80,21 @@ |
|
|
|
|
] |
|
|
|
|
} |
|
|
|
|
}, |
|
|
|
|
onReady() { |
|
|
|
|
this.getList(); |
|
|
|
|
}, |
|
|
|
|
methods: { |
|
|
|
|
async getList() { |
|
|
|
|
uni.showLoading({ |
|
|
|
|
title:"加载中" |
|
|
|
|
}) |
|
|
|
|
const {status, data} = await newFunApi.inviteInit({}); |
|
|
|
|
if(status == 200){ |
|
|
|
|
uni.hideLoading(); |
|
|
|
|
this.info = data; |
|
|
|
|
console.log(this.info) |
|
|
|
|
} |
|
|
|
|
}, |
|
|
|
|
openPage(index){ |
|
|
|
|
if(index == 1){ |
|
|
|
|
uni.navigateTo({ |
|
|
|
@ -188,7 +204,7 @@ |
|
|
|
|
} |
|
|
|
|
.a{ |
|
|
|
|
width: 100%; |
|
|
|
|
bottom: 50rpx; |
|
|
|
|
bottom: 40rpx; |
|
|
|
|
padding: 0 25rpx; |
|
|
|
|
box-sizing: border-box; |
|
|
|
|
z-index: 1; |
|
|
|
@ -217,7 +233,7 @@ |
|
|
|
|
} |
|
|
|
|
.a{ |
|
|
|
|
width: 260rpx; |
|
|
|
|
bottom: 0; |
|
|
|
|
bottom: -60rpx; |
|
|
|
|
box-sizing: border-box; |
|
|
|
|
z-index: 1; |
|
|
|
|
right: 0; |
|
|
|
@ -230,7 +246,6 @@ |
|
|
|
|
text-align: center; |
|
|
|
|
font-size: 22rpx; |
|
|
|
|
font-weight: 500; |
|
|
|
|
line-height: 150rpx; |
|
|
|
|
color: #414141; |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|