样式修改
This commit is contained in:
@@ -74,44 +74,44 @@
|
||||
_wh(100%, 100%)
|
||||
_bis(,'../../static/images/home_bg.jpg', 100%, 100%,bottom)
|
||||
.header
|
||||
height 120rpx
|
||||
padding 0 30rpx
|
||||
height 60px
|
||||
padding 0 15px
|
||||
align-items flex-start
|
||||
justify-content flex-end
|
||||
_bis(,'../../static/images/header_bg.png', 100%, 100%,bottom)
|
||||
.home_title
|
||||
_font(50rpx,70rpx,#F6F9FE,,center)
|
||||
_font(25px,35px,#F6F9FE,,center)
|
||||
font-family: YouSheBiaoTiHei;
|
||||
.home_userinfo
|
||||
height 70rpx
|
||||
height 35px
|
||||
.user_icon
|
||||
_wh(50rpx, 50rpx)
|
||||
margin-right 10rpx
|
||||
_wh(25px, 25px)
|
||||
margin-right 5px
|
||||
_bis(,'../../static/images/user_icon.png', 100%, 100%,center)
|
||||
.user_name
|
||||
_font(34rpx,34rpx,#fff,,center)
|
||||
padding-right 10rpx
|
||||
margin 18rpx 20rpx 18rpx 0
|
||||
border-right 1rpx solid #AECAF5
|
||||
_font(17px,17px,#fff,,center)
|
||||
padding-right 5px
|
||||
margin 9px 10px 9px 0
|
||||
border-right 1px solid #AECAF5
|
||||
.exit_text
|
||||
height 60rpx
|
||||
_font(28rpx,60rpx,#fff,,center)
|
||||
padding 0 20rpx
|
||||
margin 5rpx 0
|
||||
height 30px
|
||||
_font(14px,30px,#fff,,center)
|
||||
padding 0 10px
|
||||
margin 2.5px 0
|
||||
_bis(,'../../static/images/state-item_bg.png', 100%, 100%,center)
|
||||
.welcome_text_wraper
|
||||
height 140rpx
|
||||
margin 30rpx 100rpx
|
||||
height 70px
|
||||
margin 0 50px
|
||||
.welcome_text
|
||||
_font(26px, 140rpx, #F6F9FE,,)
|
||||
padding-left 40rpx
|
||||
_font(26px, 70px, #F6F9FE,,)
|
||||
padding-left 20px
|
||||
font-family: YouSheBiaoTiHei
|
||||
background: linear-gradient(180deg, rgba(255,255,255,1) 0%, rgba(49,190,255,0.9) 0%, rgba(239,252,254,1) 40%);
|
||||
-webkit-background-clip: text;
|
||||
-webkit-text-fill-color: transparent;
|
||||
.zd_wrapper
|
||||
_wh(calc(100% - 200rpx),calc(100% - 450rpx)) /** 120rpx + 200rpx + 130rpx */
|
||||
margin 40rpx 100rpx 0rpx 100rpx
|
||||
_wh(calc(100% - 100px),calc(100% - 180px)) /** 120rpx + 200rpx + 130rpx */
|
||||
margin 20px 50px 0 50px
|
||||
_bis(,'../../static/images/bg-task-r2.png', 100%, 100%,center)
|
||||
.menu-wrap
|
||||
flex-wrap wrap
|
||||
@@ -120,27 +120,27 @@
|
||||
height 100%
|
||||
.menu-item
|
||||
width 20%
|
||||
margin-bottom 100rpx
|
||||
margin 20px 0
|
||||
.menu_name_bg
|
||||
position relative
|
||||
_wh(200rpx, 200rpx)
|
||||
_wh(100px, 100px)
|
||||
margin 0 auto
|
||||
border-radius 40rpx
|
||||
background-image: radial-gradient( ellipse farthest-corner at 22rpx 22rpx , #afafb9, #afafb9 50%, #ffffff 50%);
|
||||
background-size: 22rpx 22rpx;
|
||||
border-radius 20px
|
||||
background-image: radial-gradient( ellipse farthest-corner at 11px 11px , #afafb9, #afafb9 50%, #ffffff 50%);
|
||||
background-size: 11px 11px;
|
||||
.bg_texture_1, .bg_texture_7
|
||||
background: repeating-linear-gradient( -45deg, #afafb9, #afafb9 10rpx, #ffffff 10rpx, #ffffff 16rpx );
|
||||
background: repeating-linear-gradient( -45deg, #afafb9, #afafb9 5px, #ffffff 5px, #ffffff 8px );
|
||||
.menu-name
|
||||
background-color rgba(49, 95, 255, 0.8)
|
||||
.bg_texture_3, .bg_texture_6
|
||||
background-image: repeating-linear-gradient(45deg, #afafb9 25%, transparent 25%, transparent 75%, #afafb9 75%, #afafb9), repeating-linear-gradient(45deg, #afafb9 25%, #ffffff 25%, #ffffff 75%, #afafb9 75%, #afafb9);
|
||||
background-position: 0 0, 22rpx 22rpx;
|
||||
background-size: 44rpx 22rpx;
|
||||
background-position: 0 0, 11px 11px;
|
||||
background-size: 22px 22px;
|
||||
.menu-name
|
||||
background-color rgba(0, 239, 48, 0.8)
|
||||
.bg_texture_2, .bg_texture_5
|
||||
background: radial-gradient(circle, transparent 20%, #ffffff 20%, #ffffff 80%, transparent 80%, transparent), radial-gradient(circle, transparent 20%, #ffffff 20%, #ffffff 80%, transparent 80%, transparent) 27.5rpx 27.5rpx, linear-gradient(#afafb9 4rpx, transparent 4rpx) 0 -4rpx, linear-gradient(90deg, #afafb9 4rpx, #ffffff 4rpx) -4rpx 0;
|
||||
background-size: 55rpx 55rpx, 55rpx 55rpx, 27.5rpx 27.5rpx, 27.5rpx 27.5rpx;
|
||||
background: radial-gradient(circle, transparent 20%, #ffffff 20%, #ffffff 80%, transparent 80%, transparent), radial-gradient(circle, transparent 20%, #ffffff 20%, #ffffff 80%, transparent 80%, transparent) 13.5px 13.5px, linear-gradient(#afafb9 2px, transparent 2px) 0 -2px, linear-gradient(90deg, #afafb9 2px, #ffffff 2px) -2px 0;
|
||||
background-size: 27.5px 27.5px, 27.5px 27.5px, 13.75px 13.75px, 13.75px 13.75px;
|
||||
.menu-name
|
||||
background-color rgba(255, 189, 45, 0.8)
|
||||
.bg_texture_4
|
||||
@@ -150,25 +150,25 @@
|
||||
display flex
|
||||
justify-content center
|
||||
align-items center
|
||||
_wh(200rpx, 200rpx)
|
||||
padding 20rpx
|
||||
border-radius 40rpx
|
||||
_font(40rpx, 50rpx, #fff,bold,center)
|
||||
_wh(100px, 100px)
|
||||
padding 10px
|
||||
border-radius 20px
|
||||
_font(20px, 25px, #fff,bold,center)
|
||||
background-color rgba(0,166,255,0.8)
|
||||
.bill_count
|
||||
position absolute
|
||||
top -20rpx
|
||||
right -20rpx
|
||||
_wh(60rpx, 60rpx)
|
||||
top -10px
|
||||
right -10px
|
||||
_wh(30px, 30px)
|
||||
background-color $red
|
||||
border-radius 50%
|
||||
_font(40rpx, 60rpx, #fff,bold,center)
|
||||
box-shadow 6rpx 6rpx 2rpx 2rpx rgba(0,0,0,.3)
|
||||
_font(20px, 30px, #fff,bold,center)
|
||||
box-shadow 3px 3px 1px 1px rgba(0,0,0,.3)
|
||||
.left_bg
|
||||
position absolute
|
||||
left 0
|
||||
top 0
|
||||
_wh(50rpx, 100%)
|
||||
_wh(25px, 100%)
|
||||
_bis(,'../../static/images/hud_left.png', 100%, ,center)
|
||||
.right_bg
|
||||
left auto
|
||||
|
||||
@@ -12,13 +12,13 @@
|
||||
<view class="login_cnt drift" :style="{'left': '-'+drift*2+'%'}">
|
||||
<view class="login_card">
|
||||
<view class="card_wrap">
|
||||
<view class="zd-row mgb40">
|
||||
<view class="zd-row mgb20">
|
||||
<view class="zd-col-4 login_label">账号</view>
|
||||
<view class="zd-col-20">
|
||||
<input type="text" placeholder="用户名" v-model="loginname" class="inputStyle">
|
||||
</view>
|
||||
</view>
|
||||
<view class="zd-row mgb40">
|
||||
<view class="zd-row mgb20">
|
||||
<view class="zd-col-4 login_label">密码</view>
|
||||
<view class="zd-col-20 relative">
|
||||
<input :type="inputType" placeholder="密码" v-model="password" class="inputStyle">
|
||||
@@ -26,7 +26,7 @@
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
<view class="zd-row mgt40 mgb40">
|
||||
<view class="zd-row mgt20 mgb20">
|
||||
<button class="primary-button" :disabled="disabled" @click="toLogin">登 录</button>
|
||||
</view>
|
||||
<view class="zd-row">
|
||||
@@ -37,20 +37,20 @@
|
||||
</view>
|
||||
<view class="login_card">
|
||||
<view class="card_wrap">
|
||||
<view class="zd-row mgb40">
|
||||
<view class="zd-row mgb20">
|
||||
<view class="zd-col-4 login_label">域名</view>
|
||||
<view class="zd-col-20">
|
||||
<input type="text" placeholder="域名地址" v-model="baseUrl" class="inputStyle">
|
||||
</view>
|
||||
</view>
|
||||
<view class="zd-row mgb40">
|
||||
<view class="zd-row mgb20">
|
||||
<view class="zd-col-6 login_label">刷新时间</view>
|
||||
<view class="zd-col-18">
|
||||
<input type="number" placeholder="刷新时间" v-model="setTime" class="inputStyle">
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
<view class="zd-row mgt40 mgb40">
|
||||
<view class="zd-row mgt20 mgb20">
|
||||
<button class="primary-button" :disabled="disabled" @tap="toConfig">配 置</button>
|
||||
</view>
|
||||
</view>
|
||||
@@ -91,6 +91,10 @@
|
||||
androidUrl: ''
|
||||
};
|
||||
},
|
||||
mounted () {
|
||||
// alert(window.screen.availWidth)
|
||||
// alert(window.screen.availHeight)
|
||||
},
|
||||
methods: {
|
||||
_tabChange (num) {
|
||||
this.drift = num
|
||||
@@ -182,23 +186,23 @@
|
||||
position fixed
|
||||
left 50%
|
||||
top 50%
|
||||
width 50%
|
||||
padding 5% 6%
|
||||
width 60%
|
||||
padding 5% 8%
|
||||
transform translate3d(-50%, -50%, 0)
|
||||
_bis(,'../../static/images/form_bg.png', 100%, 100%,bottom)
|
||||
.login_w
|
||||
_wh(100%, 100%)
|
||||
overflow hidden
|
||||
.login_tab
|
||||
height 100rpx
|
||||
padding 0 10rpx 50rpx 10%
|
||||
height 50px
|
||||
padding 0 5px 25px 10%
|
||||
margin-bottom 15px
|
||||
_bis(,'../../static/images/login_tabs_bg.png', 100%, 100%,bottom)
|
||||
.login_tab_item
|
||||
cursor pointer
|
||||
_font(50rpx,66rpx,#99B1DD,,center)
|
||||
_font(25px,33px,#99B1DD,,center)
|
||||
font-family: YouSheBiaoTiHei;
|
||||
padding 0 50rpx 0 10rpx
|
||||
padding 0 25px 0 5px
|
||||
.login_tab_active
|
||||
color #fff
|
||||
_bis(,'../../static/images/login_tab_active.png', 100%, 100%,bottom)
|
||||
@@ -212,35 +216,35 @@
|
||||
.card_wrap
|
||||
overflow hidden
|
||||
.login_label
|
||||
_font(36rpx, 90rpx, #AFBED8,,)
|
||||
_font(18px, 45px, #AFBED8,,)
|
||||
.inputStyle
|
||||
_font(36rpx, 90rpx, #fff,,)
|
||||
_wh(100%, 90rpx)
|
||||
_font(18px, 45px, #fff,,)
|
||||
_wh(100%, 45px)
|
||||
background: rgba(45,88,184,0.1);
|
||||
border: 2rpx solid #4980BD;
|
||||
padding 0 22rpx
|
||||
border: 1px solid #4980BD;
|
||||
padding 0 11px
|
||||
.inputStyle[focus]
|
||||
background: rgba(45,88,184,0.25);
|
||||
border: 2rpx solid #21D0F2;
|
||||
line-height 90rpx
|
||||
border: 1px solid #21D0F2;
|
||||
line-height 45px
|
||||
.login_icon
|
||||
position absolute
|
||||
top 5px
|
||||
right 10px
|
||||
.primary-button
|
||||
_wh(auto, 100rpx)
|
||||
padding 0 100rpx
|
||||
_font(50rpx,100rpx,#fff,,center)
|
||||
_wh(auto, 50px)
|
||||
padding 0 50px
|
||||
_font(25px,50px,#fff,,center)
|
||||
_bis(,'../../static/images/button.png', 100%, 100%,bottom)
|
||||
.san_text
|
||||
_font(36rpx,36px,#fff,,center)
|
||||
_font(18px,36px,#fff,,center)
|
||||
.drift
|
||||
transition left .3s linear
|
||||
.version-name
|
||||
width 100%
|
||||
position: absolute
|
||||
bottom 3%
|
||||
_font(30rpx, 60rpx, #fff,,center)
|
||||
_font(15px, 30px, #fff,,center)
|
||||
.daoying_bg
|
||||
position: absolute
|
||||
bottom -30%
|
||||
|
||||
@@ -71,7 +71,7 @@
|
||||
<view class="zd-col-2 zd-sec-td"><text>{{el.fzsl}}</text></view>
|
||||
<view class="zd-col-3 zd-sec-td"><text>{{el.cksj}}</text></view>
|
||||
</view>
|
||||
<view class="zd-row mgt40">
|
||||
<view class="zd-row mgt10">
|
||||
<view class="zd-col-12 zd-row jcflexstart">
|
||||
<button class="confirm-button" :class="{'confirm-button_disabled': checkArr2.length === 0}" @tap="kuwConfirm">库位修改</button>
|
||||
</view>
|
||||
|
||||
Reference in New Issue
Block a user