zs 2 年之前
父節點
當前提交
32797f1608
共有 2 個文件被更改,包括 2 次插入1 次删除
  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>