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}} 一质一饮