soft5566 3 лет назад
Родитель
Сommit
658310ef53

+ 13 - 11
pages/reshui/reshui.vue

@@ -77,12 +77,12 @@
 			</view>
 			</view>
 		</view>
 		</view>
 		<instructions v-if="flag" @parent_cancel="cancel" @parent_noshow='noshow'></instructions>
 		<instructions v-if="flag" @parent_cancel="cancel" @parent_noshow='noshow'></instructions>
-		<view class="call">
-			<button class="default-btn floating-button-call" @tap="makeCall"></button>
-		</view>
 		<view class="operation-manual">
 		<view class="operation-manual">
 			<button class="default-btn floating-button-manual" @tap="showPopup = true"></button>
 			<button class="default-btn floating-button-manual" @tap="showPopup = true"></button>
 		</view>
 		</view>
+		<view class="call">
+			<button class="default-btn floating-button-call" @tap="makeCall"></button>
+		</view>
 		<Popup :showPopup="showPopup" @close="showPopup = false">
 		<Popup :showPopup="showPopup" @close="showPopup = false">
 			<scroll-view class="article" scroll-y>
 			<scroll-view class="article" scroll-y>
 				<view class="desc-title">{{ article.title }}</view>
 				<view class="desc-title">{{ article.title }}</view>
@@ -1888,7 +1888,7 @@
 		.call {
 		.call {
 			position: fixed;
 			position: fixed;
 			right: 40rpx;
 			right: 40rpx;
-			bottom: 80rpx;
+			bottom: 180rpx;
 		}
 		}
 
 
 		.default-btn {
 		.default-btn {
@@ -1900,29 +1900,31 @@
 		.floating-button-call {
 		.floating-button-call {
 			position: relative;
 			position: relative;
 			font-size: 28rpx;
 			font-size: 28rpx;
-			width: 80rpx;
-			height: 80rpx;
+			width: 90rpx;
+			height: 90rpx;
 			border: 1px solid #ccc;
 			border: 1px solid #ccc;
 			border-radius: 50%;
 			border-radius: 50%;
 			opacity: 0.5;
 			opacity: 0.5;
-			background: url('images/kefu.png') center center no-repeat;
+			background: url('../../static/images/kefu.png') center center no-repeat;
+			background-size: 68rpx auto;
 		}
 		}
 
 
 		.operation-manual {
 		.operation-manual {
 			position: fixed;
 			position: fixed;
 			right: 40rpx;
 			right: 40rpx;
-			bottom: 180rpx;
+			bottom: 300rpx;
 		}
 		}
 
 
 		.floating-button-manual {
 		.floating-button-manual {
 			position: relative;
 			position: relative;
 			font-size: 28rpx;
 			font-size: 28rpx;
-			width: 80rpx;
-			height: 80rpx;
+			width: 90rpx;
+			height: 90rpx;
 			border: 1px solid #ccc;
 			border: 1px solid #ccc;
 			border-radius: 50%;
 			border-radius: 50%;
 			opacity: 0.5;
 			opacity: 0.5;
-			background: url('images/yhsc.png') center center no-repeat;
+			background: url('../../static/images/yhsc.png') center center no-repeat;
+			background-size: 68rpx auto;
 		}
 		}
 
 
 		.article {
 		.article {

+ 25 - 10
pagesElectric/jiaofei/jiaofei.css

@@ -180,15 +180,6 @@ page {
 	white-space: nowrap;
 	white-space: nowrap;
 }
 }
 
 
-.makecall {
-	font-size: 30upx;
-	color: #ffffff;
-	border: solid #ccc 1upx;
-	border-radius: 47.5upx;
-	background-color: #ccc;
-	white-space: nowrap;
-}
-
 .change-show {
 .change-show {
 	width: 120upx;
 	width: 120upx;
 	font-size: 30upx;
 	font-size: 30upx;
@@ -223,5 +214,29 @@ page {
 	background: url(../../static/images/gou.png) 0upx 0upx no-repeat;
 	background: url(../../static/images/gou.png) 0upx 0upx no-repeat;
 	background-size: 20%;
 	background-size: 20%;
 	background-position: right bottom;
 	background-position: right bottom;
-	background-color: rgba(18,150,219,0.1);
+	background-color: rgba(18, 150, 219, 0.1);
 }
 }
+
+.call {
+	position: fixed;
+	right: 40rpx;
+	bottom: 180rpx;
+}
+
+.default-btn {
+	background-color: transparent;
+	border: none;
+	outline: none;
+}
+
+.floating-button-call {
+	position: relative;
+	font-size: 28rpx;
+	width: 90rpx;
+	height: 90rpx;
+	border: 1px solid #ccc;
+	border-radius: 50%;
+	opacity: 0.5;
+	background: url('../../static/images/kefu.png') center center no-repeat;
+	background-size: 68rpx auto;
+}

+ 3 - 3
pagesElectric/jiaofei/jiaofei.vue

@@ -64,12 +64,12 @@
 		<view class="change-show" @tap="navigateToShow">
 		<view class="change-show" @tap="navigateToShow">
 			台账管理
 			台账管理
 		</view>
 		</view>
-		<view class="submit-item" v-if="true">
-			<button class="makecall" @tap="makeCall">客服电话:{{tel}}</button>
-		</view>
 		<view v-if="img_url !== ''" class="ad">
 		<view v-if="img_url !== ''" class="ad">
 			<image :src="img_url" mode="aspectFill" class="ad_img" @tap="ad_redirect" @error="loadImgError"></image>
 			<image :src="img_url" mode="aspectFill" class="ad_img" @tap="ad_redirect" @error="loadImgError"></image>
 		</view>
 		</view>
+		<view class="call">
+			<button class="default-btn floating-button-call" @tap="makeCall"></button>
+		</view>
 	</view>
 	</view>
 </template>
 </template>
 
 

pages/reshui/images/kefu.png → static/images/kefu.png


pages/reshui/images/yhsc.png → static/images/yhsc.png