mirror of
https://gitee.com/was666/as-editor-h5.git
synced 2026-07-24 00:00:03 +08:00
feat: 进入店铺组件更新为单元格组件(功能更强大)
This commit is contained in:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user