|
@@ -64,7 +64,7 @@
|
|
|
</div>
|
|
</div>
|
|
|
<div class="box-footer">
|
|
<div class="box-footer">
|
|
|
<div class="box-cat" @click="$refs.cardCase.show = true">
|
|
<div class="box-cat" @click="$refs.cardCase.show = true">
|
|
|
- <div>{{ selman ? selman : '请选择卡包' }}</div>
|
|
|
|
|
|
|
+ <div>{{ name ? name : '请选择卡包' }}</div>
|
|
|
<div>></div>
|
|
<div>></div>
|
|
|
</div>
|
|
</div>
|
|
|
<div class="box-footer-con">
|
|
<div class="box-footer-con">
|
|
@@ -73,7 +73,7 @@
|
|
|
<img src="../static/imgs/icon_kefu@3x.png" alt="" />
|
|
<img src="../static/imgs/icon_kefu@3x.png" alt="" />
|
|
|
<p>客服</p>
|
|
<p>客服</p>
|
|
|
</div>
|
|
</div>
|
|
|
- <div class="box-follow" @click="follows">
|
|
|
|
|
|
|
+ <div class="box-follow">
|
|
|
<img src="../static/imgs/icon_guanzhu@3x.png" alt="" />
|
|
<img src="../static/imgs/icon_guanzhu@3x.png" alt="" />
|
|
|
<p>关注</p>
|
|
<p>关注</p>
|
|
|
</div>
|
|
</div>
|
|
@@ -87,6 +87,7 @@
|
|
|
<card-case
|
|
<card-case
|
|
|
ref="cardCase"
|
|
ref="cardCase"
|
|
|
:chooseIds.sync="chooseIds"
|
|
:chooseIds.sync="chooseIds"
|
|
|
|
|
+ :name.sync="name"
|
|
|
:detailsList="detailsList"
|
|
:detailsList="detailsList"
|
|
|
:cardCaseInfo="cardCaseInfo"
|
|
:cardCaseInfo="cardCaseInfo"
|
|
|
></card-case>
|
|
></card-case>
|
|
@@ -98,39 +99,30 @@ export default {
|
|
|
data() {
|
|
data() {
|
|
|
return {
|
|
return {
|
|
|
show: false,
|
|
show: false,
|
|
|
- selman: '',
|
|
|
|
|
|
|
+ name: '',
|
|
|
list: [],
|
|
list: [],
|
|
|
cardCaseInfo: {},
|
|
cardCaseInfo: {},
|
|
|
|
|
+ id: '',
|
|
|
chooseIds: []
|
|
chooseIds: []
|
|
|
};
|
|
};
|
|
|
},
|
|
},
|
|
|
methods: {
|
|
methods: {
|
|
|
address() {
|
|
address() {
|
|
|
- console.log(666);
|
|
|
|
|
wx.redirectTo({
|
|
wx.redirectTo({
|
|
|
url: './address'
|
|
url: './address'
|
|
|
});
|
|
});
|
|
|
},
|
|
},
|
|
|
- selection() {
|
|
|
|
|
- this.show = true;
|
|
|
|
|
- },
|
|
|
|
|
- buy() {
|
|
|
|
|
- this.show = false;
|
|
|
|
|
- },
|
|
|
|
|
- alls(item) {
|
|
|
|
|
- this.selman = item;
|
|
|
|
|
- },
|
|
|
|
|
- follows() {
|
|
|
|
|
- wx.redirectTo({
|
|
|
|
|
- url: './follow'
|
|
|
|
|
- });
|
|
|
|
|
- },
|
|
|
|
|
|
|
+ // follows() {
|
|
|
|
|
+ // wx.redirectTo({
|
|
|
|
|
+ // url: './follow'
|
|
|
|
|
+ // });
|
|
|
|
|
+ // },
|
|
|
details() {
|
|
details() {
|
|
|
this.$http.get('/cardCase/showInfoMA?caseId=' + this.$mp.query.id).then(res => {
|
|
this.$http.get('/cardCase/showInfoMA?caseId=' + this.$mp.query.id).then(res => {
|
|
|
console.log(res);
|
|
console.log(res);
|
|
|
this.detailsList = res.groupBoxMap;
|
|
this.detailsList = res.groupBoxMap;
|
|
|
this.cardCaseInfo = res.cardCaseInfo || {};
|
|
this.cardCaseInfo = res.cardCaseInfo || {};
|
|
|
- // this.list = res.cardCaseInfo;
|
|
|
|
|
|
|
+ this.id = this.cardCaseInfo.cardCaseId;
|
|
|
});
|
|
});
|
|
|
}
|
|
}
|
|
|
},
|
|
},
|
|
@@ -153,7 +145,7 @@ export default {
|
|
|
font-weight: 400;
|
|
font-weight: 400;
|
|
|
color: #ffffff;
|
|
color: #ffffff;
|
|
|
}
|
|
}
|
|
|
- padding: 15px 20px 145px 20px;
|
|
|
|
|
|
|
+ padding: 15px 20px 150px 20px;
|
|
|
img {
|
|
img {
|
|
|
width: 335px;
|
|
width: 335px;
|
|
|
height: 335px;
|
|
height: 335px;
|
|
@@ -214,12 +206,12 @@ export default {
|
|
|
height: 80px;
|
|
height: 80px;
|
|
|
background: #ff6c00;
|
|
background: #ff6c00;
|
|
|
border-radius: 8px;
|
|
border-radius: 8px;
|
|
|
- opacity: 0.7;
|
|
|
|
|
|
|
+ opacity: 0.5;
|
|
|
p {
|
|
p {
|
|
|
height: 22px;
|
|
height: 22px;
|
|
|
font-size: 13px;
|
|
font-size: 13px;
|
|
|
font-weight: 400;
|
|
font-weight: 400;
|
|
|
- color: rgba(0, 0, 0, 0.3);
|
|
|
|
|
|
|
+ color: #000;
|
|
|
line-height: 22px;
|
|
line-height: 22px;
|
|
|
text-align: center;
|
|
text-align: center;
|
|
|
margin-top: 15px;
|
|
margin-top: 15px;
|
|
@@ -240,12 +232,12 @@ export default {
|
|
|
height: 80px;
|
|
height: 80px;
|
|
|
background: #ff6c00;
|
|
background: #ff6c00;
|
|
|
border-radius: 8px;
|
|
border-radius: 8px;
|
|
|
- opacity: 0.7;
|
|
|
|
|
|
|
+ opacity: 0.5;
|
|
|
p {
|
|
p {
|
|
|
height: 22px;
|
|
height: 22px;
|
|
|
font-size: 13px;
|
|
font-size: 13px;
|
|
|
font-weight: 400;
|
|
font-weight: 400;
|
|
|
- color: rgba(0, 0, 0, 0.3);
|
|
|
|
|
|
|
+ color: #000;
|
|
|
line-height: 22px;
|
|
line-height: 22px;
|
|
|
text-align: center;
|
|
text-align: center;
|
|
|
margin-top: 15px;
|
|
margin-top: 15px;
|
|
@@ -331,8 +323,7 @@ export default {
|
|
|
border-radius: 12px;
|
|
border-radius: 12px;
|
|
|
}
|
|
}
|
|
|
.box-footer {
|
|
.box-footer {
|
|
|
- width: 100%;
|
|
|
|
|
- height: 82px;
|
|
|
|
|
|
|
+ .bottom();
|
|
|
background: #ffffff;
|
|
background: #ffffff;
|
|
|
position: fixed;
|
|
position: fixed;
|
|
|
bottom: 0;
|
|
bottom: 0;
|
|
@@ -341,7 +332,6 @@ export default {
|
|
|
.box-cat {
|
|
.box-cat {
|
|
|
display: flex;
|
|
display: flex;
|
|
|
justify-content: space-between;
|
|
justify-content: space-between;
|
|
|
- margin-right: 44px;
|
|
|
|
|
div {
|
|
div {
|
|
|
height: 28px;
|
|
height: 28px;
|
|
|
font-size: 16px;
|
|
font-size: 16px;
|