liyongli 1 mês atrás
pai
commit
b111fc504e
1 arquivos alterados com 4 adições e 2 exclusões
  1. 4 2
      src/view/fenghui/index.vue

+ 4 - 2
src/view/fenghui/index.vue

@@ -1,6 +1,6 @@
 <template>
     <div class="fenghui">
-        <van-image :width="topWidth" :height="topWidth / 3.9" :src="soundbyteJpg" />
+        <van-image style="width: 100%;" :src="soundbyteJpg" />
         <br />
         <div class="introduce">
             <h4 class="text" v-text="lang[langType].forumTopic"> </h4>
@@ -95,7 +95,7 @@ const cardTypeList = ref([
 const isFile = () => {
     return from.photo && from.photo.length;
 };
-const topWidth = ref(window.$originData.orginParames.availWidth);
+
 const from = reactive({
     name: '',
     idCard: '',
@@ -201,6 +201,8 @@ const onSubmit = () => {
 .fenghui {
     overflow-x: hidden;
     width: 100vw;
+    max-width: 750px;
+    margin: 0 auto;
     min-height: 100vh;
     // background: linear-gradient(270deg, #1C4DD6 0%, #1D18BC 100%);
     font-weight: 400;