File tree 10 files changed +20
-20
lines changed
10 files changed +20
-20
lines changed Original file line number Diff line number Diff line change 52
52
this .playing = this .$backgroundAudioData .playing ;
53
53
this .playTime = this .$backgroundAudioData .playTime ;
54
54
this .formatedPlayTime = this .$backgroundAudioData .formatedPlayTime ;
55
-
55
+
56
56
let bgAudioMannager = uni .getBackgroundAudioManager ();
57
57
if (! bgAudioMannager .title ){
58
58
bgAudioMannager .title = ' 致爱丽丝' ;
99
99
}
100
100
},
101
101
seek : function (e ) {
102
- this .bgAudioMannager .seek (e .target .value );
102
+ this .bgAudioMannager .seek (e .detail .value );
103
103
},
104
104
pause : function () {
105
105
this .bgAudioMannager .pause ();
Original file line number Diff line number Diff line change 25
25
},
26
26
methods: {
27
27
dataChange : function (e ) {
28
- this .data = e .target .value
28
+ this .data = e .detail .value
29
29
},
30
30
getClipboard : function () {
31
31
uni .getClipboardData ({
Original file line number Diff line number Diff line change 100
100
},
101
101
methods: {
102
102
sourceTypeChange : function (e ) {
103
- this .sourceTypeIndex = parseInt (e .target .value )
103
+ this .sourceTypeIndex = parseInt (e .detail .value )
104
104
},
105
105
sizeTypeChange : function (e ) {
106
- this .sizeTypeIndex = parseInt (e .target .value )
106
+ this .sizeTypeIndex = parseInt (e .detail .value )
107
107
},
108
108
countChange : function (e ) {
109
- this .countIndex = e .target .value ;
109
+ this .countIndex = e .detail .value ;
110
110
},
111
111
chooseImage : async function () {
112
112
// #ifdef APP-PLUS
Original file line number Diff line number Diff line change 20
20
},
21
21
methods: {
22
22
bindInput : function (e ) {
23
- this .inputValue = e .target .value
23
+ this .inputValue = e .detail .value
24
24
if (this .inputValue .length > 0 ) {
25
25
this .disabled = false
26
26
} else {
Original file line number Diff line number Diff line change 56
56
methods: {
57
57
openLocation : function (e ) {
58
58
console .log (e)
59
- var value = e .target .value
59
+ var value = e .detail .value
60
60
uni .openLocation ({
61
61
longitude: Number (value .longitude ),
62
62
latitude: Number (value .latitude ),
Original file line number Diff line number Diff line change @@ -31,9 +31,9 @@ export default {
31
31
},
32
32
onLoad () {},
33
33
methods: {
34
- videoErrorCallback : function (e ) {
34
+ videoErrorCallback : function () {
35
35
uni .showModal ({
36
- content: e . target . errMsg ,
36
+ content: ' 视频加载失败 ' ,
37
37
showCancel: false
38
38
});
39
39
},
Original file line number Diff line number Diff line change 41
41
},
42
42
methods: {
43
43
keyChange : function (e ) {
44
- this .key = e .target .value
44
+ this .key = e .detail .value
45
45
},
46
46
dataChange : function (e ) {
47
- this .data = e .target .value
47
+ this .data = e .detail .value
48
48
},
49
49
getStorage : function () {
50
50
var key = this .key ,
Original file line number Diff line number Diff line change 75
75
const subNVue = uni .getSubNVueById (' popup' )
76
76
subNVue .show (' slide-in-top' , 250 )
77
77
},
78
- videoErrorCallback : function (e ) {
78
+ videoErrorCallback : function () {
79
79
uni .showModal ({
80
- content: e . target . errMsg ,
80
+ content: ' 视频加载失败 ' ,
81
81
showCancel: false
82
82
})
83
83
},
Original file line number Diff line number Diff line change 68
68
methods: {
69
69
radioChange (evt ) {
70
70
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 ) {
72
72
this .cameraIndex = i;
73
73
break ;
74
74
}
75
75
}
76
76
},
77
77
sourceTypeChange : function (e ) {
78
- this .sourceTypeIndex = parseInt (e .target .value )
78
+ this .sourceTypeIndex = parseInt (e .detail .value )
79
79
},
80
80
chooseVideo : function () {
81
81
uni .chooseVideo ({
Original file line number Diff line number Diff line change 126
126
},
127
127
methods: {
128
128
onKeyInput: function(event) {
129
- this.inputValue = event.target .value
129
+ this.inputValue = event.detail .value
130
130
},
131
131
replaceInput: function(event) {
132
- var value = event.target .value;
132
+ var value = event.detail .value;
133
133
if (value === '11') {
134
134
this.changeValue = '2';
135
135
}
136
136
},
137
137
hideKeyboard: function(event) {
138
- if (event.target .value === '123') {
138
+ if (event.detail .value === '123') {
139
139
uni.hideKeyboard();
140
140
}
141
141
},
142
142
clearInput: function(event) {
143
- this.inputClearValue = event.target .value;
143
+ this.inputClearValue = event.detail .value;
144
144
if (event.detail.value.length > 0) {
145
145
this.showClearIcon = true;
146
146
} else {
You can’t perform that action at this time.
0 commit comments