9/18 23:20

This commit is contained in:
kun
2019-09-18 23:19:04 +08:00
parent f60ff668a0
commit dd5f652106
56 changed files with 18716 additions and 6 deletions

32
src/App.vue Normal file
View File

@@ -0,0 +1,32 @@
<template>
<div id="app">
<router-view />
</div>
</template>
<style lang="less">
* {
margin: 0;
padding: 0;
}
body {
background-color: #fcfbfb;
display: flex;
justify-content: center;
&::-webkit-scrollbar {
width: 0px;
height: 5px;
}
}
@font-face {
font-family: "MicrosoftYaHei";
src: url("../static/fontFile/MicrosoftYaHei.ttf");
}
@font-face {
font-family: "HanWangKaiBold-Gb5";
src: url("../static/fontFile/HanWangKaiBold-Gb5.ttf");
}
</style>

BIN
src/assets/logo.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.7 KiB

View File

@@ -0,0 +1,64 @@
<template>
<div id="wrapper-w" :style="{'background-image':'url('+imgUrl.foot+')'}">
<div>
<p>版权所有朝阳区委社会工委区民政局</p>
<p>京ICP备19040879号 Copyright 2019-2029 www.cyteam.orz.cn All Rights Reserved</p>
</div>
</div>
</template>
<script>
export default {
components: {},
props: {},
data () {
return {
imgUrl: {
foot: require('../../static/img/foot.png')
}
}
},
computed: {},
watch: {},
methods: {},
created () {},
mounted () {}
}
</script>
<style lang='scss' scoped>
#wrapper-w {
width: 1280px;
height: 227px !important;
background-size: 100% 100%;
background-color: rgba($color: #000000, $alpha: 0.6);
display: flex;
justify-content: center;
align-items: center;
& > div {
display: inline-block;
height: 64px;
text-align: center;
& > p:first-child {
font-family: "MicrosoftYaHei";
font-size: 16px;
font-weight: normal;
font-stretch: normal;
letter-spacing: -1px;
color: #ffffff;
}
& > p:last-child {
font-family: "MicrosoftYaHei";
font-size: 16px;
font-weight: bold;
font-stretch: normal;
line-height: 60px;
letter-spacing: 0px;
color: #ffffff;
}
}
}
</style>

View File

@@ -0,0 +1,82 @@
<template>
<div id="wrapper" :style="{'background-image':'url('+imgUrl.home+')'}">
<div class="box">
<div @click="btn(0)" :class="styleNum == 0 ? 'style': ''">党组织建设</div>
<div @click="btn(1)" :class="styleNum == 1 ? 'style': ''">社会组织信用信息查询</div>
<div @click="btn(2)" :class="styleNum == 2 ? 'style': ''">政府购买社会组织服务项目管理</div>
<div @click="btn(3)" :class="styleNum == 3 ? 'style': ''">个人中心</div>
<div>
<span @click="$jump('login')">登录</span> |
<span @click="$jump('registered')">注册</span>
</div>
</div>
</div>
</template>
<script>
export default {
components: {},
props: ['index_num'],
data () {
return {
imgUrl: { home: require('../../static/img/home.png') },
styleNum: 0
}
},
computed: {},
watch: {},
methods: {},
created () {
let sub = this.styleNum
sub = this.$props.index_num
this.styleNum = sub
},
mounted () {}
}
</script>
<style lang='scss' scoped>
#wrapper {
width: 1280px;
height: 389px;
box-sizing: border-box;
background-size: 100% 100%;
position: relative;
.box {
position: absolute;
bottom: 0%;
left: 0%;
width: 1280px;
height: 64px;
background-color: rgba($color: #fff, $alpha: 0.5);
display: flex;
justify-content: space-evenly;
align-items: center;
& > div {
font-family: "MicrosoftYaHei";
font-size: 20px;
font-weight: bold;
font-stretch: normal;
letter-spacing: 0px;
color: #333333;
text-shadow: 0px 2px 5px 0px rgba(0, 0, 0, 0.35);
cursor: pointer;
}
.style {
font-family: "MicrosoftYaHei";
font-size: 20px;
font-weight: bold;
font-stretch: normal;
letter-spacing: 0px;
color: #ffffff;
text-shadow: 0px 2px 5px 0px rgba(0, 0, 0, 0.35);
padding: 21px;
background-color: #e60012;
border-radius: 10px;
}
}
}
</style>

22
src/main.js Normal file
View File

