|
@@ -4,12 +4,14 @@
|
|
<!-- nav right -->
|
|
<!-- nav right -->
|
|
<img @click="onRightHandle" src="~assets/image/activity/invite-user/invite-new-user/nav-right.png" alt="">
|
|
<img @click="onRightHandle" src="~assets/image/activity/invite-user/invite-new-user/nav-right.png" alt="">
|
|
</template>
|
|
</template>
|
|
|
|
+ <!-- 微信环境提示浏览器打开 -->
|
|
|
|
+ <WxPopTpis v-if="isWeChatBrowser" />
|
|
|
|
|
|
<!-- container -->
|
|
<!-- container -->
|
|
- <div class="invite-container">
|
|
|
|
- <div class="share-btn mb-8" @click="shareHandle">
|
|
|
|
- 分享赚佣金
|
|
|
|
- </div>
|
|
|
|
|
|
+ <div v-else class="invite-container">
|
|
|
|
+ <!-- 分享按钮 -->
|
|
|
|
+ <v-btn @click="shareHandle" class="share-btn mb-8" rounded />
|
|
|
|
+
|
|
<div class="day-statistics mb-3">今日邀请注册人数:1000</div>
|
|
<div class="day-statistics mb-3">今日邀请注册人数:1000</div>
|
|
|
|
|
|
<div class="user-main pt-3 pr-3 pb-3 pl-3 mb-3">
|
|
<div class="user-main pt-3 pr-3 pb-3 pl-3 mb-3">
|
|
@@ -69,6 +71,7 @@
|
|
<!-- 分享弹窗 -->
|
|
<!-- 分享弹窗 -->
|
|
<SharePopup ref="sharePopup" />
|
|
<SharePopup ref="sharePopup" />
|
|
</div>
|
|
</div>
|
|
|
|
+
|
|
</layout>
|
|
</layout>
|
|
</template>
|
|
</template>
|
|
|
|
|
|
@@ -82,6 +85,7 @@ import RecordList from './components/RecordList';
|
|
import InvitePagination from './components/InvitePagination';
|
|
import InvitePagination from './components/InvitePagination';
|
|
import BuyRecordList from './components/BuyRecordList';
|
|
import BuyRecordList from './components/BuyRecordList';
|
|
import SharePopup from './components/SharePopup';
|
|
import SharePopup from './components/SharePopup';
|
|
|
|
+import WxPopTpis from './components/WxPopTpis';
|
|
|
|
|
|
export default {
|
|
export default {
|
|
auth: false,
|
|
auth: false,
|
|
@@ -89,7 +93,7 @@ export default {
|
|
head: {
|
|
head: {
|
|
title: '邀请好友得现金',
|
|
title: '邀请好友得现金',
|
|
},
|
|
},
|
|
- components: { layout, layoutBack, RecordList, InvitePagination, BuyRecordList, SharePopup },
|
|
|
|
|
|
+ components: { layout, layoutBack, RecordList, InvitePagination, BuyRecordList, SharePopup, WxPopTpis },
|
|
data() {
|
|
data() {
|
|
return {
|
|
return {
|
|
activeTab: 0,
|
|
activeTab: 0,
|
|
@@ -190,7 +194,7 @@ export default {
|
|
// statusColor: '#FF505C',
|
|
// statusColor: '#FF505C',
|
|
// }
|
|
// }
|
|
],
|
|
],
|
|
- total: 0,
|
|
|
|
|
|
+ total: 1,
|
|
},{
|
|
},{
|
|
title: '购买记录',
|
|
title: '购买记录',
|
|
query: {
|
|
query: {
|
|
@@ -238,7 +242,7 @@ export default {
|
|
status: '30.00',
|
|
status: '30.00',
|
|
statusColor: '#FF505C',
|
|
statusColor: '#FF505C',
|
|
},],
|
|
},],
|
|
- total: 0,
|
|
|
|
|
|
+ total: 1,
|
|
},{
|
|
},{
|
|
title: '提现记录',
|
|
title: '提现记录',
|
|
query: {
|
|
query: {
|
|
@@ -250,6 +254,12 @@ export default {
|
|
}],
|
|
}],
|
|
}
|
|
}
|
|
},
|
|
},
|
|
|
|
+ computed: {
|
|
|
|
+ // 是否为微信浏览器环境
|
|
|
|
+ isWeChatBrowser() {
|
|
|
|
+ return this.$userAgent.isWx;
|
|
|
|
+ }
|
|
|
|
+ },
|
|
methods: {
|
|
methods: {
|
|
// nav right菜单点击事件
|
|
// nav right菜单点击事件
|
|
onRightHandle() {
|
|
onRightHandle() {
|
|
@@ -309,7 +319,12 @@ $-bg-yellow: rgb(255, 253, 241);
|
|
|
|
|
|
.share-btn {
|
|
.share-btn {
|
|
height: 56px;
|
|
height: 56px;
|
|
- background: #FF505C;
|
|
|
|
|
|
+ background-color: #FF505C;
|
|
|
|
+ background-image: url('~/assets/image/activity/invite-user/invite-new-user/share-to-earn-commission.png');
|
|
|
|
+ background-size: 100% 100%;
|
|
|
|
+ background-repeat: no-repeat;
|
|
|
|
+ background-position: center;
|
|
|
|
+ background-origin: padding-box;
|
|
}
|
|
}
|
|
|
|
|
|
.day-statistics{
|
|
.day-statistics{
|
|
@@ -409,7 +424,7 @@ $-bg-yellow: rgb(255, 253, 241);
|
|
}
|
|
}
|
|
|
|
|
|
.record-wrap{
|
|
.record-wrap{
|
|
- height: 276px;
|
|
|
|
|
|
+ min-height: 220px;
|
|
background-color: $-bg-yellow;
|
|
background-color: $-bg-yellow;
|
|
border-radius: $-radeus-12;
|
|
border-radius: $-radeus-12;
|
|
overflow: hidden;
|
|
overflow: hidden;
|