xiongzhu 3 жил өмнө
parent
commit
b31f8157e1

+ 28 - 0
.dockerignore

@@ -0,0 +1,28 @@
+# Logs
+logs
+*.log
+npm-debug.log*
+yarn-debug.log*
+yarn-error.log*
+pnpm-debug.log*
+lerna-debug.log*
+
+node_modules
+.DS_Store
+dist
+dist-ssr
+coverage
+*.local
+
+/cypress/videos/
+/cypress/screenshots/
+
+# Editor directories and files
+.vscode/*
+!.vscode/extensions.json
+.idea
+*.suo
+*.ntvs*
+*.njsproj
+*.sln
+*.sw?

+ 8 - 0
Dockerfile

@@ -0,0 +1,8 @@
+# syntax=docker/dockerfile:1
+FROM node:14
+
+WORKDIR /app
+COPY . .
+RUN npm install
+RUN npm run build
+VOLUME dist /app/dist

+ 0 - 12
index.html

@@ -18,18 +18,6 @@
         <meta name="apple-mobile-web-app-title" content="Ionic App" />
         <meta name="apple-mobile-web-app-status-bar-style" content="black" />
         <title>拍卖的那个</title>
-        <style>
-            @font-face {
-                font-family: 'icomoon';
-                src: url('fonts/icomoon.eot?vluorg');
-                src: url('fonts/icomoon.eot?vluorg#iefix') format('embedded-opentype'),
-                    url('fonts/icomoon.ttf?vluorg') format('truetype'), url('fonts/icomoon.woff?vluorg') format('woff'),
-                    url('fonts/icomoon.svg?vluorg#icomoon') format('svg');
-                font-weight: normal;
-                font-style: normal;
-                font-display: block;
-            }
-        </style>
     </head>
     <body>
         <div id="app"></div>

BIN
public/fonts/icomoon.eot


+ 0 - 17
public/fonts/icomoon.svg

@@ -1,17 +0,0 @@
-<?xml version="1.0" standalone="no"?>
-<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd" >
-<svg xmlns="http://www.w3.org/2000/svg">
-<metadata>Generated by IcoMoon</metadata>
-<defs>
-<font id="icomoon" horiz-adv-x="1024">
-<font-face units-per-em="1024" ascent="960" descent="-64" />
-<missing-glyph horiz-adv-x="1024" />
-<glyph unicode="&#x20;" horiz-adv-x="512" d="" />
-<glyph unicode="&#xe900;" glyph-name="tabbar_01_pre" d="M530.286 813.714c212.077 0 384-171.923 384-384s-171.923-384-384-384c-212.077 0-384 171.923-384 384v384h384zM431.543 330.971v-58.514h219.429v58.514h-219.429z" />
-<glyph unicode="&#xe901;" d="M117.029 564.984l393.981 284.796 395.962-284.761v-263.305c0-137.345-111.34-248.686-248.686-248.686h-541.257v511.955zM175.543 535.077v-423.497l490.782 0.13c101.3 4.213 182.133 87.669 182.133 190.005v233.326l-337.335 242.615-335.579-242.578z" />
-<glyph unicode="&#xe902;" d="M329.143 448h58.514v-219.429h-58.514v219.429z" />
-<glyph unicode="&#xe903;" d="M621.714 448h58.514v-219.429h-58.514v219.429z" />
-<glyph unicode="&#xe904;" glyph-name="tabbar_02_pre" d="M511.053 813.711l366.661-263.689v-248.308c0-121.187-98.242-219.429-219.429-219.429h-512v467.747l364.767 263.679zM387.657 448h-58.514v-219.429h58.514v219.429zM680.229 448h-58.514v-219.429h58.514v219.429z" />
-<glyph unicode="&#xe905;" d="M530.286 842.971h-413.257v-413.257c0-228.236 185.022-413.257 413.257-413.257s413.257 185.022 413.257 413.257c0 228.236-185.022 413.257-413.257 413.257zM175.543 429.714v354.743h354.743c195.919 0 354.743-158.824 354.743-354.743s-158.824-354.743-354.743-354.743c-195.919 0-354.743 158.824-354.743 354.743z" />
-<glyph unicode="&#xe906;" d="M650.971 330.971v-58.514h-219.429v58.514h219.429z" />
-</font></defs></svg>

BIN
public/fonts/icomoon.ttf


BIN
public/fonts/icomoon.woff


+ 0 - 45
src/styles/fonts.less

@@ -1,45 +0,0 @@
-[class^='icon-'],
-[class*=' icon-'] {
-    /* use !important to prevent issues with browser extensions that change fonts */
-    font-family: 'icomoon' !important;
-    speak: never;
-    font-style: normal;
-    font-weight: normal;
-    font-variant: normal;
-    text-transform: none;
-    line-height: 1;
-
-    /* Better Font Rendering =========== */
-    -webkit-font-smoothing: antialiased;
-    -moz-osx-font-smoothing: grayscale;
-}
-
-.icon-tabbar_01_pre:before {
-    content: '\e900';
-}
-.icon-tabbar_01 .path1:before {
-    content: '\e901';
-    color: rgb(171, 171, 171);
-}
-.icon-tabbar_01 .path2:before {
-    content: '\e902';
-    margin-left: -1em;
-    color: rgb(171, 171, 171);
-}
-.icon-tabbar_01 .path3:before {
-    content: '\e903';
-    margin-left: -1em;
-    color: rgb(171, 171, 171);
-}
-.icon-tabbar_02_pre:before {
-    content: '\e904';
-}
-.icon-tabbar_02 .path1:before {
-    content: '\e905';
-    color: rgb(171, 171, 171);
-}
-.icon-tabbar_02 .path2:before {
-    content: '\e906';
-    margin-left: -1em;
-    color: rgb(171, 171, 171);
-}

+ 8 - 2
src/views/ProductSearchPage.vue

@@ -3,7 +3,7 @@
         <ion-header>
             <ion-toolbar class="head">
                 <ion-buttons slot="start">
-                    <ion-back-button text="" default-href="#" text="" @click="$router.back()"></ion-back-button>
+                    <ion-back-button text="" default-href="#" @click="$router.back()"></ion-back-button>
                 </ion-buttons>
                 <ion-title>{{ batchInfo.name }}</ion-title>
             </ion-toolbar>
@@ -21,7 +21,13 @@
                     </template>
                 </van-search>
             </div>
-            <van-list class="list" v-model:loading="loading" :finished="finished" :finished-text="$t('common.loadFinish')" @load="getData">
+            <van-list
+                class="list"
+                v-model:loading="loading"
+                :finished="finished"
+                :finished-text="$t('common.loadFinish')"
+                @load="getData"
+            >
                 <div class="product" v-for="(item, index) in list" :key="index">
                     <product-info list v-model:info="list[index]"></product-info>
                 </div>