no message
Showing
31 changed files
with
39 additions
and
506 deletions
| ... | @@ -7,7 +7,7 @@ | ... | @@ -7,7 +7,7 @@ |
| 7 | <meta name="renderer" content="webkit"> | 7 | <meta name="renderer" content="webkit"> |
| 8 | <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no"> | 8 | <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no"> |
| 9 | <link rel="icon" href="/favicon.ico"> | 9 | <link rel="icon" href="/favicon.ico"> |
| 10 | <title>vue3-element-plus</title> | 10 | <title>新吴区档案馆服务大厅</title> |
| 11 | <!-- <script src="./browser.js"></script>--> | 11 | <!-- <script src="./browser.js"></script>--> |
| 12 | <!--[if lt IE 11]><script>window.location.href='/html/ie.html';</script><![endif]--> | 12 | <!--[if lt IE 11]><script>window.location.href='/html/ie.html';</script><![endif]--> |
| 13 | 13 | ... | ... |
public/favicon.ico
deleted
100644 → 0
No preview for this file type
| ... | @@ -235,7 +235,7 @@ aside { | ... | @@ -235,7 +235,7 @@ aside { |
| 235 | border: 1px solid #E5E5E5;margin: 20px 0;padding: 20px} | 235 | border: 1px solid #E5E5E5;margin: 20px 0;padding: 20px} |
| 236 | 236 | ||
| 237 | 237 | ||
| 238 | .dlbox{background: url("@/assets/dance/ds_bg.png") no-repeat left;background-size: 100% 100%; | 238 | .dlbox{ |
| 239 | padding: 0 0 20px;margin: 0 0 20px; | 239 | padding: 0 0 20px;margin: 0 0 20px; |
| 240 | dl{height: 120px;margin: 0; | 240 | dl{height: 120px;margin: 0; |
| 241 | dt{ | 241 | dt{ |
| ... | @@ -253,7 +253,6 @@ aside { | ... | @@ -253,7 +253,6 @@ aside { |
| 253 | color: #29343C; | 253 | color: #29343C; |
| 254 | font-size: 16px;} | 254 | font-size: 16px;} |
| 255 | .funcBtn{width: 100%;cursor: pointer;height: calc(100% - 48px); | 255 | .funcBtn{width: 100%;cursor: pointer;height: calc(100% - 48px); |
| 256 | background:url("@/assets/dance/funcBg.png") no-repeat left; | ||
| 257 | background-size: cover; | 256 | background-size: cover; |
| 258 | border-radius: 16px;box-shadow:var(--el-box-shadow-light); | 257 | border-radius: 16px;box-shadow:var(--el-box-shadow-light); |
| 259 | text-align: center;position: relative; | 258 | text-align: center;position: relative; | ... | ... |
| ... | @@ -496,7 +496,7 @@ img{display: block;} | ... | @@ -496,7 +496,7 @@ img{display: block;} |
| 496 | .item-body{width: 60%; | 496 | .item-body{width: 60%; |
| 497 | h3{padding: 0 10px;white-space: nowrap;overflow: hidden;text-overflow: ellipsis;font-size: 18px;color: #000000;} | 497 | h3{padding: 0 10px;white-space: nowrap;overflow: hidden;text-overflow: ellipsis;font-size: 18px;color: #000000;} |
| 498 | } | 498 | } |
| 499 | .go{background: url("@/assets/v1/about/go.png") no-repeat right;background-size: 10px; | 499 | .go{background-size: 10px; |
| 500 | position: absolute;height: 30px;right: 10px;font-size: 14px; | 500 | position: absolute;height: 30px;right: 10px;font-size: 14px; |
| 501 | color: var(--el-color-primary); | 501 | color: var(--el-color-primary); |
| 502 | filter:grayscale(1); | 502 | filter:grayscale(1); |
| ... | @@ -638,7 +638,7 @@ img{display: block;} | ... | @@ -638,7 +638,7 @@ img{display: block;} |
| 638 | font-size: 20px;text-align: center;margin: 0; | 638 | font-size: 20px;text-align: center;margin: 0; |
| 639 | height: 40px;line-height: 40px; | 639 | height: 40px;line-height: 40px; |
| 640 | color: #000000;} | 640 | color: #000000;} |
| 641 | h3.hasImg{background: url("@/assets/v1/name_bg@2x.png") no-repeat left; | 641 | h3.hasImg{ |
| 642 | height: 30px;line-height: 30px;background-size: cover;margin-top: 10px;} | 642 | height: 30px;line-height: 30px;background-size: cover;margin-top: 10px;} |
| 643 | p{margin: 5px 0; | 643 | p{margin: 5px 0; |
| 644 | font-size: 12px; | 644 | font-size: 12px; |
| ... | @@ -852,7 +852,7 @@ img{display: block;} | ... | @@ -852,7 +852,7 @@ img{display: block;} |
| 852 | .flex-td{display: flex;align-items: center; | 852 | .flex-td{display: flex;align-items: center; |
| 853 | .imgbox{position: relative;margin-right: 15px; | 853 | .imgbox{position: relative;margin-right: 15px; |
| 854 | img{width: 40px;height: 40px;border-radius: 50%;} | 854 | img{width: 40px;height: 40px;border-radius: 50%;} |
| 855 | &::after{content:'';background:url("@/assets/v1/hg.png") no-repeat right top; | 855 | &::after{content:''; |
| 856 | padding: 8px;position: absolute;top: -8px;right: -8px;} | 856 | padding: 8px;position: absolute;top: -8px;right: -8px;} |
| 857 | } | 857 | } |
| 858 | } | 858 | } |
| ... | @@ -870,13 +870,6 @@ img{display: block;} | ... | @@ -870,13 +870,6 @@ img{display: block;} |
| 870 | 870 | ||
| 871 | .file-item{cursor: pointer;border-bottom: 1px dashed #e1e1e1; | 871 | .file-item{cursor: pointer;border-bottom: 1px dashed #e1e1e1; |
| 872 | .icon{padding: 3px 20px;} | 872 | .icon{padding: 3px 20px;} |
| 873 | .pdf{background: url("@/assets/v1/pdf.png") no-repeat left;background-size: contain;} | ||
| 874 | .doc{background: url("@/assets/v1/doc.png") no-repeat left;background-size: contain;} | ||
| 875 | .xls{background: url("@/assets/v1/xls.png") no-repeat left;background-size: contain;} | ||
| 876 | .txt{background: url("@/assets/v1/txt.png") no-repeat left;background-size: contain;} | ||
| 877 | .ppt{background: url("@/assets/v1/ppt.png") no-repeat left;background-size: contain;} | ||
| 878 | .zip{background: url("@/assets/v1/zip.png") no-repeat left;background-size: contain;} | ||
| 879 | .othe{background: url("@/assets/v1/othe.png") no-repeat left;background-size: contain;} | ||
| 880 | h3{font-size: 16px;margin: 0;padding: 20px 0;} | 873 | h3{font-size: 16px;margin: 0;padding: 20px 0;} |
| 881 | &:hover{ | 874 | &:hover{ |
| 882 | h3{text-decoration: underline;} | 875 | h3{text-decoration: underline;} |
| ... | @@ -938,7 +931,6 @@ img{display: block;} | ... | @@ -938,7 +931,6 @@ img{display: block;} |
| 938 | .JsmemberList{ | 931 | .JsmemberList{ |
| 939 | .item{ | 932 | .item{ |
| 940 | .imgbox{ | 933 | .imgbox{ |
| 941 | background: url("@/assets/v1/default.png") #f4f4f4 no-repeat center; | ||
| 942 | background-size: contain; | 934 | background-size: contain; |
| 943 | } | 935 | } |
| 944 | } | 936 | } |
| ... | @@ -1011,12 +1003,7 @@ img{display: block;} | ... | @@ -1011,12 +1003,7 @@ img{display: block;} |
| 1011 | font-size: 18px; | 1003 | font-size: 18px; |
| 1012 | display: inline-block; | 1004 | display: inline-block; |
| 1013 | 1005 | ||
| 1014 | i { | 1006 | |
| 1015 | background: url("@/assets/v1/zs.png") no-repeat left; | ||
| 1016 | background-size: contain; | ||
| 1017 | padding: 12px; | ||
| 1018 | margin-right: 6px; | ||
| 1019 | } | ||
| 1020 | &:hover{filter: brightness(1.1)} | 1007 | &:hover{filter: brightness(1.1)} |
| 1021 | 1008 | ||
| 1022 | } | 1009 | } |
| ... | @@ -1126,10 +1113,6 @@ img{display: block;} | ... | @@ -1126,10 +1113,6 @@ img{display: block;} |
| 1126 | } | 1113 | } |
| 1127 | } | 1114 | } |
| 1128 | 1115 | ||
| 1129 | .lr-bg{ | ||
| 1130 | background: url("@/assets/admin/left.png") 20px 20px no-repeat,url("@/assets/admin/right.png") right bottom no-repeat, #F5FBFE; | ||
| 1131 | background-size: auto 90%; | ||
| 1132 | } | ||
| 1133 | .flex-r-btns{ | 1116 | .flex-r-btns{ |
| 1134 | display: flex; | 1117 | display: flex; |
| 1135 | justify-content: flex-end; | 1118 | justify-content: flex-end; |
| ... | @@ -1197,7 +1180,6 @@ img{display: block;} | ... | @@ -1197,7 +1180,6 @@ img{display: block;} |
| 1197 | .honorWall{position: relative;height: 500px; | 1180 | .honorWall{position: relative;height: 500px; |
| 1198 | .honor {position: absolute; | 1181 | .honor {position: absolute; |
| 1199 | .imgbox {position: relative;width: 100%;height: 100%; | 1182 | .imgbox {position: relative;width: 100%;height: 100%; |
| 1200 | background: url(/src/assets/v1/default.png) #f4f4f4 no-repeat center; | ||
| 1201 | background-size: contain;overflow: hidden; | 1183 | background-size: contain;overflow: hidden; |
| 1202 | img{object-fit: cover;object-position: top; height: 100%;} | 1184 | img{object-fit: cover;object-position: top; height: 100%;} |
| 1203 | } | 1185 | } |
| ... | @@ -1300,26 +1282,7 @@ img{display: block;} | ... | @@ -1300,26 +1282,7 @@ img{display: block;} |
| 1300 | width: 100%;left: 0; | 1282 | width: 100%;left: 0; |
| 1301 | height: 100%;} | 1283 | height: 100%;} |
| 1302 | } | 1284 | } |
| 1303 | .icon-time{background: url("@/assets/train/tag01@2x.png") no-repeat left; | 1285 | |
| 1304 | background-size: contain; | ||
| 1305 | padding: 0 10px; | ||
| 1306 | } | ||
| 1307 | .icon-ren{background: url("@/assets/train/tag02@2x.png") no-repeat left; | ||
| 1308 | background-size: contain; | ||
| 1309 | padding: 0 10px;} | ||
| 1310 | .icon-phone{background: url("@/assets/train/tag03@2x.png") no-repeat left; | ||
| 1311 | background-size: contain; | ||
| 1312 | padding: 0 10px;} | ||
| 1313 | .icon-collapse1{ | ||
| 1314 | background: url("@/assets/train/px2@2x.png") no-repeat left; | ||
| 1315 | background-size: contain; | ||
| 1316 | padding: 0 10px; | ||
| 1317 | } | ||
| 1318 | .icon-collapse2{ | ||
| 1319 | background: url("@/assets/train/ks2@2x.png") no-repeat left; | ||
| 1320 | background-size: contain; | ||
| 1321 | padding: 0 10px; | ||
| 1322 | } | ||
| 1323 | .tran-h3{ | 1286 | .tran-h3{ |
| 1324 | font-size: 18px; | 1287 | font-size: 18px; |
| 1325 | font-weight: 600; | 1288 | font-weight: 600; |
| ... | @@ -1363,7 +1326,6 @@ img{display: block;} | ... | @@ -1363,7 +1326,6 @@ img{display: block;} |
| 1363 | .more { | 1326 | .more { |
| 1364 | font-size: 14px; | 1327 | font-size: 14px; |
| 1365 | color: #7B7F83; | 1328 | color: #7B7F83; |
| 1366 | background: url("@/assets/v1/more.png") no-repeat right; | ||
| 1367 | background-size: auto 8px; | 1329 | background-size: auto 8px; |
| 1368 | padding-right: 26px; | 1330 | padding-right: 26px; |
| 1369 | } | 1331 | } |
| ... | @@ -1422,9 +1384,7 @@ img{display: block;} | ... | @@ -1422,9 +1384,7 @@ img{display: block;} |
| 1422 | .liveImgbox{height: 100%;position: relative;width: 100%;aspect-ratio: 16/9;cursor: pointer; | 1384 | .liveImgbox{height: 100%;position: relative;width: 100%;aspect-ratio: 16/9;cursor: pointer; |
| 1423 | overflow: hidden; | 1385 | overflow: hidden; |
| 1424 | .ii{position: absolute;top: 0;left: 0;color: #fff;font-size: 14px;padding: 4px 6px 4px 30px; | 1386 | .ii{position: absolute;top: 0;left: 0;color: #fff;font-size: 14px;padding: 4px 6px 4px 30px; |
| 1425 | font-style: normal;z-index: 1;height: 28px; | 1387 | font-style: normal;z-index: 1;height: 28px;background-size: 14px; |
| 1426 | background: url("@/assets/dance/live.gif") no-repeat 10px #F04035; | ||
| 1427 | background-size: 14px; | ||
| 1428 | &::after{content: ''; width: 0; | 1388 | &::after{content: ''; width: 0; |
| 1429 | height: 0;position: absolute;right: -20px;top: 0; | 1389 | height: 0;position: absolute;right: -20px;top: 0; |
| 1430 | border-top: 28px solid #F04035; | 1390 | border-top: 28px solid #F04035; |
| ... | @@ -1437,17 +1397,7 @@ img{display: block;} | ... | @@ -1437,17 +1397,7 @@ img{display: block;} |
| 1437 | transform: scale(1);transition: all 0.2s;} | 1397 | transform: scale(1);transition: all 0.2s;} |
| 1438 | &:hover img{transform: scale(1.2);} | 1398 | &:hover img{transform: scale(1.2);} |
| 1439 | } | 1399 | } |
| 1440 | .videoImgbox{height: 100%;position: relative;width: 100%;aspect-ratio: 16/9;cursor: pointer; | 1400 | |
| 1441 | overflow: hidden; | ||
| 1442 | &::before{background: url("@/assets/dance/play.png") no-repeat center;content: ''; | ||
| 1443 | position: absolute;left: 0;top: 0;height: 100%;width: 100%; | ||
| 1444 | transform: scale(1);transition: all 0.2s;z-index: 1; | ||
| 1445 | } | ||
| 1446 | &:hover::before{transform: scale(1.2);} | ||
| 1447 | &:hover img{transform: scale(1.2);} | ||
| 1448 | img{width: 100%;height: 100%;object-fit: cover;object-position: center; | ||
| 1449 | transform: scale(1);transition: all 0.2s;} | ||
| 1450 | } | ||
| 1451 | .languageBtn{white-space: nowrap; | 1401 | .languageBtn{white-space: nowrap; |
| 1452 | font-size: 16px; | 1402 | font-size: 16px; |
| 1453 | span{padding: 0 5px;cursor: pointer;} | 1403 | span{padding: 0 5px;cursor: pointer;} | ... | ... |
src/components/HY/wePay.vue
deleted
100644 → 0
| 1 | <template> | ||
| 2 | <el-dialog v-model="show" width="400px" @close="close"> | ||
| 3 | <div class="weCodeBox"> | ||
| 4 | <p>订单编号:{{ qrObj.orderId }}</p> | ||
| 5 | <p class="price"> | ||
| 6 | 应付金额:¥<span>{{ qrObj.finalPrice }}</span> | ||
| 7 | </p> | ||
| 8 | <img src="@/assets/img/WePayLogo.png" style="width: 200px"> | ||
| 9 | <img class="code" :src="qrObj.qrCode"> | ||
| 10 | <img src="@/assets/img/sm.png"> | ||
| 11 | </div> | ||
| 12 | </el-dialog> | ||
| 13 | </template> | ||
| 14 | |||
| 15 | <script setup> | ||
| 16 | import { onBeforeUnmount, toRefs, watch } from 'vue' | ||
| 17 | import { getCurrentInstance, reactive } from '@vue/runtime-core' | ||
| 18 | import { ElMessage } from 'element-plus' | ||
| 19 | |||
| 20 | const emit = defineEmits(['close']) | ||
| 21 | const { proxy } = getCurrentInstance() | ||
| 22 | |||
| 23 | const data = reactive({ | ||
| 24 | qrObj: {}, | ||
| 25 | show: false | ||
| 26 | }) | ||
| 27 | const { qrObj, show } = toRefs(data) | ||
| 28 | |||
| 29 | const sockets = { | ||
| 30 | payBack: (res) => { | ||
| 31 | console.log(res) | ||
| 32 | if (res === qrObj.value.orderId) { | ||
| 33 | ElMessage.success('支付成功') | ||
| 34 | close() | ||
| 35 | } | ||
| 36 | } | ||
| 37 | } | ||
| 38 | |||
| 39 | const open = (params) => { | ||
| 40 | show.value = true | ||
| 41 | qrObj.value = params | ||
| 42 | } | ||
| 43 | |||
| 44 | const close = () => { | ||
| 45 | show.value = false | ||
| 46 | emit('close') | ||
| 47 | } | ||
| 48 | |||
| 49 | watch(show, (val) => { | ||
| 50 | if (val) { | ||
| 51 | proxy.$socket.addListener(sockets, proxy) | ||
| 52 | } else { | ||
| 53 | proxy.$socket.removeListener(sockets, proxy) | ||
| 54 | } | ||
| 55 | }) | ||
| 56 | |||
| 57 | defineExpose({ | ||
| 58 | open | ||
| 59 | }) | ||
| 60 | |||
| 61 | onBeforeUnmount(() => { | ||
| 62 | proxy.$socket.disconnect() | ||
| 63 | }) | ||
| 64 | </script> | ||
| 65 | |||
| 66 | <style scoped></style> |
| ... | @@ -5,7 +5,6 @@ | ... | @@ -5,7 +5,6 @@ |
| 5 | </div> | 5 | </div> |
| 6 | <div class="setting-drawer-block-checbox"> | 6 | <div class="setting-drawer-block-checbox"> |
| 7 | <div class="setting-drawer-block-checbox-item" @click="handleTheme('theme-dark')"> | 7 | <div class="setting-drawer-block-checbox-item" @click="handleTheme('theme-dark')"> |
| 8 | <img src="@/assets/images/dark.svg" alt="dark" /> | ||
| 9 | <div v-if="sideTheme === 'theme-dark'" class="setting-drawer-block-checbox-selectIcon" style="display: block;"> | 8 | <div v-if="sideTheme === 'theme-dark'" class="setting-drawer-block-checbox-selectIcon" style="display: block;"> |
| 10 | <i aria-label="图标: check" class="anticon anticon-check"> | 9 | <i aria-label="图标: check" class="anticon anticon-check"> |
| 11 | <svg viewBox="64 64 896 896" data-icon="check" width="1em" height="1em" :fill="theme" aria-hidden="true" focusable="false" class> | 10 | <svg viewBox="64 64 896 896" data-icon="check" width="1em" height="1em" :fill="theme" aria-hidden="true" focusable="false" class> |
| ... | @@ -15,7 +14,6 @@ | ... | @@ -15,7 +14,6 @@ |
| 15 | </div> | 14 | </div> |
| 16 | </div> | 15 | </div> |
| 17 | <div class="setting-drawer-block-checbox-item" @click="handleTheme('theme-light')"> | 16 | <div class="setting-drawer-block-checbox-item" @click="handleTheme('theme-light')"> |
| 18 | <img src="@/assets/images/light.svg" alt="light" /> | ||
| 19 | <div v-if="sideTheme === 'theme-light'" class="setting-drawer-block-checbox-selectIcon" style="display: block;"> | 17 | <div v-if="sideTheme === 'theme-light'" class="setting-drawer-block-checbox-selectIcon" style="display: block;"> |
| 20 | <i aria-label="图标: check" class="anticon anticon-check"> | 18 | <i aria-label="图标: check" class="anticon anticon-check"> |
| 21 | <svg viewBox="64 64 896 896" data-icon="check" width="1em" height="1em" :fill="theme" aria-hidden="true" focusable="false" class> | 19 | <svg viewBox="64 64 896 896" data-icon="check" width="1em" height="1em" :fill="theme" aria-hidden="true" focusable="false" class> | ... | ... |
| ... | @@ -47,7 +47,6 @@ | ... | @@ -47,7 +47,6 @@ |
| 47 | </div> | 47 | </div> |
| 48 | </div> | 48 | </div> |
| 49 | <a class="ropenbtn" @click="showDrawer"> | 49 | <a class="ropenbtn" @click="showDrawer"> |
| 50 | <img src="@/assets/v1/menu.png"> | ||
| 51 | </a> | 50 | </a> |
| 52 | </div> | 51 | </div> |
| 53 | 52 | ||
| ... | @@ -87,11 +86,6 @@ | ... | @@ -87,11 +86,6 @@ |
| 87 | <el-menu-item index="/saiC">赛程安排</el-menu-item> | 86 | <el-menu-item index="/saiC">赛程安排</el-menu-item> |
| 88 | <el-menu-item index="/meta">媒体中心</el-menu-item> | 87 | <el-menu-item index="/meta">媒体中心</el-menu-item> |
| 89 | <el-menu-item index="/guide">参赛指南</el-menu-item> | 88 | <el-menu-item index="/guide">参赛指南</el-menu-item> |
| 90 | <el-sub-menu index="/about"> | ||
| 91 | <template #title>关于我们</template> | ||
| 92 | <el-menu-item index="/about/wuDao">舞蹈节</el-menu-item> | ||
| 93 | <el-menu-item index="/about/culture">地方文化</el-menu-item> | ||
| 94 | </el-sub-menu> | ||
| 95 | <el-menu-item v-if="isLogin" index="/center/myInfo">个人中心</el-menu-item> | 89 | <el-menu-item v-if="isLogin" index="/center/myInfo">个人中心</el-menu-item> |
| 96 | </el-menu> | 90 | </el-menu> |
| 97 | </el-drawer> | 91 | </el-drawer> | ... | ... |
| 1 | <template> | 1 | <template> |
| 2 | <div class="topNav"> | 2 | <div class="topNav"> |
| 3 | <router-link to="/"> | 3 | <router-link to="/"> |
| 4 | <img class="logo" src="/img/logoArr.png"> | 4 | <img class="logo"> |
| 5 | </router-link> | 5 | </router-link> |
| 6 | 6 | ||
| 7 | <div class="flex-right"> | 7 | <div class="flex-right"> |
| ... | @@ -25,7 +25,6 @@ | ... | @@ -25,7 +25,6 @@ |
| 25 | </div> | 25 | </div> |
| 26 | </div> | 26 | </div> |
| 27 | <!-- <a class="ropenbtn" @click="showDrawer">--> | 27 | <!-- <a class="ropenbtn" @click="showDrawer">--> |
| 28 | <!-- <img src="@/assets/v1/menu.png">--> | ||
| 29 | <!-- </a>--> | 28 | <!-- </a>--> |
| 30 | </div> | 29 | </div> |
| 31 | 30 | ||
| ... | @@ -57,11 +56,6 @@ | ... | @@ -57,11 +56,6 @@ |
| 57 | <el-menu-item index="/saiC">赛程安排</el-menu-item> | 56 | <el-menu-item index="/saiC">赛程安排</el-menu-item> |
| 58 | <el-menu-item index="/meta">媒体中心</el-menu-item> | 57 | <el-menu-item index="/meta">媒体中心</el-menu-item> |
| 59 | <el-menu-item index="/guide">参赛指南</el-menu-item> | 58 | <el-menu-item index="/guide">参赛指南</el-menu-item> |
| 60 | <el-sub-menu index="/about"> | ||
| 61 | <template #title>关于我们</template> | ||
| 62 | <el-menu-item index="/about/wuDao">舞蹈节</el-menu-item> | ||
| 63 | <el-menu-item index="/about/culture">地方文化</el-menu-item> | ||
| 64 | </el-sub-menu> | ||
| 65 | </el-menu> | 59 | </el-menu> |
| 66 | <el-menu class="weiMenu" | 60 | <el-menu class="weiMenu" |
| 67 | v-if="language==1" | 61 | v-if="language==1" |
| ... | @@ -75,12 +69,6 @@ | ... | @@ -75,12 +69,6 @@ |
| 75 | <el-menu-item index="/saiC">COMPETITIONS</el-menu-item> | 69 | <el-menu-item index="/saiC">COMPETITIONS</el-menu-item> |
| 76 | <el-menu-item index="/meta">MEDIA</el-menu-item> | 70 | <el-menu-item index="/meta">MEDIA</el-menu-item> |
| 77 | <el-menu-item index="/guide">GUIDELINE</el-menu-item> | 71 | <el-menu-item index="/guide">GUIDELINE</el-menu-item> |
| 78 | <el-sub-menu index="/about"> | ||
| 79 | <template #title>CONTACT & MORE</template> | ||
| 80 | <el-menu-item index="/about/wuDao">About Us</el-menu-item> | ||
| 81 | <el-menu-item index="/about/regulations">Rules & Regulations</el-menu-item> | ||
| 82 | <el-menu-item index="/about/culture">Culture</el-menu-item> | ||
| 83 | </el-sub-menu> | ||
| 84 | </el-menu> | 72 | </el-menu> |
| 85 | </el-drawer> | 73 | </el-drawer> |
| 86 | <LoginDialog ref="pcloginDialog" @submitForm="reFlash" /> | 74 | <LoginDialog ref="pcloginDialog" @submitForm="reFlash" /> | ... | ... |
| ... | @@ -49,7 +49,6 @@ import DictTag from '@/components/DictTag' | ... | @@ -49,7 +49,6 @@ import DictTag from '@/components/DictTag' |
| 49 | 49 | ||
| 50 | 50 | ||
| 51 | import draggable from 'vuedraggable' | 51 | import draggable from 'vuedraggable' |
| 52 | import wePay from '@/components/hy/wePay' | ||
| 53 | 52 | ||
| 54 | import VueVideoPlayer from '@videojs-player/vue' | 53 | import VueVideoPlayer from '@videojs-player/vue' |
| 55 | import 'video.js/dist/video-js.min.css' | 54 | import 'video.js/dist/video-js.min.css' |
| ... | @@ -104,7 +103,6 @@ app.component('ImagePreview', ImagePreview) | ... | @@ -104,7 +103,6 @@ app.component('ImagePreview', ImagePreview) |
| 104 | app.component('RightToolbar', RightToolbar) | 103 | app.component('RightToolbar', RightToolbar) |
| 105 | app.component('Editor', Editor) | 104 | app.component('Editor', Editor) |
| 106 | app.component('Draggable', draggable) | 105 | app.component('Draggable', draggable) |
| 107 | app.component('WePay', wePay) | ||
| 108 | 106 | ||
| 109 | if (language.value == 0) { | 107 | if (language.value == 0) { |
| 110 | app.use(router) | 108 | app.use(router) | ... | ... |
| ... | @@ -129,20 +129,6 @@ export const constantRoutes = [ | ... | @@ -129,20 +129,6 @@ export const constantRoutes = [ |
| 129 | meta: { title: '个人中心', icon: 'user' } | 129 | meta: { title: '个人中心', icon: 'user' } |
| 130 | } | 130 | } |
| 131 | ] | 131 | ] |
| 132 | }, | ||
| 133 | { | ||
| 134 | path: '/perfect', | ||
| 135 | component: Layout, | ||
| 136 | hidden: true, | ||
| 137 | redirect: 'noRedirect', | ||
| 138 | children: [ | ||
| 139 | { | ||
| 140 | path: '', | ||
| 141 | name: 'Perfect', | ||
| 142 | component: () => import('@/views/perfect'), | ||
| 143 | meta: { title: '注册引导', icon: 'user' } | ||
| 144 | } | ||
| 145 | ] | ||
| 146 | } | 132 | } |
| 147 | ] | 133 | ] |
| 148 | 134 | ||
| ... | @@ -204,21 +190,6 @@ export const dynamicRoutes = [ | ... | @@ -204,21 +190,6 @@ export const dynamicRoutes = [ |
| 204 | } | 190 | } |
| 205 | ] | 191 | ] |
| 206 | }, | 192 | }, |
| 207 | { | ||
| 208 | path: '/tool/gen-edit', | ||
| 209 | component: Layout, | ||
| 210 | hidden: true, | ||
| 211 | permissions: ['tool:gen:edit'], | ||
| 212 | // roles: ['admin'], | ||
| 213 | children: [ | ||
| 214 | { | ||
| 215 | path: 'index/:tableId(\\d+)', | ||
| 216 | component: () => import('@/views/tool/gen/editTable'), | ||
| 217 | name: 'GenEdit', | ||
| 218 | meta: { title: '修改生成配置', activeMenu: '/tool/gen' } | ||
| 219 | } | ||
| 220 | ] | ||
| 221 | } | ||
| 222 | ] | 193 | ] |
| 223 | 194 | ||
| 224 | const router = createRouter({ | 195 | const router = createRouter({ | ... | ... |
This diff is collapsed.
Click to expand it.
| 1 | import { login, logout, getInfo, loginByPhone } from '@/api/login' | 1 | import { login, logout, getInfo, loginByPhone } from '@/api/login' |
| 2 | import { getToken, setToken, removeToken } from '@/utils/auth' | 2 | import { getToken, setToken, removeToken } from '@/utils/auth' |
| 3 | import defAva from '@/assets/images/profile.jpg' | ||
| 4 | import { getMyOwnMemberInfo } from '@/api/system/userInfo.js' | 3 | import { getMyOwnMemberInfo } from '@/api/system/userInfo.js' |
| 5 | import { defineStore } from 'pinia' | 4 | import { defineStore } from 'pinia' |
| 6 | import aes from '@/utils/aes' | 5 | import aes from '@/utils/aes' |
| ... | @@ -86,7 +85,7 @@ const useUserStore = defineStore( | ... | @@ -86,7 +85,7 @@ const useUserStore = defineStore( |
| 86 | getInfo().then(res => { | 85 | getInfo().then(res => { |
| 87 | const user = res.data.user | 86 | const user = res.data.user |
| 88 | const personInfo = res.data.personInfo | 87 | const personInfo = res.data.personInfo |
| 89 | const avatar = (user.avatar == '' || user.avatar == null) ? defAva : user.avatar | 88 | const avatar = user.avatar |
| 90 | if (res.data.roles && res.data.roles.length > 0) { // 验证返回的roles是否是一个非空数组 | 89 | if (res.data.roles && res.data.roles.length > 0) { // 验证返回的roles是否是一个非空数组 |
| 91 | this.roles = res.data.roles | 90 | this.roles = res.data.roles |
| 92 | this.permissions = res.data.permissions | 91 | this.permissions = res.data.permissions | ... | ... |
| ... | @@ -2,7 +2,7 @@ | ... | @@ -2,7 +2,7 @@ |
| 2 | <div class="app-container"> | 2 | <div class="app-container"> |
| 3 | <el-row class="row" justify="center"> | 3 | <el-row class="row" justify="center"> |
| 4 | <div :span="10" class="box"> | 4 | <div :span="10" class="box"> |
| 5 | <el-image style="width: 400px" :src="url" fit="cover" /> | 5 | <el-image style="width: 400px" fit="cover" /> |
| 6 | </div> | 6 | </div> |
| 7 | </el-row> | 7 | </el-row> |
| 8 | <!-- <el-link | 8 | <!-- <el-link |
| ... | @@ -24,7 +24,6 @@ import { | ... | @@ -24,7 +24,6 @@ import { |
| 24 | downExamPayment, | 24 | downExamPayment, |
| 25 | downExamCerts, downExamCertsByExamId, downExamCertsByStudentId | 25 | downExamCerts, downExamCertsByExamId, downExamCertsByStudentId |
| 26 | } from '@/api/download.js' | 26 | } from '@/api/download.js' |
| 27 | import url from '@/assets/images/download.png' | ||
| 28 | import { ElLoading } from 'element-plus' | 27 | import { ElLoading } from 'element-plus' |
| 29 | const { proxy } = getCurrentInstance() | 28 | const { proxy } = getCurrentInstance() |
| 30 | const route = useRoute() | 29 | const route = useRoute() | ... | ... |
| 1 | <template> | 1 | <template> |
| 2 | <div class="wscn-http404-container"> | 2 | <div class="wscn-http404-container"> |
| 3 | <!-- <div class="wscn-http404">--> | ||
| 4 | <!-- <div class="pic-404">--> | ||
| 5 | <!-- <img class="pic-404__parent" src="@/assets/404_images/404.png" alt="404">--> | ||
| 6 | <!-- <img class="pic-404__child left" src="@/assets/404_images/404_cloud.png" alt="404">--> | ||
| 7 | <!-- <img class="pic-404__child mid" src="@/assets/404_images/404_cloud.png" alt="404">--> | ||
| 8 | <!-- <img class="pic-404__child right" src="@/assets/404_images/404_cloud.png" alt="404">--> | ||
| 9 | <!-- </div>--> | ||
| 10 | <!-- <div class="bullshit">--> | ||
| 11 | <!-- <div class="bullshit__oops">--> | ||
| 12 | <!-- 404错误!--> | ||
| 13 | <!-- </div>--> | ||
| 14 | <!-- <div class="bullshit__headline">--> | ||
| 15 | <!-- {{ message }}--> | ||
| 16 | <!-- </div>--> | ||
| 17 | <!-- <div class="bullshit__info">--> | ||
| 18 | <!-- 对不起,您正在寻找的页面不存在。尝试检查URL的错误,然后按浏览器上的刷新按钮或尝试在我们的应用程序中找到其他内容。--> | ||
| 19 | <!-- </div>--> | ||
| 20 | <!-- <router-link to="/index" class="bullshit__return-home">--> | ||
| 21 | <!-- 返回首页--> | ||
| 22 | <!-- </router-link>--> | ||
| 23 | <!-- </div>--> | ||
| 24 | <!-- </div>--> | ||
| 25 | </div> | 3 | </div> |
| 26 | </template> | 4 | </template> |
| 27 | 5 | ... | ... |
| ... | @@ -3,7 +3,6 @@ | ... | @@ -3,7 +3,6 @@ |
| 3 | <el-row class="card"> | 3 | <el-row class="card"> |
| 4 | <el-col :span="6"> | 4 | <el-col :span="6"> |
| 5 | <div class="dataItem"> | 5 | <div class="dataItem"> |
| 6 | <img src="@/assets/admin/btn06@2x.png"> | ||
| 7 | <div> | 6 | <div> |
| 8 | <p>个人会员</p> | 7 | <p>个人会员</p> |
| 9 | <h2>{{ players }}</h2> | 8 | <h2>{{ players }}</h2> |
| ... | @@ -12,21 +11,18 @@ | ... | @@ -12,21 +11,18 @@ |
| 12 | </el-col> | 11 | </el-col> |
| 13 | <el-col :span="6"> | 12 | <el-col :span="6"> |
| 14 | <div class="dataItem"> | 13 | <div class="dataItem"> |
| 15 | <img src="@/assets/admin/btn07@2x.png"> | ||
| 16 | <div><p>团体会员</p> | 14 | <div><p>团体会员</p> |
| 17 | <h2>{{ members }}</h2></div> | 15 | <h2>{{ members }}</h2></div> |
| 18 | </div> | 16 | </div> |
| 19 | </el-col> | 17 | </el-col> |
| 20 | <el-col :span="6"> | 18 | <el-col :span="6"> |
| 21 | <div class="dataItem"> | 19 | <div class="dataItem"> |
| 22 | <img src="@/assets/admin/btn10@2x.png"> | ||
| 23 | <div><p>即将到期会员</p> | 20 | <div><p>即将到期会员</p> |
| 24 | <h2>{{ soonGuoqiPers }}</h2></div> | 21 | <h2>{{ soonGuoqiPers }}</h2></div> |
| 25 | </div> | 22 | </div> |
| 26 | </el-col> | 23 | </el-col> |
| 27 | <el-col :span="6"> | 24 | <el-col :span="6"> |
| 28 | <div class="dataItem"> | 25 | <div class="dataItem"> |
| 29 | <img src="@/assets/admin/btn11@2x.png"> | ||
| 30 | <div><p>即将到期团体会员</p> | 26 | <div><p>即将到期团体会员</p> |
| 31 | <h2>{{ soonGuoqiMems }}</h2></div> | 27 | <h2>{{ soonGuoqiMems }}</h2></div> |
| 32 | </div> | 28 | </div> | ... | ... |
| ... | @@ -3,7 +3,6 @@ | ... | @@ -3,7 +3,6 @@ |
| 3 | <el-row class="card"> | 3 | <el-row class="card"> |
| 4 | <el-col :span="5"> | 4 | <el-col :span="5"> |
| 5 | <div class="dataItem"> | 5 | <div class="dataItem"> |
| 6 | <img src="@/assets/admin/btn06@2x.png"> | ||
| 7 | <div> | 6 | <div> |
| 8 | <p>个人会员</p> | 7 | <p>个人会员</p> |
| 9 | <h2>{{ players }}</h2> | 8 | <h2>{{ players }}</h2> |
| ... | @@ -12,28 +11,24 @@ | ... | @@ -12,28 +11,24 @@ |
| 12 | </el-col> | 11 | </el-col> |
| 13 | <el-col :span="5"> | 12 | <el-col :span="5"> |
| 14 | <div class="dataItem"> | 13 | <div class="dataItem"> |
| 15 | <img src="@/assets/admin/btn07@2x.png"> | ||
| 16 | <div><p>团体会员</p> | 14 | <div><p>团体会员</p> |
| 17 | <h2>{{ members }}</h2></div> | 15 | <h2>{{ members }}</h2></div> |
| 18 | </div> | 16 | </div> |
| 19 | </el-col> | 17 | </el-col> |
| 20 | <el-col :span="5"> | 18 | <el-col :span="5"> |
| 21 | <div class="dataItem"> | 19 | <div class="dataItem"> |
| 22 | <img src="@/assets/admin/btn08@2x.png"> | ||
| 23 | <div><p>二级协会</p> | 20 | <div><p>二级协会</p> |
| 24 | <h2>{{ secondMembers }}</h2></div> | 21 | <h2>{{ secondMembers }}</h2></div> |
| 25 | </div> | 22 | </div> |
| 26 | </el-col> | 23 | </el-col> |
| 27 | <el-col :span="5"> | 24 | <el-col :span="5"> |
| 28 | <div class="dataItem"> | 25 | <div class="dataItem"> |
| 29 | <img src="@/assets/admin/btn10@2x.png"> | ||
| 30 | <div><p>即将到期会员</p> | 26 | <div><p>即将到期会员</p> |
| 31 | <h2>{{ soonGuoqiPers }}</h2></div> | 27 | <h2>{{ soonGuoqiPers }}</h2></div> |
| 32 | </div> | 28 | </div> |
| 33 | </el-col> | 29 | </el-col> |
| 34 | <el-col :span="4"> | 30 | <el-col :span="4"> |
| 35 | <div class="dataItem"> | 31 | <div class="dataItem"> |
| 36 | <img src="@/assets/admin/btn11@2x.png"> | ||
| 37 | <div><p>即将到期团体会员</p> | 32 | <div><p>即将到期团体会员</p> |
| 38 | <h2>{{ soonGuoqiMems }}</h2></div> | 33 | <h2>{{ soonGuoqiMems }}</h2></div> |
| 39 | </div> | 34 | </div> | ... | ... |
| ... | @@ -3,7 +3,6 @@ | ... | @@ -3,7 +3,6 @@ |
| 3 | <el-row class="card"> | 3 | <el-row class="card"> |
| 4 | <el-col :span="4"> | 4 | <el-col :span="4"> |
| 5 | <div class="dataItem"> | 5 | <div class="dataItem"> |
| 6 | <img src="@/assets/admin/btn06@2x.png"> | ||
| 7 | <div> | 6 | <div> |
| 8 | <p>个人会员</p> | 7 | <p>个人会员</p> |
| 9 | <h2>{{ players }}</h2> | 8 | <h2>{{ players }}</h2> |
| ... | @@ -13,14 +12,12 @@ | ... | @@ -13,14 +12,12 @@ |
| 13 | </el-col> | 12 | </el-col> |
| 14 | <el-col :span="4"> | 13 | <el-col :span="4"> |
| 15 | <div class="dataItem"> | 14 | <div class="dataItem"> |
| 16 | <img src="@/assets/admin/btn07@2x.png"> | ||
| 17 | <div><p>团体会员</p> | 15 | <div><p>团体会员</p> |
| 18 | <h2>{{ members }}</h2></div> | 16 | <h2>{{ members }}</h2></div> |
| 19 | </div> | 17 | </div> |
| 20 | </el-col> | 18 | </el-col> |
| 21 | <el-col :span="4"> | 19 | <el-col :span="4"> |
| 22 | <div class="dataItem"> | 20 | <div class="dataItem"> |
| 23 | <img src="@/assets/admin/btn08@2x.png"> | ||
| 24 | <div><p>教练</p> | 21 | <div><p>教练</p> |
| 25 | <h2>{{ coach }}</h2></div> | 22 | <h2>{{ coach }}</h2></div> |
| 26 | </div> | 23 | </div> |
| ... | @@ -28,7 +25,6 @@ | ... | @@ -28,7 +25,6 @@ |
| 28 | </el-col> | 25 | </el-col> |
| 29 | <el-col :span="4"> | 26 | <el-col :span="4"> |
| 30 | <div class="dataItem"> | 27 | <div class="dataItem"> |
| 31 | <img src="@/assets/admin/btn09@2x.png"> | ||
| 32 | <div><p>考官</p> | 28 | <div><p>考官</p> |
| 33 | <h2>{{ examiner }}</h2></div> | 29 | <h2>{{ examiner }}</h2></div> |
| 34 | </div> | 30 | </div> |
| ... | @@ -36,14 +32,12 @@ | ... | @@ -36,14 +32,12 @@ |
| 36 | </el-col> | 32 | </el-col> |
| 37 | <el-col :span="4"> | 33 | <el-col :span="4"> |
| 38 | <div class="dataItem"> | 34 | <div class="dataItem"> |
| 39 | <img src="@/assets/admin/btn10@2x.png"> | ||
| 40 | <div><p>即将到期会员</p> | 35 | <div><p>即将到期会员</p> |
| 41 | <h2>{{ soonGuoqiPers }}</h2></div> | 36 | <h2>{{ soonGuoqiPers }}</h2></div> |
| 42 | </div> | 37 | </div> |
| 43 | </el-col> | 38 | </el-col> |
| 44 | <el-col :span="4"> | 39 | <el-col :span="4"> |
| 45 | <div class="dataItem"> | 40 | <div class="dataItem"> |
| 46 | <img src="@/assets/admin/btn11@2x.png"> | ||
| 47 | <div><p>即将到期团体会员</p> | 41 | <div><p>即将到期团体会员</p> |
| 48 | <h2>{{ soonGuoqiMems }}</h2></div> | 42 | <h2>{{ soonGuoqiMems }}</h2></div> |
| 49 | </div> | 43 | </div> | ... | ... |
| ... | @@ -20,7 +20,7 @@ | ... | @@ -20,7 +20,7 @@ |
| 20 | <template #prefix><svg-icon icon-class="phone" class="el-input__icon input-icon" /></template> | 20 | <template #prefix><svg-icon icon-class="phone" class="el-input__icon input-icon" /></template> |
| 21 | </el-input> | 21 | </el-input> |
| 22 | </el-form-item> | 22 | </el-form-item> |
| 23 | 23 | ||
| 24 | <el-form-item prop="captcha"> | 24 | <el-form-item prop="captcha"> |
| 25 | <captcha ref="codeRef" v-model="registerForm.captcha" v-model:uuid="registerForm.uuid" @keyup.enter="handleRegister" /> | 25 | <captcha ref="codeRef" v-model="registerForm.captcha" v-model:uuid="registerForm.uuid" @keyup.enter="handleRegister" /> |
| 26 | </el-form-item> | 26 | </el-form-item> |
| ... | @@ -46,7 +46,7 @@ | ... | @@ -46,7 +46,7 @@ |
| 46 | <div v-if="stringId"> | 46 | <div v-if="stringId"> |
| 47 | <el-form-item prop="password"> | 47 | <el-form-item prop="password"> |
| 48 | <el-input | 48 | <el-input |
| 49 | v-model="registerForm.password" | 49 | v-model="registerForm.password" |
| 50 | type="password" | 50 | type="password" |
| 51 | size="large" | 51 | size="large" |
| 52 | auto-complete="off" | 52 | auto-complete="off" |
| ... | @@ -88,7 +88,7 @@ | ... | @@ -88,7 +88,7 @@ |
| 88 | </el-button> | 88 | </el-button> |
| 89 | </el-form-item> | 89 | </el-form-item> |
| 90 | </div> | 90 | </div> |
| 91 | 91 | ||
| 92 | </el-form> | 92 | </el-form> |
| 93 | </div> | 93 | </div> |
| 94 | </div> | 94 | </div> |
| ... | @@ -318,7 +318,6 @@ function forgetPassword() { | ... | @@ -318,7 +318,6 @@ function forgetPassword() { |
| 318 | // justify-content: center; | 318 | // justify-content: center; |
| 319 | // align-items: center; | 319 | // align-items: center; |
| 320 | height: 100%; | 320 | height: 100%; |
| 321 | background-image: url("@/assets/images/login-background.jpg"); | ||
| 322 | background-size: cover; | 321 | background-size: cover; |
| 323 | } | 322 | } |
| 324 | 323 | ... | ... |
| ... | @@ -18,7 +18,6 @@ | ... | @@ -18,7 +18,6 @@ |
| 18 | .orCode { | 18 | .orCode { |
| 19 | width: 200px; | 19 | width: 200px; |
| 20 | height: 200px; | 20 | height: 200px; |
| 21 | background-image: url("@/assets/images/未开通该功能!.png"); | ||
| 22 | background-size: 100%; | 21 | background-size: 100%; |
| 23 | display: inline-block; | 22 | display: inline-block; |
| 24 | } | 23 | } | ... | ... |
| ... | @@ -2,51 +2,6 @@ | ... | @@ -2,51 +2,6 @@ |
| 2 | <el-row class="login-box"> | 2 | <el-row class="login-box"> |
| 3 | <div> | 3 | <div> |
| 4 | <h1>团 体 会 员 注 册</h1> | 4 | <h1>团 体 会 员 注 册</h1> |
| 5 | <!-- <el-row v-if="!showRegister" :gutter="20"> | ||
| 6 | <el-card class=" box"> | ||
| 7 | <el-row> | ||
| 8 | <el-col :span="12"> | ||
| 9 | <el-card | ||
| 10 | shadow="hover" class="card | ||
| 11 | " :class="{ active: selectItem==1}" @click="selectItem=1" | ||
| 12 | > | ||
| 13 | <div class="imgbox"> | ||
| 14 | <img class="imgs" src="@/assets/images/btn01@2x.png" alt=""> | ||
| 15 | <h2 style="text-align: center;">团体会员</h2> | ||
| 16 | <div class="con"> | ||
| 17 | 这里是团体会员介绍这里 | ||
| 18 | 是团体会员介绍 | ||
| 19 | </div> | ||
| 20 | </div> | ||
| 21 | <img v-if="selectItem==1" class="imgSon" src="@/assets/images/xz@2x.png" alt=""> | ||
| 22 | </el-card> | ||
| 23 | |||
| 24 | </el-col> | ||
| 25 | <el-col :span="12"> | ||
| 26 | <el-card | ||
| 27 | shadow="hover" class="card | ||
| 28 | " :class="{ active: selectItem==2}" @click="selectItem=2" | ||
| 29 | > | ||
| 30 | <div class="imgbox"> | ||
| 31 | <img class="imgs" src="@/assets/images/btn02@2x.png" alt=""> | ||
| 32 | <h2 style="text-align: center;">个人会员</h2> | ||
| 33 | <div class="con"> | ||
| 34 | 这里是团体会员介绍这里 | ||
| 35 | 是团体会员介绍 | ||
| 36 | </div> | ||
| 37 | </div> | ||
| 38 | <img v-if="selectItem==2" class="imgSon" src="@/assets/images/xz@2x.png" alt=""> | ||
| 39 | |||
| 40 | </el-card> | ||
| 41 | </el-col> | ||
| 42 | </el-row> | ||
| 43 | <br> | ||
| 44 | <br> | ||
| 45 | <el-row justify="center"> | ||
| 46 | <el-button class="btn" :disabled="selectItem==0" type="primary" @click="selected">确 定</el-button> | ||
| 47 | </el-row> | ||
| 48 | </el-card> | ||
| 49 | </el-row> --> | ||
| 50 | <div class="restFrom"> | 5 | <div class="restFrom"> |
| 51 | <el-form | 6 | <el-form |
| 52 | ref="registerRef" | 7 | ref="registerRef" |
| ... | @@ -333,7 +288,6 @@ function getCode() { | ... | @@ -333,7 +288,6 @@ function getCode() { |
| 333 | // justify-content: center; | 288 | // justify-content: center; |
| 334 | // align-items: center; | 289 | // align-items: center; |
| 335 | height: 100%; | 290 | height: 100%; |
| 336 | background-image: url("@/assets/images/login-background.jpg"); | ||
| 337 | background-size: cover; | 291 | background-size: cover; |
| 338 | } | 292 | } |
| 339 | 293 | ... | ... |
| ... | @@ -36,7 +36,6 @@ | ... | @@ -36,7 +36,6 @@ |
| 36 | <script setup > | 36 | <script setup > |
| 37 | import { ref } from 'vue' | 37 | import { ref } from 'vue' |
| 38 | import { getMyCertStage } from '@/api/system/userInfo.js' | 38 | import { getMyCertStage } from '@/api/system/userInfo.js' |
| 39 | import stepFirstFalg from '@/views/member/components/stepFirstFalg.vue' | ||
| 40 | import { getCurrentInstance } from '@vue/runtime-core' | 39 | import { getCurrentInstance } from '@vue/runtime-core' |
| 41 | const { proxy } = getCurrentInstance() | 40 | const { proxy } = getCurrentInstance() |
| 42 | 41 | ... | ... |
| ... | @@ -119,10 +119,6 @@ function getUser() { | ... | @@ -119,10 +119,6 @@ function getUser() { |
| 119 | </script> | 119 | </script> |
| 120 | 120 | ||
| 121 | <style lang="scss" scoped> | 121 | <style lang="scss" scoped> |
| 122 | .user01{background: url("@/assets/admin/user01@2x.png") no-repeat center;background-size: contain;} | ||
| 123 | .user02{background: url("@/assets/admin/user02@2x.png") no-repeat center;background-size: contain;} | ||
| 124 | .user03{background: url("@/assets/admin/user03@2x.png") no-repeat center;background-size: contain;} | ||
| 125 | .user04{background: url("@/assets/admin/user04@2x.png") no-repeat center;background-size: contain;} | ||
| 126 | .list-group-item { | 122 | .list-group-item { |
| 127 | text-align: center;height: 60px;line-height: 60px; | 123 | text-align: center;height: 60px;line-height: 60px; |
| 128 | background: #FFFFFF;cursor: pointer; | 124 | background: #FFFFFF;cursor: pointer; |
| ... | @@ -130,18 +126,11 @@ function getUser() { | ... | @@ -130,18 +126,11 @@ function getUser() { |
| 130 | color: #000000;padding: 0;border: none; | 126 | color: #000000;padding: 0;border: none; |
| 131 | border-radius: 5px;margin-bottom: 17px; | 127 | border-radius: 5px;margin-bottom: 17px; |
| 132 | i{display: inline-block;width: 34px;height: 34px;margin-right: 20px;} | 128 | i{display: inline-block;width: 34px;height: 34px;margin-right: 20px;} |
| 133 | &.btn { | ||
| 134 | color: #fff;background: #1561CB; | ||
| 135 | .user01{background: url("@/assets/admin/user01_dwn@2x.png") no-repeat center;background-size: contain;} | ||
| 136 | .user02{background: url("@/assets/admin/user02_dwn@2x.png") no-repeat center;background-size: contain;} | ||
| 137 | .user03{background: url("@/assets/admin/user03_dwn@2x.png") no-repeat center;background-size: contain;} | ||
| 138 | .user04{background: url("@/assets/admin/user04_dwn@2x.png") no-repeat center;background-size: contain;} | ||
| 139 | } | ||
| 140 | } | 129 | } |
| 141 | .colHight { | 130 | .colHight { |
| 142 | height: 800px; | 131 | height: 800px; |
| 143 | } | 132 | } |
| 144 | .avatarBox{background: url("@/assets/admin/user_bg@2x.png") no-repeat center;background-size: cover; | 133 | .avatarBox{background-size: cover; |
| 145 | text-align: center;padding: 30px 0 10px; | 134 | text-align: center;padding: 30px 0 10px; |
| 146 | } | 135 | } |
| 147 | </style> | 136 | </style> | ... | ... |
| ... | @@ -27,31 +27,6 @@ | ... | @@ -27,31 +27,6 @@ |
| 27 | </div> | 27 | </div> |
| 28 | 28 | ||
| 29 | <div class="box"> | 29 | <div class="box"> |
| 30 | <!-- <!– 会员认证 –>--> | ||
| 31 | <!-- <el-col :span="6" class="ping">--> | ||
| 32 | <!-- <div v-if="authenticationStatusa == 2" class="text-center ">--> | ||
| 33 | <!-- <div class="textFather">--> | ||
| 34 | <!-- <el-image style="width: 170px; height: 234px;display: block;" :src="image" fit="cover" />--> | ||
| 35 | <!-- <div class="TextSon">--> | ||
| 36 | <!-- <div class="tex1">--> | ||
| 37 | <!-- {{ form.name }}--> | ||
| 38 | <!-- <br>--> | ||
| 39 | <!-- <span v-if="form.memCode" style="font-weight: 400;">--> | ||
| 40 | <!-- 会员编号:{{ form.memCode }}--> | ||
| 41 | <!-- </span>--> | ||
| 42 | <!-- </div>--> | ||
| 43 | <!-- </div>--> | ||
| 44 | <!-- </div>--> | ||
| 45 | <!-- <!– <el-link type="primary" @click="downloadFN">--> | ||
| 46 | <!-- <div style="margin-top: 10px;">--> | ||
| 47 | <!-- <el-icon class="el-icon--left"><Download /></el-icon>--> | ||
| 48 | <!-- <span>下载证书</span>--> | ||
| 49 | <!-- </div>--> | ||
| 50 | <!-- </el-link> –>--> | ||
| 51 | <!-- </div>--> | ||
| 52 | <!-- </el-col>--> | ||
| 53 | |||
| 54 | <!-- <el-col :span="18">--> | ||
| 55 | <!-- 页面展示--> | 30 | <!-- 页面展示--> |
| 56 | <el-form class="rightForm" :model="form" label-width="160px"> | 31 | <el-form class="rightForm" :model="form" label-width="160px"> |
| 57 | <el-form-item v-if="form.aname" label="所属协会" prop="parentId"> | 32 | <el-form-item v-if="form.aname" label="所属协会" prop="parentId"> |
| ... | @@ -124,39 +99,11 @@ | ... | @@ -124,39 +99,11 @@ |
| 124 | </div> | 99 | </div> |
| 125 | </el-form-item> | 100 | </el-form-item> |
| 126 | 101 | ||
| 127 | <!-- <el-form-item label="入会材料上传" class="FileUpload" prop="materials1" :disabled="!result">--> | 102 | |
| 128 | <!-- <a :href="`${ download +form?.materials1?.[0]?.url}`" :underline="false" target="_blank">--> | 103 | |
| 129 | <!-- <el-button class="left" type="primary" link>{{ form?.materials1?.[0]?.name }}</el-button>--> | 104 | |
| 130 | <!-- </a>--> | 105 | |
| 131 | <!-- </el-form-item>--> | ||
| 132 | <!-- <el-form-item label="入会申请书" class="FileUpload" prop="applicationForMembership1" :disabled="!result">--> | ||
| 133 | <!-- <a :href="`${ download +form?.applicationForMembership1?.[0]?.url}`" :underline="false" target="_blank">--> | ||
| 134 | <!-- <el-button class="left" type="primary" link>{{ form?.applicationForMembership1?.[0]?.name }}</el-button>--> | ||
| 135 | <!-- </a>--> | ||
| 136 | <!-- </el-form-item>--> | ||
| 137 | <!-- <el-form-item label="是否为自有场所" prop="ownFlag">--> | ||
| 138 | <!-- <el-radio-group v-model="form.ownFlag" disabled class="left">--> | ||
| 139 | <!-- <el-radio label="1">是</el-radio>--> | ||
| 140 | <!-- <el-radio label="0">否</el-radio>--> | ||
| 141 | <!-- </el-radio-group>--> | ||
| 142 | <!-- </el-form-item>--> | ||
| 143 | <!-- <el-form-item v-if="form.ownFlag==1" label="合同" class="FileUpload" prop="applicationForMembership1" :disabled="!result">--> | ||
| 144 | <!-- <a :href="`${ download +form?.leaseContract?.[0]?.url}`" :underline="false" target="_blank">--> | ||
| 145 | <!-- <el-button class="left" type="primary" link>{{ form?.leaseContract?.[0]?.name }}</el-button>--> | ||
| 146 | <!-- </a>--> | ||
| 147 | <!-- </el-form-item>--> | ||
| 148 | <!-- <el-form-item v-if="form.ownFlag==0" label="租赁合同" class="FileUpload" prop="applicationForMembership1" :disabled="!result">--> | ||
| 149 | <!-- <a :href="`${ download +form?.leaseContract?.[0]?.url}`" :underline="false" target="_blank">--> | ||
| 150 | <!-- <el-button class="left" type="primary" link>{{ form?.leaseContract?.[0]?.name }}</el-button>--> | ||
| 151 | <!-- </a>--> | ||
| 152 | <!-- </el-form-item>--> | ||
| 153 | <!-- <el-form-item v-if="form.ownFlag==0" label="租赁合同有效期" class="FileUpload" prop="applicationForMembership1" :disabled="!result">--> | ||
| 154 | <!-- <div v-if="leaseTimeS?.length>0" class="left">{{ leaseTimeS?.replaceAll(',','--') }}</div>--> | ||
| 155 | <!-- </el-form-item>--> | ||
| 156 | <br> | ||
| 157 | <br> | ||
| 158 | </el-form> | 106 | </el-form> |
| 159 | <!-- </el-col>--> | ||
| 160 | </div> | 107 | </div> |
| 161 | 108 | ||
| 162 | <!-- 编辑 --> | 109 | <!-- 编辑 --> |
| ... | @@ -347,62 +294,6 @@ | ... | @@ -347,62 +294,6 @@ |
| 347 | <el-option label="五年" value="5" /> | 294 | <el-option label="五年" value="5" /> |
| 348 | </el-select> | 295 | </el-select> |
| 349 | </el-form-item> | 296 | </el-form-item> |
| 350 | <!-- <el-form-item v-if="form.deptType==6" label="是否申请考点" prop="applyPoints">--> | ||
| 351 | <!-- <el-radio-group v-model="forms.applyPoints">--> | ||
| 352 | <!-- <el-radio label="1">是</el-radio>--> | ||
| 353 | <!-- <el-radio label="0">否</el-radio>--> | ||
| 354 | <!-- </el-radio-group>--> | ||
| 355 | <!-- </el-form-item>--> | ||
| 356 | <!-- <div v-if="forms.examPointFlag==1">--> | ||
| 357 | <!-- <el-form-item label="教学场地人均面积" prop="examPointInfo.area">--> | ||
| 358 | <!-- <el-input v-model="forms.examPointInfo.area" placeholder="">--> | ||
| 359 | <!-- <template #append>平米/人</template>--> | ||
| 360 | <!-- </el-input>--> | ||
| 361 | <!-- </el-form-item>--> | ||
| 362 | <!-- <el-form-item label="教练员数量" prop="examPointInfo.coach">--> | ||
| 363 | <!-- <el-input v-model="forms.examPointInfo.coach" placeholder="">--> | ||
| 364 | <!-- <template #append>人</template>--> | ||
| 365 | <!-- </el-input>--> | ||
| 366 | <!-- </el-form-item>--> | ||
| 367 | <!-- <el-form-item label="主教练最高级别证书编号" prop="examPointInfo.coachNumber">--> | ||
| 368 | <!-- <el-input v-model="forms.examPointInfo.coachNumber" placeholder="" />--> | ||
| 369 | <!-- </el-form-item>--> | ||
| 370 | <!-- <el-form-item label="主教练最高级别证书" class="FileUpload" prop="examPointInfo.coachCertificate">--> | ||
| 371 | <!-- <!– <el-input v-model="forms.examPointInfo.coachCertificate" placeholder="" />–>--> | ||
| 372 | <!-- <FileUpload v-model="forms.examPointInfo.coachCertificate" :limit="1" :file-size="100" />--> | ||
| 373 | <!-- </el-form-item>--> | ||
| 374 | <!-- <el-form-item label="主教练最高段位" prop="examPointInfo.coachDuan">--> | ||
| 375 | <!-- <el-select v-model="forms.examPointInfo.coachDuan" style="width: 100%;" placeholder="请选择">--> | ||
| 376 | <!-- <el-option v-for="item in duanList" :key="item.value" :label="item.label" :value="item.value" />--> | ||
| 377 | <!-- </el-select>--> | ||
| 378 | <!-- </el-form-item>--> | ||
| 379 | <!-- <el-form-item label="主教练最高段位证书编号" prop="examPointInfo.coachDuanNumber">--> | ||
| 380 | <!-- <el-input v-model="forms.examPointInfo.coachDuanNumber" placeholder="" />--> | ||
| 381 | <!-- </el-form-item>--> | ||
| 382 | <!-- <el-form-item label="主教练最高段位证书" class="FileUpload" prop="examPointInfo.coachDuanCertificate">--> | ||
| 383 | <!-- <!– <el-input v-model="forms.examPointInfo.coachDuanCertificate" placeholder="" />–>--> | ||
| 384 | <!-- <FileUpload v-model="forms.examPointInfo.coachDuanCertificate" :limit="1" :file-size="100" />--> | ||
| 385 | <!-- </el-form-item>--> | ||
| 386 | <!-- <el-form-item label="是否具备级位考官资质 " prop="examPointInfo.examiner">--> | ||
| 387 | <!-- <el-radio-group v-model="forms.examPointInfo.examiner">--> | ||
| 388 | <!-- <el-radio label="1">是</el-radio>--> | ||
| 389 | <!-- <el-radio label="0">否</el-radio>--> | ||
| 390 | <!-- </el-radio-group>--> | ||
| 391 | <!-- </el-form-item>--> | ||
| 392 | <!-- <div v-if="forms.examPointInfo.examiner==1">--> | ||
| 393 | <!-- <el-form-item label="考官姓名 " prop="examPointInfo.examinerName">--> | ||
| 394 | <!-- <el-input v-model="forms.examPointInfo.examinerName" placeholder="" />--> | ||
| 395 | <!-- </el-form-item>--> | ||
| 396 | <!-- <el-form-item label="考官证号" prop="examPointInfo.examinerNumber">--> | ||
| 397 | <!-- <el-input v-model="forms.examPointInfo.examinerNumber" placeholder="" />--> | ||
| 398 | <!-- </el-form-item>--> | ||
| 399 | <!-- <el-form-item label="考官证书" class="FileUpload" prop="examPointInfo.examinerCertificate">--> | ||
| 400 | <!-- <!– <el-input v-model="forms.examPointInfo.examinerCertificate" placeholder="" />–>--> | ||
| 401 | <!-- <FileUpload v-model="forms.examPointInfo.examinerCertificate" :limit="1" :file-size="100" />--> | ||
| 402 | <!-- </el-form-item>--> | ||
| 403 | <!-- </div>--> | ||
| 404 | <!-- </div>--> | ||
| 405 | |||
| 406 | </el-form> | 297 | </el-form> |
| 407 | <template #footer> | 298 | <template #footer> |
| 408 | <div style="text-align: center;"> | 299 | <div style="text-align: center;"> |
| ... | @@ -865,40 +756,4 @@ function payTheFees() { | ... | @@ -865,40 +756,4 @@ function payTheFees() { |
| 865 | .right{ | 756 | .right{ |
| 866 | margin-right: 10px; | 757 | margin-right: 10px; |
| 867 | } | 758 | } |
| 868 | |||
| 869 | |||
| 870 | :deep(.legalCard){ | ||
| 871 | :deep(.el-form-item__label){color: #7B7F83} | ||
| 872 | |||
| 873 | .el-upload__tip{ | ||
| 874 | display: none; | ||
| 875 | } | ||
| 876 | .card1{ | ||
| 877 | .el-upload--picture-card{ | ||
| 878 | background-image: url(@/assets/images/card2.png); | ||
| 879 | background-size: 100%; | ||
| 880 | } | ||
| 881 | } | ||
| 882 | |||
| 883 | .card2{ | ||
| 884 | .el-upload--picture-card{ | ||
| 885 | background-image: url(@/assets/images/card1.png); | ||
| 886 | background-size: 100%; | ||
| 887 | } | ||
| 888 | } | ||
| 889 | .el-upload-list--picture-card{ | ||
| 890 | width: 360px; | ||
| 891 | height: 225px; | ||
| 892 | .el-upload--picture-card{ | ||
| 893 | width: 100%; | ||
| 894 | height: 100%; | ||
| 895 | } | ||
| 896 | } | ||
| 897 | .el-upload-list__item{ | ||
| 898 | width: 360px; | ||
| 899 | height: 225px; | ||
| 900 | // border-radius: 10px; | ||
| 901 | // border: 1px dashed #4e4c4c; | ||
| 902 | } | ||
| 903 | } | ||
| 904 | </style> | 759 | </style> | ... | ... |
| ... | @@ -344,10 +344,8 @@ import { deptTreeSelect } from '@/api/system/user' | ... | @@ -344,10 +344,8 @@ import { deptTreeSelect } from '@/api/system/user' |
| 344 | import { getCurrentInstance } from '@vue/runtime-core' | 344 | import { getCurrentInstance } from '@vue/runtime-core' |
| 345 | import { ref, reactive, toRefs } from 'vue' | 345 | import { ref, reactive, toRefs } from 'vue' |
| 346 | import auditEdit from './auditEdit' | 346 | import auditEdit from './auditEdit' |
| 347 | // import image from '@/assets/images/certificate.png' | ||
| 348 | import { certifiedDeptTree } from '@/api/system/userInfo.js' | 347 | import { certifiedDeptTree } from '@/api/system/userInfo.js' |
| 349 | import { ElMessageBox } from 'element-plus' | 348 | import { ElMessageBox } from 'element-plus' |
| 350 | // import type { Action } from 'element-plus' | ||
| 351 | const pr = ref([]) | 349 | const pr = ref([]) |
| 352 | const baseUrl = import.meta.env.VITE_APP_BASE_API | 350 | const baseUrl = import.meta.env.VITE_APP_BASE_API |
| 353 | const download = ref(baseUrl + '/upload/getFile?fileUrl=') | 351 | const download = ref(baseUrl + '/upload/getFile?fileUrl=') |
| ... | @@ -772,40 +770,4 @@ function close() { | ... | @@ -772,40 +770,4 @@ function close() { |
| 772 | .right{ | 770 | .right{ |
| 773 | margin-right: 10px; | 771 | margin-right: 10px; |
| 774 | } | 772 | } |
| 775 | |||
| 776 | |||
| 777 | :deep(.legalCard){ | ||
| 778 | :deep(.el-form-item__label){color: #7B7F83} | ||
| 779 | |||
| 780 | .el-upload__tip{ | ||
| 781 | display: none; | ||
| 782 | } | ||
| 783 | .card1{ | ||
| 784 | .el-upload--picture-card{ | ||
| 785 | background-image: url(@/assets/images/card2.png); | ||
| 786 | background-size: 100%; | ||
| 787 | } | ||
| 788 | } | ||
| 789 | |||
| 790 | .card2{ | ||
| 791 | .el-upload--picture-card{ | ||
| 792 | background-image: url(@/assets/images/card1.png); | ||
| 793 | background-size: 100%; | ||
| 794 | } | ||
| 795 | } | ||
| 796 | .el-upload-list--picture-card{ | ||
| 797 | width: 360px; | ||
| 798 | height: 225px; | ||
| 799 | .el-upload--picture-card{ | ||
| 800 | width: 100%; | ||
| 801 | height: 100%; | ||
| 802 | } | ||
| 803 | } | ||
| 804 | .el-upload-list__item{ | ||
| 805 | width: 360px; | ||
| 806 | height: 225px; | ||
| 807 | // border-radius: 10px; | ||
| 808 | // border: 1px dashed #4e4c4c; | ||
| 809 | } | ||
| 810 | } | ||
| 811 | </style> | 773 | </style> | ... | ... |
| ... | @@ -157,8 +157,7 @@ function closeDialog() { | ... | @@ -157,8 +157,7 @@ function closeDialog() { |
| 157 | display: inline-block; | 157 | display: inline-block; |
| 158 | height: 120px; | 158 | height: 120px; |
| 159 | } | 159 | } |
| 160 | .edit-icon{background: url("@/assets/admin/edit@2x.png") no-repeat; | 160 | .edit-icon{ |
| 161 | background-size: contain; | ||
| 162 | width: 38px;height: 38px;display: inline-block;position: absolute;right: 0;} | 161 | width: 38px;height: 38px;display: inline-block;position: absolute;right: 0;} |
| 163 | .user-info-head:hover:after { | 162 | .user-info-head:hover:after { |
| 164 | content: "+"; | 163 | content: "+"; | ... | ... |
| ... | @@ -100,9 +100,6 @@ import {useRouter} from 'vue-router' | ... | @@ -100,9 +100,6 @@ import {useRouter} from 'vue-router' |
| 100 | import {getCurrentInstance, onMounted} from '@vue/runtime-core' | 100 | import {getCurrentInstance, onMounted} from '@vue/runtime-core' |
| 101 | import * as match from '@/apiPc/match' | 101 | import * as match from '@/apiPc/match' |
| 102 | import {ElMessage, ElMessageBox} from 'element-plus' | 102 | import {ElMessage, ElMessageBox} from 'element-plus' |
| 103 | import {nationList} from '@/assets/js/data' | ||
| 104 | import {getGroupInfo} from "@/apiPc/match"; | ||
| 105 | import TeamInfo from "@/viewsPc/center/teamInfo"; | ||
| 106 | import useUserStore from "@/store/modules/user"; | 103 | import useUserStore from "@/store/modules/user"; |
| 107 | import {useStorage} from "@vueuse/core/index"; | 104 | import {useStorage} from "@vueuse/core/index"; |
| 108 | 105 | ... | ... |
| 1 | <template> | 1 | <template> |
| 2 | <div :style="`width: ${width}px`" class="mauto"> | 2 | |
| 3 | <img v-if="type == '晴'" src="@/assets/weather/01_sunny_color_w64.png"/> | 3 | |
| 4 | <img v-if="type == '多云'" src="@/assets/weather/04_sun_cloudy_color_w64.png"/> | ||
| 5 | <img v-if="type == '阴'" src="@/assets/weather/03_cloud_color_w64.png"/> | ||
| 6 | <img v-if="type == '小雨'" src="@/assets/weather/09_light_rain_color_w64.png"/> | ||
| 7 | <img v-if="type == '中雨'" src="@/assets/weather/10_moderate_rain_color_w64.png"/> | ||
| 8 | <img v-if="type == '大雨'" src="@/assets/weather/12_rainstorm_color_w64.png"/> | ||
| 9 | <img v-if="type == '暴雨'" src="@/assets/weather/13_heavy_rainstorm_color_w64.png"/> | ||
| 10 | <img v-if="type.indexOf('雷') > -1" src="@/assets/weather/14_thunderstorm_color_w64.png"/> | ||
| 11 | <img v-if="type.indexOf('雾') > -1" src="@/assets/weather/15_fog_color_w64.png"/> | ||
| 12 | <img v-if="type.indexOf('雪') > -1" src="@/assets/weather/22_snow_color_w64.png"/> | ||
| 13 | <img v-if="type.indexOf('风') > -1" src="@/assets/weather/23_windy_color_w64.png"/> | ||
| 14 | </div> | ||
| 15 | </template> | 4 | </template> |
| 16 | 5 | ||
| 17 | <script setup> | 6 | <script setup> | ... | ... |
| ... | @@ -554,21 +554,6 @@ const goPolicy = () => { | ... | @@ -554,21 +554,6 @@ const goPolicy = () => { |
| 554 | margin: 50px; | 554 | margin: 50px; |
| 555 | } | 555 | } |
| 556 | 556 | ||
| 557 | &.r1 { | ||
| 558 | background: url("@/assets/dance/r1b.png") no-repeat left; | ||
| 559 | |||
| 560 | &:hover { | ||
| 561 | background: url("@/assets/dance/r1.png") no-repeat left; | ||
| 562 | } | ||
| 563 | } | ||
| 564 | |||
| 565 | &.r2 { | ||
| 566 | background: url("@/assets/dance/r2b.png") no-repeat left; | ||
| 567 | |||
| 568 | &:hover { | ||
| 569 | background: url("@/assets/dance/r2.png") no-repeat left; | ||
| 570 | } | ||
| 571 | } | ||
| 572 | 557 | ||
| 573 | &:hover { | 558 | &:hover { |
| 574 | color: #fff; | 559 | color: #fff; | ... | ... |
| ... | @@ -99,12 +99,19 @@ let liquid3 | ... | @@ -99,12 +99,19 @@ let liquid3 |
| 99 | let liquid4 | 99 | let liquid4 |
| 100 | let liquid5 | 100 | let liquid5 |
| 101 | let total = 0 | 101 | let total = 0 |
| 102 | let intervalA = null | ||
| 102 | 103 | ||
| 103 | onMounted(() => { | 104 | onMounted(() => { |
| 104 | init() | 105 | init() |
| 105 | window.addEventListener('resize', handleResize); | 106 | window.addEventListener('resize', handleResize); |
| 106 | }) | 107 | }) |
| 107 | const init = () => { | 108 | const init = () => { |
| 109 | if(!intervalA){ | ||
| 110 | getdata() | ||
| 111 | } | ||
| 112 | intervalA = setInterval(getdata, 1000*60*60); | ||
| 113 | } | ||
| 114 | function getdata() { | ||
| 108 | api.getDegree().then(res=>{ | 115 | api.getDegree().then(res=>{ |
| 109 | list.value = res.data | 116 | list.value = res.data |
| 110 | for (let n in list.value){ | 117 | for (let n in list.value){ |
| ... | @@ -117,7 +124,6 @@ const init = () => { | ... | @@ -117,7 +124,6 @@ const init = () => { |
| 117 | setQ1(q5.value,[list.value['非常不满意']/total,list.value['非常不满意']/total],liquid5) | 124 | setQ1(q5.value,[list.value['非常不满意']/total,list.value['非常不满意']/total],liquid5) |
| 118 | }) | 125 | }) |
| 119 | } | 126 | } |
| 120 | |||
| 121 | function handleResize() { | 127 | function handleResize() { |
| 122 | liquid1.resize() | 128 | liquid1.resize() |
| 123 | liquid2.resize() | 129 | liquid2.resize() | ... | ... |
| ... | @@ -55,7 +55,7 @@ const init = () => { | ... | @@ -55,7 +55,7 @@ const init = () => { |
| 55 | if(!intervalA){ | 55 | if(!intervalA){ |
| 56 | getdata() | 56 | getdata() |
| 57 | } | 57 | } |
| 58 | intervalA = setInterval(getdata, 1000*60); | 58 | intervalA = setInterval(getdata, 1000*60*60); |
| 59 | } | 59 | } |
| 60 | const getdata = () => { | 60 | const getdata = () => { |
| 61 | getAdata() | 61 | getAdata() | ... | ... |
| ... | @@ -19,12 +19,18 @@ import * as api from "@/apiPc/common" | ... | @@ -19,12 +19,18 @@ import * as api from "@/apiPc/common" |
| 19 | const statisticStyle = ref({'color':'#fff'}) | 19 | const statisticStyle = ref({'color':'#fff'}) |
| 20 | const modules = ref([Autoplay]) | 20 | const modules = ref([Autoplay]) |
| 21 | const list =ref([]) | 21 | const list =ref([]) |
| 22 | 22 | let intervalA = null | |
| 23 | onMounted(()=>{ | 23 | onMounted(()=>{ |
| 24 | init() | 24 | init() |
| 25 | }) | 25 | }) |
| 26 | 26 | ||
| 27 | function init() { | 27 | function init() { |
| 28 | if(!intervalA){ | ||
| 29 | getdata() | ||
| 30 | } | ||
| 31 | intervalA = setInterval(getdata, 1000*60*60); | ||
| 32 | } | ||
| 33 | const getdata = () => { | ||
| 28 | api.getBasicInfo().then(res=>{ | 34 | api.getBasicInfo().then(res=>{ |
| 29 | list.value = [] | 35 | list.value = [] |
| 30 | let arr = res.data | 36 | let arr = res.data |
| ... | @@ -34,6 +40,7 @@ function init() { | ... | @@ -34,6 +40,7 @@ function init() { |
| 34 | } | 40 | } |
| 35 | }) | 41 | }) |
| 36 | } | 42 | } |
| 43 | |||
| 37 | //动画的暂停与开始 | 44 | //动画的暂停与开始 |
| 38 | var svg1 = document.getElementById("svg_an"); | 45 | var svg1 = document.getElementById("svg_an"); |
| 39 | function pauseAn() { | 46 | function pauseAn() { | ... | ... |
-
Please register or sign in to post a comment