Commit 2f6b2855 authored by 汪欢's avatar 汪欢

share

parent a2e572d7
'use strict';
import { SHARE_CONFIG } from '/tbcc-sdk/lib/constants';
import resList from '../../resconfig/resList';
Component({
props: {},
......@@ -33,6 +33,9 @@ Component({
// resList: resList
// });
},
onShareAppMessage() {
return SHARE_CONFIG;
},
});
\ No newline at end of file
'use strict';
import { SHARE_CONFIG } from '/tbcc-sdk/lib/constants';
import resList from '../../resconfig/resList';
import API from '../../api'
Component({
......@@ -64,6 +64,9 @@ Component({
didMount(){
this.getOrderListProps();
}
},
onShareAppMessage() {
return SHARE_CONFIG;
},
});
\ No newline at end of file
'use strict';
import OPEN_PRIZE_STATUS from '/utils/OPEN_PRIZE_STATUS';
import resList from '../../resconfig/resList';
import { SHARE_CONFIG } from '/tbcc-sdk/lib/constants';
Component({
props: {},
data: {
......@@ -20,6 +21,10 @@ Component({
// this.setData({
// resList: resList
// });
}
},
onShareAppMessage() {
return SHARE_CONFIG;
},
});
\ No newline at end of file
'use strict';
import { SHARE_CONFIG } from '/tbcc-sdk/lib/constants';
import resList from '../../resconfig/resList';
import API from '../../api'
const app = getApp();
......@@ -75,6 +75,9 @@ Component({
didMount() {
let { vipCredits } = this.props;
console.log(this.props, 'huiyuan')
}
},
onShareAppMessage() {
return SHARE_CONFIG;
},
});
\ No newline at end of file
'use strict';
import { SHARE_CONFIG } from '/tbcc-sdk/lib/constants';
import resList from '../../resconfig/resList';
Component({
props: {},
......@@ -10,6 +10,9 @@ Component({
this.setData({
resList: resList
});
}
},
onShareAppMessage() {
return SHARE_CONFIG;
},
});
\ No newline at end of file
'use strict';
import { SHARE_CONFIG } from '/tbcc-sdk/lib/constants';
import resList from '../../resconfig/resList';
Component({
props: {},
......@@ -17,6 +17,9 @@ Component({
// this.setData({
// resList: resList
// });
}
},
onShareAppMessage() {
return SHARE_CONFIG;
},
});
\ No newline at end of file
import { SHARE_CONFIG } from '/tbcc-sdk/lib/constants';
const app = getApp();
const { tbcc } = app;
const { commonToast } = tbcc.tb;
......@@ -42,4 +44,7 @@ Component({
});
}
},
onShareAppMessage() {
return SHARE_CONFIG;
},
});
import { SHARE_CONFIG } from '/tbcc-sdk/lib/constants';
const app = getApp();
const { tbcc } = app;
const { commonToast, navigateToOutside, getUserAddress, setClipboard } = tbcc.tb;
......@@ -23,6 +23,9 @@ Component({
didMount() { },
didUpdate() { },
didUnmount() { },
onShareAppMessage() {
return SHARE_CONFIG;
},
methods: {
//领取奖品
handleClick(e) {
......
'use strict';
import API from "/api";
import { SHARE_CONFIG } from '/tbcc-sdk/lib/constants';
const app = getApp();
const { tbcc } = app;
const { commonToast, navigateToOutside, getUserAddress, setClipboard } = tbcc.tb;
......@@ -41,6 +42,9 @@ Page({
flag = false
this.getMyPrize();
},
onShareAppMessage() {
return SHARE_CONFIG;
},
// 到期时间
getEndTime(prizeList = []) {
if (!prizeList || !prizeList.length) return null
......
......@@ -113,6 +113,7 @@
opacity: 0.70196078;
left: 131rpx;
top: 1337rpx;
text-align: center;
position: absolute;
font-size: 22rpx;
color: #ffffff;
......@@ -500,6 +501,7 @@
opacity: 1;
/* left: 10rpx; */
position: absolute;
overflow-x:hidden;
}
.jie_shu_ye .gou_mai_ji_lu46 .zu13447 .tu_ceng09_yue15_ri56 {
......
......@@ -11,10 +11,10 @@
<label class="tu_ceng2271">00</label>
<label class="tu_ceng22_kao_bei370">00</label>
</view>
<label class="mai_zhongn20n50n80_lou_ceng_de_yong_hu_ke_huo_de_jiang_pinn_dai_biao_gai_lou_jie_shu_shi_de_zong_lou_ceng">
<view class="mai_zhongn20n50n80_lou_ceng_de_yong_hu_ke_huo_de_jiang_pinn_dai_biao_gai_lou_jie_shu_shi_de_zong_lou_ceng">
<!-- 买中N*20%,N*50%,N*80%楼层的用户可获得奖品 N代表盖楼结束时的总楼层 -->
买中<label a:for="{{list}}" a:key="i" a:for-item="items"> {{totalFloor}}*{{items.probability}} </label>楼层的用户可获得奖品 N代表盖楼结束时的总楼层
</label>
买中<label a:for="{{list}}" a:key="i" a:for-item="items"> N*{{items.probability}}%,</label>楼层的用户可获得奖品 N代表盖楼结束时的总楼层
</view>
<view class="zhong_jiang_ming_dan">
<image class="di953" src={{resList['e701381d-fb5a-4b6a-8fc1-71aedea9416d'].url}} />
<view class="zhong_jiang_zhuang_tai">
......
......@@ -2,6 +2,7 @@
import resList from '../../resconfig/resList';
import API from '../../api';
import { SHARE_CONFIG } from '/tbcc-sdk/lib/constants';
Page({
data: {
......@@ -35,7 +36,8 @@ Page({
if (prize) {
this.setData({
prizeVisible: true,
myPrize:prize
myPrize:prize,
maskVisible:true,
})
......@@ -44,7 +46,8 @@ Page({
this.setData({
noprizeVisible: true,
openPrizeStatus: openPrizeStatus,
myPrize:prize
myPrize:prize,
maskVisible:true
})
}
}
......@@ -67,6 +70,9 @@ Page({
this.getOrderList();
this.getPrizeMenu();
},
onShareAppMessage() {
return SHARE_CONFIG;
},
onPrizeBtnClick() {
my.navigateTo({
......@@ -177,14 +183,15 @@ Page({
left: 0,
top: 40 * i + 'rpx',
position: 'absolute',
color: 'white'
color: 'white',
},
prizeuser: {
left: 200 + 'rpx',
left: 180 + 'rpx',
top: 40 * i + 'rpx',
position: 'absolute',
color: 'white',
width: 100 + 'rpx'
width: 120 + 'rpx',
textAlign:'center'
},
prizeimage: {
left: 400 + 'rpx',
......@@ -216,7 +223,7 @@ Page({
API.getActivityBaseInfoById().then((res)=>{
if(res.success && res.data){
let data = res.data;
let list = res.list;
let list = data.list;
let totalFloor = res.totalFloor;
this.setData({
ruleData:res.data.rule,
......
......@@ -4,6 +4,7 @@ import resList from '../../resconfig/resList'; //import API from '../../api';
import API from '../../api';
import isEnd from '/utils/isEnd';
import OPEN_PRIZE_STATUS from '/utils/OPEN_PRIZE_STATUS';
import { SHARE_CONFIG } from '/tbcc-sdk/lib/constants';
let isAuth = 0;
const app = getApp();
const { tbcc } = app;
......@@ -30,6 +31,9 @@ Page({
this.getAuth();
console.info(`Page onLoad with query: ${JSON.stringify(query)}`);
},
onShareAppMessage() {
return SHARE_CONFIG;
},
gotoVipPage() {
console.log('isAuth', isAuth);
if (isAuth === 0) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment