From 07925905f1a596e20e980de6d42db217abb753b0 Mon Sep 17 00:00:00 2001
From: cuiqian2004 <cuiqian2004@163.com>
Date: 星期五, 12 十二月 2025 18:06:11 +0800
Subject: [PATCH] plugin
---
pages/modal/3200.vue | 34 ++++++++++++++++++++++++++--------
1 files changed, 26 insertions(+), 8 deletions(-)
diff --git a/pages/modal/3200.vue b/pages/modal/3200.vue
index d1b38a8..90dcd07 100644
--- a/pages/modal/3200.vue
+++ b/pages/modal/3200.vue
@@ -155,13 +155,16 @@
refreshing: false
};
},
+ onReady() {
+ uni.setNavigationBarTitle({
+ title: this.title
+ }); //璁剧疆椤堕儴鏍囬
+ },
async onLoad(options) {
// console.log(options);
try {
showLoading("loading...")
- uni.setNavigationBarTitle({
- title: options.titlename
- }); //璁剧疆椤堕儴鏍囬
+
this.title = options.titlename;
this.param = JSON.parse(options.param);
@@ -846,13 +849,27 @@
//鍒锋柊
Refresh(value) {
//鍒锋柊褰撳墠椤甸潰
- this.initial();
+ this.handleButtonClick((done) => {
+ this.initial();
+ setTimeout(() => {
+ done(); // 閲嶇疆鐘舵�
+ }, 1000);
+ });
+
// uni.redirectTo({
// url:'../modal/3200?param='+JSON.stringify(this.param)+"&titlename="+this.title,
// });
},
//鐐瑰嚮鏄剧ず娴忚瀵硅薄鏄剧ず椤甸潰
- async onViewPageClick(style) {
+ onViewPageClick(style) {
+ this.handleButtonClick((done) => {
+ this.viewPageClick(style);
+ setTimeout(() => {
+ done(); // 閲嶇疆鐘舵�
+ }, 1000);
+ });
+ },
+ async viewPageClick(style) {
if (this.param.ViewPage) {
if (this.param.ViewPage.View_UIDef) {
this.styledef = style;
@@ -1674,6 +1691,7 @@
//鐐逛腑琛ㄥ崟
onPanelClick(value) { //鐐瑰嚮闈㈡澘楂樹寒鏄剧ず
// console.log(value);
+
this.setData({
activeItem: this.detail1StyleDefList[value]
})
@@ -1780,17 +1798,17 @@
// });
} else {
- showInfo(this
+ showInfo($this
.translateSys(
"quotation_mark_left"
) +
item
.action_type +
- this
+ $this
.translateSys(
"quotation_mark_right"
) +
- this
+ $this
.translate(
"tip_action_unprocessed"
))
--
Gitblit v1.9.1