@@ -0,0 +1,22 @@
import Vue from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'
import '../static/css/reset.css'
import '../static/css/swiper.css'
import '../static/fonts/iconfont.css'
Vue.prototype.$jump = function (url) {
this.$router.push({
name: url
})
}
Vue.config.productionTip = false
new Vue({
router,
store,
render: h => h(App)
}).$mount('#app')

48
src/router.js Normal file
View File

@@ -0,0 +1,48 @@
import Vue from 'vue'
import Router from 'vue-router'
/** 首页 */
import homePage from './views/homePage/homePage'
/** 登录 */
import login from './views/login/login'
/** 注册 */
import registered from './views/registered/registered'
/** 头部导航 */
import headerNav from './components/headerNav'
/** 尾部导航 */
import footerNav from './components/footerNav'
Vue.use(Router)
export default new Router({
mode: 'history',
base: process.env.BASE_URL,
routes: [
{
path: '/',
name: 'homePage',
component: homePage
},
{
path: '/login',
name: 'login',
component: login
},
{
path: '/registered',
name: 'registered',
component: registered
},
{
path: '/headerNav',
name: 'headerNav',
component: headerNav
},
{
path: '/footerNav',
name: 'footerNav',
component: footerNav
}
]
})

16
src/store.js Normal file
View File

@@ -0,0 +1,16 @@
import Vue from 'vue'
import Vuex from 'vuex'
Vue.use(Vuex)
export default new Vuex.Store({
state: {
},
mutations: {
},
actions: {
}
})

View File

