Commit 67154ae3 authored by 汪欢's avatar 汪欢

1

parent d502f226
...@@ -56,7 +56,7 @@ ...@@ -56,7 +56,7 @@
.gou_mai_ji_lu32 .gou_mai_ji_lu_kao_bei33 .zu135 .list { .gou_mai_ji_lu32 .gou_mai_ji_lu_kao_bei33 .zu135 .list {
/* width: 453rpx; */ /* width: 453rpx; */
width: 500rpx; width: 540rpx;
height: 400rpx; height: 400rpx;
opacity: 1; opacity: 1;
top: 150rpx; top: 150rpx;
......
...@@ -27,6 +27,15 @@ ...@@ -27,6 +27,15 @@
position: absolute; position: absolute;
} }
.huo_dong_ye .music {
width: 160rpx;
height: 58rpx;
opacity: 1;
left: 295rpx;
top: 230rpx;
position: absolute;
}
.huo_dong_ye .di_kao_bei2 { .huo_dong_ye .di_kao_bei2 {
width: 750rpx; width: 750rpx;
height: 1624rpx; height: 1624rpx;
...@@ -142,6 +151,16 @@ ...@@ -142,6 +151,16 @@
opacity: 1; opacity: 1;
position: absolute; position: absolute;
} }
.huo_dong_ye .jiang_pin78 .zu010 {
width: 423rpx;
height: 25rpx;
opacity: 1;
left: 164rpx;
top: 32rpx;
position: absolute;
}
.huo_dong_ye .jiang_pin78 .zu5 { .huo_dong_ye .jiang_pin78 .zu5 {
width: 312rpx; width: 312rpx;
height: 25rpx; height: 25rpx;
......
...@@ -6,6 +6,9 @@ ...@@ -6,6 +6,9 @@
<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}} />
<image class="music" a:if="{{!musicswitch}}" onTap="musicOpen" src={{resList['0c115480-d22e-4902-a745-e55eadf7bf91'].url}} />
<image class="music" a:if="{{musicswitch}}" onTap="musicOpen" src={{resList['ddd2f68b-0059-4eb1-8667-4b7471b11ddd'].url}} />
<image class="tu2" src={{resList['d2cd8191-8fbd-423a-8c36-5bd52659317e'].url}} /> <image class="tu2" src={{resList['d2cd8191-8fbd-423a-8c36-5bd52659317e'].url}} />
<!-- 立即购买 --> <!-- 立即购买 -->
<image class="an_niu2" onTap="buyFloors" src={{resList['34e91d1d-6c84-45f5-ab77-870939ca7b12'].url}} /> <image class="an_niu2" onTap="buyFloors" src={{resList['34e91d1d-6c84-45f5-ab77-870939ca7b12'].url}} />
...@@ -18,7 +21,10 @@ ...@@ -18,7 +21,10 @@
</view> </view>
<view class="jiang_pin78"> <view class="jiang_pin78">
<image class="zu116" src={{resList['51ca8493-ed2a-4273-a6b6-300bd9b2eb93'].url}} /> <image class="zu116" src={{resList['51ca8493-ed2a-4273-a6b6-300bd9b2eb93'].url}} />
<image class="zu5" src={{resList['e7baa6fe-46fd-422f-ac6a-3298fb965e6f'].url}} /> <!-- <image class="zu5" src={{resList['e7baa6fe-46fd-422f-ac6a-3298fb965e6f'].url}} /> -->
<image class="zu010" src={{resList['4a77139f-59e4-4683-8234-0c8160d80eff'].url}} />
<view class="zu114"> <view class="zu114">
<view class="zu128" a:for="{{prizeList}}" a:key="index" a:for-item="item" style="{{item.liststyle}}"> <view class="zu128" a:for="{{prizeList}}" a:key="index" a:for-item="item" style="{{item.liststyle}}">
<!-- <image class="ju_xing51_kao_bei2" src={{resList['6b68feb2-7c84-473e-8f2c-b6571e7659e3'].url}} /> <!-- <image class="ju_xing51_kao_bei2" src={{resList['6b68feb2-7c84-473e-8f2c-b6571e7659e3'].url}} />
......
...@@ -53,7 +53,8 @@ Page({ ...@@ -53,7 +53,8 @@ Page({
ruleData: '', ruleData: '',
screentop:'', screentop:'',
maskVisible:false maskVisible:false,
musicswitch:true
}, },
...@@ -68,7 +69,23 @@ Page({ ...@@ -68,7 +69,23 @@ Page({
this.getOrderList(); this.getOrderList();
// this.screenAdapt(); // this.screenAdapt();
// this.addMusic();
// this.musicOpen();
},
musicOpen(){
let {musicswitch} = this.data
if(musicswitch){
this.addMusic(); this.addMusic();
}
},
musicClose(){
let {musicswitch} = this.data;
this.setData({
musicswitch:true
})
}, },
// screenAdapt(){ // screenAdapt(){
...@@ -401,7 +418,7 @@ Page({ ...@@ -401,7 +418,7 @@ Page({
top: 50 * (lens-i) + 'rpx', top: 50 * (lens-i) + 'rpx',
position: 'absolute', position: 'absolute',
color: 'white', color: 'white',
width:150+'rpx', width:140+'rpx',
textAlign:'center', textAlign:'center',
overflow:'hidden' overflow:'hidden'
} }
...@@ -490,7 +507,9 @@ Page({ ...@@ -490,7 +507,9 @@ Page({
}); });
let musicUrl = null; let musicUrl = null;
if (resultSrc[0]) musicUrl = resultSrc[0].url; if (resultSrc[0]) musicUrl = resultSrc[0].url;
playBgMusic(true,musicUrl) playBgMusic(true,musicUrl)
console.log('fuck music') console.log('fuck music')
} }
}); });
\ No newline at end of file
...@@ -487,7 +487,7 @@ ...@@ -487,7 +487,7 @@
position: absolute; position: absolute;
} }
.jie_shu_ye .gou_mai_ji_lu46 .zu13447 { .jie_shu_ye .gou_mai_ji_lu46 .zu13447 {
width: 500rpx; width: 550rpx;
height: 222rpx; height: 222rpx;
opacity: 1; opacity: 1;
left: 61rpx; left: 61rpx;
...@@ -499,7 +499,7 @@ ...@@ -499,7 +499,7 @@
.jie_shu_ye .gou_mai_ji_lu46 .zu13447 .item{ .jie_shu_ye .gou_mai_ji_lu46 .zu13447 .item{
top:-10%; top:-10%;
width: 500rpx; width: 540rpx;
height: 222rpx; height: 222rpx;
opacity: 1; opacity: 1;
/* left: 10rpx; */ /* left: 10rpx; */
......
...@@ -146,7 +146,7 @@ Page({ ...@@ -146,7 +146,7 @@ Page({
top: 50 * (lens - i) + 'rpx', top: 50 * (lens - i) + 'rpx',
position: 'absolute', position: 'absolute',
color: 'white', color: 'white',
width: 150 + 'rpx', width: 140 + 'rpx',
textAlign: 'center', textAlign: 'center',
overflow: 'hidden' overflow: 'hidden'
} }
......
...@@ -359,5 +359,23 @@ const resList = { ...@@ -359,5 +359,23 @@ const resList = {
url: '//yun.duiba.com.cn/spark-prod/assets/按钮__m.806646aca0a38b9dfa4ace6af6977e89f8c421e6.png', url: '//yun.duiba.com.cn/spark-prod/assets/按钮__m.806646aca0a38b9dfa4ace6af6977e89f8c421e6.png',
uuid: '9720b3cc-2faa-4bac-8244-d5f0d018a6e7', uuid: '9720b3cc-2faa-4bac-8244-d5f0d018a6e7',
}, },
'0c115480-d22e-4902-a745-e55eadf7bf91': {
name: 'music_close',
ext: '.png',
url: '//yun.duiba.com.cn/spark/assets/music_close.40265b72959dd2b660b5fb974f09640e8686b32f.png',
uuid: '0c115480-d22e-4902-a745-e55eadf7bf91'
},
'ddd2f68b-0059-4eb1-8667-4b7471b11ddd': {
name: 'music_open',
ext: '.png',
url: '//yun.duiba.com.cn/spark/assets/music_open.43a6c8efa3fd2f5a34705315c5336e89f8381e80.png',
uuid: 'ddd2f68b-0059-4eb1-8667-4b7471b11ddd'
},
'4a77139f-59e4-4683-8234-0c8160d80eff': {
name: 'listtext',
ext: '.png',
url: '//yun.duiba.com.cn/spark/assets/listtext.4f5b26d300d8225a9a182c3c537e8872cc838350.png',
uuid: '4a77139f-59e4-4683-8234-0c8160d80eff'
}
}; };
export default resList; export default resList;
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