Quellcode durchsuchen

update 代码优化

linweizeng vor 3 Jahren
Ursprung
Commit
ff53fd22f7
2 geänderte Dateien mit 5 neuen und 20 gelöschten Zeilen
  1. 1 9
      pages/fileView/fileView.vue
  2. 4 11
      pages/jiance/tousu/tousuList.vue

+ 1 - 9
pages/fileView/fileView.vue

@@ -1,14 +1,6 @@
 <template>
-
 	<view class="container">
-		<!-- 		<cu-custom bgColor="bg-gradual-pink" :isBack="true">
-			<block slot="backText">返回</block>
-			<block slot="content">检测报告</block>
-		</cu-custom> -->
-
 		<web-view :src="pdfUrl"></web-view>
-
-		<!-- <view style="position: fixed;top: 15rpx;right: 50rpx;z-index: 999;color: #ffffff;">55555</view> -->
 	</view>
 </template>
 
@@ -141,4 +133,4 @@
 
 <style>
 
-</style>
+</style>

+ 4 - 11
pages/jiance/tousu/tousuList.vue

@@ -10,16 +10,14 @@
 		<view class="cu-bar bg-white search fixed" :style="[{top:CustomBar + 'px'}]">
 			<view class="search-form round">
 				<text class="cuIcon-search"></text>
-				<input type="text" v-model="keyword" placeholder="输入搜索的关键词" confirm-type="search"
-					@confirm="search"></input>
+				<input type="text" v-model="keyword" placeholder="输入搜索的关键词" confirm-type="search" @confirm="search"></input>
 			</view>
 			<view class="action">
 				<button class="cu-btn bg-gradual-blue shadow-blur round" @tap="search">搜索</button>
 			</view>
 		</view>
 
-		<view v-if="list.length > 0" style="margin: 10rpx 20rpx;position: relative;"
-			:style="[{top:'calc('+ CustomBar + 'px + 20rpx)'}]">
+		<view v-if="list.length > 0" style="margin: 10rpx 20rpx;position: relative;" :style="[{top:'calc('+ CustomBar + 'px + 20rpx)'}]">
 			<view v-for="(item,index) in list" :key="index">
 				<uni-section :title="'投诉人:'+item.complainants_" type="line" padding>
 					<view style="display: flex;align-items: center;">
@@ -45,18 +43,13 @@
 						</view>
 					</view>
 					<view style=" width: 100%; text-align: right; padding-top: 5rpx;padding-bottom: 0rpx;">
-						<u-button type="success" size="mini" @click="getGo(item.id_)" class="u-m-r-15"
-							v-if="item.chu_li_jie_guo_sh == '已通知' && item.shi_fou_guo_shen_ == '已反馈'">签名</u-button>
+						<u-button type="success" size="mini" @click="getGo(item.id_)" class="u-m-r-15" v-if="item.chu_li_jie_guo_sh == '已通知' && item.shi_fou_guo_shen_ == '已反馈'">签名</u-button>
 						<u-button type="success" size="mini" @click="getDe(item.id_)" class="btn-back-color">详情
 						</u-button>
 					</view>
 				</uni-section>
 			</view>
 		</view>
-
-		<!-- 		<view style="position: fixed;right: 30rpx;bottom: 100rpx;">
-			<image src="../../../static/add.png" style="width: 150rpx;height: 150rpx;" @click="getGo('')"></image>
-		</view> -->
 	</view>
 </template>
 
@@ -150,4 +143,4 @@
 
 <style>
 
-</style>
+</style>