@@ -0,0 +1,795 @@
<template>
<div class="wrapper">
<headerNav :index_num="index_num"></headerNav>
<!-- 内容ONE -->
<div class="container">
<!-- 轮播图 -->
<div class="swiperone">
<div class="swiper-container swiper-one">
<div class="swiper-wrapper">
<div class="swiper-slide">
<img :src="imgUrl.lb" alt />
<div class="box">加强基础设施建设完善城市功能扩大城市容量</div>
</div>
<div class="swiper-slide">
<img :src="imgUrl.lb" alt />
<div class="box">加强基础设施建设完善城市功能扩大城市容量</div>
</div>
<div class="swiper-slide">
<img :src="imgUrl.lb" alt />
<div class="box">加强基础设施建设完善城市功能扩大城市容量</div>
</div>
</div>
</div>
<!-- 如果需要导航按钮 -->
<div class="swiper-button-prev swiper-button-white"></div>
<div class="swiper-button-next swiper-button-white"></div>
</div>
<!-- 通知公告的box -->
<div class="right">
<!-- 通知公告 -->
<div class="top">
<div class="b">
<span>通知公告</span>
<span>更多>></span>
</div>
</div>
<!-- 列表显示 -->
<ul>
<template v-for="(item,index) in mData">
<li :key="index" v-if="index < 8">
<a href="javascript:void(0);">
<span>{{item.text}}</span>
<time>[{{item.time}}]</time>
</a>
</li>
</template>
</ul>
</div>
</div>
<!-- TWO -->
<div class="container-two">
<p class="title">新闻动态</p>
<div id="box">
<!-- 党组织信息 -->
<div class="box-child">
<div class="top-p">
<div>
<img class="o" :src="imgUrl.gq" alt />
<span>党组织信息</span>
</div>
<span>更多>></span>
</div>
<div class="p">
<div class="text">
<p>党的建设即马克思主义建党理论同党的建设实践的统一马克思主义党的学说的应用</p>
<p>党的建设包括三个方面的含义</p>
<p>一是研究党的建设的理论科学</p>
<p>二是在马克思主义党的学说指导下所进行的党的建设的实践活动</p>
<p>三是作为理论原则与实际行动两者中介的约法规章</p>
</div>
<div class="img">
<div class="img-box">
<img :src="imgUrl.wjx" alt />
<span>申请成为党组织</span>
</div>
</div>
</div>
</div>
<!-- 统一战线 -->
<div class="box-child">
<div class="top-p">
<div>
<img class="n" :src="imgUrl.ws" alt />
<span>统一战线</span>
</div>
<span>更多>></span>
</div>
<ul class="ulo">
<template v-for="(item,index) in mmData">
<li :key="index" v-if="index<9">
<a href="javascript:void(0);">{{item.text}}</a>
</li>
</template>
</ul>
</div>
<!-- 组织生活 -->
<div class="box-child">
<div class="top-p">
<div>
<img class="e" :src="imgUrl.zz" alt />
<span>组织生活</span>
</div>
<span>更多>></span>
</div>
<ul class="ult">
<template v-for="(item,index) in mmmData">
<li :key="index" v-if="index<9">
<a href="javascript:void(0);">{{item.text}}</a>
</li>
</template>
</ul>
</div>
</div>
</div>
<!-- THREE -->
<div class="container-three">
<p class="title">@书记</p>
<div class="box-list">
<template v-for="(item,index) in sData">
<div class="list" :key="index" v-if="index<3">
<img :src="item.img" alt />
<div class="wen-ben">
<h3>{{item.title}}</h3>
<p>{{item.text}}</p>
</div>
</div>
</template>
</div>
</div>
<!-- FOUR -->
<div class="container-four">
<p class="title">党建矩阵</p>
<div class="swiper-box-list">
<div class="swiper-container swiper-two">
<div class="swiper-wrapper">
<template v-for="(item,index) in list">
<div class="swiper-slide" :key="index">
<img :src="imgUrl.img3" alt />
<span>中国政府网站{{index+1}}</span>
</div>
</template>
</div>
<div class="swiper-button-next"></div>
</div>
</div>
</div>
<footerNav class="footer"></footerNav>
</div>
</template>
<script>
/* eslint-disable */
import headerNav from "../../components/headerNav";
/* eslint-disable */
import footerNav from "../../components/footerNav";
import Swiper from "swiper";
export default {
components: {
headerNav,
footerNav
},
props: {},
data() {
return {
index_num: 0,
imgUrl: {
lb: require("../../../static/img/lb.png"),
gq: require("../../../static/img/gq.png"),
ws: require("../../../static/img/ws.png"),
zz: require("../../../static/img/zz.png"),
wjx: require("../../../static/img/wjx.png"),
img3: require("../../../static/img/img3.png"),
right: require("../../../static/img/right.png")
},
mData: [
{ text: "贵安新区拟对部分社会组织进行注销登记", time: "2019-3-14" },
{ text: "四平市民政局以服务平台促社会组织发展", time: "2019-3-14" },
{
text:
"淮北市开展2019年度市级社会组织评淮北市开展2019年度市级社会组织评",
time: "2019-3-14"
},
{
text:
"佛山市民政局通报2018年度市级社会佛山市民政局通报2018年度市级社会",
time: "2019-3-14"
},
{
text:
"社会组织唱响《我和我的祖国》献礼新社会组织唱响《我和我的祖国》献礼新",
time: "2019-3-14"
},
{
text:
"市民政局与市体育总会召开协调会专项市民政局与市体育总会召开协调会专项",
time: "2019-3-14"
},
{
text:
'民政部立项中央财政支持"促进肝健康民政部立项中央财政支持"促进肝健康',
time: "2019-3-14"
},
{
text:
"静海区召开社会组织参与扶贫帮困活动静海区召开社会组织参与扶贫帮困活动",
time: "2019-3-14"
}
],
mmData: [
{ text: "中国宋庆龄基金会“留守儿童关爱行动”" },
{ text: "全国港澳研究会举办“重温邓小”" },
{ text: "市品牌质量创新促进会与香港品质保证局" },
{ text: "无锡市召开骨干社会组织信息员工作会议" },
{ text: "中国扶贫基金会向尼泊尔聋哑学生捐赠爰" },
{ text: "中国围棋协会贺电:三星杯包揽四强围棋" },
{ text: "非公环保企业和环保社会组织召开纪念" },
{ text: "青春诗会”新闻发布会在京举行" },
{ text: "市社会组织联合会召开“垃圾分类,社会组织在行动" },
{ text: "关于对全院参加业务培训人员的友情提示" }
],
mmmData: [
{ text: "铁岭市非公有制经济组织和社会组织觉组" },
{ text: "市社科联举办社科学会党建工作推进会暨" },
{ text: "以党建“三个覆盖”为重点推进社会组织" },
{ text: "门头沟区委社会工委区民政局开展社会组" },
{ text: "2019年市团干部岗位实践能力大比武非" },
{ text: "萍多市非公有制经济组织和社会组织党建" },
{ text: "门头沟区委社会工委区民政局开展社会组" },
{ text: "举办两新组织党组织书记重点培训班" },
{ text: "市社会组织综合党委组织观看“两弹一星”" },
{ text: "关于对全院参加业务培训人员的友情提示" }
],
sData: [
{
img: require("../../../static/img/img0.png"),
title: "信访人对信访事项处理意见不服的,怎么办?",
text:
"活动策划是提高市场占有率的有效行为,一份可执行、可操作、创意突出的活动策划案,可有效提升企业的知名度及品牌美誉度。活动策划案是相对于市场策划案而言,严格说它们同属市场策划的兄弟分支,活动策划、..."
},
{
img: require("../../../static/img/img1.png"),
title: "信访人对信访事项处理意见不服的,怎么办?",
text:
"活动策划是提高市场占有率的有效行为,一份可执行、可操作、创意突出的活动策划案,可有效提升企业的知名度及品牌美誉度。活动策划案是相对于市场策划案而言,严格说它们同属市场策划的兄弟分支,活动策划、..."
},
{
img: require("../../../static/img/img2.png"),
title: "信访人对信访事项处理意见不服的,怎么办?",
text:
"活动策划是提高市场占有率的有效行为,一份可执行、可操作、创意突出的活动策划案,可有效提升企业的知名度及品牌美誉度。活动策划案是相对于市场策划案而言,严格说它们同属市场策划的兄弟分支,活动策划、..."
},
{
img: require("../../../static/img/img0.png"),
title: "信访人对信访事项处理意见不服的,怎么办?",
text:
"活动策划是提高市场占有率的有效行为,一份可执行、可操作、创意突出的活动策划案,可有效提升企业的知名度及品牌美誉度。活动策划案是相对于市场策划案而言,严格说它们同属市场策划的兄弟分支,活动策划、..."
}
],
list: [1, 2, 3, 4, 5, 6, 7, 8, 9, 10]
};
},
computed: {},
watch: {},
methods: {
initSwiper() {
var mySwiper = new Swiper(".swiper-one", {
loop: true,
autoplay: {
delay: 3000
},
/** 如果需要前进后退按钮 */
navigation: {
nextEl: ".swiper-button-next",
prevEl: ".swiper-button-prev"
}
});
},
initialSwiper() {
var swiper = new Swiper(".swiper-two", {
spaceBetween: 20,
slidesPerView: 3,
slidesPerGroup: 2,
loop: true,
loopFillGroupWithBlank: true,
navigation: {
prevEl: ".swiper-button-next"
}
});
}
},
created() {},
mounted() {
// this.initSwiper();
this.initialSwiper();
}
};
</script>
<style lang='scss' scoped>
.wrapper {
width: 1280px;
height: 2893px;
box-sizing: border-box;
position: relative;
.footer {
margin-top: 80px;
}
/** FOUR */
.container-four {
width: 100%;
height: 260px;
padding: 0 40px;
box-sizing: border-box;
margin-top: 59px;
.swiper-box-list {
width: 100%;
height: 196px;
box-sizing: border-box;
padding: 0 42px 0 4px;
display: flex;
.swiper-button-next {
outline: none;
position: absolute;
top: 50%;
width: 60px;
height: 60px;
margin-top: -22px;
z-index: 10;
cursor: pointer;
background-image: url("../../../static//img/right.png");
background-size: 60px 60px;
background-position: center;
background-repeat: no-repeat;
}
.swiper-slide {
width: 239px !important;
height: 196px;
background-color: #ffffff;
box-shadow: 0px 10px 9px 1px rgba(206, 204, 204, 0.12);
border-radius: 5px;
text-align: center;
margin-right: 20px;
display: flex;
flex-direction: column;
img {
width: 239px;
height: 130px;
background-color: #ffffff;
border-radius: 5px 5px 0px 0px;
}
span {
font-family: "MicrosoftYaHei";
font-size: 18px;
font-weight: bold;
font-stretch: normal;
line-height: 60px;
letter-spacing: 0px;
color: #333333;
}
}
}
.title {
font-family: "MicrosoftYaHei";
font-size: 24px;
font-weight: bold;
font-stretch: normal;
letter-spacing: 0px;
color: #333333;
margin-bottom: 30px;
}
}
/** THREE */
.container-three {
width: 100%;
height: 848px;
padding: 0 40px;
box-sizing: border-box;
margin-top: 59px;
.box-list {
width: 100%;
height: 794px;
background-color: #ffffff;
box-sizing: border-box;
padding: 0 60px 0 8px;
.list {
width: 1132px;
height: 239px;
box-sizing: border-box;
padding: 33px 8px 26px 12px;
display: flex;
justify-content: space-between;
img {
width: 300px;
height: 180px;
border-radius: 5px;
}
.wen-ben {
width: 763px;
h3 {
font-family: "MicrosoftYaHei";
font-size: 22px;
font-weight: normal;
font-stretch: normal;
letter-spacing: 1px;
color: #333333;
margin: 17px 0 36px 0;
}
p {
font-family: MicrosoftYaHei;
font-size: 18px;
font-weight: normal;
font-stretch: normal;
line-height: 30px;
letter-spacing: 1px;
color: #666666;
}
}
}
}
.title {
font-family: "MicrosoftYaHei";
font-size: 24px;
font-weight: bold;
font-stretch: normal;
letter-spacing: 0px;
color: #333333;
margin-bottom: 30px;
}
}
/** TWO */
.container-two {
width: 100%;
height: 482px;
padding: 0 40px;
box-sizing: border-box;
margin-top: 59px;
#box {
width: 100%;
height: 428px;
display: flex;
justify-content: space-between;
align-items: flex-start;
.box-child {
width: 365px;
height: 428px;
background-color: #ffffff;
box-shadow: 0px 10px 8px 2px rgba(173, 167, 167, 0.08);
border-radius: 10px;
box-sizing: border-box;
padding: 0 14px;
.ult {
margin-top: 29px;
width: 303px;
height: 297px;
li {
a {
color: #333333;
}
font-family: "MicrosoftYaHei";
font-size: 16px;
font-weight: normal;
font-stretch: normal;
line-height: 33px;
letter-spacing: 0px;
overflow: hidden;
-o-text-overflow: clip;
text-overflow: clip;
white-space: nowrap;
}
}
.ulo {
margin-top: 29px;
width: 321px;
height: 297px;
li {
a {
color: #333333;
}
font-family: "MicrosoftYaHei";
font-size: 16px;
font-weight: normal;
font-stretch: normal;
line-height: 33px;
letter-spacing: 0px;
overflow: hidden;
-o-text-overflow: clip;
text-overflow: clip;
white-space: nowrap;
}
}
.p {
margin-top: 29px;
.img {
width: 309px;
display: flex;
justify-content: flex-end;
.img-box {
width: 157px;
height: 32px;
background-image: linear-gradient(
35deg,
#f82747 0%,
#fe5b2c 100%
);
border-radius: 25px;
text-align: center;
line-height: 32px;
position: relative;
img {
width: 18px;
height: 18px;
position: absolute;
left: -5%;
top: 24%;
}
span {
font-family: "MicrosoftYaHei";
font-size: 16px;
font-weight: bold;
font-stretch: normal;
letter-spacing: 0px;
color: #fbfffb;
text-shadow: 2px 4px 7px 0px rgba(175, 14, 39, 0.83);
}
}
}
.text {
width: 309px;
height: 262px;
p {
font-family: "MicrosoftYaHei";
font-size: 16px;
font-weight: normal;
font-stretch: normal;
line-height: 33px;
letter-spacing: 0px;
color: #333333;
}
}
}
.top-p {
width: 100%;
height: 56px;
display: flex;
justify-content: space-between;
align-items: center;
border-bottom: 1px solid #ccc;
span {
font-family: "MicrosoftYaHei";
font-size: 14px;
font-weight: normal;
font-stretch: normal;
letter-spacing: -1px;
color: #999999;
}
div {
display: flex;
justify-content: space-between;
align-items: center;
.o {
width: 27px;
height: 24px;
}
.n {
width: 35px;
height: 23px;
}
.e {
width: 27px;
height: 26px;
}
span {
margin-left: 16px;
font-family: "MicrosoftYaHei";
font-size: 16px;
font-weight: normal;
font-stretch: normal;
letter-spacing: 0px;
color: #666666;
}
}
}
}
}
.title {
margin-bottom: 30px;
font-family: "MicrosoftYaHei";
font-size: 24px;
font-weight: bold;
font-stretch: normal;
letter-spacing: 0px;
color: #333333;
}
}
/** ONE */
.container {
width: 100%;
padding: 0 40px;
box-sizing: border-box;
margin-top: 40px;
display: flex;
justify-content: space-between;
align-items: center;
.right {
width: 491px;
height: 400px;
ul {
height: 333px;
margin-top: 28px;
box-sizing: border-box;
display: flex;
flex-direction: column;
justify-content: space-between;
li {
width: 491px;
a {
display: flex;
justify-content: space-between;
align-items: center;
time {
font-family: "MicrosoftYaHei";
font-size: 17px;
font-weight: normal;
font-stretch: normal;
letter-spacing: 0px;
color: #999999;
}
span {
display: inline-block;
width: 329px;
font-family: "MicrosoftYaHei";
font-size: 18px;
font-weight: normal;
font-stretch: normal;
letter-spacing: 0px;
color: #333333;
overflow: hidden;
-o-text-overflow: ellipsis;
text-overflow: ellipsis;
white-space: nowrap;
}
}
}
}
.top {
border-bottom: 1px solid #ccc;
padding-bottom: 20px;
box-sizing: border-box;
width: 491px;
height: 40px;
display: flex;
align-items: flex-start;
.b {
width: 100%;
height: 24px;
display: flex;
align-items: center;
justify-content: space-between;
& > span:first-child {
font-family: "MicrosoftYaHei";
font-size: 24px;
font-weight: bold;
font-stretch: normal;
letter-spacing: 0px;
color: #333333;
}
& > span:last-child {
font-family: "MicrosoftYaHei";
font-size: 14px;
font-weight: normal;
font-stretch: normal;
line-height: 10px;
letter-spacing: -1px;
color: #999999;
}
}
}
}
.swiperone {
position: relative;
.swiper-one {
width: 660px;
height: 400px;
box-sizing: border-box;
.swiper-slide {
width: 660px;
height: 400px;
position: relative;
.box {
width: 660px;
height: 80px;
background-color: rgba($color: #000000, $alpha: 0.7);
position: absolute;
bottom: 0%;
left: 0%;
z-index: 5;
text-align: center;
font-family: "MicrosoftYaHei";
font-size: 20px;
font-weight: normal;
font-stretch: normal;
line-height: 80px;
letter-spacing: -1px;
color: #ffffff;
}
& > img {
width: 100%;
height: 100%;
}
}
}
.swiper-button-prev {
position: absolute;
top: 93%;
left: 4%;
width: 13px;
height: 23px;
margin-top: -22px;
z-index: 10;
cursor: pointer;
background-size: 13px 23px;
background-position: center;
background-repeat: no-repeat;
}
.swiper-button-next {
position: absolute;
top: 93%;
right: 4%;
width: 13px;
height: 23px;
margin-top: -22px;
z-index: 10;
cursor: pointer;
background-size: 13px 23px;
background-position: center;
background-repeat: no-repeat;
}
}
}
}
</style>

