tanyanfei 3 years ago
parent
commit
e4214783ed
2 changed files with 2 additions and 3 deletions
  1. 1 2
      pages/conference/conference.js
  2. 1 1
      pages/searchList/searchList.wxml

+ 1 - 2
pages/conference/conference.js

@@ -14,7 +14,6 @@ Page({
    * 生命周期函数--监听页面加载
    */
   onLoad: function (options) {
-    options.id=6;
     var that = this;
     wx.showNavigationBarLoading()
     var that = this;
@@ -22,7 +21,7 @@ Page({
       url: host + '/api/detail',
       method: 'GET',
       data: {
-        type: 'activity',
+        type: 'conference',
         id: options.id
       },
       success: function (res) {

+ 1 - 1
pages/searchList/searchList.wxml

@@ -38,7 +38,7 @@
                   <text class="wrap">{{i.desc}}</text>
               </view>
     </navigator>
-    <navigator url="../conference/conference?id={{i.id}}" class="list" wx:for='{{item.list}}' wx:for-item='i'  wx:for-index='idx' wx:if='{{item.value=="conference" && idx<3}}' >
+    <navigator url="../eventDetail/eventDetail?id={{i.id}}" class="list" wx:for='{{item.list}}' wx:for-item='i'  wx:for-index='idx' wx:if='{{item.value=="conference" && idx<3}}' >
               <image src="{{i.img}}"></image>
               <view>
                   <view class="title">{{i.name}}</view>