Skip to content

Commit 0744100

Browse files
committed
默认主题
1 parent 62ac663 commit 0744100

File tree

6 files changed

+17
-16
lines changed

6 files changed

+17
-16
lines changed

src/assets/css/themes.styl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@
5353
.wg-input, .wg-select {
5454
border-radius: 10px;
5555
padding: 0 10px;
56-
border: 1px solid #4936d0;
56+
border: 1px solid #a92200;
5757
}
5858
}
5959
}

src/assets/css/widget.styl

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -159,16 +159,14 @@ $primary-background-color = #d8e8fa;
159159

160160
.wg-phone {
161161
.getVerCode-btn {
162-
border: 0;
163162
outline: 0;
164-
font-size: 14px;
165-
color: #fff;
166-
border-radius: 5px;
167-
height: 40px;
163+
font-size: 12px;
164+
height: 36px;
168165
min-width: 100px;
169166
margin-top: 5px;
170167
margin-left: 10px;
171168
cursor: pointer;
169+
border: 1px solid transparent;
172170
}
173171
}
174172

src/assets/js/page-config.js

Lines changed: 4 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/assets/js/widget.js

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,11 @@ export default {
1919
"style": {
2020
"margin": "0px 0px 0px 0px",
2121
"btnStyle": {
22-
"background": "#409EFF"
22+
"background": "#409EFF",
23+
color: "#fff",
24+
borderColor: "#409EFF",
25+
borderRadius: '5px',
26+
borderradius: 5,
2327
}
2428
}
2529
},
@@ -264,7 +268,7 @@ export default {
264268
margin: "10px 20px 0px 20px",
265269
borderradius: 10,
266270
borderRadius: '10px',
267-
borderColor: "#fff",
271+
borderColor: "#409eff",
268272
borderwidth: 3,
269273
borderWidth: '3px',
270274
borderStyle:"solid"

src/store/modules/common.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ const state = {
33
list: [],
44
title: "云忆网络",
55
statsCode: "",
6-
theme: "",
6+
theme: "theme1",
77
style: {
88
backgroundColor: "#fff",
99
backgroundImage: "",

src/views/home.vue

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -174,9 +174,8 @@ export default {
174174
},
175175
created() {
176176
let pageData = this.$util.getLStorage('pageData');
177-
if (pageData) {
178-
this.$store.commit('setPageData', pageData);
179-
}
177+
if (pageData) return this.$store.commit('setPageData', pageData);
178+
this.$store.commit('setPageData', this.$util.deepClone(pageConfigData.themes[0].pageData));
180179
}
181180
}
182181
</script>

0 commit comments

Comments
 (0)