Explorar el Código

消息图标优化

jiangniuniu hace 4 años
padre
commit
7b97832021
Se han modificado 1 ficheros con 13 adiciones y 10 borrados
  1. 13 10
      pages/messages/messages.vue

+ 13 - 10
pages/messages/messages.vue

@@ -19,8 +19,8 @@
                   ? '/static/orange-read.png'
                   : '/static/orange-noRead.png'
                 : item.readStatus
-                  ? '/static/green-read.png'
-                  : '/static/green-noRead.png'
+                ? '/static/green-read.png'
+                : '/static/green-noRead.png'
             "
           ></image>
         </view>
@@ -65,7 +65,8 @@ export default {
   methods: {
     getMessList() {
       var currPage = this.currentPage + 1;
-      this.$store.dispatch({
+      this.$store
+        .dispatch({
           type: "messages/commActions",
           payload: {
             key: "messagesList",
@@ -98,7 +99,8 @@ export default {
       }
     },
     toDetail(data) {
-      this.$store.dispatch({
+      this.$store
+        .dispatch({
           type: "messages/commActions",
           payload: {
             key: "toRead",
@@ -113,14 +115,15 @@ export default {
               url: `/pages/mission-details/mission-details?taskId=${data.businessId}`,
             });
           } else if (data.businessType == 2) {
-			  uni.setStorageSync('situaionID', data.businessId);
+            uni.setStorageSync("situaionID", data.businessId);
             uni.navigateTo({
               url: `/pages/situationDetail/situationDetail`,
             });
           }
           this.MessList = [];
           for (let i = 1; i < this.currentPage + 1; i++) {
-            this.$store.dispatch({
+            this.$store
+              .dispatch({
                 type: "messages/commActions",
                 payload: {
                   key: "messagesList",
@@ -162,12 +165,12 @@ export default {
       width: 56.25rpx;
       height: 56.25rpx;
       vertical-align: top;
-      .image-circle {
-        background-color: ;
-      }
+      // .image-circle {
+      //   background-color: ;
+      // }
       image {
         width: 56.25rpx;
-        height: 90px;
+        height: 56.25rpx;
       }
     }
     .contView {