diff --git a/admin/src/App.vue b/admin/src/App.vue index 625a5907..f94d63a1 100644 --- a/admin/src/App.vue +++ b/admin/src/App.vue @@ -39,3 +39,10 @@ export default { } } + + diff --git a/admin/src/assets/fonts/PingFang SC.ttf b/admin/src/assets/fonts/PingFang SC.ttf new file mode 100644 index 00000000..c06388bb Binary files /dev/null and b/admin/src/assets/fonts/PingFang SC.ttf differ diff --git a/admin/src/assets/fonts/font.css b/admin/src/assets/fonts/font.css new file mode 100644 index 00000000..209fef79 --- /dev/null +++ b/admin/src/assets/fonts/font.css @@ -0,0 +1,6 @@ +@font-face { + font-family: 'PingFang'; + src: url('./PingFang SC.ttf'); + font-weight: normal; + font-style: normal; +} diff --git a/admin/src/views/qa/problem.vue b/admin/src/views/qa/problem.vue index 0ac6657e..59e3c8d9 100644 --- a/admin/src/views/qa/problem.vue +++ b/admin/src/views/qa/problem.vue @@ -19,14 +19,18 @@
{{ item.city_name }}
-
@@ -72,6 +76,11 @@ export default { load(){ console.log('load') }, + handleprant(val){ + let replaceReg = new RegExp(7, "ig"); + let replaceString = `7`; + return val.replace(replaceReg, replaceString); + }, onSubmit(){ getQaList(this.dataForm).then(res => { this.getQaLists = res.data.data.map((item, index) => { @@ -84,13 +93,41 @@ export default { return item }); }) - // this.getQaLists } } }