Showing
4 changed files
with
20 additions
and
8 deletions
1 | <template> | 1 | <template> |
2 | <div class="header"> | 2 | <div class="header"> |
3 | - <div class="back" @touchend="onBack"></div> | 3 | + <div class="back-wrapper" @touchend="onBack"> |
4 | + <div class="back"></div> | ||
5 | + </div> | ||
4 | </div> | 6 | </div> |
5 | </template> | 7 | </template> |
6 | 8 | ||
@@ -19,12 +21,17 @@ export default { | @@ -19,12 +21,17 @@ export default { | ||
19 | .header { | 21 | .header { |
20 | width: 100%; | 22 | width: 100%; |
21 | height: 45PX; | 23 | height: 45PX; |
22 | - display: flex; | ||
23 | padding-left: 20PX; | 24 | padding-left: 20PX; |
24 | padding-right: 20PX; | 25 | padding-right: 20PX; |
25 | - align-items: center; | ||
26 | background-color: #fff; | 26 | background-color: #fff; |
27 | 27 | ||
28 | + .back-wrapper { | ||
29 | + display: flex; | ||
30 | + align-items: center; | ||
31 | + height: 100%; | ||
32 | + width: 60PX; | ||
33 | + } | ||
34 | + | ||
28 | .back { | 35 | .back { |
29 | width: 24PX; | 36 | width: 24PX; |
30 | height: 24PX; | 37 | height: 24PX; |
@@ -94,6 +94,10 @@ export default { | @@ -94,6 +94,10 @@ export default { | ||
94 | /deep/ .cube-upload-btn-def { | 94 | /deep/ .cube-upload-btn-def { |
95 | background-color: #eee; | 95 | background-color: #eee; |
96 | } | 96 | } |
97 | + | ||
98 | + /deep/ .cube-upload-file-status { | ||
99 | + font-size: 30px !important; | ||
100 | + } | ||
97 | } | 101 | } |
98 | 102 | ||
99 | </style> | 103 | </style> |
@@ -138,7 +138,8 @@ export default { | @@ -138,7 +138,8 @@ export default { | ||
138 | }).show(); | 138 | }).show(); |
139 | 139 | ||
140 | const result = await this.saveLicense(this.model); | 140 | const result = await this.saveLicense(this.model); |
141 | - await this.sleep(2000); | 141 | + |
142 | + await this.sleep(1000); | ||
142 | 143 | ||
143 | this.toast && this.toast.hide(); | 144 | this.toast && this.toast.hide(); |
144 | 145 | ||
@@ -171,11 +172,11 @@ export default { | @@ -171,11 +172,11 @@ export default { | ||
171 | return [ | 172 | return [ |
172 | 'footer', | 173 | 'footer', |
173 | { | 174 | { |
174 | - active: this.validate2 | 175 | + active: this.inNotEmpty |
175 | } | 176 | } |
176 | ]; | 177 | ]; |
177 | }, | 178 | }, |
178 | - validate2() { | 179 | + inNotEmpty() { |
179 | return this.model.businessName && | 180 | return this.model.businessName && |
180 | this.model.socialCreditCode && | 181 | this.model.socialCreditCode && |
181 | this.model.certName && | 182 | this.model.certName && |
@@ -187,7 +188,7 @@ export default { | @@ -187,7 +188,7 @@ export default { | ||
187 | (this.model.time.noLimit ? this.model.time.start_time : this.model.time.start_time && this.model.time.expire_time); | 188 | (this.model.time.noLimit ? this.model.time.start_time : this.model.time.start_time && this.model.time.expire_time); |
188 | } | 189 | } |
189 | }, | 190 | }, |
190 | - async mounted() { | 191 | + mounted() { |
191 | this.fetchToken(); | 192 | this.fetchToken(); |
192 | }, | 193 | }, |
193 | components: { | 194 | components: { |
@@ -46,7 +46,7 @@ exports.createApp = async(app) => { | @@ -46,7 +46,7 @@ exports.createApp = async(app) => { | ||
46 | } | 46 | } |
47 | 47 | ||
48 | app.use((req, res, next) => { | 48 | app.use((req, res, next) => { |
49 | - req.isApmReport = _.get(req.app.locals, 'wap.open.bughd', false); | 49 | + req.isApmReport = app.locals.proEnv; |
50 | next(); | 50 | next(); |
51 | }); | 51 | }); |
52 | 52 |
-
Please register or login to post a comment