From 0abe6ac3b77cd414e860df4979aa06c62c3e6143 Mon Sep 17 00:00:00 2001
From: 陶杰 <1378534974@qq.com>
Date: 星期五, 06 九月 2024 19:06:46 +0800
Subject: [PATCH] 1、【花满芫小程序项目】 小程序-花店:申请售后-售后理由字段布局调整,字数过多显示会跨行 2、【花满芫小程序项目】 管理端-合伙人:质检详情-降级、缺货、补货高亮显示 3、【花满芫小程序项目】 小程序-花店:浏览记录-浏览记录默认状态按照时间倒序排列 因为目前只显示10条记录,不按时间顺序的话最新的浏览记录就不会被看到; 4、【花满芫小程序项目】 小程序-合伙人:合伙人审核-1.已经审核通过后,现在还可以再次提交审核,不合逻辑。 2.审核后的不通过原因,需要显示在小程序端;
---
pages/home/components/home-zones.vue | 16 ++++++++++------
1 files changed, 10 insertions(+), 6 deletions(-)
diff --git a/pages/home/components/home-zones.vue b/pages/home/components/home-zones.vue
index 30b2c15..c375985 100644
--- a/pages/home/components/home-zones.vue
+++ b/pages/home/components/home-zones.vue
@@ -1,12 +1,12 @@
<template>
<view class="home-zones">
- <view class="c" v-for="(item,index) of list">
- <image class="p1 img100 m-t-12" :lazy-load="true" mode="aspectFit"
+ <view class="c" v-for="(item,index) of list" @click.stop="toDetail(item.id)">
+ <image class="p1 img100 m-t-12" :lazy-load="true" mode="aspectFill"
:src="item.bgUrl">
</image>
- <view class="c-txt-1">
+ <view class="c-txt-1" v-show="false">
<view class="title">{{ item.name }}</view>
- <view class="flex" @click.stop="toDetail(item.id)">
+ <view class="flex">
<view class="desc">查看详情</view>
<view class="right m-l-5">
<uni-icons class="icon" type="right" color="#C3B8A0" size="12"></uni-icons>
@@ -75,15 +75,19 @@
methods: {
toDetail(id) {
uni.navigateTo({
- url: `//sub_pages/customer/trade/list?zoneId=${id}`
+ url: `/sub_pages/customer/trade/list?zoneId=${id}`
})
},
},
- onLoad() {
+ mounted() {
+ console.log('init hone zones')
this.$http.request('get', '/api/flower/zone/list', {}).then(res => {
this.list = res.data || []
})
},
+ onLoad() {
+
+ },
}
</script>
--
Gitblit v1.9.3