You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
127 lines
2.7 KiB
127 lines
2.7 KiB
<template>
|
|
<view class="add">
|
|
<view class="add-bd">
|
|
<view class="item">
|
|
<view class="l">剪尾日期</view>
|
|
<view class="m">
|
|
<image src="@/static/rili@2x.png"></image>
|
|
</view>
|
|
<view class="r">
|
|
显示标识提醒<view style="margin-left: 20rpx;"><u-switch v-model="value1" activeColor="#036eb8"></u-switch></view>
|
|
</view>
|
|
</view>
|
|
<view class="item">
|
|
<view class="l">实验日期</view>
|
|
<view class="m">
|
|
<image src="@/static/rili@2x.png"></image>
|
|
</view>
|
|
<view class="r">
|
|
显示标识提醒<view style="margin-left: 20rpx;"><u-switch v-model="value1" activeColor="#036eb8"></u-switch></view>
|
|
</view>
|
|
</view>
|
|
<view class="item">
|
|
<view class="l">处死日期</view>
|
|
<view class="m">
|
|
<image src="@/static/rili@2x.png"></image>
|
|
</view>
|
|
<view class="r">
|
|
显示标识提醒<view style="margin-left: 20rpx;"><u-switch v-model="value1" activeColor="#036eb8"></u-switch></view>
|
|
</view>
|
|
</view>
|
|
<view class="item">
|
|
<view class="l">删除日期</view>
|
|
<view class="m">
|
|
<image src="@/static/rili@2x.png"></image>
|
|
</view>
|
|
<view class="r">
|
|
显示标识提醒<view style="margin-left: 20rpx;"><u-switch v-model="value1" activeColor="#036eb8"></u-switch></view>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
<view class="add-fd">
|
|
<view class="btn">完成</view>
|
|
</view>
|
|
</view>
|
|
</template>
|
|
|
|
<script>
|
|
export default {
|
|
data() {
|
|
return {
|
|
value1: true,
|
|
info: {},
|
|
};
|
|
},
|
|
methods: {
|
|
tabItem(e){
|
|
this.tabIndex = e;
|
|
},
|
|
}
|
|
}
|
|
</script>
|
|
|
|
<style lang="scss" scoped>
|
|
.add{
|
|
padding-bottom: calc(env(safe-area-inset-bottom)+140rpx);
|
|
overflow: hidden;
|
|
&-bd{
|
|
padding: 0 35rpx;
|
|
overflow: hidden;
|
|
.item{
|
|
width: 100%;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
padding: 40rpx 0;
|
|
border-bottom: 1px solid #c0c2c2;
|
|
.l{
|
|
width: 150rpx;
|
|
font-size: 28rpx;
|
|
color: #000;
|
|
}
|
|
.m{
|
|
width: 150rpx;
|
|
text-align: center;
|
|
image{
|
|
width: 45rpx;
|
|
height: 45rpx;
|
|
margin-left: 20rpx;
|
|
vertical-align: middle;
|
|
}
|
|
}
|
|
.r{
|
|
flex: 1;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: flex-end;
|
|
font-size: 28rpx;
|
|
color: #000;
|
|
switch{
|
|
margin-left: 20rpx;
|
|
}
|
|
|
|
|
|
}
|
|
}
|
|
}
|
|
&-fd{
|
|
width: 100%;
|
|
padding: 20rpx 35rpx;
|
|
box-sizing: border-box;
|
|
background-color: #f3f5f6;
|
|
position: fixed;
|
|
left: 0;
|
|
bottom: 0;
|
|
z-index: 22;
|
|
.btn{
|
|
width: 100%;
|
|
line-height: 90rpx;
|
|
text-align: center;
|
|
background-color: #009944;
|
|
font-size: 32rpx;
|
|
color: #ffffff;
|
|
border-radius: 10rpx;
|
|
}
|
|
}
|
|
}
|
|
</style>
|
|
|