作者 刘朕

抽奖页面修改

... ... @@ -252,8 +252,8 @@ Page({
//奖品item设置
var awardList = [];
//间距,怎么顺眼怎么设置吧.
var topAward = 45;
var leftAward = 11;
var topAward = 28;
var leftAward = 28;
for (var j = 0; j < 12; j++) {
if (j == 0) {
topAward = topAward;
... ...
... ... @@ -98,23 +98,26 @@
}
.box .inner .draw .container-in .itemBg {
background: url(https://car.goorcar.com/assets/static/img/Rectangle2622@2x.png) no-repeat;
/* background: url(https://car.goorcar.com/assets/static/img/Rectangle2622@2x.png) no-repeat; */
background-color: rgb(36, 114, 226);
background-size: 100%;
height: 130rpx;
width: 140rpx;
/* border: 1px solid red; */
}
.box .inner .draw .container-in .content-out {
position: absolute;
top: 0;
left: 0;
height: 130rpx;
width: 140rpx;
height: 120rpx;
width: 116rpx;
border-radius: 15rpx;
background-size: 100%;
}
.box .inner .draw .container-in .content-out .img {
margin-top: 4rpx;
display: flex;
justify-content: center;
}
... ... @@ -137,6 +140,12 @@
color: #2471E4;
line-height: 22rpx;
padding: 3rpx 5rpx 0 5rpx;
}.box .inner .draw .container-in .itemBg .dyqName {
text-align: center;
font-size: 20rpx;
color: #FFFFFF;
line-height: 22rpx;
padding: 3rpx 5rpx 0 5rpx;
}
.box .inner .draw .startDraw {
... ...
... ... @@ -21,6 +21,7 @@
"checkSiteMap": true,
"uploadWithSourceMap": true,
"compileHotReLoad": false,
"lazyloadPlaceholderEnable": false,
"useMultiFrameRuntime": true,
"useApiHook": true,
"useApiHostProcess": true,
... ... @@ -30,18 +31,20 @@
"outputPath": ""
},
"enableEngineNative": false,
"useIsolateContext": true,
"useCompilerModule": true,
"userConfirmedUseCompilerModuleSwitch": false,
"useIsolateContext": false,
"userConfirmedBundleSwitch": false,
"packNpmManually": false,
"packNpmRelationList": [],
"minifyWXSS": true
"minifyWXSS": true,
"disableUseStrict": false,
"showES6CompileOption": false,
"useCompilerPlugins": false,
"minifyWXML": true
},
"compileType": "miniprogram",
"libVersion": "2.12.3",
"appid": "wx11011d1f9492b8e0",
"projectname": "%E8%BD%A6%E5%94%9B",
"projectname": "chemai2",
"debugOptions": {
"hidedInDevtools": []
},
... ...
... ... @@ -17,6 +17,18 @@
"pathName": "pages/details/details",
"query": "id=1&type=2",
"scene": null
},
{
"name": "团购分享",
"pathName": "pages/VtuanDetail/VtuanDetail",
"query": "id=4113&is_share=1",
"scene": null
},
{
"name": "抽奖结果",
"pathName": "pages/myPrize/myPrize",
"query": "id=9&",
"scene": null
}
]
}
... ...