Skip to content
This repository was archived by the owner on Mar 19, 2024. It is now read-only.

Commit 3e57726

Browse files
committed
fix: UI调整,接口交互逻辑测试
1 parent a0bed10 commit 3e57726

File tree

8 files changed

+329
-185
lines changed

8 files changed

+329
-185
lines changed

src/assets/style/common.styl

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,11 @@
11
.vue-ui-button>.content>.button-icon svg
22
fill: #f44336
33
.vue-ui-button:not(.ghost):hover, .vue-ui-dropdown.open .dropdown-trigger .vue-ui-button:not(.ghost)
4-
background: rgba(250,44,25,.1)
4+
background rgba(250,83,66,0.07)!important
55
.vue-ui-dropdown.open .dropdown-trigger .vue-ui-group:not(.has-indicator) .vue-ui-group-button.vue-ui-button.selected:not(.primary):not(.accent):not(.danger):not(.warning):not(.info):not(.success):not(.flat):not(.ghost), .vue-ui-group:not(.has-indicator) .vue-ui-group-button.vue-ui-button.selected:not(.primary):not(.accent):not(.danger):not(.warning):not(.info):not(.success):not(.flat):not(.ghost):hover
6-
background: rgba(250,44,25,.1)
7-
.vue-ui-button:not(.ghost):hover, .vue-ui-dropdown.open .dropdown-trigger .vue-ui-button:not(.ghost)
8-
background: rgba(250,44,25,.1)
6+
background: rgba(250,83,66,0.07)!important
97
.vue-ui-button.flat:not(.ghost):active:not(.ghost):hover, .vue-ui-button.flat:not(.ghost):hover:not(.ghost):hover, .vue-ui-dropdown.open .dropdown-trigger .vue-ui-button.flat:not(.ghost):active:not(.ghost), .vue-ui-dropdown.open .dropdown-trigger .vue-ui-button.flat:not(.ghost):hover:not(.ghost), .vue-ui-dropdown.open .dropdown-trigger .vue-ui-button.flat:not(.ghost):not(.ghost):hover, .vue-ui-dropdown.open .dropdown-trigger .vue-ui-dropdown.open .dropdown-trigger .vue-ui-button.flat:not(.ghost):not(.ghost)
10-
background: rgba(250,44,25,.1)
8+
background: rgba(250,83,66,0.07)!important
119
.vue-ui-group:not(.has-indicator) .vue-ui-group-button.vue-ui-button.selected:not(.primary):not(.accent):not(.danger):not(.warning):not(.info):not(.success):not(.flat),
1210
.vue-ui-group-button.vue-ui-button:not(.selected):not(.flat)
1311
color: #fa2c19
@@ -17,7 +15,7 @@
1715
background: #fff
1816
color: #333
1917
.vue-ui-group:not(.has-indicator) .vue-ui-group-button.vue-ui-button.selected:not(.primary):not(.accent):not(.danger):not(.warning):not(.info):not(.success):not(.flat)
20-
background: rgba(250,44,25,.1)
18+
background: rgba(250,83,66,0.07)!important
2119
.vue-ui-input>.content
2220
background: #fff!important
2321
border: 1px solid #d9d9d9

src/components/App.vue

Lines changed: 19 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -206,7 +206,7 @@ export default {
206206
const title = encodeURIComponent(this.title);
207207
const body = encodeURIComponent(this.generated.markdown);
208208
const label =
209-
this.type === "feature-request" ? "&labels=feature%20request" : "";
209+
this.type === "feature-request" ? "&labels=help%20wanted" : "";
210210
window.open(
211211
`https://github.com/${this.repo.id}/issues/new?title=${title}&body=${body}${label}`
212212
);
@@ -218,6 +218,20 @@ export default {
218218
<style lang="stylus">
219219
@import '@vue/ui/dist/vue-ui.css'
220220
@import '../assets/style/common.styl'
221+
.vue-ui-modal
222+
.default-body, .header
223+
padding 10px 24px!important
224+
.close-button
225+
top 13px!important
226+
width: 20px
227+
height: 20px
228+
.body
229+
h3
230+
font-size 16px
231+
font-weight 700
232+
margin: 15px 0 8px
233+
p
234+
font-size 14px
221235
</style>
222236

223237
<style lang="stylus" scoped>
@@ -254,12 +268,12 @@ export default {
254268
background-color: #F56C6C
255269
border-color: #F56C6C
256270
color: #fff
257-
font-size: 14px;
271+
font-size: 14px
258272
font-weight 600
259273
&:hover
260-
background: #f78989;
261-
border-color: #f78989;
262-
color: #FFF;
274+
background: rgba(245,108,108,0.83)!important
275+
border-color: #f78989
276+
color: #FFF
263277
.app-footer
264278
text-align center
265279
padding 24px 0

0 commit comments

Comments
 (0)