diff --git a/components.d.ts b/components.d.ts index 99c65244..208a14d8 100644 --- a/components.d.ts +++ b/components.d.ts @@ -8,6 +8,11 @@ export {} /* prettier-ignore */ declare module 'vue' { export interface GlobalComponents { + AImage: typeof import('ant-design-vue/es')['Image'] + AModal: typeof import('ant-design-vue/es')['Modal'] + APopover: typeof import('ant-design-vue/es')['Popover'] + ASelect: typeof import('ant-design-vue/es')['Select'] + ASpin: typeof import('ant-design-vue/es')['Spin'] RouterLink: typeof import('vue-router')['RouterLink'] RouterView: typeof import('vue-router')['RouterView'] } diff --git a/src/component/Administrator/SE/allUser/addAllUser.vue b/src/component/Administrator/SE/allUser/addAllUser.vue index b95ab9c3..868481d2 100644 --- a/src/component/Administrator/SE/allUser/addAllUser.vue +++ b/src/component/Administrator/SE/allUser/addAllUser.vue @@ -1,276 +1,300 @@ \ No newline at end of file + diff --git a/src/component/Administrator/coupons/addAllUser.vue b/src/component/Administrator/coupons/addAllUser.vue index bbc91b4c..70e8c956 100644 --- a/src/component/Administrator/coupons/addAllUser.vue +++ b/src/component/Administrator/coupons/addAllUser.vue @@ -1,277 +1,299 @@ \ No newline at end of file + diff --git a/src/component/HomePage/renew.vue b/src/component/HomePage/renew.vue index 95dc0c24..ba6edb72 100644 --- a/src/component/HomePage/renew.vue +++ b/src/component/HomePage/renew.vue @@ -1,802 +1,922 @@ \ No newline at end of file + diff --git a/src/component/LoginPage/login/enterprise.vue b/src/component/LoginPage/login/enterprise.vue index 42a79785..e9a66258 100644 --- a/src/component/LoginPage/login/enterprise.vue +++ b/src/component/LoginPage/login/enterprise.vue @@ -1,140 +1,115 @@ \ No newline at end of file + diff --git a/src/component/LoginPage/login/personal.vue b/src/component/LoginPage/login/personal.vue index ee92e163..b744e615 100644 --- a/src/component/LoginPage/login/personal.vue +++ b/src/component/LoginPage/login/personal.vue @@ -1,228 +1,201 @@ \ No newline at end of file + diff --git a/src/component/LoginPage/login/school.vue b/src/component/LoginPage/login/school.vue index 174af49c..21b16f5b 100644 --- a/src/component/LoginPage/login/school.vue +++ b/src/component/LoginPage/login/school.vue @@ -1,140 +1,115 @@ \ No newline at end of file + diff --git a/src/component/LoginPage/phoneLogin.vue b/src/component/LoginPage/phoneLogin.vue index cea50ce8..a7745cc9 100644 --- a/src/component/LoginPage/phoneLogin.vue +++ b/src/component/LoginPage/phoneLogin.vue @@ -1,57 +1,63 @@ diff --git a/src/component/LoginPage/phoneModel.vue b/src/component/LoginPage/phoneModel.vue index c33c727c..d214df0a 100644 --- a/src/component/LoginPage/phoneModel.vue +++ b/src/component/LoginPage/phoneModel.vue @@ -1,81 +1,99 @@ \ No newline at end of file + diff --git a/src/component/LoginPage/weiXinLogin.vue b/src/component/LoginPage/weiXinLogin.vue index f5d59419..afa20ebb 100644 --- a/src/component/LoginPage/weiXinLogin.vue +++ b/src/component/LoginPage/weiXinLogin.vue @@ -1,70 +1,76 @@ diff --git a/src/component/Pay/payMethod.vue b/src/component/Pay/payMethod.vue index 48603823..7c19b3ca 100644 --- a/src/component/Pay/payMethod.vue +++ b/src/component/Pay/payMethod.vue @@ -1,91 +1,157 @@ \ No newline at end of file + diff --git a/src/component/WorksPage/Falls.vue b/src/component/WorksPage/Falls.vue index 7554d0c4..d970cda9 100644 --- a/src/component/WorksPage/Falls.vue +++ b/src/component/WorksPage/Falls.vue @@ -1,429 +1,452 @@ - \ No newline at end of file + > div { + width: 100%; + font-size: 16px; + overflow: hidden; + text-overflow: ellipsis; + white-space: nowrap; + } + span { + font-size: 12px; + color: #525252; + } + } + } + .falls_item_detail { + display: flex; + // width: 40%; + // width: 20%; + // width: 7rem; + // width: 70px; + width: auto; + justify-content: space-between; + > label:nth-child(1) { + margin-right: 2rem; + } + > label { + // cursor: pointer; + } + > label, + > div { + display: flex; + align-items: center; + i { + // font-size: 1.8rem; + font-size: 12px; + } + svg, + i { + color: #9e9ea7; + display: flex; + // width: 10px; + // height: 10px; + margin-right: 5px; + } + span { + margin-left: 3px; + font-size: 12px; + } + } + } + } + } + } +} + diff --git a/src/component/home/batchGeneration/createCloud.vue b/src/component/home/batchGeneration/createCloud.vue index c468b43c..95984b3d 100644 --- a/src/component/home/batchGeneration/createCloud.vue +++ b/src/component/home/batchGeneration/createCloud.vue @@ -1,748 +1,855 @@ \ No newline at end of file + diff --git a/src/component/mainPage/signUp/registerModel.vue b/src/component/mainPage/signUp/registerModel.vue index eb46a071..3297147c 100644 --- a/src/component/mainPage/signUp/registerModel.vue +++ b/src/component/mainPage/signUp/registerModel.vue @@ -1,112 +1,167 @@ \ No newline at end of file + .login_form_content { + margin-top: 4rem; + position: relative; + &[state="2"] { + > * { + opacity: 0; + } + .login_form_email { + opacity: 1; + } + } + .password_input_block { + position: relative; + + .password_show_icon { + position: absolute; + font-size: 2.4rem; + right: 2rem; + top: 1.7rem; + cursor: pointer; + } + > .conditionShow { + bottom: 0; + position: absolute; + right: 0; + left: auto; + transform: translateY(-5rem); + background: #404040; + color: #fff; + font-size: 1.4rem; + padding: 2rem; + border-radius: 2rem; + > .item { + display: flex; + align-items: center; + margin-bottom: 0.5rem; + &:last-child { + margin-bottom: 0; + } + > .icon { + margin-right: 1rem; + i { + display: flex; + // &.fi-br-cross-small{ + // color: red; + // } + } + } + } + } + } + + .login_form_input { + width: 100%; + height: 5rem; + margin-top: 1rem; + border: 0.1rem solid #dfdfdf; + border-radius: 2.5rem; + padding-left: 2.1rem; + line-height: 5rem; + font-size: 1.4rem; + box-sizing: border-box; + outline: none; + transition: all 0.3s; + &:hover { + border: 0.1rem solid #000; + } + &::placeholder { + color: #a5b0c2; + } + &.active { + border: 0.1rem solid red; + } + } + } + + .email_last_step { + // margin-top: 4rem; + .email_last_step_bottom { + padding: 0 40px; + } + .email_last_step_block { + padding: 10px; + border-bottom: 2px solid; + box-sizing: border-box; + display: flex; + align-items: center; + justify-content: space-between; + .email_last_step_content { + margin-left: 1rem; + font-size: 2.2rem; + font-weight: bold; + color: #030303; + } + .email_last_step_block_icon { + cursor: pointer; + margin-right: 1rem; + height: 20px; + } + } + + .fi-br-arrow-left { + font-size: 2.5rem; + font-weight: bold; + color: #030303; + transform: translateY(1rem); + display: inline-block; + } + } + + .login_submit_button { + height: 5rem; + background: #000; + border-radius: 2.5rem; + line-height: 5rem; + text-align: center; + font-size: 1.8rem; + font-weight: 500; + color: #ffffff; + cursor: pointer; + transition: all 0.3s; + &:hover { + background: #3c3c3c; + } + &[state="2"] { + cursor: not-allowed; + } + } + .login_text { + font-size: 1.6rem; + margin-top: 4rem; + color: #151515; + display: flex; + justify-content: flex-end; + + .forget_password_text { + cursor: pointer; + } + } + } + + .forget_password_content { + position: absolute; + top: 50%; + left: 50%; + transform: translate(-50%, -50%); + width: 60rem; + background: #ffffff; + box-shadow: -0.3rem 2rem 5.9rem 0px rgba(200, 200, 200, 0.3); + border-radius: 1rem; + padding: 3rem 6rem 6.5rem; + box-sizing: border-box; + + .forget_password_content_block { + cursor: pointer; + } + + .fi-br-arrow-left { + font-size: 3.8rem; + font-weight: bold; + color: #030303; + transform: translateY(1rem); + display: inline-block; + } + .forget_password_content_title { + font-size: 3.2rem; + font-weight: bold; + color: #030303; + margin-left: 2rem; + } + + .forget_passored_form_content { + margin-top: 3.5rem; + + .forget_passored_form_title { + font-size: 2.4rem; + font-weight: bold; + color: #030303; + display: flex; + justify-content: space-between; + box-sizing: border-box; + } + + .forget_passored_form_input { + width: 100%; + height: 5rem; + margin-top: 1rem; + border: 0.1rem solid #dfdfdf; + border-radius: 2.5rem; + padding-left: 2.1rem; + line-height: 5rem; + font-size: 1.4rem; + box-sizing: border-box; + outline: none; + + &::placeholder { + color: #a5b0c2; + } + } + } + + .forget_verif_code_des { + font-size: 2.4rem; + font-weight: bold; + color: #030303; + margin-top: 3.5rem; + } + + .forget_submit_button { + height: 5rem; + background: #000; + border-radius: 2.5rem; + line-height: 5rem; + text-align: center; + font-size: 1.8rem; + font-weight: 500; + color: #ffffff; + cursor: pointer; + } + } + } + + .marign_top20 { + margin-top: 2rem; + } + + .marign_top22 { + margin-top: 2.2rem; + } + + .marign_top30 { + margin-top: 3rem; + } + .marign_top40 { + margin-top: 4rem; + } + .thirdPartyLogin { + display: flex; + // justify-content: flex-start; + > div { + position: relative; + margin-right: 1rem; + > .mask { + position: absolute; + width: 100%; + height: 100%; + top: 0; + left: 0; + z-index: 2; + cursor: pointer; + } + } + } + .tip_content { + font-size: 1.3rem; + font-weight: bold; + color: #000; + cursor: pointer; + } + + .email_last_step_des { + display: flex; + align-items: center; + justify-content: space-between; + margin-top: 4rem; + margin-bottom: 2rem; + + .sent_email_content { + font-size: 1.8rem; + font-weight: bold; + color: #a5b0c2; + } + + .email_tip_content { + font-size: 1.4rem; + color: #030303; + } + } +} + diff --git a/src/main.ts b/src/main.ts index 099a2418..2763dc36 100644 --- a/src/main.ts +++ b/src/main.ts @@ -1,35 +1,42 @@ -import { createApp,defineComponent,h } from 'vue' -import App from './App.vue' -import router from './router' -import store from './store' -import './assets/iconfont/iconfont.css' -import './assets/iconfont/iconfont.js' -import './assets/iconfont2/iconfont.css' -import flexible from './tool/flexible.js' -import 'ant-design-vue/dist/antd.css'; -import Antd from 'ant-design-vue'; -import './assets/style/style.less'; +import { createApp, defineComponent, h } from "vue"; +import App from "./App.vue"; +import router from "./router"; +import store from "./store"; +import "./assets/iconfont/iconfont.css"; +import "./assets/iconfont/iconfont.js"; +import "./assets/iconfont2/iconfont.css"; +import flexible from "./tool/flexible.js"; +import "ant-design-vue/dist/antd.css"; +import Antd from "ant-design-vue"; +import "./assets/style/style.less"; import VueLazyload from "vue-lazyload"; -import i18n from './lang/index' -import { getBrowserInfo, murmur } from './tool/util' -import "../node_modules/@flaticon/flaticon-uicons/css/all/all.css" +import i18n from "./lang/index"; +import { getBrowserInfo, murmur } from "./tool/util"; +import "../node_modules/@flaticon/flaticon-uicons/css/all/all.css"; // import { Https } from "@/tool/https"; -import 'swiper/css'; -import 'swiper/css/pagination'; +import "swiper/css"; +import "swiper/css/pagination"; // import "@/tool/color-thief.js"; // import "@/tool/fabric.brushes.js"; // import "@/tool/fabric.min.js"; const app = createApp(App); -flexible() +flexible(); import { getCookie, setCookie } from "@/tool/cookie"; -document.addEventListener('touchstart', function(event) { - event.preventDefault(); // 阻止长按选中 +import loadingGif from "./assets/images/homePage/loading.gif"; + +document.addEventListener("touchstart", function (event) { + event.preventDefault(); // 阻止长按选中 }); let loadingParam = { - loading: require('./assets/images/homePage/loading.gif'), - attempt: 1 -} -app.use(store).use(router).use(Antd).use(VueLazyload, loadingParam).use(i18n).mount('#app') - + loading: loadingGif, + attempt: 1, +}; +app + .use(store) + .use(router) + .use(Antd) + .use(VueLazyload, loadingParam) + .use(i18n) + .mount("#app"); diff --git a/src/views/Login.vue b/src/views/Login.vue index 2a66792a..de5045b4 100644 --- a/src/views/Login.vue +++ b/src/views/Login.vue @@ -1,55 +1,74 @@ \ No newline at end of file +.loginPage { + width: 100%; + height: 100%; + position: relative; + display: flex; + > .left, + > .right { + height: 100%; + } + > .left { + width: 60%; + background: #f7f8fa; + position: relative; + > .mask { + position: absolute; + width: 100%; + height: 100%; + top: 0; + left: 0; + background: linear-gradient( + to bottom, + rgba(255, 255, 255, 0) 0%, + rgba(0, 0, 0, 0.8) 100% + ); + display: flex; + justify-content: center; + align-items: center; + color: #fff; + cursor: pointer; + > .content { + text-align: center; + padding: 15rem; + //黑色径向渐变 + background: radial-gradient( + ellipse at center, + rgba(0, 0, 0, 0.3) 0%, + rgba(0, 0, 0, 0) 70% + ); + .userNum { + line-height: 1; + margin-bottom: 3rem; + > .title { + font-size: 8rem; + font-weight: 900; + } + > div { + font-size: 3rem; + font-weight: 500; + } + } + > .info { + font-size: 4rem; + font-weight: 500; + } + } + } + } + > .right { + display: flex; + width: 40%; + align-items: center; + justify-content: center; + flex-direction: column; + > .Text { + width: 60rem; + text-align: center; + > .title { + font-size: 4rem; + font-weight: 900; + line-height: 1.2; + margin-bottom: 2rem; + } + > .info { + font-size: 1.8rem; + margin-bottom: 2rem; + line-height: 1.2; + } + > .continue { + > i { + margin-left: 1rem; + } + } + } + > .loginBox { + width: 60rem; + > .selectType { + width: 100%; + text-align: center; + > .text { + font-size: 2.5rem; + font-weight: 600; + } + > .typeList { + > div { + margin: 0 auto; + width: 33rem; + margin-top: 0.8rem; + border-radius: 1rem; + border: 2px solid; + display: flex; + align-items: center; + justify-content: center; + } + } + } + > .login { + position: relative; + > .title { + font-size: 4rem; + font-weight: 900; + display: flex; + align-items: center; + > i { + margin-right: 2rem; + font-size: 3rem; + display: flex; + cursor: pointer; + align-items: center; + } + } + } + } + } +} +