xjc 2 سال پیش
والد
کامیت
2a84c1c1bd
2فایلهای تغییر یافته به همراه2 افزوده شده و 2 حذف شده
  1. 1 1
      pages/today/today.js
  2. 1 1
      pages/today/today.wxml

+ 1 - 1
pages/today/today.js

@@ -241,7 +241,7 @@ Page({
     })
   },
   zan(){
-    $api.zan({record_id:record_id}).then(res=>{
+    $api.zan({record_id:this.data.record_id}).then(res=>{
       if(res.data.code == 0){
         this.getzan()
         this.setData({

+ 1 - 1
pages/today/today.wxml

@@ -58,7 +58,7 @@
 </view>
 
 <view class="imgs" wx:if='{{datas.today_record.today_stock_img.length>0}}'>
-    <view class="title">交割单</view>
+    <view class="title">交割单111</view>
     <image wx:for='{{datas.today_record.today_stock_img}}' wx:for-item='i'  bindtap="preview" data-src='{{i}}' data-urls='{{datas.today_record.today_stock_img}}'
                  class="img" src="{{i}}"></image>
 </view>