Ver Fonte

try finish alipay

fengchang há 1 ano atrás
pai
commit
a99282b913

+ 4 - 7
hichina-main-front-mobile-first/src/pages/AlipayPage.vue

@@ -1,10 +1,6 @@
 <template>
   <q-page>
-    <div
-      id="container"
-      style="width: 100%; height: 100vw; background-color: yellow"
-      ref="pay"
-    ></div>
+    <div id="container" style="width: 100%" ref="pay"></div>
   </q-page>
 </template>
 
@@ -50,11 +46,12 @@ export default {
 
       // forceRerender();
       var container = document.getElementById("container");
-      container.innerHTML = htmlContent.value;
+      container.innerHTML += htmlContent.value;
+      // container.innerHTML += "<p>this is a test text</p>";
 
       // document.write(htmlContent.value);
 
-      // forceRerender();
+      forceRerender();
     });
 
     return {

+ 4 - 4
hichina-main-front-mobile-first/src/pages/BookPage.vue

@@ -300,10 +300,10 @@ export default {
     }
 
     function submitOrder(paymethod) {
-      if (paymethod == "paymethod") {
-        alert("Feature not available yet, will be online soon!");
-        return;
-      }
+      // if (paymethod == "alipay") {
+      //   alert("Feature not available yet, will be online soon!");
+      //   return;
+      // }
       var finalParams = {};
       if (LOCALSPECIALTYPRODUCTTYPE != productTypeId.value) {
         finalParams.passengerInfo = peopleform.value;