瀏覽代碼

添加电子发票文案修改

xinfeng 5 年之前
父節點
當前提交
48c04fdfe1

+ 13 - 0
assets/css/otherpage/money/uploadInvoice.scss

@@ -94,6 +94,19 @@
         height: pxtovw(157);
         background: url('~@/assets/img/other/money/invoice_bg@2x.png') no-repeat;
         background-size: cover;
+        position: relative;
+
+        .desc {
+          position: absolute;
+          top: pxtovw(102);
+          left: 50%;
+          transform: translateX(-50%);
+          font-size: 13px;
+          font-weight: 400;
+          text-align: center;
+          color: #999999;
+          line-height: 18px;
+        }
       }
       .title {
         position: absolute;

二進制
assets/img/other/money/invoice_bg@2x.png


+ 6 - 1
nuxt.config.js

@@ -20,7 +20,12 @@ const modifyHtml = html => {
 module.exports = {
   mode: "universal",
   watchers: {
-    ignored: [".nuxt/**", "node_modules/**"]
+    ignored: [".nuxt/**", "node_modules/**"],
+    webpack: {
+      watchOptions: {
+        ignored: [".nuxt/**", "node_modules/**"]
+      }
+    }
   },
   vue: {
     config: {

+ 3 - 0
pages/otherpage/money/uploadInvoice.vue

@@ -25,6 +25,9 @@
             @click.stop="() => handleDeleteFile('invoiceImg') "></i>
           <img v-if="invoiceImg" :src="invoiceImg" class="avatar"/>
           <div v-else class="noneImage">
+            <div class="desc">
+             添加电子发票
+            </div>
           </div>
         </el-upload>
       </div>