From bfd108cc9ecdae0ee9b118d2307715a357cbcee2 Mon Sep 17 00:00:00 2001
From: kongdeqiang <123456>
Date: 星期五, 15 九月 2023 17:28:06 +0800
Subject: [PATCH] 修改前端页面
---
src/components/page/IndexTest.vue | 22 +++++++++++-----------
1 files changed, 11 insertions(+), 11 deletions(-)
diff --git a/src/components/page/IndexTest.vue b/src/components/page/IndexTest.vue
index e9166b5..638b40d 100644
--- a/src/components/page/IndexTest.vue
+++ b/src/components/page/IndexTest.vue
@@ -59,14 +59,14 @@
<div class="dialog-main-box">
<div class="dialog-main-line">
<h1>鍚堣璐圭敤</h1>
- <h1>17.00鍏�</h1>
+ <h1>{{this.statisticData.price}}鍏�</h1>
</div>
<div class="dialog-main-line">
<h1>鍋滆溅鏃堕暱</h1>
- <h1>3灏忔椂2鍒嗛挓</h1>
+ <h1>{{this.statisticData.timeStr}}</h1>
</div>
<div class="dialog-main-line-middle">
- <h1>17.00<font>鍏�</font></h1>
+ <h1>{{this.statisticData.price}}<font>鍏�</font></h1>
</div>
<div class="wx-img-box">
<div class="wx-img-l">
@@ -79,7 +79,7 @@
</div>
</div>
<span slot="footer" class="dialog-footer">
- <el-button type="primary">绔� 鍗� 鏀� 浠�</el-button>
+ <el-button type="primary" @click="pay()">绔� 鍗� 鏀� 浠�</el-button>
</span>
</el-dialog>
</div>
@@ -109,7 +109,6 @@
}
},
created(){
-
let ua = window.navigator.userAgent.toLowerCase();
//鍒ゆ柇鏄笉鏄井淇�
if (ua.match(/MicroMessenger/i) == "micromessenger") {
@@ -126,17 +125,18 @@
// return;
// }
-
var url = window.location.href;
var count = url.split('?').length-1;
if(count >1){
this.code = this.getCodeFromUrl(url)
this.code2 = this.getCode2FromUrl(url)
- //window.location.href = "http://hesuancj.cn/#/indexTest?code="+this.code+"&state=STATE&code2="+this.code2
- window.location.href = " http://192.168.0.113:8083/#/indexTest?code="+this.code+"&state=STATE&code2="+this.code2
+ window.location.href = "http://hesuancj.cn/#/indexTest?code="+this.code+"&state=STATE&code2="+this.code2
}
- if(this.code != null || this.code != '') {
+ console.log('this.code====',this.code)
+ if(this.code != null && this.code != '') {
this.dialogVisible = true
+ }else {
+ this.dialogVisible = false
}
var cs = url.split('?')[1];
var cs_arr = cs.split('&');
@@ -304,7 +304,7 @@
this.$byutil.postData(this, this.$systemconfig.basePath + '/ffzf/outpark/getById', {id: this.outParkId}, res => {
if (res.code == 0) {
let outpark = res.data
- if(outPark.status == 1){
+ if(outpark.status == 1){
window.location.href = "http://hesuancj.cn/#/indexOk?code2="+this.code2
}else {
window.location.href = "http://hesuancj.cn/#/indexFail?code2="+this.code2
@@ -348,7 +348,7 @@
margin: 0;
}
.el-dialog__body{
- padding: 2.67vw /* 20/7.5 */;
+ padding: 2.67vw /* 20/7.5 */ 5.33vw /* 40/7.5 */;
}
.el-dialog__header{
width: 100%;
--
Gitblit v1.9.1