See999 4 лет назад
Родитель
Сommit
e6a6e784cf
2 измененных файлов: 71 добавлений и 8 удалений
  1. 38 5
      src/pages/my/index.vue
  2. 33 3
      src/pages/personal/ElectronicSignature.vue

+ 38 - 5
src/pages/my/index.vue Просмотреть файл

@@ -32,6 +32,15 @@
32 32
         </div>
33 33
         <van-icon class="arrow" name="arrow" />
34 34
       </div>
35
+      <router-link to="/ElectronicSignature">
36
+        <div class="myInfo1">
37
+          <div class="myInfoLeft">
38
+            <img src="../../assets/images/myIcon1.png" alt />
39
+            <p>电子签名</p>
40
+          </div>
41
+          <van-icon class="arrow" name="arrow" />
42
+        </div>
43
+      </router-link>
35 44
     </div>
36 45
     <div class="myBox">
37 46
       <router-link to="/organizationInfo">
@@ -111,10 +120,10 @@
111 120
       </router-link>
112 121
     </div>
113 122
     <div class="myBox">
114
-      <div class="myBoxOne">
123
+      <div class="myBoxOne" @click="LoginOut">
115 124
         <div class="myInfoLeft">
116 125
           <img src="../../assets/images/myIcon8.png" alt />
117
-          <div @click="LoginOut">
126
+          <div>
118 127
             <p>退出登录</p>
119 128
           </div>
120 129
         </div>
@@ -140,9 +149,7 @@ export default {
140 149
       getMyInformation().then(response => {
141 150
         if (response.data.state === 1) {
142 151
           var sinature = response.data.data.electronic_signature;
143
-          console.log("sinature", sinature);
144 152
           var roleInfo = response.data.data.roleInfo;
145
-          console.log("roleInfo", roleInfo);
146 153
           this.admin_user_id = roleInfo.admin_user_id;
147 154
           this.roleInfo = roleInfo;
148 155
         }
@@ -169,7 +176,7 @@ export default {
169 176
   background: #fafafa;
170 177
   .myTop {
171 178
     position: relative;
172
-    height: 16.875rem;
179
+    height: 20rem;
173 180
     img {
174 181
       width: 100%;
175 182
       height: 11.25rem;
@@ -229,6 +236,32 @@ export default {
229 236
       margin-top: 2.25rem;
230 237
       padding: 0 0.875rem;
231 238
       background: #fff;
239
+      border-bottom: 1px solid #e5e5e5;
240
+      .myInfoLeft {
241
+        display: flex;
242
+        align-items: center;
243
+        height: 100%;
244
+        img {
245
+          width: 1.125rem;
246
+          height: 1.125rem;
247
+          margin-right: 0.5rem;
248
+        }
249
+        p {
250
+          margin-top: 0.125rem;
251
+        }
252
+      }
253
+      .arrow {
254
+        color: #9f9f9f;
255
+      }
256
+    }
257
+    .myInfo1 {
258
+      width: 100%;
259
+      height: 3.125rem;
260
+      display: flex;
261
+      align-items: center;
262
+      justify-content: space-between;
263
+      padding: 0 0.875rem;
264
+      background: #fff;
232 265
       .myInfoLeft {
233 266
         display: flex;
234 267
         align-items: center;

+ 33 - 3
src/pages/personal/ElectronicSignature.vue Просмотреть файл

@@ -1,13 +1,17 @@
1 1
 <template>
2 2
   <div class="mainBox">
3 3
     <div class="mainContent">
4
-      <h1 class="title">
4
+      <!-- <h1 class="title">
5 5
         <div class="GoBack" @click="$router.go(-1)">
6 6
           <span class="iconfont">&#xe720;</span>返回
7 7
         </div>
8 8
         <span class="name">电子签名</span>
9 9
         <div class="GoBack"></div>
10
-      </h1>
10
+      </h1> -->
11
+      <div class="electronicTitle">
12
+        <i class="iconfont icon-zuojiantou jiantou" @click="$router.go(-1)"></i>
13
+        <span class="titleName">电子签名</span>
14
+      </div>
11 15
       <div class="information newStyle">
12 16
         <div class="blueBorder"></div>
13 17
         <div
@@ -45,7 +49,7 @@
45 49
         </div>
46 50
       </div>
47 51
     </div>
48
-    <side-bar :active_index="3"></side-bar>
52
+    <!-- <side-bar :active_index="3"></side-bar> -->
49 53
     <el-dialog
50 54
       title="提示"
51 55
       :visible.sync="centerDialogVisible"
@@ -78,6 +82,7 @@ import {
78 82
 } from "@/api/admin_user";
79 83
 import VueCropper from "vue-cropperjs";
80 84
 import { Toast } from "vant";
85
+import { setRem } from "@/libs/functionRem";
81 86
 
82 87
 export default {
83 88
   name: "ElectronicSignature",
@@ -138,6 +143,7 @@ export default {
138 143
     };
139 144
   },
140 145
   created() {
146
+    setRem();
141 147
     this.getToken();
142 148
     this.GetElectronicSignature();
143 149
     // document.body.addEventListener(
@@ -395,6 +401,30 @@ export default {
395 401
   text-align: center;
396 402
 }
397 403
 .mainContent {
404
+  .electronicTitle {
405
+    background: #fff;
406
+    padding: 0 1.125rem;
407
+    height: 3.125rem;
408
+    display: flex;
409
+    align-items: center;
410
+  }
411
+  .jiantou {
412
+    font-size: 1.5rem;
413
+    font-weight: 600;
414
+    margin-right: 7rem;
415
+  }
416
+  .titleName {
417
+    font-size: 1.125rem;
418
+    font-weight: 600;
419
+  }
420
+  .allTitle {
421
+    margin: 1rem 0;
422
+    .van-cell__title {
423
+      font-weight: bold;
424
+      font-size: 1rem;
425
+      color: #313234;
426
+    }
427
+  }
398 428
   .title {
399 429
     font-size: 0.45rem;
400 430
     padding: 0.3rem 0.37rem;