Browse Source

Merge remote-tracking branch 'origin/master'

master
马景富 2 years ago
parent
commit
5aab84c5b0
  1. 2
      pages/home/news.vue

2
pages/home/news.vue

@ -188,7 +188,7 @@
</style> </style>
<template> <template>
<view class="container flex"> <view class="container flex">
<d-search :btn="false" popup ref="dSearch" @search="clean();"> <d-search :btn="false" v-model="searchVal.search" popup ref="dSearch" @search="clean();">
<u-tabs :current="tabIndex" @change="tabIndex=$event.index" :list="[{name:'消息类型'},{name:'作物类型'}]" lineColor="#10C176" :activeStyle="{color:'#10C176'}" :inactiveStyle="{color:'#999'}" :itemStyle="{height:'60rpx'}" lineHeight="6rpx" lineWidth="96rpx"/> <u-tabs :current="tabIndex" @change="tabIndex=$event.index" :list="[{name:'消息类型'},{name:'作物类型'}]" lineColor="#10C176" :activeStyle="{color:'#10C176'}" :inactiveStyle="{color:'#999'}" :itemStyle="{height:'60rpx'}" lineHeight="6rpx" lineWidth="96rpx"/>
<view class="tabs" v-if="tabIndex==0"> <view class="tabs" v-if="tabIndex==0">
<text :class="{active:searchVal.mesType=='病害'}" @click="clean({cropType:'',mesType:'病害'})">病害</text> <text :class="{active:searchVal.mesType=='病害'}" @click="clean({cropType:'',mesType:'病害'})">病害</text>

Loading…
Cancel
Save