罗世杰:fix:修改样式

This commit is contained in:
LuoShijie
2023-11-09 14:10:42 +08:00
parent 1c784ea35a
commit 87c0c73cf5
5 changed files with 90 additions and 62 deletions

View File

@@ -1,7 +1,7 @@
<template>
<view class="list-border">
<view class="list-container">
<view class="shop-list-img">
<view class="list-container" @click="enterDetail()">
<view class="shop-list-img" >
<u-image width="80px" height="80px" :src="shopInfo.imageUrl" radius="8px"></u-image>
</view>
<view class="text-area">
@@ -87,7 +87,10 @@
<script>
/**
* @property shopInfo {Object} 传入商铺对象数据
* @property {Object} shopInfo 传入商铺对象数据
* @property {Number} showStyle 展示商铺的样式类型(0为首页默认)
* @property {Boolean} isADshow 是否显示推广广告
* @property {Boolean} isEdit 是否显示编辑和删除
*/
export default {
props: {
@@ -135,6 +138,11 @@
},
handleDel(shopid) {
this.$emit('delItem', shopid)
},
enterDetail(){
uni.navigateTo({
url: '/pages/detail/detail'
})
}
}
}