tong 4 years ago
parent
commit
81178b0c37
1 changed files with 4 additions and 4 deletions
  1. 4 4
      pages/me/Reward-details/index.vue

+ 4 - 4
pages/me/Reward-details/index.vue

@@ -8,7 +8,7 @@
 					<view class="content">
 					<view class="content">
 						<u-tabs style="width: 500rpx;" bg-color="#0095ff" inactive-color="#FFFFFF" active-color="#fff" :list="list"
 						<u-tabs style="width: 500rpx;" bg-color="#0095ff" inactive-color="#FFFFFF" active-color="#fff" :list="list"
 						 :is-scroll="false" :current="current" @change="change"></u-tabs>
 						 :is-scroll="false" :current="current" @change="change"></u-tabs>
-						<u-select @cancel="clear" style=" color: #fff;" @confirm="confirm" v-model="showBrand" value-name="brandId" label-name="brandName" :list="brandList"></u-select>
+						<u-select :mask-close-able="false" @cancel="clear" style=" color: #fff;" @confirm="confirm" v-model="showBrand" value-name="brandId" label-name="brandName" :list="brandList"></u-select>
 						<u-calendar style=" color: #fff;" @change="changetime" v-model="showDate" :mode="mode"></u-calendar>
 						<u-calendar style=" color: #fff;" @change="changetime" v-model="showDate" :mode="mode"></u-calendar>
 						<view @click="search">
 						<view @click="search">
 							<u-search placeholder="请输入胎号或规格" v-model="input" :clearabled="true" @change="handleSearch" :show-action="false" :animation="true"></u-search>
 							<u-search placeholder="请输入胎号或规格" v-model="input" :clearabled="true" @change="handleSearch" :show-action="false" :animation="true"></u-search>
@@ -19,8 +19,6 @@
 						<view class="content-one-view">
 						<view class="content-one-view">
 						</view>
 						</view>
 						<view class="content-one-text">获得奖励:{{item.money}}元</view>
 						<view class="content-one-text">获得奖励:{{item.money}}元</view>
-			
-			
 						<view class="content-two">
 						<view class="content-two">
 							<view class="">
 							<view class="">
 								轮胎型号
 								轮胎型号
@@ -110,6 +108,9 @@
 		methods: {
 		methods: {
 			// 获取奖励明细
 			// 获取奖励明细
 			data() {
 			data() {
+				uni.showLoading({
+					title: '加载中...'
+				});
 				request({
 				request({
 						url: '/myPage/getPageScanRewordList',
 						url: '/myPage/getPageScanRewordList',
 						method: 'post',
 						method: 'post',
@@ -212,7 +213,6 @@
 			// 搜索框
 			// 搜索框
 			handleSearch(e) {
 			handleSearch(e) {
 				console.log(e)
 				console.log(e)
-				this.current = 0
 				this.datalist = []
 				this.datalist = []
 				this.data()
 				this.data()
 			},
 			},