Commit 6eadec33 authored by wildfirecode13's avatar wildfirecode13

1

parent b3e36f30
...@@ -2,7 +2,7 @@ import cloud from '@tbmp/mp-cloud-sdk'; ...@@ -2,7 +2,7 @@ import cloud from '@tbmp/mp-cloud-sdk';
import tbcc from './tbcc-sdk'; import tbcc from './tbcc-sdk';
cloud.init({ cloud.init({
env: 'online' // 云函数环境 test 测试环境 online 线上环境 env: 'test' // 云函数环境 test 测试环境 online 线上环境
}); });
App({ App({
...@@ -23,6 +23,6 @@ App({ ...@@ -23,6 +23,6 @@ App({
*/ */
handleQuery(query) { handleQuery(query) {
const { activityId } = query; const { activityId } = query;
this.activityId = activityId || '5f34e1c4964f9706aa7d803c'; this.activityId = activityId || '5f505873738989c8b356e284';
} }
}); });
.shou_ye { .shou_ye {
top: 0rpx; top: 50%;
left: 0rpx; left: 0rpx;
width: 750rpx; width: 750rpx;
height: 1624rpx; height: 1624rpx;
margin-top: -812rpx;
display: block; display: block;
position: absolute; position: fixed;
} }
.shou_ye .bei_jing_tu { .shou_ye .bei_jing_tu {
width: 750rpx; width: 750rpx;
height: 1624rpx; height: 1624rpx;
...@@ -16,6 +18,7 @@ ...@@ -16,6 +18,7 @@
position: absolute; position: absolute;
transform-origin: 0rpx 0rpx 0rpx; transform-origin: 0rpx 0rpx 0rpx;
} }
.shou_ye .logo { .shou_ye .logo {
width: 160rpx; width: 160rpx;
height: 58rpx; height: 58rpx;
...@@ -26,6 +29,7 @@ ...@@ -26,6 +29,7 @@
position: absolute; position: absolute;
transform-origin: 0rpx 0rpx 0rpx; transform-origin: 0rpx 0rpx 0rpx;
} }
.shou_ye .jiang_pin { .shou_ye .jiang_pin {
width: 136rpx; width: 136rpx;
height: 48rpx; height: 48rpx;
...@@ -36,6 +40,7 @@ ...@@ -36,6 +40,7 @@
position: absolute; position: absolute;
transform-origin: 0rpx 0rpx 0rpx; transform-origin: 0rpx 0rpx 0rpx;
} }
.shou_ye .gui_ze { .shou_ye .gui_ze {
width: 136rpx; width: 136rpx;
height: 48rpx; height: 48rpx;
...@@ -46,6 +51,7 @@ ...@@ -46,6 +51,7 @@
position: absolute; position: absolute;
transform-origin: 0rpx 0rpx 0rpx; transform-origin: 0rpx 0rpx 0rpx;
} }
.shou_ye .zhu_ti { .shou_ye .zhu_ti {
width: 673rpx; width: 673rpx;
height: 1065rpx; height: 1065rpx;
...@@ -56,6 +62,7 @@ ...@@ -56,6 +62,7 @@
position: absolute; position: absolute;
transform-origin: 0rpx 0rpx 0rpx; transform-origin: 0rpx 0rpx 0rpx;
} }
.shou_ye .zhu_ti .tu { .shou_ye .zhu_ti .tu {
width: 673rpx; width: 673rpx;
height: 674rpx; height: 674rpx;
...@@ -64,6 +71,7 @@ ...@@ -64,6 +71,7 @@
top: 67rpx; top: 67rpx;
position: absolute; position: absolute;
} }
.shou_ye .zhu_ti .an_niu { .shou_ye .zhu_ti .an_niu {
width: 458rpx; width: 458rpx;
height: 185rpx; height: 185rpx;
...@@ -73,6 +81,7 @@ ...@@ -73,6 +81,7 @@
top: 792rpx; top: 792rpx;
position: absolute; position: absolute;
} }
.shou_ye .zhu_ti .wen_an { .shou_ye .zhu_ti .wen_an {
width: 543rpx; width: 543rpx;
height: 830rpx; height: 830rpx;
...@@ -80,4 +89,4 @@ ...@@ -80,4 +89,4 @@
vertical-center: -397; vertical-center: -397;
left: 65rpx; left: 65rpx;
position: absolute; position: absolute;
} }
\ No newline at end of file
'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