Procházet zdrojové kódy

页面优化/样式优化

fanghuisheng před 1 rokem
rodič
revize
4aef91d428

+ 4 - 3
src/manifest.json

@@ -2,8 +2,8 @@
     "name" : "综合智慧云",
     "appid" : "__UNI__36DE3A0",
     "description" : "综合智慧云",
-    "versionName" : "2.0.3",
-    "versionCode" : 5,
+    "versionName" : "2.0.4",
+    "versionCode" : 6,
     "transformPx" : false,
     /* 5+App特有相关 */
     "app-plus" : {
@@ -151,7 +151,8 @@
                 }
             }
         },
-        "safearea" : { //可选,JSON对象,安全区域配置
+        "safearea" : {
+            //可选,JSON对象,安全区域配置
             "offset" : "none"
         }
     },

+ 9 - 4
src/pages/common/customManage/index.vue

@@ -37,7 +37,7 @@
 
         <view class="container-area menu-list margin-lr-0" v-for="data in dataList" :key="data">
           <view class="list-cell" style="color: #666666; line-height: 30px">
-            <view class="menu-item-box" style="font-size: 16px; font-weight: 600">
+            <view class="menu-item-box" style="font-size: 16px; font-weight: 600; color: #000000">
               <view> {{ data.projectName }} </view>
             </view>
             <view class="menu-item-box" style="font-size: 13px">
@@ -53,10 +53,15 @@
                 客户电话:{{ data.phone }}
                 <view class="iconfont ucicon-a-copy menu-icon" style="font-size: 14px; color: #909399; margin-left: 5px" @click="copy(data.phone)"> </view>
               </view>
-              <view style="width: 50%"> 状态:{{ data.maintainStatus == 1 ? "使用中" : "已到期" }} </view>
+              <view style="width: 50%">
+                状态:
+                <span :style="`color: ${data.maintainStatus == 1 ? '#16bf00' : 'red'} `">
+                  {{ data.maintainStatus == 1 ? "使用中" : "已到期" }}
+                </span>
+              </view>
             </view>
             <view class="menu-item-box" style="font-size: 13px">
-              <view> 客户地址:{{ data.customAddress }} </view>
+              <view> 客户地址: {{ data.customAddress }} </view>
             </view>
           </view>
         </view>
@@ -127,7 +132,7 @@ function selectListApi() {
     startTime: startTime.value,
   }).then((requset) => {
     if (requset.status === "SUCCESS") {
-      dataList.value = requset.data.rows;
+      dataList.value = requset.data.records;
       total.value = requset.data.total;
     }
   });

+ 1 - 1
src/pages/index.vue

@@ -176,7 +176,7 @@ function getMobileBannerApi() {
       } else {
         swiperList.value = [
           {
-            url: "../static/images/index/banner1.png",
+            url: "/static/images/index/banner1.png",
             link: "",
             linkType: 1,
             type: "image",

+ 13 - 3
src/pages/mine/secure/loginLog/index.vue

@@ -1,9 +1,19 @@
 <template>
-  <oa-scroll :pageSize="pageSize" :total="total" :refresherLoad="true" :refresherEnabled="true" :refresherDefaultStyle="'none'" :refresherThreshold="44" @load="load" @refresh="refresh">
+  <oa-scroll
+    class="scroll-height"
+    :pageSize="pageSize"
+    :total="total"
+    :refresherLoad="true"
+    :refresherEnabled="true"
+    :refresherDefaultStyle="'none'"
+    :refresherThreshold="44"
+    @load="load"
+    @refresh="refresh"
+  >
     <template #default>
       <view class="loginLog-container" :data-theme="'theme-' + proxy.$settingStore.themeColor.name">
         <view class="container-area">
-          <view class="container-area-content" v-for="data in dataList" :key="data">
+          <view class="container-area-content bg-white" v-for="data in dataList" :key="data">
             <view class="container-area-content-img">
               <image style="width: 35px; height: 35px" :src="'/static/images/404.png'" mode="aspectFill"></image>
             </view>
@@ -115,7 +125,7 @@ onNavigationBarButtonTap((e) => {
   .container-area {
     &-content {
       display: flex;
-      border-bottom: 1px solid #909399;
+      border-bottom: 0.5px solid #d6d7d9;
 
       &-img {
         margin: auto 15px auto 15px;

+ 1 - 1
src/plugins/common.plugins.js

@@ -36,7 +36,7 @@ export default {
     /**
      * 小程序端 和 app端的复制逻辑
      */
-    //#ifndef H5 || APP-PLUS || MP-WEIXIN
+    //#ifdef APP-PLUS || MP-WEIXIN
     uni.setClipboardData({
       data: content,
       success: function () {