Commit f4d34b49 authored by 汪欢's avatar 汪欢

3

parent ccb83048
...@@ -5,19 +5,22 @@ self.__appxInited = 1; ...@@ -5,19 +5,22 @@ self.__appxInited = 1;
require('./config$'); require('./config$');
var AFAppX = self.AFAppX.getAppContext if( navigator.userAgent && (navigator.userAgent.indexOf('LyraVM') > 0 || navigator.userAgent.indexOf('AlipayIDE') > 0) ) {
? self.AFAppX.getAppContext().AFAppX var AFAppX = self.AFAppX.getAppContext ? self.AFAppX.getAppContext().AFAppX : self.AFAppX;
: self.AFAppX; } else {
self.getCurrentPages = AFAppX.getCurrentPages; importScripts('https://appx/af-appx.worker.min.js');
self.getApp = AFAppX.getApp; var AFAppX = self.AFAppX;
self.Page = AFAppX.Page; }
self.App = AFAppX.App; self.getCurrentPages = AFAppX.getCurrentPages;
self.my = AFAppX.bridge || AFAppX.abridge; self.getApp = AFAppX.getApp;
self.abridge = self.my; self.Page = AFAppX.Page;
self.Component = AFAppX.WorkerComponent || function(){}; self.App = AFAppX.App;
self.$global = AFAppX.$global; self.my = AFAppX.bridge || AFAppX.abridge;
self.requirePlugin = AFAppX.requirePlugin; self.abridge = self.my;
self.Component = AFAppX.WorkerComponent || function(){};
self.$global = AFAppX.$global;
self.requirePlugin = AFAppX.requirePlugin;
if(AFAppX.registerApp) { if(AFAppX.registerApp) {
AFAppX.registerApp({ AFAppX.registerApp({
......
.huo_dong_ye { .huo_dong_ye {
/* width: 750rpx; top: 50%;
left: 0rpx;
width: 750rpx;
height: 1624rpx; height: 1624rpx;
opacity: 1; margin-top: -812rpx;
position: absolute; */ display: block;
/* overflow: hidden; */ position: fixed;
width: 100vw;
height: 100vh;
left: 0;
/* top: 0; */
position: absolute;
} }
...@@ -26,7 +23,7 @@ ...@@ -26,7 +23,7 @@
height: 58rpx; height: 58rpx;
opacity: 1; opacity: 1;
left: 295rpx; left: 295rpx;
top: 222rpx; top: 230rpx;
position: absolute; position: absolute;
} }
...@@ -35,6 +32,9 @@ ...@@ -35,6 +32,9 @@
height: 1624rpx; height: 1624rpx;
opacity: 1; opacity: 1;
position: absolute; position: absolute;
transform:translateY(-50%);
top:50%;
overflow: hidden;
} }
.huo_dong_ye .jiang_pinicon { .huo_dong_ye .jiang_pinicon {
......
<view class="huo_dong_ye"> <view class="huo_dong_ye">
<view class="{{maskVisible ? 'mask' : ''}}"></view> <view class="{{maskVisible ? 'mask' : ''}}"></view>
<image class="di_kao_bei2" src={{resList['66f2b76f-7265-4cb2-9b4d-7e8207ab1d74'].url}} /> <image class="di_kao_bei2" src={{resList['66f2b76f-7265-4cb2-9b4d-7e8207ab1d74'].url}} />
<image class="logo" src={{resList['dd7d3a3b-6fcb-427d-8353-da169708bbab'].url}} /> <view class="container">
<image class="logo" src={{resList['dd7d3a3b-6fcb-427d-8353-da169708bbab'].url}} />
<image onTap="onPrizeBtnClick" class="jiang_pinicon" src={{resList['b7517eae-3bc2-4456-935a-e6e3e1fe995e'].url}} /> <image onTap="onPrizeBtnClick" class="jiang_pinicon" src={{resList['b7517eae-3bc2-4456-935a-e6e3e1fe995e'].url}} />
<image class="gui_zeicon" onTap="showRuleModal" src={{resList['d826a2f1-a3ec-4764-aad2-f6cacc43cfce'].url}} /> <image class="gui_zeicon" onTap="showRuleModal" src={{resList['d826a2f1-a3ec-4764-aad2-f6cacc43cfce'].url}} />
...@@ -53,6 +54,7 @@ ...@@ -53,6 +54,7 @@
<image class="zu3" onTap="orderRecord" src={{resList['0c7c2470-690e-43df-aa7e-ed9aa99fb859'].url}} /> <image class="zu3" onTap="orderRecord" src={{resList['0c7c2470-690e-43df-aa7e-ed9aa99fb859'].url}} />
<label class="dang_qian_ji_fenxxxx">当前积分:{{userCredits}}</label> <label class="dang_qian_ji_fenxxxx">当前积分:{{userCredits}}</label>
</view> </view>
</view>
<order-record a:if="{{orderModalVisible}}" orderList="{{orderList}}" onOrderModalClose="orderModalClose"></order-record> <order-record a:if="{{orderModalVisible}}" orderList="{{orderList}}" onOrderModalClose="orderModalClose"></order-record>
......
.jie_shu_ye { .jie_shu_ye {
top: 50%;
left: 0rpx;
width: 750rpx; width: 750rpx;
height: 1624rpx; height: 1624rpx;
opacity: 1; margin-top: -812rpx;
position: absolute; display: block;
position: fixed;
} }
.mask { .mask {
...@@ -19,7 +22,7 @@ ...@@ -19,7 +22,7 @@
height: 58rpx; height: 58rpx;
opacity: 1; opacity: 1;
left: 295rpx; left: 295rpx;
top: 222rpx; top: 230rpx;
position: absolute; position: absolute;
} }
......
.shou_ye { .shou_ye {
top: 50%;
left: 0rpx;
width: 750rpx; width: 750rpx;
height: 1624rpx; height: 1624rpx;
opacity: 1; margin-top: -812rpx;
position: absolute; display: block;
position: fixed;
} }
.shou_ye .di_kao_bei { .shou_ye .di_kao_bei {
width: 750rpx; width: 750rpx;
...@@ -15,12 +18,12 @@ ...@@ -15,12 +18,12 @@
height: 58rpx; height: 58rpx;
opacity: 1; opacity: 1;
left: 295rpx; left: 295rpx;
top: 222rpx; top: 230rpx;
position: absolute; position: absolute;
} }
.shou_ye .tu { .shou_ye .tu {
width: 673rpx; width: 673rpx;
height: 674rpx; height: 674rpx;
opacity: 1; opacity: 1;
left: 37rpx; left: 37rpx;
top: 483rpx; top: 483rpx;
......
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