Commit 9ecb2453 by 张立顺

商城样式修改

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