首页修改

This commit is contained in:
仲么了
2023-08-23 16:22:08 +08:00
parent cc63cda4e7
commit 79d6771aad
34 changed files with 788 additions and 403 deletions

View File

@@ -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')