浏览代码

bug修改

1004749546@qq.com 4 年之前
父节点
当前提交
03636990b6
共有 2 个文件被更改,包括 12 次插入5 次删除
  1. 9 2
      pages/index/index.vue
  2. 3 3
      pages/userCenter/index.vue

+ 9 - 2
pages/index/index.vue

@@ -1,10 +1,11 @@
 <template>
 	<view class="content">
 		<view class="header">
-			<view>
+			<view @click="openSearch">
 				<text v-if="searchForm.beginDate">{{searchForm.beginDate}}至{{searchForm.endDate}}</text>
 				<text v-else>全部</text>
-				<u-image v-if="hasLogin" @click="openScreen=true" class="filter-img" width="36rpx" height="36rpx" src="/static/filter.png"></u-image>
+				<u-icon name="arrow-right" color="#999999" size="28"></u-icon>
+				<!-- <u-image v-if="hasLogin" @click="openScreen=true" class="filter-img" width="36rpx" height="36rpx" src="/static/filter.png"></u-image> -->
 			</view>
 			<!-- 总计 -->
 			<view class="header-cont">
@@ -136,6 +137,12 @@
 				this.searchHandle()
 				this.getTotal()
 			},
+			// 打开查询弹窗
+			openSearch(){
+				if(this.hasLogin){
+					this.openScreen = true
+				}
+			},
 			// 获取查询参数 刷新列表
 			refresh(params){
 				this.searchForm = params

+ 3 - 3
pages/userCenter/index.vue

@@ -3,12 +3,12 @@
 		<!-- 头部 -->
 		<view class="user-head" >
 			<view class="user-photo">
-				<open-data class="user-photo" type="userAvatarUrl"></open-data>
+				<open-data type="userAvatarUrl"></open-data>
 				<u-image v-show="!hasLogin" src="/static/logo.png" width="100" height="100"></u-image>
 			</view>
 			<view class="user-info">
 				<!-- <view v-if="hasLogin" class="user-info-item">{{userData.stationName || ''}}</view> -->
-				<view v-if="hasLogin" class="user-info-item">hjh更合适的股份回购</view>
+				<view v-if="hasLogin" class="user-info-item">hjh更合适的股份回购和股市的发挥上的飞机合计亏损幅度</view>
 				<view v-if="hasLogin" class="user-info-item">{{userData.gatherName||''}} {{userData.gatherPhone || ''}}</view>
 				<u-button v-else="!hasLogin" plain size="mini" shape="circle" @click="toLoginPage">立即登录</u-button>
 			</view>
@@ -34,7 +34,7 @@
 		data() {
 			return {
 				hasLogin: false,
-				userData: {}
+				userData: {},
 			};
 		},
 		onShow() {