zhb hace 1 semana
padre
commit
a6cbf441c6
Se han modificado 2 ficheros con 6 adiciones y 4 borrados
  1. 1 1
      components/cwg-link.vue
  2. 5 3
      pages/common/download.vue

+ 1 - 1
components/cwg-link.vue

@@ -103,7 +103,7 @@ const startDownload = () => {
 }
 </script>
 
-<style scoped>
+<style scoped lang="scss">
 .pdf-link {
   //width: 100%;
   display: inline-block;

+ 5 - 3
pages/common/download.vue

@@ -1,6 +1,6 @@
 <template>
     <cwg-page-wrapper class="create-page" :isHeaderFixed="true">
-        <view class="container">
+        <view class="container download-container">
             <view
                 class="app-page-head card-header d-flex gap-3 flex-wrap align-items-center justify-content-between border-0">
                 <view class="app-page-head mb-0">
@@ -1261,7 +1261,9 @@ onMounted(async () => {
     height: px2rpx(200) !important;
 }
 
-:deep(.pdf-link) {
-    width: 100%;
+.download-container {
+    :deep(.pdf-link) {
+        width: 100%;
+    }
 }
 </style>