Commit ff5aea9f by 李伟康

修改样式

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