Browse Source

Merge remote-tracking branch 'origin/2025鹅状元数学' into 2025鹅状元数学

wangxy 1 month ago
parent
commit
31deefb538
2 changed files with 13 additions and 3 deletions
  1. 10 2
      components/dialog/tipSmallDialog.vue
  2. 3 1
      pages/chanpinneirong/chanpin1.vue

+ 10 - 2
components/dialog/tipSmallDialog.vue

@@ -7,8 +7,8 @@
 			<view class="tip-title">{{title}}</view>
 			<view class="tip-title">{{title}}</view>
 			<view class="tip-content">{{content}}</view>
 			<view class="tip-content">{{content}}</view>
 			<view class="tip-btn-box">
 			<view class="tip-btn-box">
-				<ezyActiveVue class="ezy-btn-active not-confirm-btn" @aclick="handleClose">取消</ezyActiveVue>
-				<ezyActiveVue class="ezy-btn-active confirm-btn" @aclick="confirmBtn">确认</ezyActiveVue>
+				<ezyActiveVue class="ezy-btn-active not-confirm-btn" @aclick="handleClose">{{qxBtnName}}</ezyActiveVue>
+				<ezyActiveVue class="ezy-btn-active confirm-btn" @aclick="confirmBtn">{{qrBtnName}}</ezyActiveVue>
 			</view>
 			</view>
 		</view>
 		</view>
 	 </view>
 	 </view>
@@ -28,6 +28,14 @@
 		require: true,
 		require: true,
 	    default: ''
 	    default: ''
 	  },
 	  },
+	  qxBtnName: {
+	    type: String,
+	    default: '取消'
+	  },
+	  qrBtnName: {
+	    type: String,
+	    default: '确认'
+	  },
 	});
 	});
 	const tipSmallPopup = ref(null); // 索引
 	const tipSmallPopup = ref(null); // 索引
 	const $emit = defineEmits(['confirm-btn'])
 	const $emit = defineEmits(['confirm-btn'])

+ 3 - 1
pages/chanpinneirong/chanpin1.vue

@@ -110,7 +110,7 @@
 				chanpinId: '',
 				chanpinId: '',
 				dengjiId: '',
 				dengjiId: '',
 				curProcess: '',
 				curProcess: '',
-				existData: true,
+				existData: false,
 				isShow: false,
 				isShow: false,
 
 
 				stickyHeight: 0, // 吸顶栏高度(px)
 				stickyHeight: 0, // 吸顶栏高度(px)
@@ -188,6 +188,8 @@
 					// this.$nextTick(() => {
 					// this.$nextTick(() => {
 					// 	this.updateTitlePositions();
 					// 	this.updateTitlePositions();
 					// });
 					// });
+				}else{
+					 this.existData = false;
 				}
 				}
 			},
 			},