| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133 |
- // import { BuilderHeader } from "./BuilderHeader"
- // import { SwiperCom } from "./SwiperCom"
- // import { TaskItem } from "./TaskItem"
- //
- // @ComponentV2
- // export struct BindSheetSwiper{
- // @Param swiperController:SwiperController=new SwiperController()
- // @Event cancel:()=>void=()=>{}
- // @Event confirm:()=>void=()=>{}
- // build() {
- // Swiper(this.swiperController){
- // Column(){
- // Row(){
- // BuilderHeader({
- // leftTitle:"取消",
- // centerTitle:"养护打卡",
- // rightTitle:'打卡',
- // leftClick:()=>{
- // this.cancel()
- // // this.isShowMaintenanceBuilder=false
- // },
- // rightClick:()=>{
- // this.confirm()
- // // this.isShowMaintenanceBuilder=true
- // }
- // })
- // }.width('100%')
- // .margin({bottom:16})
- //
- // Column({space:20}) {
- // Column() {
- // TaskItem({
- // title:"打卡事项",
- // TaskText:"xxx",
- // swiperChange:()=>{
- // this.swiperController.changeIndex(1,true)
- // }
- // })
- // TaskItem({
- // title:"打卡植物",
- // TaskText:"xxx",
- // swiperChange:()=>{
- // this.swiperController.changeIndex(2,true)
- // }
- // })
- // }.backgroundColor('#F8F8F8')
- // .padding({left:10,right:10})
- // .borderRadius(12)
- //
- // Column() {
- // Row() {
- // Text('打卡日期')
- // Image($r('app.media.startIcon')).width(18)
- // }.width('100%')
- // .justifyContent(FlexAlign.SpaceBetween)
- // .padding({ top: 16, bottom: 16 })
- // .onClick(()=>{
- // this.swiperController.changeIndex(3,true)
- // })
- //
- // Row() {
- // Text('打卡时间')
- // Image($r('app.media.startIcon')).width(18)
- // }.width('100%')
- // .justifyContent(FlexAlign.SpaceBetween)
- // .padding({ top: 16, bottom: 16 })
- // }.backgroundColor('#F8F8F8')
- // .padding({left:10,right:10})
- // .borderRadius(12)
- // .onClick(()=>{
- // this.swiperController.changeIndex(4,true)
- //
- // })
- // }.width('100%')
- //
- //
- // }.width('100%')
- // .height(530)
- // .padding({top:19,left:16,right:16})
- // .backgroundColor(Color.White)
- // .borderRadius({topLeft:20,topRight:20})
- // //打卡事项swiper
- // SwiperCom({
- // swiperBuilder1:()=>{
- // this.SelectClockTask()
- // },
- // swiperBuilder2:()=>{
- // this.AddClockTask()
- // },
- // swiperBuilder3: () => { this.AddClockTaskAndSelectIcon() },
- // swiperComController:this.vm.swiperComController[0]
- // })
- //
- // SwiperCom({
- // swiperBuilder1:()=>{
- // //选择打卡植物
- // this.SelectClockTaskGreenPlant()
- // },
- // swiperComController:this.vm.swiperComController[1]
- // })
- // SwiperCom({
- // swiperBuilder1:()=>{
- // //选择打卡日期
- // this.SelectDate()
- // },
- // swiperComController:this.vm.swiperComController[2]
- // })
- // SwiperCom({
- // swiperBuilder1:()=>{
- // //选择打卡时间
- // this.SelectTime()
- // },
- // swiperComController:this.vm.swiperComController[3]
- // })
- // TextArea({ placeholder:"您正在进行养护打卡,点击此处进行备注", text:"xxxx" }).width('100%')
- // .height(165)
- // .backgroundColor('#F8F8F8')
- // .borderRadius(12)
- // .placeholderColor('#4D333333')
- // .placeholderFont({size:14})
- // .fontColor('#FF206D43')
- // .fontSize(16)
- //
- // }
- // .width('100%')
- // .height(530)
- // .autoPlay(false)
- // .indicator(false)
- // .disableSwipe(true)
- // .curve(Curve.EaseIn)
- // .duration(100)
- // }
- // }
|