|
|
@@ -46,7 +46,7 @@
|
|
|
<span>浙江 杭州</span>
|
|
|
</div>
|
|
|
</div>
|
|
|
- <div class="logo-btn">进入店铺</div>
|
|
|
+ <div class="logo-btn" @click="wait">进入店铺</div>
|
|
|
</div>
|
|
|
</div>
|
|
|
<h3>拼箱详情</h3>
|
|
|
@@ -125,8 +125,9 @@ export default {
|
|
|
},
|
|
|
methods: {
|
|
|
details() {
|
|
|
- this.$http.get('/cardCase/showInfoMA?caseId=' + this.$mp.query.id).then(res => {
|
|
|
- console.log(res);
|
|
|
+ this.showLoading();
|
|
|
+ this.$http.get('/cardCase/showInfoMA?caseId=' + this.$mp.options.id).then(res => {
|
|
|
+ this.hideLoading();
|
|
|
this.detailsList = res.groupBoxMap;
|
|
|
this.cardCaseInfo = res.cardCaseInfo || {};
|
|
|
});
|
|
|
@@ -146,11 +147,13 @@ export default {
|
|
|
);
|
|
|
},
|
|
|
loginMethods() {
|
|
|
- this.caseId = this.$mp.options.id;
|
|
|
- this.checkCollect();
|
|
|
+ if (this.isLogin) {
|
|
|
+ this.caseId = this.$mp.options.id;
|
|
|
+ this.checkCollect();
|
|
|
+ }
|
|
|
}
|
|
|
},
|
|
|
- created() {
|
|
|
+ onLoad() {
|
|
|
this.details();
|
|
|
}
|
|
|
};
|
|
|
@@ -167,6 +170,7 @@ export default {
|
|
|
color: #ffffff;
|
|
|
}
|
|
|
padding: 15px 20px 150px 20px;
|
|
|
+ .bottom(150px);
|
|
|
img {
|
|
|
width: 335px;
|
|
|
height: 335px;
|
|
|
@@ -225,14 +229,13 @@ export default {
|
|
|
.box-con-left {
|
|
|
width: 160px;
|
|
|
height: 80px;
|
|
|
- background: #ff6c00;
|
|
|
+ background: #ff6c0020;
|
|
|
border-radius: 8px;
|
|
|
- opacity: 0.5;
|
|
|
p {
|
|
|
height: 22px;
|
|
|
font-size: 13px;
|
|
|
font-weight: 400;
|
|
|
- color: #000;
|
|
|
+ color: #00000040;
|
|
|
line-height: 22px;
|
|
|
text-align: center;
|
|
|
margin-top: 15px;
|
|
|
@@ -240,24 +243,30 @@ export default {
|
|
|
.val {
|
|
|
height: 26px;
|
|
|
font-size: 16px;
|
|
|
- font-weight: 500;
|
|
|
- color: #000000;
|
|
|
+ font-weight: bold;
|
|
|
+ color: @prim;
|
|
|
line-height: 26px;
|
|
|
text-align: center;
|
|
|
display: inherit;
|
|
|
+
|
|
|
+ /deep/ .van-count-down {
|
|
|
+ --count-down-text-color: @prim;
|
|
|
+ --count-down-font-size: 16px;
|
|
|
+ --count-down-line-height: 26px;
|
|
|
+ font-weight: bold;
|
|
|
+ }
|
|
|
}
|
|
|
}
|
|
|
.box-con-right {
|
|
|
width: 160px;
|
|
|
height: 80px;
|
|
|
- background: #ff6c00;
|
|
|
+ background: #ff6c0020;
|
|
|
border-radius: 8px;
|
|
|
- opacity: 0.5;
|
|
|
p {
|
|
|
height: 22px;
|
|
|
font-size: 13px;
|
|
|
font-weight: 400;
|
|
|
- color: #000;
|
|
|
+ color: #00000040;
|
|
|
line-height: 22px;
|
|
|
text-align: center;
|
|
|
margin-top: 15px;
|
|
|
@@ -265,8 +274,8 @@ export default {
|
|
|
span {
|
|
|
height: 26px;
|
|
|
font-size: 16px;
|
|
|
- font-weight: 500;
|
|
|
- color: #000000;
|
|
|
+ font-weight: bold;
|
|
|
+ color: @prim;
|
|
|
line-height: 26px;
|
|
|
text-align: center;
|
|
|
display: inherit;
|