Commit 6eadec33 authored by wildfirecode13's avatar wildfirecode13

1

parent b3e36f30
......@@ -2,7 +2,7 @@ import cloud from '@tbmp/mp-cloud-sdk';
import tbcc from './tbcc-sdk';
cloud.init({
env: 'online' // 云函数环境 test 测试环境 online 线上环境
env: 'test' // 云函数环境 test 测试环境 online 线上环境
});
App({
......@@ -23,6 +23,6 @@ App({
*/
handleQuery(query) {
const { activityId } = query;
this.activityId = activityId || '5f34e1c4964f9706aa7d803c';
this.activityId = activityId || '5f505873738989c8b356e284';
}
});
.shou_ye {
top: 0rpx;
top: 50%;
left: 0rpx;
width: 750rpx;
height: 1624rpx;
margin-top: -812rpx;
display: block;
position: absolute;
position: fixed;
}
.shou_ye .bei_jing_tu {
width: 750rpx;
height: 1624rpx;
......@@ -16,6 +18,7 @@
position: absolute;
transform-origin: 0rpx 0rpx 0rpx;
}
.shou_ye .logo {
width: 160rpx;
height: 58rpx;
......@@ -26,6 +29,7 @@
position: absolute;
transform-origin: 0rpx 0rpx 0rpx;
}
.shou_ye .jiang_pin {
width: 136rpx;
height: 48rpx;
......@@ -36,6 +40,7 @@
position: absolute;
transform-origin: 0rpx 0rpx 0rpx;
}
.shou_ye .gui_ze {
width: 136rpx;
height: 48rpx;
......@@ -46,6 +51,7 @@
position: absolute;
transform-origin: 0rpx 0rpx 0rpx;
}
.shou_ye .zhu_ti {
width: 673rpx;
height: 1065rpx;
......@@ -56,6 +62,7 @@
position: absolute;
transform-origin: 0rpx 0rpx 0rpx;
}
.shou_ye .zhu_ti .tu {
width: 673rpx;
height: 674rpx;
......@@ -64,6 +71,7 @@
top: 67rpx;
position: absolute;
}
.shou_ye .zhu_ti .an_niu {
width: 458rpx;
height: 185rpx;
......@@ -73,6 +81,7 @@
top: 792rpx;
position: absolute;
}
.shou_ye .zhu_ti .wen_an {
width: 543rpx;
height: 830rpx;
......
'use strict';
import resList from '../../resconfig/resList'; //import API from '../../api';
import API from '../../api';
const app = getApp();
const { tbcc } = app;
const { commonToast, getAuthUserInfo, navigateToOutside } = tbcc.tb;
Page({
data: {
ruleModalVisible: false
},
onLoad(props) {
this.setData({
resList: resList
});
},
gotoVipPage() {
API.getVipInfo().then(res => {
if (!res.vip)
navigateToOutside(res.url)
else
my.redirectTo({ url: '/pages/pagehuo_dong_ye/pagehuo_dong_ye' });
})
},
handleStart() {
console.log('change')
my.redirectTo({
url: '/pages/pagehuo_dong_ye/pagehuo_dong_ye'
});
},
showRuleModal() {
this.setData({
ruleModalVisible: true
})
},
ruleModalClose() {
this.setData({
ruleModalVisible: false
})
}
});
\ No newline at end of file
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