首页修改
This commit is contained in:
@@ -17,12 +17,15 @@
|
||||
@clickLeft="back"
|
||||
@clickRight="add"
|
||||
/>
|
||||
<uni-search-bar v-model="store.params.name" clearButton="none" bgColor="#fff" placeholder="请输入关键词"
|
||||
@input="store.search()"></uni-search-bar>
|
||||
<view class="message">
|
||||
<uni-card
|
||||
:title="item.name"
|
||||
:extra="item.projectType"
|
||||
@click="jump(item)"
|
||||
v-for="(item, index) in store.data"
|
||||
:style="{marginTop:index===0?'0':''}"
|
||||
:key="index"
|
||||
>
|
||||
<view class="term-list-bottom">
|
||||
@@ -57,6 +60,7 @@ export default {
|
||||
init() {
|
||||
this.userInfo = uni.getStorageSync(this.$cacheKey.userInfo)
|
||||
this.store = this.DataSource('/cs-device-boot/engineering/queryEngineeringPage')
|
||||
this.store.params.name = ''
|
||||
this.store.reload()
|
||||
this.store.firstCallBack = (res) => {
|
||||
let engineering = uni.getStorageSync('engineering')
|
||||
|
||||
Reference in New Issue
Block a user