feat: 进入店铺组件更新为单元格组件(功能更强大)

This commit is contained in:
王奥斯
2021-11-12 10:57:08 +08:00
parent 0b0befd9e4
commit d74d47b34f
@@ -2,10 +2,12 @@
<div class="entertheshop">
<!-- 内容 -->
<van-cell
icon="shop-collect-o"
:icon="datas.icon"
:title="datas.shopName"
is-link
:value="datas.copywriting"
:to="datas.type == 10 ? datas.http.externalLink : ''"
:url="datas.type == 11 ? datas.http.externalLink : ''"
/>
<!-- 删除组件 -->
@@ -17,13 +19,16 @@
export default {
name: 'entertheshop',
props: {
datas: Object,
},
datas: Object
}
}
</script>
<style scoped lang="less">
.entertheshop {
position: relative;
/deep/ .van-cell__left-icon {
margin-top: -2.5px;
}
}
</style>