1
Showing
6 changed files
with
24 additions
and
14 deletions
... | @@ -153,6 +153,7 @@ export default { | ... | @@ -153,6 +153,7 @@ export default { |
153 | height: 116px; | 153 | height: 116px; |
154 | background: url(../../assets/imgs/model-close.png); | 154 | background: url(../../assets/imgs/model-close.png); |
155 | background-size: 100%; | 155 | background-size: 100%; |
156 | margin-right: 20px; | ||
156 | } | 157 | } |
157 | 158 | ||
158 | .model-content { | 159 | .model-content { | ... | ... |
... | @@ -259,9 +259,11 @@ export default { | ... | @@ -259,9 +259,11 @@ export default { |
259 | 259 | ||
260 | .model-close { | 260 | .model-close { |
261 | width: 64px; | 261 | width: 64px; |
262 | height: 116px; | 262 | height: 86px; |
263 | background: url(../../assets/imgs/model-close.png); | 263 | background: url(../../assets/imgs/model-close.png); |
264 | background-size: 100%; | 264 | background-size: cover; |
265 | margin-right: 20px; | ||
266 | margin-top: 20px; | ||
265 | } | 267 | } |
266 | 268 | ||
267 | .model-content { | 269 | .model-content { | ... | ... |
... | @@ -93,6 +93,7 @@ export default { | ... | @@ -93,6 +93,7 @@ export default { |
93 | }, | 93 | }, |
94 | methods: { | 94 | methods: { |
95 | praiseHandler() { | 95 | praiseHandler() { |
96 | as.setShare("","","",""); | ||
96 | Toast.loading({ | 97 | Toast.loading({ |
97 | mask: true, | 98 | mask: true, |
98 | message: "请稍等..." | 99 | message: "请稍等..." | ... | ... |
... | @@ -85,19 +85,21 @@ export default { | ... | @@ -85,19 +85,21 @@ export default { |
85 | }, | 85 | }, |
86 | viewDetailHandler(item) { | 86 | viewDetailHandler(item) { |
87 | console.log(item); | 87 | console.log(item); |
88 | let type = item.prizeType; | ||
89 | switch (type) { | ||
90 | case "real": | ||
91 | this.model.drawResult = item; | 88 | this.model.drawResult = item; |
92 | this.model.show = true; | 89 | this.model.show = true; |
93 | break; | 90 | // let type = item.prizeType; |
94 | case "coupon": | 91 | // switch (type) { |
95 | location.href = global_view_coupon_url; | 92 | // case "real": |
96 | break; | 93 | // this.model.drawResult = item; |
97 | default: | 94 | // this.model.show = true; |
98 | location.href = global_view_integral_url; | 95 | // break; |
99 | break; | 96 | // case "coupon": |
100 | } | 97 | // location.href = global_view_coupon_url; |
98 | // break; | ||
99 | // default: | ||
100 | // location.href = global_view_integral_url; | ||
101 | // break; | ||
102 | // } | ||
101 | } | 103 | } |
102 | }, | 104 | }, |
103 | components: { | 105 | components: { |
... | @@ -174,6 +176,8 @@ export default { | ... | @@ -174,6 +176,8 @@ export default { |
174 | line-height: 40px; | 176 | line-height: 40px; |
175 | border-radius: 26px; | 177 | border-radius: 26px; |
176 | background-color: #f6b843; | 178 | background-color: #f6b843; |
179 | position: relative; | ||
180 | z-index: 1000; | ||
177 | } | 181 | } |
178 | 182 | ||
179 | .empty { | 183 | .empty { | ... | ... |
... | @@ -137,12 +137,13 @@ export default { | ... | @@ -137,12 +137,13 @@ export default { |
137 | } else { | 137 | } else { |
138 | return; | 138 | return; |
139 | } | 139 | } |
140 | let title = "我C位出道,需要你的一票"; | ||
140 | let desc = this.formData.profile || null; | 141 | let desc = this.formData.profile || null; |
141 | let imgurl = | 142 | let imgurl = |
142 | this.formData.worksList.length > 0 | 143 | this.formData.worksList.length > 0 |
143 | ? this.formData.worksList[0].worksUrl | 144 | ? this.formData.worksList[0].worksUrl |
144 | : null; | 145 | : null; |
145 | as.setShare(link, null, desc, imgurl); | 146 | as.setShare(link, title, desc, imgurl); |
146 | } | 147 | } |
147 | }, | 148 | }, |
148 | components: { | 149 | components: { | ... | ... |
-
Please register or sign in to post a comment