|
@@ -54,7 +54,7 @@ struct factoryCardDialog {
|
|
|
* */
|
|
|
@Component
|
|
|
export struct BottomOperateComp {
|
|
|
- @Link SmartFactoryCardDelete:number
|
|
|
+ // @Link SmartFactoryCardDelete:number
|
|
|
private isHomePage?: boolean = false
|
|
|
@State isClick:boolean = false
|
|
|
//弹窗
|
|
@@ -66,16 +66,16 @@ export struct BottomOperateComp {
|
|
|
this.isClick =! this.isClick
|
|
|
}
|
|
|
})
|
|
|
- SmartFactoryCardDialogController: CustomDialogController = new CustomDialogController({
|
|
|
- builder:factoryCardDialog({
|
|
|
- SmartFactoryCardDelete:this.SmartFactoryCardDelete
|
|
|
- }
|
|
|
- ),
|
|
|
- alignment: DialogAlignment.Bottom,
|
|
|
- autoCancel:true,
|
|
|
- customStyle:true,
|
|
|
- offset: { dx: 20, dy: 50 }
|
|
|
- })
|
|
|
+ // SmartFactoryCardDialogController: CustomDialogController = new CustomDialogController({
|
|
|
+ // builder:factoryCardDialog({
|
|
|
+ // SmartFactoryCardDelete:this.SmartFactoryCardDelete
|
|
|
+ // }
|
|
|
+ // ),
|
|
|
+ // alignment: DialogAlignment.Bottom,
|
|
|
+ // autoCancel:true,
|
|
|
+ // customStyle:true,
|
|
|
+ // offset: { dx: 20, dy: 50 }
|
|
|
+ // })
|
|
|
|
|
|
build() {
|
|
|
Stack() {
|
|
@@ -127,7 +127,7 @@ export struct BottomOperateComp {
|
|
|
.gesture(
|
|
|
LongPressGesture({ repeat: false })
|
|
|
.onActionEnd(() => {
|
|
|
- this.SmartFactoryCardDialogController.open()
|
|
|
+ // this.SmartFactoryCardDialogController.open()
|
|
|
})
|
|
|
)
|
|
|
|