Browse Source

修改样式

See999 5 years ago
parent
commit
f8c4fa0908
2 changed files with 8 additions and 2 deletions
  1. 7 1
      src/pages/personal/ElectronicSignature.vue
  2. 1 1
      src/styles/style.scss

+ 7 - 1
src/pages/personal/ElectronicSignature.vue View File

11
       </h1>
11
       </h1>
12
       <div class="information">
12
       <div class="information">
13
         <div class="blueBorder"></div>
13
         <div class="blueBorder"></div>
14
-        <div class="name" v-show="showpan == 'canvas'">
14
+        <div
15
+          class="name"
16
+          v-show="showpan == 'canvas'"
17
+          style="display:fixed;width:100%;left:0;top:0;"
18
+        >
15
           <canvas
19
           <canvas
16
             id="canvas"
20
             id="canvas"
17
             class="fl"
21
             class="fl"
18
             width="600"
22
             width="600"
19
             height="400"
23
             height="400"
24
+            disable-scroll="true"
20
             @mousedown="canvasDown($event)"
25
             @mousedown="canvasDown($event)"
21
             @mouseup="canvasUp($event)"
26
             @mouseup="canvasUp($event)"
22
             @mousemove="canvasMove($event)"
27
             @mousemove="canvasMove($event)"
418
       height: 400px;
423
       height: 400px;
419
       margin: 0 auto;
424
       margin: 0 auto;
420
       border-radius: 4px;
425
       border-radius: 4px;
426
+
421
       @media only screen and (max-width: 812px) {
427
       @media only screen and (max-width: 812px) {
422
         width: 500px !important;
428
         width: 500px !important;
423
         height: 200px !important;
429
         height: 200px !important;

+ 1 - 1
src/styles/style.scss View File

438
       background: -webkit-linear-gradient(#dfe4ea, #ebf1f7);
438
       background: -webkit-linear-gradient(#dfe4ea, #ebf1f7);
439
     }
439
     }
440
     .DialogContent {
440
     .DialogContent {
441
-      height: 6.8rem;
441
+      height: 8.8rem;
442
       overflow-y: scroll;
442
       overflow-y: scroll;
443
       background: #fff;
443
       background: #fff;
444
       @media only screen and (max-width: 812px) {
444
       @media only screen and (max-width: 812px) {