|
|
@@ -33,7 +33,7 @@
|
|
|
<view class="text-sm text-gray padding-top-xs">成功邀请一位好友打榜,热力值+5</view>
|
|
|
</view>
|
|
|
</view>
|
|
|
- <button style="height: 56upx;" class="cu-btn round theme-bg-color text-white text-sm">去邀请</button>
|
|
|
+ <button style="height: 56upx;" class="cu-btn round theme-bg-color text-white text-sm" @click="invite">去邀请</button>
|
|
|
</view>
|
|
|
<view class="container">
|
|
|
<view class="title">打call助力</view>
|
|
|
@@ -70,6 +70,21 @@
|
|
|
<button style="width: 150upx;" class="margin-left cu-btn round theme-bg-color text-white text-sm" @click="dialogShow = true">助力</button>
|
|
|
</view>
|
|
|
</view>
|
|
|
+ <u-popup v-model="shareShow" mode="bottom" height="460rpx" border-radius="30">
|
|
|
+ <view class="flex align-center justify-around" style="padding: 90upx 60upx 70upx 60upx;">
|
|
|
+ <view class="text-center">
|
|
|
+ <image src="/static/wx-share.png" style="width: 125upx;height: 125upx;"></image>
|
|
|
+ <view class="text-sm">分享好友</view>
|
|
|
+ </view>
|
|
|
+ <view class="text-center">
|
|
|
+ <image src="/static/wx-pyq.png" style="width: 129upx;height: 124upx;"></image>
|
|
|
+ <view class="text-sm">分享朋友圈</view>
|
|
|
+ </view>
|
|
|
+ </view>
|
|
|
+ <view class="padding">
|
|
|
+ <button class="cu-btn bg-gray round" style="width: 100%;height: 80upx;" @click="shareShow = false">取消</button>
|
|
|
+ </view>
|
|
|
+ </u-popup>
|
|
|
<u-popup v-model="dialogShow" mode="center" width="500rpx" height="600rpx" border-radius="30">
|
|
|
<view class="bg-img text-center" style="background-image: url('https://upload-file-data.obs.cn-south-1.myhuaweicloud.com/e914f556be414767aca011a30961560a-dialogBgImg.png');height: 600rpx;">
|
|
|
<view style="height: 120upx;"></view>
|
|
|
@@ -86,6 +101,7 @@
|
|
|
</view>
|
|
|
</template>
|
|
|
|
|
|
+<script src="http://res.wx.qq.com/open/js/jweixin-1.6.0.js"></script>
|
|
|
<script>
|
|
|
import {authUrl} from '@/common/conf/config.js';
|
|
|
import {getUrlParams} from '@/common/utils/utils.js';
|
|
|
@@ -95,6 +111,7 @@
|
|
|
current: 0,
|
|
|
boostDetail: {},
|
|
|
dialogShow: false,
|
|
|
+ shareShow: false,
|
|
|
count: 1,
|
|
|
currentPresentSum: 0,
|
|
|
productId: '',
|
|
|
@@ -184,6 +201,10 @@
|
|
|
}
|
|
|
}
|
|
|
},
|
|
|
+ //邀请
|
|
|
+ invite() {
|
|
|
+ this.shareShow = true;
|
|
|
+ }
|
|
|
}
|
|
|
}
|
|
|
</script>
|