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