Przeglądaj źródła

分配机构资料信息

zhengjinyi 2 lat temu
rodzic
commit
30c00028f1

+ 8 - 0
src/main/resources/static/css/help/clubinfo.css

@@ -15,6 +15,10 @@
   .info-title .info-title-right{width: 50%;height: 68px;float: right;line-height: 68px;font-size: 16px;color: #999999;text-align: right;}
   .info-main{width: 100%;height: auto;}
   .info-main .info-h1{width: 100%;box-sizing: border-box;padding:0 20px;position: relative;line-height: 60px;font-size: 20px;color: #333333;}
+  .info-main .info-h1 .info-h1-tag{display: inline-block;padding: 0 24px;line-height: 36px;background-color: #FFF2D5;font-size: 16px;color: #ffffff;text-align: center;margin-left: 10px;font-weight: normal;}
+  .info-main .info-h1 .info-h1-tag.orange{background-color: #FFF2D5;}
+  .info-main .info-h1 .info-h1-tag.grey{background-color: #0DB26D;}
+  .info-main .info-h1 .info-h1-tag.warn{background-color: #F94B4B;}
   .info-main .info-h1:before{content: '';width: 6px;height: 20px;background-color: #E15616;position: absolute;left: 0;top: 20px;}
   .info-main .info-p{width: 100%;box-sizing: border-box;padding:0 20px;position: relative;line-height: 46px;font-size: 16px;color: #999999;}
   .info-main .info-p span{color: #333333;}
@@ -60,6 +64,10 @@
   .info-title .info-title-right{width: 50%;height: 9.8vw;float: right;line-height: 9.8vw;font-size: 3vw;color: #999999;text-align: right;}
   .info-main{width: 100%;height: auto;margin-bottom: 3vw;}
   .info-main .info-h1{width: 100%;box-sizing: border-box;padding:0 2vw;position: relative;line-height: 10vw;font-size: 4vw;color: #333333;}
+  .info-main .info-h1 .info-h1-tag{display: inline-block;padding: 0 2vw;line-height: 5.6vw;background-color: #FFF2D5;font-size: 3vw;color: #ffffff;text-align: center;margin-left: 1vw;font-weight: normal;}
+  .info-main .info-h1 .info-h1-tag.orange{background-color: #FFF2D5;}
+  .info-main .info-h1 .info-h1-tag.grey{background-color: #0DB26D;}
+  .info-main .info-h1 .info-h1-tag.warn{background-color: #F94B4B;}
   .info-main .info-h1:before{content: '';width: 0.7vw;height: 3.2vw;background-color: #E15616;position: absolute;left: 0;top: 3.2vw;}
   .info-main .info-p{width: 100%;box-sizing: border-box;padding:0 2vw;position: relative;line-height: 6.8vw;font-size: 3.4vw;color: #999999;}
   .info-main .info-p span{color: #333333;}

+ 9 - 0
src/main/resources/static/js/help/clubinfo.js

@@ -58,6 +58,15 @@ var InformationPage = new Vue({
                     break
             }
             return text
+        },
+        statusFilters: function(value) {
+            // 订单来源
+            const map = {
+                1: '待审核',
+                90: '审核通过',
+                92: '审核未通过'
+            }
+            return map[value]
         }
     },
     methods: {

+ 7 - 3
src/main/resources/templates/help/clubinfo.html

@@ -10,13 +10,13 @@
 <body>
 <!-- 引用头部 -->
 <div class="club-info-logo">
+  <input type="hidden" th:value="${coreServer}" id="coreServer">
   <a href="/" class="logo">
     <img src="/img/base/logo_m.png" alt="采美 生美/医美采购服务平台"/>
   </a>
 </div>
-<!-- 修改资料 -->
+<!-- 机构信息 -->
 <div id="informationPage" v-cloak>
-  <input type="hidden" th:value="${coreServer}" id="coreServer">
   <div class="info-header clearfix" v-if="clubInfo.describe">
     <p>描述:<span>{{ clubInfo.describe }}</span></p>
   </div>
@@ -36,7 +36,11 @@
       <div class="info-p">手机号:<span>{{ clubInfo.contractMobile }}</span></div>
     </div>
     <div class="info-main" v-if="clubInfo.userIdentity === 2">
-      <div class="info-h1">升级信息</div>
+      <div class="info-h1">升级信息 <span class="info-h1-tag" :class="{
+								orange: clubInfo.status == 1,
+								grey: clubInfo.status == 90,
+								warn: clubInfo.status == 92
+							}"> {{ clubInfo.status | statusFilters }} </span></div>
       <div class="info-p">机构名称:<span>{{ clubInfo.name }}</span></div>
       <div class="info-p">机构简称:<span>{{ clubInfo.shortName }}</span></div>
       <div class="info-p">邮箱:<span>{{ clubInfo.contractEmail }}</span></div>