222cda25 by joe

1

1 parent fcf6d777
......@@ -153,6 +153,7 @@ export default {
height: 116px;
background: url(../../assets/imgs/model-close.png);
background-size: 100%;
margin-right: 20px;
}
.model-content {
......
......@@ -259,9 +259,11 @@ export default {
.model-close {
width: 64px;
height: 116px;
height: 86px;
background: url(../../assets/imgs/model-close.png);
background-size: 100%;
background-size: cover;
margin-right: 20px;
margin-top: 20px;
}
.model-content {
......
......@@ -93,6 +93,7 @@ export default {
},
methods: {
praiseHandler() {
as.setShare("","","","");
Toast.loading({
mask: true,
message: "请稍等..."
......
......@@ -85,19 +85,21 @@ export default {
},
viewDetailHandler(item) {
console.log(item);
let type = item.prizeType;
switch (type) {
case "real":
this.model.drawResult = item;
this.model.show = true;
break;
case "coupon":
location.href = global_view_coupon_url;
break;
default:
location.href = global_view_integral_url;
break;
}
this.model.drawResult = item;
this.model.show = true;
// let type = item.prizeType;
// switch (type) {
// case "real":
// this.model.drawResult = item;
// this.model.show = true;
// break;
// case "coupon":
// location.href = global_view_coupon_url;
// break;
// default:
// location.href = global_view_integral_url;
// break;
// }
}
},
components: {
......@@ -174,6 +176,8 @@ export default {
line-height: 40px;
border-radius: 26px;
background-color: #f6b843;
position: relative;
z-index: 1000;
}
.empty {
......
......@@ -358,6 +358,7 @@ export default {
.base-margin {
margin-top: 40px;
margin-bottom: 80px;
}
.icon-register {
......
......@@ -137,12 +137,13 @@ export default {
} else {
return;
}
let title = "我C位出道,需要你的一票";
let desc = this.formData.profile || null;
let imgurl =
this.formData.worksList.length > 0
? this.formData.worksList[0].worksUrl
: null;
as.setShare(link, null, desc, imgurl);
as.setShare(link, title, desc, imgurl);
}
},
components: {
......