添加退出按钮
This commit is contained in:
@@ -1,9 +1,6 @@
|
||||
<template>
|
||||
<header>
|
||||
<!-- <div class="exit_btn" :style="expand ? {opacity: 1} : {opacity: 0.1}">
|
||||
<div class="exit_txt" @click="$router.push('/setup')" :style="expand ? {width: '70px'} : {width: '0px'}">退出</div>
|
||||
<div class="exit_arrow" v-text="!expand ? '>>' : '<<'" @click.stop="expand = !expand"></div>
|
||||
</div> -->
|
||||
<div class="exit_btn iconfont" @click="back"></div>
|
||||
<p>{{title}}</p>
|
||||
<div class="data_box clearfix">
|
||||
<div class="date_item date">{{date}}</div>
|
||||
@@ -68,6 +65,9 @@ export default {
|
||||
this.seconds = `${ss}`
|
||||
this.date = `${year}年${month}月${date}日`
|
||||
this.week = `${week}`
|
||||
},
|
||||
back () {
|
||||
this.$router.push('/setup')
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -116,28 +116,15 @@ header
|
||||
line-height 26px
|
||||
color #fff
|
||||
.exit_btn
|
||||
position: absolute;
|
||||
left: 0;
|
||||
top: 30px;
|
||||
height 50px;
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
.exit_txt
|
||||
font-size: 20px;
|
||||
line-height: 50px;
|
||||
color: #e6e7e1;
|
||||
position absolute
|
||||
left 25px
|
||||
top 4px
|
||||
z-index 100
|
||||
height 26px
|
||||
width 26px
|
||||
line-height 26px
|
||||
font-size 14px
|
||||
color rgba(174, 202, 245, 30%)
|
||||
text-align: center;
|
||||
font-weight: bold;
|
||||
transition width .3s ease
|
||||
overflow hidden
|
||||
background-color: rgba(30, 182, 203, 80%);
|
||||
.exit_arrow
|
||||
width: 46px;
|
||||
font-size: 20px;
|
||||
line-height: 50px;
|
||||
color: #e6e7e1;
|
||||
text-align: center;
|
||||
background-color: rgba(30, 182, 203, 60%);
|
||||
border-top-right-radius: 30px;
|
||||
border-bottom-right-radius: 30px
|
||||
cursor: pointer;
|
||||
</style>
|
||||
|
||||
@@ -19272,8 +19272,8 @@ export const sc = () => {
|
||||
"productName": "550202636"
|
||||
}
|
||||
],
|
||||
ptnum: '100',
|
||||
ksnum: '1000'
|
||||
ptNumber: '100',
|
||||
ksNumber: '1000'
|
||||
}
|
||||
return res
|
||||
}
|
||||
|
||||
@@ -143,9 +143,9 @@ export default {
|
||||
this.resData = res
|
||||
this.pt = res.pt
|
||||
this.ks = res.ks
|
||||
let ptnum = res.ptnum.split('')
|
||||
let ptnum = res.ptNumber.split('')
|
||||
this.ptnum = [...ptnum]
|
||||
let ksnum = res.ksnum.split('')
|
||||
let ksnum = res.ksNumber.split('')
|
||||
this.ksnum = [...ksnum]
|
||||
}
|
||||
}
|
||||
|
||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Reference in New Issue
Block a user