Commit f9175c61 authored by zhengke's avatar zhengke

修改

parent 7c54e394
...@@ -117,7 +117,7 @@ ...@@ -117,7 +117,7 @@
if(this.cols&&this.cols.length>0){ if(this.cols&&this.cols.length>0){
this.clickItem = this.cols[0][0]; this.clickItem = this.cols[0][0];
} }
this.getList(); //this.getList();
}, },
methods: { methods: {
clickHandler(item) { clickHandler(item) {
......
...@@ -9,7 +9,7 @@ ...@@ -9,7 +9,7 @@
</view> </view>
<view v-if="myPageData.home_pages " v-show="showStart== false" :style="[myPageData.home_pages.navs[active].templateBg]"> <view v-if="myPageData.home_pages " v-show="showStart== false" :style="[myPageData.home_pages.navs[active].templateBg]">
<view class="content" :style="{ 'padding-bottom': showtabs==ture? '100rpx':0,paddingTop:pagePaddingBottom }"> <view class="content" :style="{ 'padding-bottom': showtabs==ture? '100rpx':0,paddingTop:pagePaddingBottom }">
<view class="index-title" :style="[myPageData.home_pages.navs[active].templateBg,titleStyle,{color:myPageData.home_pages.navs[active].templateBg?myPageData.home_pages.navs[active].templateBg.titleColor:''}]"> <view class="index-title" :class="{'MainTopLeft':pageTitleStr.length>10}" :style="[myPageData.home_pages.navs[active].templateBg,titleStyle,{color:myPageData.home_pages.navs[active].templateBg?myPageData.home_pages.navs[active].templateBg.titleColor:''}]">
<text v-if="isNavPosition==0">{{pageTitleStr}}</text> <text v-if="isNavPosition==0">{{pageTitleStr}}</text>
<view v-if="isNavPosition==1" style="width:78%"> <view v-if="isNavPosition==1" style="width:78%">
<search :style-str="searchData"></search> <search :style-str="searchData"></search>
...@@ -18,7 +18,7 @@ ...@@ -18,7 +18,7 @@
<u-icon name="arrow-left" size="44"></u-icon> <u-icon name="arrow-left" size="44"></u-icon>
</view> </view>
</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" <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> :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"> <template v-for="(item, i) in myPageData.home_pages.navs">
...@@ -1120,7 +1120,7 @@ ...@@ -1120,7 +1120,7 @@
}, },
yj(){ yj(){
uni.navigateTo({ uni.navigateTo({
url: '/pages/friendcircle/activitylist' url: '/pages/kotra/companyInfo'
}) })
} }
}, },
...@@ -1187,6 +1187,10 @@ ...@@ -1187,6 +1187,10 @@
justify-content: center; justify-content: center;
color: #FFF; color: #FFF;
} }
.MainTopLeft{
text-align: left!important;
padding-left:10px;
}
/* .logo { /* .logo {
height: 200rpx; height: 200rpx;
width: 200rpx; width: 200rpx;
......
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