@ -0,0 +1,90 @@
|
||||
<template>
|
||||
<view class="containers" :style="{'height':winHeight+'px'}">
|
||||
<view class="title">BD访客</view>
|
||||
<view class="bdfk">
|
||||
<view>
|
||||
<u--image :showLoading="true" :src="ptfk" width="315rpx" height="600rpx" @click="toUrl(1)"></u--image>
|
||||
</view>
|
||||
<view class="sgry">
|
||||
<u--image :src="wlcl" width="315rpx" height="280rpx" @click="toUrl(2)"></u--image>
|
||||
<view>
|
||||
<u--image :src="sgry" width="315rpx" height="280rpx" @click="toUrl(3)"></u--image>
|
||||
</view>
|
||||
</view>
|
||||
<!-- <img src="../../static/img/ptfk1.png" alt=""> -->
|
||||
</view>
|
||||
<view class="title">BD管理员</view>
|
||||
<view>
|
||||
<u--image :src="bdgl" width="670rpx" height="336rpx" @click="toUrl(4)"></u--image>
|
||||
</view>
|
||||
|
||||
</view>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
export default {
|
||||
data() {
|
||||
return {
|
||||
ptfk: require('../../static/img/ptfk1.png'),
|
||||
wlcl: require('../../static/img/wlcl1.png'),
|
||||
sgry: require('../../static/img/sgry1.png'),
|
||||
bdgl: require('../../static/img/bdgl.png'),
|
||||
winHeight: 0
|
||||
}
|
||||
},
|
||||
onLoad() {
|
||||
console.log(uni.getSystemInfoSync().statusBarHeight)
|
||||
this.winHeight = uni.getSystemInfoSync().screenHeight - uni.getSystemInfoSync().statusBarHeight * 2-20;
|
||||
console.log(this.winHeight)
|
||||
},
|
||||
methods: {
|
||||
toUrl(type) {
|
||||
let url = ""
|
||||
switch (type) {
|
||||
case 1:
|
||||
url = "/pages/bd/mine"
|
||||
break;
|
||||
case 2:
|
||||
url = ""
|
||||
break;
|
||||
case 3:
|
||||
url = ""
|
||||
break;
|
||||
case 4:
|
||||
url = "/pages/index/login"
|
||||
break;
|
||||
}
|
||||
console.log(url)
|
||||
uni.navigateTo({
|
||||
url:url
|
||||
})
|
||||
}
|
||||
}
|
||||
}
|
||||
</script>
|
||||
|
||||
<style scoped>
|
||||
.containers {
|
||||
background-color: #044ed7;
|
||||
padding: 0 40rpx;
|
||||
padding-bottom:20px;
|
||||
}
|
||||
|
||||
.title {
|
||||
color: #fff;
|
||||
font-size: 32rpx;
|
||||
padding: 40rpx 0;
|
||||
padding-top: 70rpx
|
||||
}
|
||||
.title:first-child{
|
||||
padding-top:30rpx
|
||||
}
|
||||
.bdfk {
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
}
|
||||
|
||||
.sgry view {
|
||||
margin-top: 40rpx
|
||||
}
|
||||
</style>
|
||||
@ -0,0 +1,68 @@
|
||||
<template>
|
||||
<view class="containers" :style="{'height':winHeight+'px'}">
|
||||
<view :style="{'height':winHeight*.5+'px','position':'relative'}" class="logo">
|
||||
<view>
|
||||
<u--image :showLoading="true" :src="logo" width="336rpx" height="336rpx"></u--image>
|
||||
</view>
|
||||
</view>
|
||||
<view class="login">
|
||||
<u--form labelPosition="top" :labelStyle="labelStyle" :labelWidth="'auto'" :model="form" :rules="rules" ref="form">
|
||||
<u-form-item label="用户名" prop="form.name" ref="item1">
|
||||
<u--input v-model="form.name" border="bottom" placeholder="请输入用户名"></u--input>
|
||||
</u-form-item>
|
||||
<u-form-item label="密码" prop="form.password" ref="item1">
|
||||
<u--input type="password" v-model="form.password" border="bottom" placeholder="请输入密码"></u--input>
|
||||
</u-form-item>
|
||||
<view class="sbtn">
|
||||
<u-button type="primary" size="large" @click="submit">登录</u-button>
|
||||
</view>
|
||||
</u--form>
|
||||
</view>
|
||||
</view>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
export default {
|
||||
data() {
|
||||
return {
|
||||
logo: require("../../static/img/bdlogo.png"),
|
||||
winHeight: 0,
|
||||
form: {},
|
||||
rules: {},
|
||||
labelStyle:{
|
||||
fontSize:'12px',
|
||||
color:"#ccc"
|
||||
}
|
||||
}
|
||||
},
|
||||
onLoad() {
|
||||
this.winHeight = uni.getSystemInfoSync().screenHeight - uni.getSystemInfoSync().statusBarHeight * 2 - 20;
|
||||
},
|
||||
methods: {
|
||||
|
||||
submit(){
|
||||
uni.navigateTo({
|
||||
url:"/pages/bd/mine"
|
||||
})
|
||||
}
|
||||
}
|
||||
}
|
||||
</script>
|
||||
|
||||
<style scoped>
|
||||
.containers {
|
||||
background-color: #fff;
|
||||
padding: 0 40rpx;
|
||||
padding-bottom: 20px;
|
||||
}
|
||||
|
||||
.logo view {
|
||||
position: absolute;
|
||||
top: 50%;
|
||||
left: 50%;
|
||||
transform: translate(-50%, -50%);
|
||||
}
|
||||
.sbtn{
|
||||
margin-top:60rpx
|
||||
}
|
||||
</style>
|
||||
@ -1,106 +0,0 @@
|
||||
.tomap {
|
||||
width: 34rpx;
|
||||
height: 34rpx;
|
||||
background: rgba(242, 214, 188, .4);
|
||||
border-radius: 50%;
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
align-content: center;
|
||||
margin-left: 30rpx;
|
||||
}
|
||||
|
||||
|
||||
|
||||
.iconfont {
|
||||
color: #6EAC97;
|
||||
font-size: 24rpx;
|
||||
margin-right: 19rpx;
|
||||
}
|
||||
|
||||
.icon-ditu-dibiao {
|
||||
color: #787BA2;
|
||||
}
|
||||
|
||||
.tag {
|
||||
height: 37rpx;
|
||||
background: #ccc;
|
||||
border-radius: 8rpx;
|
||||
padding: 7rpx 16rpx;
|
||||
font-size: 24rpx;
|
||||
font-family: PingFang SC;
|
||||
font-weight: 400;
|
||||
color: #FFFFFF;
|
||||
}
|
||||
|
||||
.activityBox-row {
|
||||
font-size: 24rpx;
|
||||
font-family: PingFang SC;
|
||||
font-weight: 400;
|
||||
color: #828282;
|
||||
margin-bottom: 15rpx;
|
||||
}
|
||||
|
||||
.activityBox_btn {
|
||||
|
||||
background: #EF9525;
|
||||
}
|
||||
|
||||
.activityBox {
|
||||
background-color: #ffffff;
|
||||
margin-bottom: 26rpx;
|
||||
}
|
||||
|
||||
.activityBox-title {
|
||||
flex: 1;
|
||||
font-size: 28rpx;
|
||||
font-family: PingFang SC;
|
||||
font-weight: 400;
|
||||
color: #4E4E4E;
|
||||
}
|
||||
|
||||
|
||||
.activityBox-content {
|
||||
padding: 31rpx 24rpx;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
.activityBox-top {
|
||||
position: relative;
|
||||
|
||||
}
|
||||
|
||||
.book-status {
|
||||
background: url("@/static/img/status_bg.png") no-repeat;
|
||||
background-size: cover;
|
||||
width: 255rpx;
|
||||
height: 48rpx;
|
||||
position: absolute;
|
||||
margin-left: -127.5rpx;
|
||||
left: 50%;
|
||||
top: 142.5rpx;
|
||||
text-align: center;
|
||||
font-size: 28rpx;
|
||||
font-family: PingFang SC;
|
||||
font-weight: 400;
|
||||
color: #FFFFFF;
|
||||
line-height: 48rpx;
|
||||
}
|
||||
|
||||
.book-num {
|
||||
background: #FFFFFF;
|
||||
opacity: 0.85;
|
||||
position: absolute;
|
||||
right: 0;
|
||||
bottom: 21rpx;
|
||||
padding: 12rpx 34rpx;
|
||||
border-top-left-radius: 53rpx;
|
||||
border-bottom-left-radius: 53rpx;
|
||||
font-size: 20rpx;
|
||||
color: #4E4E4E;
|
||||
}
|
||||
|
||||
.book-num-y {
|
||||
color: #D98012;
|
||||
font-size: 34rpx;
|
||||
}
|
||||
@ -0,0 +1,86 @@
|
||||
.db{
|
||||
|
||||
}
|
||||
.db>view:first-child{
|
||||
font-size:32rpx;
|
||||
padding:20rpx
|
||||
}
|
||||
.dblist{
|
||||
|
||||
}
|
||||
.dbitem{
|
||||
background-color: #fff;
|
||||
border-radius: 20rpx;
|
||||
position: relative;
|
||||
padding:40rpx 30rpx;
|
||||
padding-top:0;
|
||||
margin-bottom:30rpx
|
||||
}
|
||||
.dbtype{
|
||||
position: absolute;
|
||||
top:0;
|
||||
right:0;
|
||||
padding:20rpx 40rpx;
|
||||
background-color:#044ed7;
|
||||
border-radius:0 20rpx 0 20rpx;
|
||||
color:#fff
|
||||
}
|
||||
.dbstatus{
|
||||
color:#303639;
|
||||
}
|
||||
.dbstatus>view:first-child{
|
||||
font-size: 50rpx;
|
||||
margin-bottom:20rpx
|
||||
}
|
||||
.dbinfo{
|
||||
padding:30rpx 0
|
||||
}
|
||||
.dbinfo>view{
|
||||
padding-right:60rpx;
|
||||
}
|
||||
.dbinfo>view:first-child{
|
||||
border-right: 1px solid #f0f4f7;
|
||||
}
|
||||
.dbinfo>view:last-child{
|
||||
padding-left:40rpx;
|
||||
padding-right:0
|
||||
}
|
||||
.dbinfo>view view{
|
||||
padding-bottom:20rpx
|
||||
}
|
||||
.dbinfo>view view:last-child{
|
||||
padding-bottom:0rpx
|
||||
}
|
||||
.dbinfo>view view text{
|
||||
color:#8f9596;
|
||||
}
|
||||
.dblong{
|
||||
color:#8f9596;
|
||||
font-size: 30rpx;
|
||||
padding-top:30rpx;
|
||||
border-top: 1px solid #f0f4f7;
|
||||
}
|
||||
.bm{
|
||||
border-bottom: 1px solid #f0f4f7;
|
||||
padding:30rpx 0
|
||||
}
|
||||
.dbbtns{
|
||||
background: #fff;
|
||||
padding: 20rpx;
|
||||
padding-bottom: 0rpx;
|
||||
}
|
||||
.dbbtns text{
|
||||
padding: 20rpx 50rpx;
|
||||
background: #eceefe;
|
||||
border-radius: 20rpx;
|
||||
margin-bottom: 10px;
|
||||
width: 15%;
|
||||
text-align: center;
|
||||
}
|
||||
.dbbtns text.active{
|
||||
margin-bottom: 0;
|
||||
border-radius: 20rpx 20rpx 0 0;
|
||||
font-size: 36rpx;
|
||||
background-color: #044ed7;
|
||||
color:#fff
|
||||
}
|
||||
@ -1,146 +0,0 @@
|
||||
.book-box{
|
||||
font-size: 24rpx ;
|
||||
}
|
||||
.book-box-title {
|
||||
font-weight: 400;
|
||||
color: #828282;
|
||||
}
|
||||
|
||||
.book-box-row {
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
margin-top: 38rpx;
|
||||
}
|
||||
|
||||
.book-box-selectInfo {
|
||||
background: #FCF6E3;
|
||||
height: 66rpx;
|
||||
width: 100vw;
|
||||
padding: 0rpx 42rpx;
|
||||
margin-bottom: 20rpx;
|
||||
display: flex;
|
||||
color: #828282;
|
||||
line-height: 66rpx;
|
||||
font-size: 24rpx;
|
||||
justify-content: space-between;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
.book-box-selectInfo-right {
|
||||
display: flex;
|
||||
color: #EF9525;
|
||||
}
|
||||
|
||||
.book-box-selectInfo-righttxt {
|
||||
text-decoration: underline;
|
||||
margin-right: 10rpx;
|
||||
}
|
||||
|
||||
|
||||
.book-box-row .book-box-row-date {
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
flex: 1;
|
||||
justify-content: space-between;
|
||||
}
|
||||
|
||||
.book-box-row .book-box-row-date .book-box-row-dateitem {
|
||||
background: #F7F6F4;
|
||||
border-radius: 5rpx;
|
||||
padding: 24rpx 32rpx;
|
||||
color: #4E4E4E;
|
||||
position: relative;
|
||||
}
|
||||
|
||||
.book-box-timerow {
|
||||
display: flex;
|
||||
margin-top: 36rpx;
|
||||
flex-wrap: wrap;
|
||||
}
|
||||
|
||||
.book-box-row-timeitem {
|
||||
background: #F7F6F4;
|
||||
border-radius: 5ppx;
|
||||
padding: 19rpx 39rpx;
|
||||
font-size: 24rpx;
|
||||
color: #4E4E4E;
|
||||
position: relative;
|
||||
margin-right: 9rpx;
|
||||
margin-bottom: 19rpx;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
.book-box-row-timeitem-on {
|
||||
background: #FCF6E3;
|
||||
border: 2rpx solid #EF9525;
|
||||
padding: 17rpx 37rpx !important;
|
||||
}
|
||||
|
||||
.book-box-row-timeitem-txt {
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.book-box-row-timeitem-status {
|
||||
position: absolute;
|
||||
right: 0;
|
||||
top: 0;
|
||||
background: #EF9525;
|
||||
border-top-right-radius: 5rpx;
|
||||
border-bottom-left-radius: 5rpx;
|
||||
font-size: 20rpx;
|
||||
color: #828282;
|
||||
padding: 7rpx;
|
||||
}
|
||||
|
||||
.book-box-row .book-box-row-date .book-box-row-dateitem-none {
|
||||
|
||||
color: #CFCFCF !important;
|
||||
}
|
||||
|
||||
.book-box-row .book-box-row-date .book-box-row-dateitem-on {
|
||||
|
||||
padding: 22rpx 30rpx;
|
||||
background: #FCF6E3;
|
||||
border: 2rpx solid #EF9525;
|
||||
border-radius: 5rpx;
|
||||
color: #4E4E4E;
|
||||
}
|
||||
|
||||
.book-box-row-select {
|
||||
padding: 24rpx 9rpx 24rpx 29rpx;
|
||||
background: #F7F6F4;
|
||||
border-radius: 5rpx;
|
||||
margin-left: 16rpx;
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
color: #4E4E4E !important;
|
||||
}
|
||||
|
||||
.book-box-row .book-box-row-date .book-box-row-dateitem-on .book-box-row-dateitem-status {
|
||||
|
||||
background: #EF9525 !important;
|
||||
color: #ffffff !important;
|
||||
font-size: 20rpx !important;
|
||||
}
|
||||
|
||||
.book-box-row-dateitem-status {
|
||||
position: absolute;
|
||||
right: 0;
|
||||
top: 0;
|
||||
background: #E3E3E3;
|
||||
border-top-right-radius: 5rpx;
|
||||
border-bottom-left-radius: 5rpx;
|
||||
font-size: 20rpx;
|
||||
color: #828282;
|
||||
padding: 7rpx;
|
||||
}
|
||||
|
||||
.book-box-row-select-more {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
margin-left: 22rpx;
|
||||
}
|
||||
|
||||
.book-box-card {
|
||||
margin-bottom: 50rpx;
|
||||
}
|
||||
|
After Width: | Height: | Size: 203 KiB |
|
After Width: | Height: | Size: 16 KiB |
|
After Width: | Height: | Size: 3.6 KiB |
|
Before Width: | Height: | Size: 1.2 KiB |
|
After Width: | Height: | Size: 2.1 KiB |
|
Before Width: | Height: | Size: 31 KiB |
|
Before Width: | Height: | Size: 65 KiB |
|
Before Width: | Height: | Size: 48 KiB |
|
Before Width: | Height: | Size: 4.6 KiB |
|
Before Width: | Height: | Size: 2.0 KiB |
|
Before Width: | Height: | Size: 3.1 KiB |
|
Before Width: | Height: | Size: 2.9 KiB |
|
Before Width: | Height: | Size: 4.5 KiB |
|
Before Width: | Height: | Size: 3.2 KiB |
|
Before Width: | Height: | Size: 4.9 KiB |
|
Before Width: | Height: | Size: 3.7 KiB |
|
Before Width: | Height: | Size: 5.1 KiB |
|
Before Width: | Height: | Size: 2.9 KiB |
|
Before Width: | Height: | Size: 2.7 KiB |
|
Before Width: | Height: | Size: 77 KiB |
|
Before Width: | Height: | Size: 25 KiB |
|
Before Width: | Height: | Size: 11 KiB |
|
Before Width: | Height: | Size: 9.3 KiB |
|
Before Width: | Height: | Size: 5.2 KiB |
|
Before Width: | Height: | Size: 6.5 KiB |
|
After Width: | Height: | Size: 3.6 KiB |
|
Before Width: | Height: | Size: 4.6 KiB |
|
Before Width: | Height: | Size: 2.5 KiB |
|
Before Width: | Height: | Size: 1.0 KiB |
|
Before Width: | Height: | Size: 2.4 KiB |
|
After Width: | Height: | Size: 2.3 KiB |
|
After Width: | Height: | Size: 7.2 KiB |
|
After Width: | Height: | Size: 849 B |
|
After Width: | Height: | Size: 2.5 KiB |
|
After Width: | Height: | Size: 5.8 KiB |
|
Before Width: | Height: | Size: 1.2 KiB |
|
Before Width: | Height: | Size: 1.3 KiB |
|
Before Width: | Height: | Size: 1.8 KiB |
|
Before Width: | Height: | Size: 15 KiB |
|
After Width: | Height: | Size: 2.9 KiB |
|
After Width: | Height: | Size: 2.7 KiB |
|
After Width: | Height: | Size: 6.3 KiB |
|
After Width: | Height: | Size: 3.8 KiB |
|
Before Width: | Height: | Size: 99 KiB |