This commit is contained in:
lvyuankang 2024-12-30 15:32:14 +08:00
parent fbfb6e9f4f
commit c4071d0817
4 changed files with 11 additions and 12 deletions

View File

@ -133,11 +133,8 @@ export default struct Index {
}) })
} else { } else {
Image(item).width('18%').height('24%').onClick(() => { imageBtn({btnWidth:'18%',btnHeight:'24%',imgSrc:item})
this.vocObj.playAudio({ .onClick(() => {
type: 1,
name: 'media_button.wav'
})
this.url = '' this.url = ''
if (index < 9) { if (index < 9) {
this.inputTextArr[this.currentInputIndex] += (index + 1).toString() this.inputTextArr[this.currentInputIndex] += (index + 1).toString()

View File

@ -1045,7 +1045,7 @@ struct UserInfo {
this.prevClick() this.prevClick()
}) })
Image($r('app.media.dk_next')).width(90 * this.ratio).height(70 * this.ratio).onClick(() => { Image($r('app.media.dk_next')).width(90 * this.ratio).height(70 * this.ratio).onClick(() => {
this.avPlayer.playAudio(['button_media.wav']) // this.avPlayer.playAudio(['button_media.wav'])
this.nextClick() this.nextClick()
}) })
}.margin({ top: 40 * this.ratio, bottom: 10 * this.ratio }) }.margin({ top: 40 * this.ratio, bottom: 10 * this.ratio })
@ -1159,7 +1159,7 @@ struct UserInfo {
} }
.commStyle() .commStyle()
.onClick(() => { .onClick(() => {
this.avPlayer.playAudio(['button_media.wav']) // this.avPlayer.playAudio(['button_media.wav'])
this.ksksLimit = false this.ksksLimit = false
this.qkFlag = false this.qkFlag = false
}) })
@ -1169,7 +1169,7 @@ struct UserInfo {
} }
.commStyle() .commStyle()
.onClick(() => { .onClick(() => {
this.avPlayer.playAudio(['button_media.wav']) // this.avPlayer.playAudio(['button_media.wav'])
this.qkFn() this.qkFn()
}) })
}.position({ y: 265 * this.ratio, x: 115 * this.ratio }) }.position({ y: 265 * this.ratio, x: 115 * this.ratio })

View File

@ -420,6 +420,8 @@ export default struct SignDisplayCom {
const str1=this.signArr[93].substr(2,2) const str1=this.signArr[93].substr(2,2)
const str2=this.signArr[93].substr(4.2) const str2=this.signArr[93].substr(4.2)
this.signArr[93]=str2+str1+str0 this.signArr[93]=str2+str1+str0
this.GPSColum[10].value = this.signArr[93]
// this.signArr[53]=192.168.7.170' // this.signArr[53]=192.168.7.170'
this.sjxhColum = JSON.parse(JSON.stringify((this.sjxhColum))) this.sjxhColum = JSON.parse(JSON.stringify((this.sjxhColum)))
that.signArr = JSON.parse(JSON.stringify((this.signArr))) that.signArr = JSON.parse(JSON.stringify((this.signArr)))

View File

@ -35,10 +35,10 @@ export default struct TopLogo {
} }
imageBtn({btnWidth:'16.7%',btnHeight:'12.2%',imgSrc:$r('app.media.topB_back')}) imageBtn({btnWidth:'16.7%',btnHeight:'12.2%',imgSrc:$r('app.media.topB_back')})
.onClick(() => { .onClick(() => {
this.vocObj.playAudio({ // this.vocObj.playAudio({
type: 1, // type: 1,
name: 'button_media.wav' // name: 'button_media.wav'
}) // })
this.outFlag = true this.outFlag = true
router.back() router.back()
}) })