...
|
...
|
@@ -105,6 +105,7 @@ Page(Object.assign({ |
|
|
app = getApp();
|
|
|
|
|
|
this.service = new ZeroSellService();
|
|
|
this.commonService = new CommonService();
|
|
|
|
|
|
let data = {};
|
|
|
|
...
|
...
|
@@ -152,6 +153,7 @@ Page(Object.assign({ |
|
|
})
|
|
|
|
|
|
this._getUser();
|
|
|
this._getGroupList();
|
|
|
|
|
|
if (this.data.shareUid && this.data.scene) {
|
|
|
this._init();
|
...
|
...
|
@@ -205,6 +207,19 @@ Page(Object.assign({ |
|
|
|
|
|
},
|
|
|
|
|
|
_getGroupList(page) {
|
|
|
this.commonService.getGroupList({
|
|
|
limit: 20,
|
|
|
page
|
|
|
}).then(res => {
|
|
|
if (res.code === 200 && res.data) {
|
|
|
this.setData({
|
|
|
groupList: res.data.list
|
|
|
})
|
|
|
}
|
|
|
});
|
|
|
},
|
|
|
|
|
|
_init() {
|
|
|
let params = {
|
|
|
actPrizeId: this.data.actPrizeId
|
...
|
...
|
@@ -373,7 +388,7 @@ Page(Object.assign({ |
|
|
jumpByUrl(that.data.bannerUrl);
|
|
|
},
|
|
|
_getDetailBanner() {
|
|
|
let commonService = new CommonService()
|
|
|
let commonService = this.commonService;
|
|
|
commonService.getResourceCode('ccc32dbedf164a52b4efa34383878860')
|
|
|
.then(data => {
|
|
|
// console.log(data)
|
...
|
...
|
|