USER-20230908AJ\Administrator 10 miesięcy temu
rodzic
commit
428c79c07b

+ 2 - 2
src/locales/en.json

@@ -70,8 +70,8 @@
 
 	"home2":{
 		  "text1":"Travel Plans",
-		  "text2":"Congratulations!  order settlement in progress",
-		  "text3":"Countdown"
+		  "text2":"Booking successful and settling income",
+		  "text3":"Waiting"
 	},
 	"home3":{
 		  "text1":"Start an Internet-based business team and realize home entrepreneurship and automated income",

+ 8 - 1
src/views/Forestage/Me/mod/my-order.vue

@@ -14,7 +14,7 @@
 				<div class="fs-12 fw-400 w150 text-align-right">{{$t('home6.index2.text6')}}</div>
 			 </div>
 			 <div class="justify-content-space-between box-8 align-items-center" v-for="(item,i) in list" :key="i">
-			 	<div class="fs-12 fw-400 w150">{{item.goods_name}}</div>
+			 	<div class="fs-12 fw-400 w150">{{lang == 'cn'?item.goods_name:item.goods_name_en}}</div>
 			 	<div class="fs-12 fw-400 w150 ">{{item.order_sn}}</div>
 				<div class="fs-12 fw-400 w150 ">{{item.price}}</div>
 				<div class="fs-12 fw-400 w150 ">{{item.yield_money}}</div>
@@ -38,9 +38,16 @@
 				page:1,
 				list:[],
 				total:0,
+        lang:'cn',
 			}
 		},
 		mounted() {
+      this.lang = localStorage.getItem('lang')||'cn'
+
+      setInterval(() => {
+        this.lang = localStorage.getItem('lang')||'cn'
+
+      }, 500); // 每隔1秒检查一次
 			this.getList();
 		},
 		methods:{

+ 3 - 3
src/views/Forestage/Tourism/order-sett.vue

@@ -1,8 +1,8 @@
 <template>
   <div>
-    <Bounced v-if="dialogVisible" :dialogVisible="dialogVisible" :titleName="''" bouncedWidth="40%">
+    <Bounced v-if="dialogVisible" :dialogVisible="dialogVisible" :titleName="''" bouncedWidth="550px">
       <template slot="from">
-        <div class="det-common-view" style="height: 60vh;">
+        <div class="det-common-view" >
 
           <div class="order-ok"><i class="el-icon-success"></i></div>
           <div class="order-text">{{$t('home2.text2')}}</div>
@@ -58,7 +58,7 @@ export default {
 .det-common-view{
   background-color: #fff;
   width: 100%;
-  height: 346px;
+  height: 306px;
   border-radius: 10px;
   display: flex;
   align-items: center;