Browse Source

modify productPage->middle

Timmy 1 year ago
parent
commit
97a56eabdd
1 changed files with 7 additions and 2 deletions
  1. 7 2
      hichina-main-front-mobile-first/src/pages/ProductDetailPage.vue

+ 7 - 2
hichina-main-front-mobile-first/src/pages/ProductDetailPage.vue

@@ -69,7 +69,7 @@
             class="col-11 col-sm-10 flex text-h6 q-pl-sm"
             style="align-items: center"
           >
-            {{ days - 1 }} nights {{ days }} days
+            {{ days - 1 }} {{ $t("nights") }} {{ days }} {{ $t("days") }}
           </div>
           <div
             v-if="productTypeId === FLIGHTPRODUCTTYPE"
@@ -248,7 +248,12 @@
     >
       <div
         class="col-12"
-        style="background-color: white"
+        style="
+          background-color: white;
+          display: flex;
+          justify-content: center;
+          align-items: center;
+        "
         v-html="productDescription"
       ></div>
     </div>