File tree Expand file tree Collapse file tree 10 files changed +20
-20
lines changed
Expand file tree Collapse file tree 10 files changed +20
-20
lines changed Original file line number Diff line number Diff line change 5252 this .playing = this .$backgroundAudioData .playing ;
5353 this .playTime = this .$backgroundAudioData .playTime ;
5454 this .formatedPlayTime = this .$backgroundAudioData .formatedPlayTime ;
55-
55+
5656 let bgAudioMannager = uni .getBackgroundAudioManager ();
5757 if (! bgAudioMannager .title ){
5858 bgAudioMannager .title = ' 致爱丽丝' ;
9999 }
100100 },
101101 seek : function (e ) {
102- this .bgAudioMannager .seek (e .target .value );
102+ this .bgAudioMannager .seek (e .detail .value );
103103 },
104104 pause : function () {
105105 this .bgAudioMannager .pause ();
Original file line number Diff line number Diff line change 2525 },
2626 methods: {
2727 dataChange : function (e ) {
28- this .data = e .target .value
28+ this .data = e .detail .value
2929 },
3030 getClipboard : function () {
3131 uni .getClipboardData ({
Original file line number Diff line number Diff line change 100100 },
101101 methods: {
102102 sourceTypeChange : function (e ) {
103- this .sourceTypeIndex = parseInt (e .target .value )
103+ this .sourceTypeIndex = parseInt (e .detail .value )
104104 },
105105 sizeTypeChange : function (e ) {
106- this .sizeTypeIndex = parseInt (e .target .value )
106+ this .sizeTypeIndex = parseInt (e .detail .value )
107107 },
108108 countChange : function (e ) {
109- this .countIndex = e .target .value ;
109+ this .countIndex = e .detail .value ;
110110 },
111111 chooseImage : async function () {
112112 // #ifdef APP-PLUS
Original file line number Diff line number Diff line change 2020 },
2121 methods: {
2222 bindInput : function (e ) {
23- this .inputValue = e .target .value
23+ this .inputValue = e .detail .value
2424 if (this .inputValue .length > 0 ) {
2525 this .disabled = false
2626 } else {
Original file line number Diff line number Diff line change 5656 methods: {
5757 openLocation : function (e ) {
5858 console .log (e)
59- var value = e .target .value
59+ var value = e .detail .value
6060 uni .openLocation ({
6161 longitude: Number (value .longitude ),
6262 latitude: Number (value .latitude ),
Original file line number Diff line number Diff line change @@ -31,9 +31,9 @@ export default {
3131 },
3232 onLoad () {},
3333 methods: {
34- videoErrorCallback : function (e ) {
34+ videoErrorCallback : function () {
3535 uni .showModal ({
36- content: e . target . errMsg ,
36+ content: ' 视频加载失败 ' ,
3737 showCancel: false
3838 });
3939 },
Original file line number Diff line number Diff line change 4141 },
4242 methods: {
4343 keyChange : function (e ) {
44- this .key = e .target .value
44+ this .key = e .detail .value
4545 },
4646 dataChange : function (e ) {
47- this .data = e .target .value
47+ this .data = e .detail .value
4848 },
4949 getStorage : function () {
5050 var key = this .key ,
Original file line number Diff line number Diff line change 7575 const subNVue = uni .getSubNVueById (' popup' )
7676 subNVue .show (' slide-in-top' , 250 )
7777 },
78- videoErrorCallback : function (e ) {
78+ videoErrorCallback : function () {
7979 uni .showModal ({
80- content: e . target . errMsg ,
80+ content: ' 视频加载失败 ' ,
8181 showCancel: false
8282 })
8383 },
Original file line number Diff line number Diff line change 6868 methods: {
6969 radioChange (evt ) {
7070 for (let i = 0 ; i < this .cameraList .length ; i++ ) {
71- if (this .cameraList [i].value === evt .target .value ) {
71+ if (this .cameraList [i].value === evt .detail .value ) {
7272 this .cameraIndex = i;
7373 break ;
7474 }
7575 }
7676 },
7777 sourceTypeChange : function (e ) {
78- this .sourceTypeIndex = parseInt (e .target .value )
78+ this .sourceTypeIndex = parseInt (e .detail .value )
7979 },
8080 chooseVideo : function () {
8181 uni .chooseVideo ({
Original file line number Diff line number Diff line change 126126 },
127127 methods: {
128128 onKeyInput: function(event) {
129- this.inputValue = event.target .value
129+ this.inputValue = event.detail .value
130130 },
131131 replaceInput: function(event) {
132- var value = event.target .value;
132+ var value = event.detail .value;
133133 if (value === '11') {
134134 this.changeValue = '2';
135135 }
136136 },
137137 hideKeyboard: function(event) {
138- if (event.target .value === '123') {
138+ if (event.detail .value === '123') {
139139 uni.hideKeyboard();
140140 }
141141 },
142142 clearInput: function(event) {
143- this.inputClearValue = event.target .value;
143+ this.inputClearValue = event.detail .value;
144144 if (event.detail.value.length > 0) {
145145 this.showClearIcon = true;
146146 } else {
You can’t perform that action at this time.
0 commit comments