172
src/views/login/login.vue Normal file
View File

@@ -0,0 +1,172 @@
<template>
<div class="wrapper" :style="{'background-image':'url('+imgUrl.login+')'}">
<div class="box">
<div class="box-o">
<h3> </h3>
<div class="input">
<input type="text" v-model="nickname" name="nickname" placeholder="组织名称" />
<img class="one" :src="imgUrl.yh" alt />
<input type="password" v-model="pwd" name="pwd" placeholder="密码" />
<img class="two" :src="imgUrl.mm" alt />
</div>
<div class="three">
<span @click="$jump('registered')">注册</span>
<span>忘记密码</span>
</div>
<div class="btn" @click="login()">
<button type="submit">立即登录</button>
</div>
</div>
</div>
</div>
</template>
<script>
export default {
components: {},
props: {},
data () {
return {
imgUrl: {
login: require('../../../static/img/login.png'),
yh: require('../../../static/img/yh.png'),
mm: require('../../../static/img/mm.png')
},
nickname: '',
pwd: ''
}
},
computed: {},
watch: {},
methods: {
login () {}
},
created () {},
mounted () {}
}
</script>
<style lang='scss' scoped>
.wrapper {
width: 1280px;
height: 720px;
background-size: 100% 100%;
display: flex;
justify-content: center;
align-items: center;
.box {
width: 736px;
height: 489px;
background-color: rgba($color: #fff, $alpha: 0.5);
box-shadow: 0px 3px 29px 0px rgba(0, 0, 0, 0.18);
border-radius: 10px;
display: flex;
justify-content: center;
align-items: center;
.box-o {
width: 434px;
height: 309px;
.btn {
width: 218px;
height: 56px;
margin: 0 auto;
button {
box-sizing: border-box;
width: 218px;
height: 56px;
background-color: #e60012;
border: 1px solid #e60012;
box-shadow: 3px 5px 9px 0px rgba(252, 142, 142, 0.47);
border-radius: 28px;
text-align: center;
line-height: 56px;
font-family: "MicrosoftYaHei";
font-size: 18px;
font-weight: normal;
font-stretch: normal;
letter-spacing: 0px;
color: #ffffff;
outline: none;
}
}
.three {
margin: 15px auto 31px;
width: 96%;
display: flex;
justify-content: space-between;
align-items: center;
span {
font-family: "MicrosoftYaHei";
font-size: 14px;
font-weight: normal;
font-stretch: normal;
letter-spacing: 0px;
color: #666666;
}
}
.input {
width: 100%;
height: 135px;
margin-top: 33px;
display: flex;
flex-direction: column;
justify-content: space-between;
align-items: center;
position: relative;
.one {
width: 15px;
height: 17px;
position: absolute;
top: 14%;
left: 5%;
}
.two {
width: 18px;
height: 19px;
position: absolute;
bottom: 14%;
left: 5%;
}
input {
width: 434px;
height: 56px;
border-radius: 28px;
border: solid 1px #a5acbb;
opacity: 0.8;
padding: 0 54px;
box-sizing: border-box;
outline: none;
font-family: "MicrosoftYaHei";
font-size: 18px;
font-weight: normal;
font-stretch: normal;
line-height: 88px;
letter-spacing: 0px;
color: #333333;
}
}
h3 {
font-family: "HanWangKaiBold-Gb5";
font-size: 26px;
font-weight: normal;
font-stretch: normal;
letter-spacing: 0px;
color: #333333;
text-align: center;
}
}
}
}
</style>

View File

@@ -0,0 +1,373 @@
<template>
<div class="wrapper" :style="{'background-image':'url('+imgUrl.registered+')'}">
<div class="box">
<div class="boxx">
<h3> </h3>
<form action method>
<!-- 请输入组织名称 -->
<label>
<span class="one">
<span class="iconfont icon-ren"></span>
<span class="iconfont icon-vertical_line"></span>
</span>
<input
class="input"
type="text"
placeholder="请输入组织名称"
required
pattern
oninvalid="setCustomValidity('不能为空')"
oninput="setCustomValidity('')"
/>
<span class="span1">组织名称将用于用户登录</span>
</label>
<!-- 请输入密码 -->
<label>
<span class="two">
<span class="iconfont icon-suo"></span>
<span class="iconfont icon-vertical_line"></span>
</span>
<input
class="input"
type="password"
placeholder="请输入密码"
required
pattern
oninvalid="setCustomValidity('不能为空')"
oninput="setCustomValidity('')"
/>
</label>
<!-- 请再次输入密码 -->
<label>
<span class="two">
<span class="iconfont icon-suo"></span>
<span class="iconfont icon-vertical_line"></span>
</span>
<input
class="input"
type="password"
placeholder="请再次输入密码"
required
pattern
oninvalid="setCustomValidity('不能为空')"
oninput="setCustomValidity('')"
/>
</label>
<!-- 请输入统一社会信用代码 -->
<label>
<span class="two">
<span class="iconfont icon-_H_"></span>
<span class="iconfont icon-vertical_line"></span>
</span>
<input
class="input"
type="password"
placeholder="请输入统一社会信用代码"
required
pattern
oninvalid="setCustomValidity('不能为空')"
oninput="setCustomValidity('')"
/>
</label>
<!-- 请输入法人代表 -->
<label>
<span class="two">
<span class="iconfont icon-fuzeren"></span>
<span class="iconfont icon-vertical_line"></span>
</span>
<input
class="input"
type="text"
placeholder="请输入法人代表"
required
pattern
oninvalid="setCustomValidity('不能为空')"
oninput="setCustomValidity('')"
/>
</label>
<!-- 请输入单位属性 -->
<label>
<span class="two">
<span class="iconfont icon-icon-test"></span>
<span class="iconfont icon-vertical_line"></span>
</span>
<input
class="input"
type="text"
placeholder="请输入单位属性"
required
pattern
oninvalid="setCustomValidity('不能为空')"
oninput="setCustomValidity('')"
/>
</label>
<!-- 请输入业务主管单位名称 -->
<label>
<span class="two">
<span class="iconfont icon-zhuzhuangtu"></span>
<span class="iconfont icon-vertical_line"></span>
</span>
<input
class="input"
type="text"
placeholder="请输入业务主管单位名称"
required
pattern
oninvalid="setCustomValidity('不能为空')"
oninput="setCustomValidity('')"
/>
</label>
<!-- 请输入负责人姓名 -->
<label>
<span class="two">
<span class="iconfont icon-renxiang-"></span>
<span class="iconfont icon-vertical_line"></span>
</span>
<input
class="input"
type="text"
placeholder="请输入负责人姓名"
required
pattern
oninvalid="setCustomValidity('不能为空')"
oninput="setCustomValidity('')"
/>
</label>
<!-- 请输入负责人职务 -->
<label>
<span class="two">
<span class="iconfont icon-lingdai"></span>
<span class="iconfont icon-vertical_line"></span>
</span>
<input
class="input"
type="text"
placeholder="请输入负责人职务"
required
pattern
oninvalid="setCustomValidity('不能为空')"
oninput="setCustomValidity('')"
/>
</label>
<!-- 请输入负责人电话 -->
<label>
<span class="two">
<span class="iconfont icon-dianhua"></span>
<span class="iconfont icon-vertical_line"></span>
</span>
<input
class="input"
type="tel"
placeholder="请输入负责人电话"
required
pattern
oninvalid="setCustomValidity('不能为空')"
oninput="setCustomValidity('')"
/>
</label>
<!-- 管理平台协 -->
<label class="label">
<input
class="checkout"
type="checkbox"
required
oninvalid="setCustomValidity('不能为空')"
oninput="setCustomValidity('')"
/>
<span class="span2">
我已阅读并接受
<span class="span3">管理平台协议</span>
</span>
</label>
<label class="s">
<input type="submit" class="sub" value="立即注册" />
</label>
</form>
</div>
</div>
</div>
</template>
<script>
export default {
components: {},
props: {},
data () {
return {
imgUrl: {
registered: require('../../../static/img/registered.png')
}
}
},
computed: {},
watch: {},
methods: {},
created () {},
mounted () {}
}
</script>
<style lang='scss' scoped>
/** 无效 */
input:required:invalid {
border-color: #ccc !important;
}
/** 有效 */
input:required:valid {
border-color: green !important;
}
.wrapper {
width: 1280px;
height: 1398px;
background-size: 100% 100%;
box-sizing: border-box;
display: flex;
justify-content: center;
align-items: center;
.box {
width: 736px;
height: 1167px;
background-color: rgba($color: #fff, $alpha: 0.5);
box-shadow: 0px 3px 29px 0px rgba(0, 0, 0, 0.18);
border-radius: 10px;
display: flex;
justify-content: center;
align-items: center;
.boxx {
width: 474px;
height: 980px;
h3 {
font-family: "HanWangKaiBold-Gb5";
font-size: 26px;
font-weight: normal;
font-stretch: normal;
line-height: 24px;
letter-spacing: 0px;
color: #333333;
text-align: center;
margin-bottom: 33px;
}
form {
.s {
width: 100%;
text-align: center;
.sub {
margin: 0 auto;
width: 218px;
height: 56px;
background-color: #e60012;
box-shadow: 3px 5px 9px 0px rgba(252, 142, 142, 0.47);
border-radius: 28px;
font-family: "MicrosoftYaHei";
font-size: 18px;
font-weight: normal;
font-stretch: normal;
line-height: 56px;
text-align: center;
letter-spacing: 0px;
color: #ffffff;
outline: none;
}
}
.label {
display: flex;
align-items: center;
height: 15px;
.checkout {
width: 14px;
height: 14px;
background-image: linear-gradient(0deg, #e5e2e2 0%, #ffffff 100%);
border-radius: 3px;
border: solid 1px #bfbfbf;
margin-right: 16px;
}
.span2 {
font-family: "MicrosoftYaHei";
font-size: 14px;
font-weight: normal;
font-stretch: normal;
line-height: 62px;
letter-spacing: 0px;
color: #333333;
}
.span3 {
font-family: "MicrosoftYaHei";
font-size: 14px;
font-weight: normal;
letter-spacing: 0px;
color: #e60012;
}
}
label {
position: relative;
margin-bottom: 25px;
display: inline-block;
.two {
position: absolute;
left: 4%;
top: 33%;
display: flex;
.iconfont {
font-size: 20px;
font-weight: 900;
color: #000;
}
}
.one {
position: absolute;
left: 4%;
top: 24%;
display: flex;
.iconfont {
font-size: 20px;
font-weight: 900;
color: #000;
}
}
.input {
width: 474px;
height: 56px;
border-radius: 28px;
border: solid 1px #a5acbb;
opacity: 0.8;
outline: none;
padding: 0 60px;
box-sizing: border-box;
font-family: "MicrosoftYaHei";
font-size: 18px;
font-weight: normal;
font-stretch: normal;
line-height: 88px;
letter-spacing: 0px;
color: #666666;
}
.span1 {
display: inline-block;
margin-top: 8px;
margin-left: 25px;
font-family: "MicrosoftYaHei";
font-size: 14px;
font-weight: normal;
font-stretch: normal;
letter-spacing: 0px;
color: #999999;
}
}
}
}
}
}
</style>