main
liudan 2 years ago
parent b8d05f0eeb
commit 6398692345
  1. 3
      page/constitutionAnalyse/constitutionAnalyse.js
  2. 2
      page/constitutionAnalyse/constitutionAnalyse.wxml

@ -122,7 +122,8 @@ Page({
obj.kindnum=item.kindnum; obj.kindnum=item.kindnum;
obj.advice_content = item.advice_content; obj.advice_content = item.advice_content;
obj.pic = `../img/anew${item.kindnum}.jpg` 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) piclist.push(obj)
}) })
that.setData({picList:piclist}) that.setData({picList:piclist})

@ -103,7 +103,7 @@
<image src="{{item.pic}}" class="image"></image> <image src="{{item.pic}}" class="image"></image>
<view class="outview"> <view class="outview">
<view class="twopart"> <view class="twopart">
<view class="recommendBtn" style="border-bottom-right-radius:0rpx">推荐调理</view> <view class="recommendBtn" style="border-bottom-right-radius:0rpx">{{item.titletext}}</view>
<view class="recommendBtn intro" > <view class="recommendBtn intro" >
<view class="description"> <view class="description">
一质一饮 一质一饮

Loading…
Cancel
Save