Commit 5ea87c78 authored by 罗超's avatar 罗超

111

parents 1dac7281 033b1315
......@@ -18,7 +18,7 @@
<u-icon name="arrow-left" size="44"></u-icon>
</view>
</view>
<!-- <view @click='yj' style="width: 200px;height: 50px;">活动</view> -->
<view @click='yj' style="width: 200px;height: 50px;">活动</view>
<u-tabs v-if="myPageData.home_pages && myPageData.home_pages.navs.length > 1" name="name" :list="myPageData.home_pages.navs"
:is-scroll="true" :active-color="mainColor" :current="active" :bar-width="80" :font-size="32" :bold="false" @change="changeHandler"></u-tabs>
<template v-for="(item, i) in myPageData.home_pages.navs">
......@@ -1133,7 +1133,8 @@
yj(){
uni.navigateTo({
url: '/pages/blindDate/message'
url: '/pages/kotra/identification'
// url: '/pages/kotra/carrier/list'
})
}
},
......
<template>
<div style="background-color: #f6f6f6;height: 100vh;padding-bottom: 65px; overflow: hidden;">
<div style="background-color: #f6f6f6;overflow: hidden;" :style="{height:contentHeight+'px'}">
<view style="padding:5px 10px;">
<u-search placeholder="搜索载体名称" :focus="false" :show-action="false" :clearabled="true" radius="40" v-model="searchKey"
@search="searchHandler" @custom="searchHandler" bg-color="#FFF" ></u-search>
......@@ -10,9 +10,9 @@
:current="active" @change="changeHandler" :show-bar="true" :activeFontSize="34" :bold="true" height="100"
duration="0" font-size="28"></u-tabs>
</view>
<div style="width: 64rpx;height: 48rpx;display: table-cell; vertical-align: middle;text-align: right;">
<!-- <div style="width: 64rpx;height: 48rpx;display: table-cell; vertical-align: middle;text-align: right;">
<u-icon name="filter-o" color="#111" size="42"></u-icon>
</div>
</div> -->
</view>
<u-empty v-if="dataList.length == 0" text="暂无数据" mode="list" class="noBox"></u-empty>
<view style="height: calc(100% - 101px);" v-if="dataList.length > 0">
......@@ -29,7 +29,7 @@
height:100%;
border-radius: 10rpx 10rpx 0 0;
" mode='aspectFill'
:src="item.BannerList[0]"/>
:src="item.BannerList[0]" />
</view>
</view>
<div class="good-info">
......@@ -94,7 +94,7 @@
Developers:"",
StartOpenTime:"",
EndOpenTime:"",
ProjectType:1,
ProjectType:0,
OrderBy:0
},
loading: false,
......@@ -105,13 +105,15 @@
loading: "努力加载中",
nomore: "没有更多了",
},
contentHeight:0
};
},
onLoad(options) {
if(options && options.id){
this.msg.ProjectType = options.id
}
let c = this.$uiConfig.is_bang ? 78 : 50;
this.contentHeight = this.$utils.calcContentHeight(c)+40;
this.getTypeList()
},
created() {
......@@ -133,8 +135,12 @@
this.request2(parms, (res) => {
if (res.resultCode == 1) {
// this.pageCount = res.data.pageCount
this.typeList = res.data
if(this.msg.ProjectType ==1){
this.typeList.push({
Id:0,
Name:"全部"
})
this.typeList.concat(res.data)
if(this.msg.ProjectType ==0){
}else{//指定跳入分类
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment