150 lines
2.4 KiB
Vue
150 lines
2.4 KiB
Vue
|
|
<script>
|
||
|
|
export default {
|
||
|
|
onLaunch: function() {
|
||
|
|
// console.log('App Launch')
|
||
|
|
},
|
||
|
|
onShow: function() {
|
||
|
|
// console.log('App Show')
|
||
|
|
},
|
||
|
|
onHide: function() {
|
||
|
|
// console.log('App Hide')
|
||
|
|
}
|
||
|
|
}
|
||
|
|
</script>
|
||
|
|
|
||
|
|
<style lang="scss">
|
||
|
|
/*每个页面公共css */
|
||
|
|
@import url("@/uni.scss");
|
||
|
|
@import url("@/assets/common.scss");
|
||
|
|
@import url("@/assets/iconfont.css");
|
||
|
|
@import url("@/assets/iconfont-weapp-icon.css");
|
||
|
|
|
||
|
|
.wrapper {
|
||
|
|
position: fixed;
|
||
|
|
left: 0;
|
||
|
|
right: 0;
|
||
|
|
top: 0;
|
||
|
|
bottom: 0;
|
||
|
|
z-index: 999;
|
||
|
|
|
||
|
|
.bg {
|
||
|
|
position: fixed;
|
||
|
|
left: 0;
|
||
|
|
right: 0;
|
||
|
|
top: 0;
|
||
|
|
bottom: 0;
|
||
|
|
background-color: rgba(0, 0, 0, 0.4);
|
||
|
|
z-index: 99;
|
||
|
|
}
|
||
|
|
|
||
|
|
.edit {
|
||
|
|
width: 15rem;
|
||
|
|
height: auto;
|
||
|
|
background: #fff;
|
||
|
|
border-radius: 10px;
|
||
|
|
padding: 15px;
|
||
|
|
position: relative;
|
||
|
|
top: 15%;
|
||
|
|
margin: auto;
|
||
|
|
z-index: 99999;
|
||
|
|
overflow: hidden;
|
||
|
|
|
||
|
|
.title {
|
||
|
|
text-align: center;
|
||
|
|
width: 100%;
|
||
|
|
color: #333;
|
||
|
|
font-size: 18px;
|
||
|
|
font-weight: bold;
|
||
|
|
}
|
||
|
|
|
||
|
|
.editem {
|
||
|
|
position: relative;
|
||
|
|
display: flex;
|
||
|
|
font-size: 14px;
|
||
|
|
border-radius: 10px;
|
||
|
|
margin-top: 15px;
|
||
|
|
height: 40px;
|
||
|
|
justify-content: space-between;
|
||
|
|
background: #eee;
|
||
|
|
padding: 0px 10px;
|
||
|
|
align-items: center;
|
||
|
|
|
||
|
|
.radioimg {
|
||
|
|
font-size: 22px;
|
||
|
|
color: $btncolor;
|
||
|
|
}
|
||
|
|
|
||
|
|
.radio {
|
||
|
|
width: 50%;
|
||
|
|
text-align: right;
|
||
|
|
display: flex;
|
||
|
|
justify-content: center;
|
||
|
|
align-items: center;
|
||
|
|
}
|
||
|
|
|
||
|
|
.name {
|
||
|
|
width: 4rem;
|
||
|
|
color: #333;
|
||
|
|
}
|
||
|
|
|
||
|
|
.right {
|
||
|
|
width: 60%;
|
||
|
|
height: 40px;
|
||
|
|
line-height: 40px;
|
||
|
|
text-align: right;
|
||
|
|
display: flex;
|
||
|
|
justify-content: flex-end;
|
||
|
|
|
||
|
|
|
||
|
|
input {
|
||
|
|
margin-right: 10px;
|
||
|
|
height: 40px;
|
||
|
|
line-height: 40px;
|
||
|
|
text-align: left;
|
||
|
|
}
|
||
|
|
|
||
|
|
picker {
|
||
|
|
width: 100%;
|
||
|
|
text-align: left;
|
||
|
|
}
|
||
|
|
|
||
|
|
.uni-input {
|
||
|
|
position: absolute;
|
||
|
|
right: 30px;
|
||
|
|
top: 0;
|
||
|
|
left: 0;
|
||
|
|
height: 40px;
|
||
|
|
line-height: 40px;
|
||
|
|
text-align: right;
|
||
|
|
z-index: 9999;
|
||
|
|
}
|
||
|
|
|
||
|
|
}
|
||
|
|
|
||
|
|
.value {
|
||
|
|
position: relative;
|
||
|
|
z-index: 999;
|
||
|
|
width: 3rem;
|
||
|
|
text-align: center;
|
||
|
|
float: left;
|
||
|
|
margin-right: 10px;
|
||
|
|
}
|
||
|
|
|
||
|
|
.iconfont {
|
||
|
|
margin-left: 10px;
|
||
|
|
float: right;
|
||
|
|
display: flex;
|
||
|
|
}
|
||
|
|
}
|
||
|
|
|
||
|
|
.tips {
|
||
|
|
font-size: 0.75rem;
|
||
|
|
color: #999;
|
||
|
|
text-align: center;
|
||
|
|
margin-top: 15px;
|
||
|
|
margin-bottom: 20px;
|
||
|
|
display: flex;
|
||
|
|
}
|
||
|
|
}
|
||
|
|
}
|
||
|
|
</style>
|