zs 2 jaren geleden
bovenliggende
commit
32797f1608
2 gewijzigde bestanden met toevoegingen van 2 en 1 verwijderingen
  1. 1 0
      pages/home/index.js
  2. 1 1
      pages/topic/list.wxml

+ 1 - 0
pages/home/index.js

@@ -20,6 +20,7 @@ Page({
         if (route) wx.navigateTo({ url: `/pages/${route}` });
     },
     toView: function (e) {
+        const that = this;
         that.setData({ skip: 0, page: 0, list: [] })
         const { item } = e.currentTarget.dataset;
         wx.navigateTo({ url: `/pages/match/info?id=${item._id}` })

+ 1 - 1
pages/topic/list.wxml

@@ -2,7 +2,7 @@
     <view slot="info" class="container main">
         <view class="one">
             <view class="one_1">
-                <input type="text" value="{{searchInfo.title}}" bindconfirm="onSearch" placeholder="请输入资讯名称" />
+                <input type="text" value="{{searchInfo.title}}" bindconfirm="onSearch" placeholder="请输入话题名称" />
             </view>
             <view class="one_2">
                 <button type="primary" bindtap="toAdd">添加</button>