浏览代码

弹窗修改

蒋科 3 月之前
父节点
当前提交
9d07c3a8af
共有 3 个文件被更改,包括 18 次插入3 次删除
  1. 15 0
      App.vue
  2. 2 2
      pages/basic-data/index.vue
  3. 1 1
      pages/power-changer/index.vue

+ 15 - 0
App.vue

@@ -37,4 +37,19 @@
 			}
 		}
 	}
+	::v-deep .uni-modal{
+		background-color: #263042 !important;
+		.uni-modal__title{
+			color: white;
+		}
+		.uni-modal__ft:after {
+			border-top: #fff solid 1px;
+		}
+		.uni-modal__btn_default{
+			color: #54647A !important;
+		}
+		.uni-modal__btn_primary{
+			color: #91FDB9 !important;
+		}
+	}
 </style>

+ 2 - 2
pages/basic-data/index.vue

@@ -6,7 +6,7 @@
 				<view class="btn" :class="isSelect===2?'active':''" @click="handleData(2)">电池管理</view>
 				<view class="btn" :class="isSelect===1?'active':''" @click="handleData(1)" v-if="$storage.getJson('userId')==1">站控配置</view>
 			</view>
-			<view class="basci-header-right">
+			<view class="basci-header-right" v-if="isSelect===0">
 				<view class="times">最近同步时间:{{synchronizationTime || '-'}}</view>
 				<view class="sync-btn" @click="syncCloud">云端同步</view>
 				<!-- <view class="title">车辆管理</view> -->
@@ -1149,7 +1149,7 @@
 			syncCloud() {
 				let that = this
 				uni.showModal({
-					title: "是否同步云端",
+					title: "是否云端同步",
 					content: "",
 					success: function(res) {
 						if (res.confirm) {

+ 1 - 1
pages/power-changer/index.vue

@@ -235,7 +235,7 @@
 			<view class="popup-container">
 				<view class="popup-title">
 					<view class="title-text">
-						车辆识别设备网络
+						车辆识别设备
 					</view>
 					<view class="title-close" @click="closePopup">
 						关闭