Commit 911745a9 by 陈玉桐

add 新需求

parent 46e43ef5
{
"pages": [
"pages/index/index",
"pages/childInfo/childInfo",
"pages/message/message",
"pages/user/user",
"pages/userEdit/userEdit",
"pages/userAdd/userAdd",
"pages/eyesight/eyesight",
"pages/childInfo/childInfo",
"pages/setting/setting",
"pages/trainReport/trainReport",
"pages/historyDetail/historyDetail",
"pages/updatePlan/updatePlan",
"pages/plan/plan",
"pages/message/message",
"pages/trainSort/trainSort",
"pages/starSort/starSort",
"pages/mine/mine",
......
......@@ -6,7 +6,7 @@ Page({
sex: '',// 性别
sexList: [{ id: 1, name: '男孩' }, { id: 2, name: '女孩' }],
isNull: false,
ednDate: ''
endDate: ''
},
// onLoad: function (options) {
onShow: function (options) {
......@@ -17,7 +17,7 @@ Page({
name: '',//姓名
date: '2010-01-01',// 生日
sex: '',// 性别
ednDate: myDate.getFullYear()+'-'+(myDate.getMonth()+1)+'-'+myDate.getDate()
endDate: myDate.getFullYear()+'-'+(myDate.getMonth()+1)+'-'+myDate.getDate()
})
// wx.getStorage({
// key: 'name',
......
......@@ -22,7 +22,7 @@
<!-- 生日 -->
<view class="childInfoListItem">
<view class="childInfoListItemTitle"><text>* </text>生日</view>
<picker mode="date" value="{{date}}" start="1960-01-01" end="{{ednDate}}" bindchange="bindDateChange">
<picker mode="date" value="{{date}}" start="1960-01-01" end="{{endDate}}" bindchange="bindDateChange">
<view class="birthdaypPicker rightInput">
{{date}}
</view>
......
......@@ -4,6 +4,8 @@ Page({
trainTip: false,
messageTip: false,
serveTip: false,
useTip: false,
langTip: false,
isShow: false
},
onLoad() {
......@@ -52,6 +54,15 @@ Page({
serveTip: false,
})
}
if(res.data.data.useRemind==1){//使用提醒状态 1:开启提醒; 0:关闭提醒。
me.setData({
useTip: true,
})
}else{
me.setData({
useTip: false,
})
}
}else{
wx.showModal({
title: '提示',
......@@ -202,4 +213,44 @@ Page({
}
})
},
// 训练提醒(总开关)
useTip: function(e) {
let me = this
// 请求前加Loading
wx.showLoading({
title: '加载中',
mask: true
})
let status = ''
if(e.detail.value){
status = 1
}else{
status = 0
}
wx.request({
url: app.globalData.apiUrl + 'remindings/setRemind',
method: 'POST',
data: {
token: wx.getStorageSync('token'),
type: 6,//提醒类型 1:短信提醒; 2:微信提醒; 6:使用提醒
status: status,//提醒状态 1:开启提醒状态; 0:关闭提醒状态。
},
success: function (res) {
// 请求成功后关闭Loading
wx.hideLoading();
if(res.data.errno==200){
me.setData({
useTip: e.detail.value
})
}else{
wx.showModal({
title: '提示',
showCancel: false,
content: res.data.msg
})
}
}
})
},
})
\ No newline at end of file
......@@ -29,4 +29,27 @@
<switch color="#33D1C4" checked="{{serveTip}}" bindchange="serveTip"/>
</view>
</view>
</view>
<!-- 使用提醒 -->
<view id="useTip">
<view id="useTipTitle">
<view id="useTipLeft">
<image src="../../assets/icon_mine_use.png" />
<text>使用提醒</text>
</view>
<view id="useTipRight">
<switch color="#33D1C4" checked="{{useTip}}" bindchange="useTip"/>
</view>
</view>
</view>
<view id="useTipBom" hidden="{{!useTip}}">
<view id="useTipBomItem">
<view class="trainLeft">
<image src="../../assets/icon_use_message.png" />
<text>连续使用超60分钟</text>
</view>
<view id="useTipBomRight">
<switch color="#33D1C4" checked="{{useTip}}" bindchange="useTip"/>
</view>
</view>
</view>
\ No newline at end of file
......@@ -2,22 +2,25 @@ page{
background-color: #efeff5;
}
/* 训练提醒 */
#trainTip{
#trainTip,#useTip{
padding: 20rpx 30rpx;
background: #fff;
}
#trainTipTitle{
#useTip{
margin-top: 5rpx;
}
#trainTipTitle,#useTipTitle{
display: flex;
justify-content: space-between;
align-items: center;
font-size: 34rpx;
color: #4F5051;
}
#trainTipLeft{
#trainTipLeft,#useTipLeft{
display: flex;
align-items: center;
}
#trainTipLeft image{
#trainTipLeft image,#useTipLeft image{
width: 70rpx;
height: 70rpx;
margin-right: 15rpx;
......@@ -27,24 +30,24 @@ switch{
transform:scale(0.9);
}
#trainTipBom{
#trainTipBom,#useTipBom{
background: #F8F7F5;
font-size: 30rpx;
color: #4F5051;
}
#trainTipBomItem{
#trainTipBomItem,#useTipBomItem{
display: flex;
justify-content: space-between;
align-items: center;
padding: 20rpx 30rpx;
border-top: 1rpx solid #e5e5e5;
}
.trainLeft{
.trainLeft,.useLeft{
display: flex;
align-items: center;
padding-left: 25rpx;
}
.trainLeft>image{
.trainLeft>image,.useLeft>image{
width: 60rpx;
height: 60rpx;
margin-right: 15rpx;
......
......@@ -3,7 +3,7 @@ Page({
data: {
userList: []
},
onLoad() {
onShow() {
let me = this
// 请求前加Loading
wx.showLoading({
......@@ -108,6 +108,16 @@ Page({
}
})
},
editUser: function(e) {
wx.navigateTo({
url: '/pages/userEdit/userEdit?id='+e.currentTarget.dataset.id
})
},
addUser: function(e) {
wx.navigateTo({
url: '/pages/userAdd/userAdd'
})
},
// 删除使用者
delUser: function(e) {
let me = this;
......
......@@ -27,7 +27,15 @@
<radio color="#fff" value="{{item.id}}" checked="{{item.defaultStatus==1}}"/>设为使用者
</label>
</radio-group>
<text data-id="{{item.id}}" bindtap="delUser">删除</text>
<view class="userItemBomBtn">
<text data-id="{{item.id}}" bindtap="editUser">编辑</text>
<text data-id="{{item.id}}" bindtap="delUser">删除</text>
</view>
</view>
</view>
<view id="addUserBox">
<view id="addUserBtn">
<button id="addUser" bindtap='addUser'>添加孩子</button>
</view>
</view>
</view>
\ No newline at end of file
page{
background-color: #efeff5;
}
#userBox{
padding-bottom: 160rpx;
}
.userItemTop{
display: flex;
padding: 30rpx 0 40rpx;
......@@ -42,10 +44,13 @@ page{
align-items: center;
padding-bottom: 35rpx;
}
.userItemBom text{
.userItemBom .userItemBomBtn{
font-size: 34rpx;
color: #33D1C4;
}
.userItemBom .userItemBomBtn text{
margin-left: 30rpx;
}
radio .wx-radio-input{
height: 43rpx;
......@@ -73,4 +78,23 @@ radio .wx-radio-input.wx-radio-input-checked::before{
margin-right: 36rpx;
font-size: 34rpx;
color: #666666;
}
/* 按钮 */
#addUserBox{
position: fixed;
bottom: 0;
width: 100%;
background-color: #efeff5;
}
#addUserBtn{
padding: 20rpx 50rpx 20rpx;
}
#addUser{
background: #33D1C4;
border-radius: 47rpx;
font-size: 36rpx;
color: #FFFFFF;
height: 94rpx;
line-height: 94rpx;
}
\ No newline at end of file
{
"navigationBarTitleText": "添加孩子",
"usingComponents": {}
}
\ No newline at end of file
<view id="useAddCon">
<!-- 基本信息 -->
<view id="childInfoList">
<view class="childInfoListItem">
<view class="childInfoListItemTitle {{isNull?'redTitle':''}}"><text>* </text>姓名</view>
<input value="{{name}}" class="nameInput rightInput" maxlength="18" placeholder-style="color:#CDCDCD;" bindinput="nameInput" placeholder="请输入您的孩子的真实姓名" />
</view>
<!-- 生日 -->
<view class="childInfoListItem">
<view class="childInfoListItemTitle"><text>* </text>生日</view>
<picker mode="date" value="{{birthday}}" start="1960-01-01" end="{{endDate}}" bindchange="bindBirthdayChange">
<view class="birthdaypPicker rightInput">
{{date}}
</view>
</picker>
</view>
<!-- 性别 -->
<view class="childInfoListItem">
<view class="childInfoListItemTitle"><text>* </text>性别</view>
<radio-group id="sexRadioBox" class="rightInput" bindchange="sexTap">
<label class="sexRadio" wx:for="{{sexList}}" wx:key="sexList">
<radio color="#fff" value="{{item.id}}" checked="{{item.id==sex}}" />{{item.name}}
</label>
</radio-group>
</view>
</view>
<view id="eyesightConWrap">
<view class="eyesightConTitle">
<view class="eyesightConLeft">视力情况</view>
<view class="eyesightConRight">
<text class="selItem">左</text>
<text class="selItem">右</text>
</view>
</view>
<view id="eyesightCon">
<view class="eyesightConItem">
<view class="eyesightConLeft">裸眼视力</view>
<picker mode="multiSelector" class="selectorPicker" bindchange="luoeyeChange" value="{{luoeyeIndex}}" range="{{luoeyeArray}}">
<view class="eyesightConRight">
<view class="selItem">{{luoeyeArray[0][luoeyeIndex[0]]}}</view>
<view class="selItem">{{luoeyeArray[1][luoeyeIndex[1]]}}</view>
</view>
</picker>
</view>
<view class="eyesightConItem" bindtap="showList">
<view class="eyesightConLeft">弱视、斜视、散光</view>
<view class="eyesightConRight">
<text class="selItem">{{allLeft}}</text>
<text class="selItem">{{allRight}}</text>
</view>
</view>
<view id="eyesightLast" hidden="{{!show}}">
<view class="eyesightConItem">
<view class="eyesightConLeft eyesightConLeftTitle">· 弱视程度</view>
<picker mode="multiSelector" class="selectorPicker" bindchange="ruoChange" value="{{ruoIndex}}" range="{{ruoArray}}">
<view class="eyesightConRight">
<view class="selItem">{{ruoArray[0][ruoIndex[0]]}}</view>
<view class="selItem">{{ruoArray[1][ruoIndex[1]]}}</view>
</view>
</picker>
</view>
<view class="eyesightConItem">
<view class="eyesightConLeft eyesightConLeftTitle">· 斜视情况</view>
<picker mode="multiSelector" class="selectorPicker" bindchange="xieChange" value="{{xieIndex}}" range="{{xieArray}}">
<view class="eyesightConRight">
<view class="selItem">{{xieArray[0][xieIndex[0]]}}</view>
<view class="selItem">{{xieArray[1][xieIndex[1]]}}</view>
</view>
</picker>
</view>
<view class="eyesightConItem">
<view class="eyesightConLeft eyesightConLeftTitle">· 散光度数</view>
<picker mode="multiSelector" class="selectorPicker" bindchange="sanChange" value="{{sanIndex}}" range="{{sanArray}}">
<view class="eyesightConRight">
<view class="selItem">{{sanArray[0][sanIndex[0]]}}</view>
<view class="selItem">{{sanArray[1][sanIndex[1]]}}</view>
</view>
</picker>
</view>
</view>
<view class="eyesightConItem {{isClass==1 ? '' : 'eyesightConItemLast'}}">
<view class="eyesightConLeft">是否配镜</view>
<view class="eyesightConRight classConRight">
<switch color="#33D1C4" checked="{{isClass==1}}" bindchange="classSwitch"/>
</view>
</view>
<view hidden="{{isClass==0}}">
<view class="eyesightConItem">
<view class="eyesightConLeft eyesightConLeftTitle">· 矫正视力</view>
<picker mode="multiSelector" class="selectorPicker" bindchange="jiaoChange" value="{{jiaoIndex}}" range="{{jiaoArray}}">
<view class="eyesightConRight">
<view class="selItem">{{jiaoArray[0][jiaoIndex[0]]}}</view>
<view class="selItem">{{jiaoArray[1][jiaoIndex[1]]}}</view>
</view>
</picker>
</view>
<view class="eyesightConItem">
<view class="eyesightConLeft eyesightConLeftTitle">· 眼镜度数</view>
<picker mode="multiSelector" class="selectorPicker" bindchange="glassChange" value="{{glassIndex}}" range="{{glassArray}}">
<view class="eyesightConRight">
<view class="selItem">{{glassArray[0][glassIndex[0]]}}</view>
<view class="selItem">{{glassArray[1][glassIndex[1]]}}</view>
</view>
</picker>
</view>
<view class="eyesightConItem eyesightConItemLast">
<view class="eyesightConLeft eyesightConLeftTitle">· 配镜日期</view>
<picker mode="date" value="{{date}}" start="1990-09-01" end="{{currentDate}}" class="selectorPicker" bindchange="bindDateChange">
<view class="eyesightConRight">
{{date}}
</view>
</picker>
</view>
</view>
</view>
</view>
<view id="addUserBox">
<view id="addUserBtn">
<button id="addUser" bindtap='save'>保存</button>
</view>
</view>
</view>
\ No newline at end of file
page{
background:#EFEFF4;
}
#useAddCon{
padding-bottom: 160rpx;
}
/* 信息列表 */
#childInfoList{
background: #fff;
padding-left: 25rpx;
}
.childInfoListItem{
display: flex;
align-items: center;
color: #aaa;
font-size: 24rpx;
border-bottom: 1rpx solid #d7d7d7;
padding: 30rpx 0;
}
.childInfoListItem:last-child{
border: none;
}
radio .wx-radio-input{
height: 43rpx;
width: 43rpx;
border: 2rpx solid #C9C9C9;
}
radio .wx-radio-input.wx-radio-input-checked::before{
font-size: 40rpx; /* 对勾大小 */
color:#fff; /* 对勾颜色 */
width: 60rpx; /* 选中后对勾大小,不要超过背景的尺寸 */
height: 60rpx; /* 选中后对勾大小,不要超过背景的尺寸 */
background: #33D1C4;
border-radius: 50%;/* 圆角 */
line-height: 60rpx;
text-align: center;
border: 2rpx solid #33D1C4;
margin-top: -2rpx;
}
#sexRadioBox{
display: flex;
}
.sexRadio{
display: flex;
align-items: center;
margin-right: 36rpx;
}
.childInfoListItem .childInfoListItemTitle{
font-size: 34rpx;
color: #4F5051;
width: 115rpx;
text-align: right;
margin-right: 52rpx;
}
.childInfoListItemTitle>text{
color: #FA6400;
margin-right: 7rpx;
}
.rightInput{
width: 500rpx;
font-size: 34rpx;
color: #4F5051;
}
.birthdaypPicker{
color: #4F5051;
}
.childInfoListSchool{
position: relative;
}
.locationPull{
position:absolute;
background:#f5f6f5;
z-index:9999;
padding:0 10rpx;
left:-20rpx;
}
.locationPullItem{
padding: 10rpx;
border-bottom: 0.5rpx solid #ccc;
}
.childInfoListItem .redTitle{
color: red;
}
#eyesightCon{
color: #4F5051;
font-size: 34rpx;
background: #fff;
padding-left: 25rpx;
}
#eyesightLast{
color: #4F5051;
font-size: 34rpx;
background: #fff;
}
#eyesightCon{
border-bottom: 1rpx solid #E5E5E5;
}
.eyesightConTitle{
font-size: 32rpx;
padding: 20rpx 0;
display: flex;
padding-left: 25rpx;
font-size: 28rpx;
color: #4F5051;
}
.eyesightConItem{
display: flex;
padding-bottom: 52rpx;
border-bottom: 1rpx solid #E5E5E5;
padding: 32rpx 0 30rpx;
}
.eyesightConItemLast{
border: 0;
}
.eyesightConLeft{
width:45%;
}
.eyesightConLeftTitle{
font-size: 30rpx;
color: #888;
}
.eyesightConRight{
display: flex;
justify-content: space-around;
width:50%;
}
.eyesightConItem .eyesightConRight{
color: #33D1C4;
}
.selectorPicker .eyesightConRight{
width: 100%;
padding-right: 0;
}
.selItem{
width: 50%;
text-align: center;
}
.selectorPicker{
width:50%;
padding-right:30rpx;
}
.classConRight{
justify-content: flex-end;
}
switch{
transform:scale(0.9);
}
/* 弹窗 */
#eyesightPopup{
position: absolute;
left: 0;
top: 0;
width: 100%;
height: 100%;
background: rgba(0, 0, 0, .5);
}
#eyesightPopupCon{
position: absolute;
left: 50%;
top: 50%;
width: 71%;
max-width: 600rpx;
border-radius: 10rpx;
transform: translate(-50%, -50%);
overflow: hidden;
background: #fff;
color: #888;
padding: 44rpx 58rpx;
}
#eyesightPopupTitle{
font-size: 36rpx;
color: #000000;
text-align: center;
margin-bottom: 30rpx;
}
#eyesightPopupDes{
font-size: 28rpx;
margin-bottom: 30rpx;
}
#eyesightKnow{
font-size: 26rpx;
color: #fff;
background: #33D1C4;
width: 220rpx;
height: 60rpx;
line-height: 60rpx;
}
/* 按钮 */
#addUserBox{
position: fixed;
bottom: 0;
width: 100%;
background-color: #efeff5;
}
#addUserBtn{
padding: 20rpx 50rpx 20rpx;
}
#addUser{
background: #33D1C4;
border-radius: 47rpx;
font-size: 36rpx;
color: #FFFFFF;
height: 94rpx;
line-height: 94rpx;
}
\ No newline at end of file
{
"navigationBarTitleText": "编辑用户",
"usingComponents": {}
}
\ No newline at end of file
<view id="useEditCon">
<!-- 基本信息 -->
<view id="childInfoList">
<view class="childInfoListItem">
<view class="childInfoListItemTitle {{isNull?'redTitle':''}}"><text>* </text>姓名</view>
<input value="{{name}}" class="nameInput rightInput" maxlength="18" placeholder-style="color:#CDCDCD;" bindinput="nameInput" placeholder="请输入您的孩子的真实姓名" />
</view>
<!-- 生日 -->
<view class="childInfoListItem">
<view class="childInfoListItemTitle"><text>* </text>生日</view>
<picker mode="date" value="{{birthday}}" start="1960-01-01" end="{{endDate}}" bindchange="bindBirthdayChange">
<view class="birthdaypPicker rightInput">
{{birthday}}
</view>
</picker>
</view>
<!-- 性别 -->
<view class="childInfoListItem">
<view class="childInfoListItemTitle"><text>* </text>性别</view>
<radio-group id="sexRadioBox" class="rightInput" bindchange="sexTap">
<label class="sexRadio" wx:for="{{sexList}}" wx:key="sexList">
<radio color="#fff" value="{{item.id}}" checked="{{item.id==sex}}" />{{item.name}}
</label>
</radio-group>
</view>
</view>
<view id="eyesightConWrap">
<view class="eyesightConTitle">
<view class="eyesightConLeft">视力情况</view>
<view class="eyesightConRight">
<text class="selItem">左</text>
<text class="selItem">右</text>
</view>
</view>
<view id="eyesightCon">
<view class="eyesightConItem" bindtap="showList">
<view class="eyesightConLeft">弱视、斜视、散光</view>
<view class="eyesightConRight">
<text class="selItem">{{allLeft}}</text>
<text class="selItem">{{allRight}}</text>
</view>
</view>
<view id="eyesightLast" hidden="{{!show}}">
<view class="eyesightConItem">
<view class="eyesightConLeft eyesightConLeftTitle">· 弱视程度</view>
<picker mode="multiSelector" class="selectorPicker" bindchange="ruoChange" value="{{ruoIndex}}" range="{{ruoArray}}">
<view class="eyesightConRight">
<view class="selItem">{{ruoArray[0][ruoIndex[0]]}}</view>
<view class="selItem">{{ruoArray[1][ruoIndex[1]]}}</view>
</view>
</picker>
</view>
<view class="eyesightConItem">
<view class="eyesightConLeft eyesightConLeftTitle">· 斜视情况</view>
<picker mode="multiSelector" class="selectorPicker" bindchange="xieChange" value="{{xieIndex}}" range="{{xieArray}}">
<view class="eyesightConRight">
<view class="selItem">{{xieArray[0][xieIndex[0]]}}</view>
<view class="selItem">{{xieArray[1][xieIndex[1]]}}</view>
</view>
</picker>
</view>
<view class="eyesightConItem">
<view class="eyesightConLeft eyesightConLeftTitle">· 散光度数</view>
<picker mode="multiSelector" class="selectorPicker" bindchange="sanChange" value="{{sanIndex}}" range="{{sanArray}}">
<view class="eyesightConRight">
<view class="selItem">{{sanArray[0][sanIndex[0]]}}</view>
<view class="selItem">{{sanArray[1][sanIndex[1]]}}</view>
</view>
</picker>
</view>
</view>
<view class="eyesightConItem {{isClass==1 ? '' : 'eyesightConItemLast'}}">
<view class="eyesightConLeft">是否配镜</view>
<view class="eyesightConRight classConRight">
<switch color="#33D1C4" checked="{{isClass==1}}" bindchange="classSwitch"/>
</view>
</view>
<view hidden="{{isClass==0}}">
<view class="eyesightConItem">
<view class="eyesightConLeft eyesightConLeftTitle">· 矫正视力</view>
<picker mode="multiSelector" class="selectorPicker" bindchange="jiaoChange" value="{{jiaoIndex}}" range="{{jiaoArray}}">
<view class="eyesightConRight">
<view class="selItem">{{jiaoArray[0][jiaoIndex[0]]}}</view>
<view class="selItem">{{jiaoArray[1][jiaoIndex[1]]}}</view>
</view>
</picker>
</view>
<view class="eyesightConItem">
<view class="eyesightConLeft eyesightConLeftTitle">· 眼镜度数</view>
<picker mode="multiSelector" class="selectorPicker" bindchange="glassChange" value="{{glassIndex}}" range="{{glassArray}}">
<view class="eyesightConRight">
<view class="selItem">{{glassArray[0][glassIndex[0]]}}</view>
<view class="selItem">{{glassArray[1][glassIndex[1]]}}</view>
</view>
</picker>
</view>
<view class="eyesightConItem eyesightConItemLast">
<view class="eyesightConLeft eyesightConLeftTitle">· 配镜日期</view>
<picker mode="date" value="{{date}}" start="1990-09-01" end="{{currentDate}}" class="selectorPicker" bindchange="bindDateChange">
<view class="eyesightConRight">
{{date}}
</view>
</picker>
</view>
</view>
</view>
</view>
<view id="addUserBox">
<view id="addUserBtn">
<button id="addUser" bindtap='save'>保存</button>
</view>
</view>
</view>
\ No newline at end of file
page{
background:#EFEFF4;
}
#useEditCon{
padding-bottom: 160rpx;
}
/* 信息列表 */
#childInfoList{
background: #fff;
padding-left: 25rpx;
}
.childInfoListItem{
display: flex;
align-items: center;
color: #aaa;
font-size: 24rpx;
border-bottom: 1rpx solid #d7d7d7;
padding: 30rpx 0;
}
.childInfoListItem:last-child{
border: none;
}
radio .wx-radio-input{
height: 43rpx;
width: 43rpx;
border: 2rpx solid #C9C9C9;
}
radio .wx-radio-input.wx-radio-input-checked::before{
font-size: 40rpx; /* 对勾大小 */
color:#fff; /* 对勾颜色 */
width: 60rpx; /* 选中后对勾大小,不要超过背景的尺寸 */
height: 60rpx; /* 选中后对勾大小,不要超过背景的尺寸 */
background: #33D1C4;
border-radius: 50%;/* 圆角 */
line-height: 60rpx;
text-align: center;
border: 2rpx solid #33D1C4;
margin-top: -2rpx;
}
#sexRadioBox{
display: flex;
}
.sexRadio{
display: flex;
align-items: center;
margin-right: 36rpx;
}
.childInfoListItem .childInfoListItemTitle{
font-size: 34rpx;
color: #4F5051;
width: 115rpx;
text-align: right;
margin-right: 52rpx;
}
.childInfoListItemTitle>text{
color: #FA6400;
margin-right: 7rpx;
}
.rightInput{
width: 500rpx;
font-size: 34rpx;
color: #4F5051;
}
.birthdaypPicker{
color: #4F5051;
}
.childInfoListSchool{
position: relative;
}
.locationPull{
position:absolute;
background:#f5f6f5;
z-index:9999;
padding:0 10rpx;
left:-20rpx;
}
.locationPullItem{
padding: 10rpx;
border-bottom: 0.5rpx solid #ccc;
}
.childInfoListItem .redTitle{
color: red;
}
#eyesightCon{
color: #4F5051;
font-size: 34rpx;
background: #fff;
padding-left: 25rpx;
}
#eyesightLast{
color: #4F5051;
font-size: 34rpx;
background: #fff;
}
#eyesightCon{
border-bottom: 1rpx solid #E5E5E5;
}
.eyesightConTitle{
font-size: 32rpx;
padding: 20rpx 0;
display: flex;
padding-left: 25rpx;
font-size: 28rpx;
color: #4F5051;
}
.eyesightConItem{
display: flex;
padding-bottom: 52rpx;
border-bottom: 1rpx solid #E5E5E5;
padding: 32rpx 0 30rpx;
}
.eyesightConItemLast{
border: 0;
}
.eyesightConLeft{
width:45%;
}
.eyesightConLeftTitle{
font-size: 30rpx;
color: #888;
}
.eyesightConRight{
display: flex;
justify-content: space-around;
width:50%;
}
.eyesightConItem .eyesightConRight{
color: #33D1C4;
}
.selectorPicker .eyesightConRight{
width: 100%;
padding-right: 0;
}
.selItem{
width: 50%;
text-align: center;
}
.selectorPicker{
width:50%;
padding-right:30rpx;
}
.classConRight{
justify-content: flex-end;
}
switch{
transform:scale(0.9);
}
/* 弹窗 */
#eyesightPopup{
position: absolute;
left: 0;
top: 0;
width: 100%;
height: 100%;
background: rgba(0, 0, 0, .5);
}
#eyesightPopupCon{
position: absolute;
left: 50%;
top: 50%;
width: 71%;
max-width: 600rpx;
border-radius: 10rpx;
transform: translate(-50%, -50%);
overflow: hidden;
background: #fff;
color: #888;
padding: 44rpx 58rpx;
}
#eyesightPopupTitle{
font-size: 36rpx;
color: #000000;
text-align: center;
margin-bottom: 30rpx;
}
#eyesightPopupDes{
font-size: 28rpx;
margin-bottom: 30rpx;
}
#eyesightKnow{
font-size: 26rpx;
color: #fff;
background: #33D1C4;
width: 220rpx;
height: 60rpx;
line-height: 60rpx;
}
/* 按钮 */
#addUserBox{
position: fixed;
bottom: 0;
width: 100%;
background-color: #efeff5;
}
#addUserBtn{
padding: 20rpx 50rpx 20rpx;
}
#addUser{
background: #33D1C4;
border-radius: 47rpx;
font-size: 36rpx;
color: #FFFFFF;
height: 94rpx;
line-height: 94rpx;
}
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment