File tree Expand file tree Collapse file tree 2 files changed +9
-7
lines changed Expand file tree Collapse file tree 2 files changed +9
-7
lines changed Original file line number Diff line number Diff line change 1
1
module . exports = {
2
- presets : [
3
- '@vue/cli-plugin-babel/preset'
4
- ]
2
+ presets : [ [ '@vue/app' , { useBuiltIns : 'entry' } ] ]
3
+ // presets: [
4
+ // '@vue/cli-plugin-babel/preset'
5
+ // ]
5
6
}
Original file line number Diff line number Diff line change 7
7
<div class =" bg3" :style =" {backgroundImage:'url('+defaultSettings.bg3+')'}" v-show =" loaded" ></div >
8
8
</div >
9
9
<div class =" text-malfunction" :data-word =" defaultSettings.malfunctionText" >
10
+ {{ defaultSettings.malfunctionText }}
10
11
<div class =" line" ></div >
11
12
</div >
12
13
<div class =" wrapper" >
128
129
129
130
.text-malfunction {
130
131
position : absolute ;
132
+ padding : 0 4px ;
131
133
top : 40% ;
132
134
left : 51.5% ;
133
135
transform : translate (-50% , -50% ) scale (2.5 );
134
- width : 220px ;
135
136
font-size : 34px ;
136
137
font-family : sans-serif ;
137
138
color : transparent ;
138
139
}
139
140
140
141
.line {
141
142
position : absolute ;
142
- width : 200 px ;
143
- left : -1 px ;
143
+ width : calc ( 100 % - 8 px ) ;
144
+ left : -0.5 px ;
144
145
height : 1px ;
145
146
background : black ;
146
147
z-index : 50 ;
151
152
content : attr (data-word );
152
153
position : absolute ;
153
154
top : 0 ;
154
- height : 36px ;
155
+ line- height : 36px ;
155
156
overflow : hidden ;
156
157
filter : contrast (200% );
157
158
}
You can’t perform that action at this time.
0 commit comments