Преглед изворни кода

Merge branch '2025北京诚祥App' of https://gogs.mtavip.com/wangguoyu/uniProject into 2025北京诚祥App

tanxue пре 1 дан
родитељ
комит
bc2e1b5a7b
3 измењених фајлова са 13 додато и 2 уклоњено
  1. 3 1
      pages/admin/Hetong/Hetong.vue
  2. 6 0
      pages/admin/Hetong/addSanfangHetong.vue
  3. 4 1
      pages/admin/my/imageDialog.vue

+ 3 - 1
pages/admin/Hetong/Hetong.vue

@@ -127,7 +127,9 @@
           duration: 2000,
           duration: 2000,
           mask: true,
           mask: true,
           success() {
           success() {
-            timer1.value = setTimeout(() => uni.navigateBack(),2000)
+            timer1.value = setTimeout(() => {
+              handleGoLishi()
+            },2000)
           }
           }
         })
         })
       }
       }

+ 6 - 0
pages/admin/Hetong/addSanfangHetong.vue

@@ -202,6 +202,9 @@
 					success() {
 					success() {
 						setTimeout(() => {
 						setTimeout(() => {
 							uni.navigateBack()
 							uni.navigateBack()
+						 /* uni.redirectTo({
+							url: '/pages/admin/Hetong/sanfangHetong'
+						  })*/
 						}, 2000)
 						}, 2000)
 					}
 					}
 				})
 				})
@@ -238,6 +241,9 @@
 					success() {
 					success() {
 						setTimeout(() => {
 						setTimeout(() => {
 							uni.navigateBack()
 							uni.navigateBack()
+              /*uni.redirectTo({
+                url: '/pages/admin/Hetong/sanfangHetong'
+              })*/
 						}, 2000)
 						}, 2000)
 					}
 					}
 				})
 				})

+ 4 - 1
pages/admin/my/imageDialog.vue

@@ -4,7 +4,7 @@
 	 <view class="phone-common-dialog">
 	 <view class="phone-common-dialog">
 		<view class="common-body-box">
 		<view class="common-body-box">
 			<view class="common-title">二维码</view>
 			<view class="common-title">二维码</view>
-			<img src="@/static/images/erweima.png" class="code-img"/>
+			<image :src="url" class="code-img"/>
 			<view class="common-btn-box">
 			<view class="common-btn-box">
 				<view class="confirm-btn" @click="handleClose">关闭</view>
 				<view class="confirm-btn" @click="handleClose">关闭</view>
 			</view>
 			</view>
@@ -17,6 +17,9 @@
 	import * as myApi from "@/api/my.js";
 	import * as myApi from "@/api/my.js";
 	import {ref,reactive} from "vue"
 	import {ref,reactive} from "vue"
 	const passwordPopup = ref(null); // 索引
 	const passwordPopup = ref(null); // 索引
+	import erweima from "@/static/images/erweima.png"
+	
+	const url = ref(erweima)
 
 
 	// 打开弹窗
 	// 打开弹窗
 	function handleShow() {
 	function handleShow() {