@@ -4,10 +4,10 @@ Page {
background-color: #BF2637;
box-sizing: border-box;
padding-top: 102px;
- padding-left: 26px;
+ /* padding-left: 26px; */
}
.info{
- width: 327px;
+ width: 100%;
height: 428px;
/* margin-top: 102px; */
align-items: center;
@@ -102,7 +102,7 @@ Page {
.bottom-left {
- width: 215px;
+ width: 218px;
height: 20px;
line-height: 20px;
font-size: 9.5px;
@@ -120,7 +120,7 @@ Page {
text-align: center;
border-radius: 10px;
- margin-right: 25px !important;
+ margin-right: 16px !important;
padding: 0 0;
@@ -20,12 +20,12 @@ Page({
*/
onLoad: function (options) {
let _self = this;
- if(options.codeId) {
+ if(options.id) {
_self.setData({
- codeId:options.codeId,
+ codeId:options.id,
})
//根据codeId查出该活动是否过期
- _self.getShareActivityCode(options.codeId);
+ _self.getShareActivityCode(options.id);
},
//根据code-id获取券详情信息 判断该codeId是否过期