diff --git a/src/assets/images/sy/gross-population.png b/src/assets/images/sy/gross-population.png new file mode 100644 index 0000000..2fb0fd8 Binary files /dev/null and b/src/assets/images/sy/gross-population.png differ diff --git a/src/utils/index.js b/src/utils/index.js new file mode 100644 index 0000000..5f218b9 --- /dev/null +++ b/src/utils/index.js @@ -0,0 +1,4 @@ +// 获取静态图片 +export const onGobalImage = (url) => { + return new URL(`../assets/${url}`, import.meta.url).href; +} \ No newline at end of file diff --git a/src/view/dialog/dialogModel.vue b/src/view/dialog/dialogModel.vue index 0d5bd05..e4db6d7 100644 --- a/src/view/dialog/dialogModel.vue +++ b/src/view/dialog/dialogModel.vue @@ -34,8 +34,11 @@ alt="" /> -
- +
+
+ +
@@ -58,6 +61,12 @@ const props = defineProps({ return ""; }, }, + isBgColor: { + type: Boolean, + default: () => { + return false; + }, + }, }); const show = computed({ get() { @@ -121,20 +130,27 @@ const onClose = () => { // } .tabel-part-box { margin: 30px 50px 50px; - padding: 26px; - min-height: 300px; - max-height: 56vh; + padding: 13px; + .tabel-part-box-content { + min-height: 300px; + max-height: 54vh; + color: #fff; + font-family: PingFangSC, PingFang SC; + font-weight: 500; + font-size: 16px; + color: #ffffff; + line-height: 1.6; + letter-spacing: 3px; + overflow: hidden; + &::-webkit-scrollbar { + display: none; + } + } + } + .tabel-part-box-bg { background: rgba(70, 114, 171, 0.36); - color: #fff; - font-family: PingFangSC, PingFang SC; - font-weight: 500; - font-size: 16px; - color: #ffffff; - line-height: 1.6; - letter-spacing: 3px; - overflow: auto; - &::-webkit-scrollbar { - display: none; + .tabel-part-box-content { + overflow: auto; } } } diff --git a/src/view/sy.vue b/src/view/sy.vue index 0e79f57..b35ae4f 100644 --- a/src/view/sy.vue +++ b/src/view/sy.vue @@ -188,24 +188,21 @@
+ @click="showDialog('就业培训', '/api/ggfwyth/jypxList')">
{{ data.employmentService.jypx }}
就业培训
+ @click="showDialog('就业见习服务', '/api/ggfwyth/jyjxfwList')">
{{ data.employmentService.jyjxfw }}
就业见习服务
+ @click="showDialog('就业援助', '/api/ggfwyth/jyyzList')">
{{ data.employmentService.jyyz }}
就业援助
@@ -219,15 +216,17 @@ + alt="" />
{{ data.PopulationData.man }}
男性人口
-
+
{{ data.PopulationData.rkzs }}
人口总数
@@ -242,20 +241,17 @@ + v-if="showEchart">
+ v-if="showEchart">
+ @mouseleave="startAutoScroll">
@@ -268,20 +264,17 @@
+ @click="change('1')"> 公共服务
+ @click="change('2')"> 企业服务
+ @click="change('3')"> 政务服务
@@ -311,29 +304,24 @@ class="table_border" :row-style="rowState" :header-cell-style="tableHeaderColor" - v-if="choose == '1'" - > + v-if="choose == '1'"> + width="132" /> + width="131" /> + width="132" /> + width="132" /> + v-model:show="dialogModelConfig.show" + isBgColor> @@ -1083,7 +1084,10 @@ const onMechanism = () => { if (res.code == 200) { dialogModelConfig.render = () => { let html = - res.data?.zcnr?.replace(/\n/g, "
") || res?.data?.zcnr || ""; + `  ` + + res.data?.zcnr?.replace(/\n/g, "
  ") || + res?.data?.zcnr || + ""; return h("div", { innerHTML: html, });