|  |  | 
 |  |  |             </view> | 
 |  |  |          </block> | 
 |  |  |       </uni-nav-bar> | 
 |  |  |       <!-- 搜索框 --> | 
 |  |  |       <view class="search-bg"> | 
 |  |  |          <u-search placeholder="输入" v-model="keyword" :clearabled="true" @custom="search()" @search="search()"></u-search> | 
 |  |  |       </view> | 
 |  |  |        | 
 |  |  |       <view class="main-box"> | 
 |  |  |          <view class="box" v-for="item in list" @click="goDetl(item)"> | 
 |  |  | 
 |  |  |             </view> | 
 |  |  |          </view> | 
 |  |  |       </view> | 
 |  |  | 		 | 
 |  |  |       <u-empty v-if="true" icon="../../../static/image/emptyList.png" v-show="list.length <= 0" /> | 
 |  |  |    </view> | 
 |  |  | </template> | 
 |  |  |  | 
 |  |  | 
 |  |  |    export default { | 
 |  |  |       data() { | 
 |  |  |          return { | 
 |  |  |             keyword: '', | 
 |  |  |             user: { | 
 |  |  |                username: '', | 
 |  |  |                id: 0, | 
 |  |  | 
 |  |  |                data: param, | 
 |  |  |                success(res) { | 
 |  |  |                   res = res.data | 
 |  |  |                   console.log(res); | 
 |  |  |                   // return | 
 |  |  |                   if (res.code === 200) { | 
 |  |  |                      for (let k of res.data.records) { | 
 |  |  | 
 |  |  |          }, | 
 |  |  |          async getDetail() { | 
 |  |  |             let res = await user.getDetail() | 
 |  |  |             console.log(res); | 
 |  |  |             if (res.code === 200) { | 
 |  |  |                this.user.username = res.data.username | 
 |  |  |                this.user.id = res.data.id |