邓洁 : 首页icon页面渲染

This commit is contained in:
邓洁
2023-11-19 23:05:10 +08:00
parent 6eb6756796
commit e302fcb477
8 changed files with 262 additions and 70 deletions

View File

@@ -3,7 +3,7 @@
<view class="yzr" v-if="showStyle === 2">
<u-image src="/static/cjal/anl_tu.png" width="156rpx" height="156rpx"></u-image>
</view>
<view class="list-container">
<view class="list-container" @click="enterDetail()">
<view class="text-area">
<text>{{shopInfo.tt}}</text>
@@ -141,6 +141,18 @@
},
methods: {
enterDetail() {
// console.log("进入详情页面");
const query = this.$u.queryParams({
id: this.shopInfo.id,
type: this.shopInfo.type,
search: 1
})
console.log("query", query);
uni.navigateTo({
url: '/pages/detail/detail' + `${query}`
})
},
handleEdit(searchid) {
// TODO 完成页面跳转
console.log("点击了编辑ID为", searchid);
@@ -221,6 +233,7 @@
flex-direction: column;
justify-content: space-between;
width: 100%;
>text {
font-size: 14px;
}