|
@@ -5,14 +5,14 @@
|
|
|
<app-avatar-module :width="100" />
|
|
<app-avatar-module :width="100" />
|
|
|
<view class="content">
|
|
<view class="content">
|
|
|
<view class="name"> {{ userInfo.name || "" }}</view>
|
|
<view class="name"> {{ userInfo.name || "" }}</view>
|
|
|
- <view class="mark"> 普通代理 </view>
|
|
|
|
|
|
|
+ <view class="mark"> 普通等级 </view>
|
|
|
</view>
|
|
</view>
|
|
|
- <button class="user-wrap-right" @tap="inviteHd">
|
|
|
|
|
- <img :src="`${constant.imgUrl}/retail/interest/invite-store.png`" alt mode="widthFix" />
|
|
|
|
|
|
|
+ <button class="user-wrap-right" @tap="inviteHd()">
|
|
|
|
|
+ <img :src="`${constant.imgUrl}/retail/interest/invite-store.png`" mode="widthFix" />
|
|
|
|
|
+ </button>
|
|
|
|
|
+ <button class="user-wrap-right" @tap="inviteGhs()">
|
|
|
|
|
+ <img :src="`${constant.imgUrl}/ghs/me/yqghs.png`" mode="widthFix" />
|
|
|
</button>
|
|
</button>
|
|
|
- <navigator class="user-wrap-right" :url="`/pagesInvite/inviteGhsShop`">
|
|
|
|
|
- <img :src="`${constant.imgUrl}/ghs/me/yqghs.png`" alt mode="widthFix" />
|
|
|
|
|
- </navigator>
|
|
|
|
|
</view>
|
|
</view>
|
|
|
<view class="info-list">
|
|
<view class="info-list">
|
|
|
<view class="info-item">
|
|
<view class="info-item">
|
|
@@ -41,7 +41,7 @@
|
|
|
:padding="0"
|
|
:padding="0"
|
|
|
></Tabs>
|
|
></Tabs>
|
|
|
</view>
|
|
</view>
|
|
|
- <scroll-view scroll-y class="invite-list">
|
|
|
|
|
|
|
+ <view class="invite-list">
|
|
|
<block v-if="!$util.isEmpty(list.data)">
|
|
<block v-if="!$util.isEmpty(list.data)">
|
|
|
<InviteItem v-for="(item, index) in list.data" :info="item" :key="index">
|
|
<InviteItem v-for="(item, index) in list.data" :info="item" :key="index">
|
|
|
</InviteItem>
|
|
</InviteItem>
|
|
@@ -49,8 +49,7 @@
|
|
|
<block v-else>
|
|
<block v-else>
|
|
|
<app-wrapper-empty title="暂无记录" :is-empty="$util.isEmpty(list.data)" />
|
|
<app-wrapper-empty title="暂无记录" :is-empty="$util.isEmpty(list.data)" />
|
|
|
</block>
|
|
</block>
|
|
|
- </scroll-view>
|
|
|
|
|
- <!-- <kd-entrance></kd-entrance> -->
|
|
|
|
|
|
|
+ </view>
|
|
|
</view>
|
|
</view>
|
|
|
</template>
|
|
</template>
|
|
|
<script>
|
|
<script>
|
|
@@ -122,10 +121,16 @@ export default {
|
|
|
mounted(){
|
|
mounted(){
|
|
|
},
|
|
},
|
|
|
methods: {
|
|
methods: {
|
|
|
|
|
+ inviteGhs(){
|
|
|
|
|
+ this.$msg('开发中')
|
|
|
|
|
+ return false
|
|
|
|
|
+ this.pageTo({url: '/pagesInvite/inviteGhsShop'})
|
|
|
|
|
+ },
|
|
|
inviteHd(){
|
|
inviteHd(){
|
|
|
- this.pageTo({
|
|
|
|
|
- url: '/pagesInvite/inviteShop'
|
|
|
|
|
- })
|
|
|
|
|
|
|
+ this.$msg('开发中')
|
|
|
|
|
+ return false
|
|
|
|
|
+ this.pageTo({url: '/pagesInvite/inviteShop'})
|
|
|
|
|
+
|
|
|
//查看分享的路径,不要删除 shish 20210517
|
|
//查看分享的路径,不要删除 shish 20210517
|
|
|
// console.log('pagesClient/official/index','ghsShopAdminId='+ this.loginInfo.shopAdminId)
|
|
// console.log('pagesClient/official/index','ghsShopAdminId='+ this.loginInfo.shopAdminId)
|
|
|
|
|
|
|
@@ -150,7 +155,9 @@ export default {
|
|
|
},
|
|
},
|
|
|
_list() {
|
|
_list() {
|
|
|
return appyleListApi({
|
|
return appyleListApi({
|
|
|
- status: this.tabs[this.tabIndex].key
|
|
|
|
|
|
|
+ status: this.tabs[this.tabIndex].key,
|
|
|
|
|
+ page: this.list.page,
|
|
|
|
|
+ pageSize: this.list.pageSize
|
|
|
}).then(res => {
|
|
}).then(res => {
|
|
|
const {
|
|
const {
|
|
|
data: { invitedNum, payNum, income }
|
|
data: { invitedNum, payNum, income }
|
|
@@ -166,7 +173,6 @@ export default {
|
|
|
return false;
|
|
return false;
|
|
|
} else {
|
|
} else {
|
|
|
this.tabIndex = e.index;
|
|
this.tabIndex = e.index;
|
|
|
- // this.operateCloseFn();
|
|
|
|
|
this.resetList();
|
|
this.resetList();
|
|
|
this._list();
|
|
this._list();
|
|
|
}
|
|
}
|
|
@@ -260,9 +266,8 @@ export default {
|
|
|
color: #999999;
|
|
color: #999999;
|
|
|
}
|
|
}
|
|
|
.invite-list {
|
|
.invite-list {
|
|
|
- // margin-top: 20upx;
|
|
|
|
|
flex: 1;
|
|
flex: 1;
|
|
|
- padding-bottom: 150upx;
|
|
|
|
|
|
|
+ padding-bottom: 50upx;
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|
|
|
-</style>
|
|
|
|
|
|
|
+</style>
|