From 6398692345549e6fc21fe463912e246ac373fea3 Mon Sep 17 00:00:00 2001
From: liudan <18634735655@163.com>
Date: Thu, 30 Mar 2023 18:11:37 +0800
Subject: [PATCH] =?UTF-8?q?=E6=8F=90=E4=BA=A4?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
page/constitutionAnalyse/constitutionAnalyse.js | 3 ++-
page/constitutionAnalyse/constitutionAnalyse.wxml | 2 +-
2 files changed, 3 insertions(+), 2 deletions(-)
diff --git a/page/constitutionAnalyse/constitutionAnalyse.js b/page/constitutionAnalyse/constitutionAnalyse.js
index 653952f..f63a38f 100644
--- a/page/constitutionAnalyse/constitutionAnalyse.js
+++ b/page/constitutionAnalyse/constitutionAnalyse.js
@@ -122,7 +122,8 @@ Page({
obj.kindnum=item.kindnum;
obj.advice_content = item.advice_content;
obj.pic = `../img/anew${item.kindnum}.jpg`
- obj.mini_shop_url = item.mini_shop_url
+ obj.mini_shop_url = item.mini_shop_url,
+ obj.titletext=item.kindnum+'号'+item.title.substr(0,2)+'饮'
piclist.push(obj)
})
that.setData({picList:piclist})
diff --git a/page/constitutionAnalyse/constitutionAnalyse.wxml b/page/constitutionAnalyse/constitutionAnalyse.wxml
index cf56f0d..d7c6303 100644
--- a/page/constitutionAnalyse/constitutionAnalyse.wxml
+++ b/page/constitutionAnalyse/constitutionAnalyse.wxml
@@ -103,7 +103,7 @@
- 推荐调理
+ {{item.titletext}}
一质一饮