Commit 9ecb2453 by 张立顺

商城样式修改

1 parent 1734a826
......@@ -34,7 +34,8 @@
</el-button>
</div>
<div class="goodsCon">
<div class="goodsItemCon" v-for="(item, index) in purchaseList" :class="{ active: item.active }" :key="index">
<div class="goodsItemCon" v-for="(item, index) in purchaseList"
:class="[{ active: item.active }, { 'last': index === purchaseList.length - 1 }]" :key="index">
<!-- 图片{{ item.thumbUrl }} -->
<img :src="item.thumbUrl" class="img" alt="">
<span class="goodsName one-line-ellipsis">{{ item.goodsName }}</span>
......@@ -224,11 +225,11 @@ export default {
}
}
</script>
<style lang="scss" scoped>
::v-deep.mallContainer {
width: 1400px;
max-width: 1350px;
margin: 0 auto;
overflow: scroll;
.d2-header-switch {
display: none;
......@@ -242,7 +243,7 @@ export default {
box-sizing: border-box;
padding: 0 20px;
display: flex;
// justify-content: space-between;
justify-content: space-between;
flex-wrap: wrap;
.goodsItemCon {
......@@ -253,8 +254,8 @@ export default {
flex-direction: column;
background: #f9f9f9;
border-radius: 4px;
margin-bottom: 16px;
margin-right: 16px;
// margin-bottom: 16px;
margin: 0 16px 16px;
overflow: hidden;
padding: 8px 8px 16px;
......@@ -287,8 +288,8 @@ export default {
}
}
.goodsItemCon:nth-child(6n) {
margin-right: 0;
.last {
margin-right: auto;
}
}
......@@ -347,17 +348,23 @@ export default {
.addressInfo {
display: flex;
box-sizing: border-box;
flex-wrap: wrap;
// align-items: space-between;
align-items: center;
justify-content: space-between;
// justify-content: space-between;
width: 100%;
height: 36px;
padding: 0 20px;
// height: 36px;
padding: 15px 20px 0;
margin-top: 10px;
background: #f9f9f9;
font-size: 14px;
color: #666666;
>span {
margin-right: 25px;
margin-bottom: 15px;
}
.label {
color: #333333;
// margin-left: 0px;
......
......@@ -22,7 +22,7 @@
<!-- <img v-if="aliqrCodeURL"
class="qrImg imgs"
:src="aliqrCodeURL"
crossorigin="anonymous"> -->
crossorigin="anonymous"> -->
<div id="qrcodeDiv" class="qrImg" />
<!-- -->
<!-- :src="aliqrCodeURL"> -->
......@@ -211,9 +211,7 @@ export default {
},
// 生成支付宝中间二维码
alipayQrcode() {
// this
// const that = this
// let shareUrl = `https://www.baidu.com/`;
const shareUrl = `${baseConfig.alipayPath}?merchantId=${this.info.yqMerchantId}&merchantName=${this.info.yqMerchantName}`
console.log(baseConfig.alipayPath)
console.log(shareUrl)
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!