Ver código fonte

处理H5的bug

master
leiyun 2 meses atrás
pai
commit
a68ca326a1
2 arquivos alterados com 5 adições e 5 exclusões
  1. +3
    -3
      App.vue
  2. +2
    -2
      components/h5-signature/h5-signature.vue

+ 3
- 3
App.vue Ver arquivo

@@ -37,10 +37,10 @@
padding: 0; padding: 0;
} }
.page { .page {
min-height: calc(100vh - 50px) !important;
min-height: 100vh !important;
} }
uni-page-head .uni-page-head {
box-shadow: 0 1px 6px rgba(0, 0, 0, 0.08);
uni-page-head {
display: none !important;
} }
/* #endif */ /* #endif */
</style> </style>

+ 2
- 2
components/h5-signature/h5-signature.vue Ver arquivo

@@ -1,6 +1,6 @@
<template> <template>
<view v-if="show" class="sign-page" @touchmove.stop.prevent>
<view class="canvas-wrap">
<view v-if="show" class="sign-page">
<view class="canvas-wrap" @touchmove.stop.prevent>
<view class="hint-text"> <view class="hint-text">
<text>请在此处手写签名</text> <text>请在此处手写签名</text>
<text class="hint-sub">请横屏书写</text> <text class="hint-sub">请横屏书写</text>


Carregando…
Cancelar
Salvar