Commit ff5aea9f by 李伟康

修改样式

1 parent 3bc0cc21
......@@ -348,7 +348,7 @@ export default {
.tips {
width: 100%;
height: 24px;
background: rgba(88, 80, 255, 0.7);
background: rgba(57, 117, 198, .7);
position: fixed;
bottom: 0;
left: 0;
......
......@@ -22,10 +22,8 @@
<template v-if="i.price">
<div class="price">¥{{i.price.toFixed(2)}}</div>
</template>
<div class="btn text-center">发送</div>
</div>
<div
class="sprite-icon icon-share"
></div>
</div>
</template>
</div>
......@@ -47,7 +45,7 @@ export default {
pageNum: 1,
list: [],
flag: false,
total: 0,
total: 0
}
},
mounted() {
......@@ -67,15 +65,17 @@ export default {
choose(e) {
let { id, goodsName, goodsImage } = e
shopmallApi.getGoodsLink({ id }).then(data => {
console.log('链接_________',data)
wxConfig.shareAppMessage({
title: goodsName,
desc: '',
link: data,
imgUrl: goodsImage
}).then(res => {
this.showToast('发送成功')
})
console.log('链接_________', data)
wxConfig
.shareAppMessage({
title: goodsName,
desc: '',
link: data,
imgUrl: goodsImage
})
.then(res => {
this.showToast('发送成功')
})
})
},
onReachBottom() {
......@@ -134,6 +134,13 @@ export default {
font-weight: 500;
font-size: 16px;
}
.btn{
position: absolute;
bottom: 10px;
right: 8px;
border-radius:12px ;
height: 20px;
}
}
}
}
......
......@@ -50,8 +50,9 @@
<template v-if="i.price">
<div class="price">¥{{i.price.toFixed(2)}}</div>
</template>
<div class="btn text-center">发送</div>
</div>
<div class="sprite-icon icon-share"></div>
<!-- <div class="sprite-icon icon-share"></div> -->
</div>
</template>
</div>
......@@ -212,6 +213,13 @@ export default {
font-weight: 500;
font-size: 16px;
}
.btn{
position: absolute;
bottom: 10px;
right: 8px;
border-radius:12px ;
height: 20px;
}
}
}
}
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!