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
var app = getApp();
Page({
data: {
name: '',//姓名
birthday: '2010-01-01',// 生日
sex: '',// 性别
sexList: [{ id: 1, name: '男孩' }, { id: 2, name: '女孩' }],
isNull: false,
endDate: '',
luoData: {left: '',right: ''},//裸眼视力
jiaoData: {left: '',right: ''},//矫正视力
glassData: {left: '',right: ''},//眼镜度数
ruoData: {left: '无',right: '无'},// 弱视
xieData: {left: '无',right: '无'},// 斜视
sanData: {left: '无',right: '无'},// 散光
luoeyeArray: [
['4.0','4.1','4.2','4.3','4.4','4.5','4.6','4.7','4.8','4.9','-','5.0','5.1','5.2','5.3'],
['4.0','4.1','4.2','4.3','4.4','4.5','4.6','4.7','4.8','4.9','-','5.0','5.1','5.2','5.3']
],
luoeyeIndex: [10, 10],
jiaoArray: [
['4.0','4.1','4.2','4.3','4.4','4.5','4.6','4.7','4.8','4.9','-','5.0','5.1','5.2','5.3'],
['4.0','4.1','4.2','4.3','4.4','4.5','4.6','4.7','4.8','4.9','-','5.0','5.1','5.2','5.3']
],
jiaoIndex: [10, 10],
glassArray: [
['-','300度以下','300-600度','600度以上'],
['-','300度以下','300-600度','600度以上']
],
glassIndex: [0, 0],
ruoArray: [// 弱视选项
['无','中度','重度'],
['无','中度','重度']
],
ruoIndex: [0, 0],
xieArray: [// 斜视选项
['无','有'],
['无','有']
],
xieIndex: [0, 0],
sanArray: [// 散光选项
['无','<=100度','>100度'],
['无','<=100度','>100度']
],
sanIndex: [0, 0],
show: false,// 是否显示详细选项
allLeft: "无",// 多个集合左
allRight: "无",// 多个集合右
allLeftStatus: 0,// 多个集合左(状态)
allRightStatus: 0,// 多个集合右(状态)
isClass: 0, //是否配镜
date: '2012-01-01',// 配镜日期
currentDate: '',
},
onLoad: function (options) {
let me = this;
let myDate = new Date()
me.setData({
currentDate: myDate.getFullYear()+'-'+(myDate.getMonth()+1)+'-'+myDate.getDate()
})
},
onShow: function (options) {
// wx.hideHomeButton()
let me = this;
let myDate = new Date()
me.setData({
name: '',//姓名
birthday: '2010-01-01',// 生日
sex: '',// 性别
endDate: myDate.getFullYear()+'-'+(myDate.getMonth()+1)+'-'+myDate.getDate()
})
},
bindBirthdayChange: function(e) {
if(Number(new Date(e.detail.value))>Number(new Date())){
wx.showModal({
title: '提示',
showCancel: false,
content: '生日不可大于今天的日期'
})
this.setData({
birthday: '2010-01-01'
})
}else{
this.setData({
birthday: e.detail.value
})
}
},
// 改变性别
sexTap: function(e) {
this.setData({
sex: e.detail.value
})
console.log(e.detail.value)
},
nameInput: function (e) {
this.setData({
isNull: false,
name: e.detail.value
})
},
showList: function () {
this.setData({
show: !this.data.show
})
},
luoeyeChange: function (e) {// 裸眼视力
let luoData = {
left: this.data.luoeyeArray[0][e.detail.value[0]],
right: this.data.luoeyeArray[1][e.detail.value[1]]
}
this.setData({
luoeyeIndex: e.detail.value,
luoData: luoData
})
console.log('裸眼视力:')
console.log(luoData)
},
jiaoChange: function (e) {// 矫正视力
let jiaoData = {
left: this.data.jiaoArray[0][e.detail.value[0]],
right: this.data.jiaoArray[1][e.detail.value[1]]
}
this.setData({
jiaoIndex: e.detail.value,
jiaoData: jiaoData
})
console.log('矫正视力:')
console.log(this.data.jiaoData)
},
glassChange: function (e) {// 矫正视力
let glassData = {
left: this.data.glassArray[0][e.detail.value[0]],
right: this.data.glassArray[1][e.detail.value[1]]
}
this.setData({
glassIndex: e.detail.value,
glassData: glassData
})
console.log('眼镜度数:')
console.log(this.data.glassData)
},
ruoChange: function (e) {// 弱视
let ruoData = {
left: this.data.ruoArray[0][e.detail.value[0]],
right: this.data.ruoArray[1][e.detail.value[1]]
}
this.setData({
ruoIndex: e.detail.value,
ruoData: ruoData
})
// 调用判断整体状态
this.setAll();
console.log('弱视程度:')
console.log(this.data.ruoData)
},
xieChange: function (e) {// 斜视
let xieData = {
left: this.data.xieArray[0][e.detail.value[0]],
right: this.data.xieArray[1][e.detail.value[1]]
}
this.setData({
xieIndex: e.detail.value,
xieData: xieData
})
// 调用判断整体状态
this.setAll();
console.log('斜视情况:')
console.log(this.data.xieData)
},
sanChange: function (e) {// 散光
let sanData = {
left: this.data.sanArray[0][e.detail.value[0]],
right: this.data.sanArray[1][e.detail.value[1]]
}
this.setData({
sanIndex: e.detail.value,
sanData: sanData
})
// 调用判断整体状态
this.setAll();
console.log('散光度数:')
console.log(this.data.sanData)
},
// 判断弱视斜视散光 有、无 状态
setAll: function (e) {
if(this.data.ruoData.left!="无"||this.data.xieData.left!="无"||this.data.sanData.left!="无"){
this.setData({
allLeft: '有',
allLeftStatus: 1
})
}else{
this.setData({
allLeft: '无',
allLeftStatus: 0
})
}
if(this.data.ruoData.right!="无"||this.data.xieData.right!="无"||this.data.sanData.right!="无"){
this.setData({
allRight: '有',
allRightStatus: 1
})
}else{
this.setData({
allRight: '无',
allRightStatus: 0
})
}
},
// 是否配镜开关
classSwitch(e) {
console.log('是否配镜', e.detail.value)
if(e.detail.value){
this.setData({
isClass: 1
})
}else{
this.setData({
isClass: 0
})
}
},
bindDateChange: function(e) {
this.setData({
date: e.detail.value
})
},
// 保存
save: function(e) {
let me = this;
if(me.data.name==''){// 没填姓名高亮
me.setData({
isNull: true
})
wx.showModal({
title: '提示',
showCancel: false,
content: '姓名不能为空'
})
return
}
if(me.data.sex==''){//性别未选择
wx.showModal({
title: '提示',
showCancel: false,
content: '请选择性别'
})
return
}
if((me.data.luoData.left=='-' && me.data.luoData.right=='-') || (me.data.luoData.left=='' && me.data.luoData.right=='')){
wx.showModal({
title: '提示',
showCancel: false,
content: '裸眼视力未选择'
})
return
}
if(me.data.luoData.left=='-' || me.data.luoData.right=='-' || me.data.luoData.left=='' || me.data.luoData.right==''){
wx.showModal({
title: '提示',
showCancel: false,
content: '左眼或右眼裸眼视力未选择'
})
return
}// 请求前加Loading
wx.showLoading({
title: '加载中',
mask: true
})
if(me.data.ruoData.left=='无'){
me.setData({
ruoData:{left: '',right: me.data.ruoData.right}
})
}
if(me.data.ruoData.right=='无'){
me.setData({
ruoData:{left: me.data.ruoData.left,right: ''}
})
}
if(me.data.xieData.left=='无'){
me.setData({
xieData:{left: '',right: me.data.xieData.right}
})
}
if(me.data.xieData.right=='无'){
me.setData({
xieData:{left: me.data.xieData.left,right: ''}
})
}
if(me.data.sanData.left=='无'){
me.setData({
sanData:{left: '',right: me.data.sanData.right}
})
}
if(me.data.sanData.right=='无'){
me.setData({
sanData:{left: me.data.sanData.left,right: ''}
})
}
let nearsightedTime = ''
if(me.data.isClass==0){
nearsightedTime = ''
}else{
nearsightedTime = me.data.date
}
wx.request({
url: app.globalData.apiUrl + 'teenages/addTeenage',
method: 'POST',
data: {
token: wx.getStorageSync('token'),
name: me.data.name,
birthday: me.data.birthday,
gender: me.data.sex,//性别
leftEye: me.data.luoData.left,// 左眼裸眼视力
rightEye: me.data.luoData.right,// 右眼裸眼视力
leftCorrectedEye: me.data.jiaoData.left,// 左眼矫正视力
rightCorrectedEye: me.data.jiaoData.right,// 右眼矫正视力
leftGlassesDegree: me.data.glassData.left,// 左眼眼镜度数
rightGlassesDegree: me.data.glassData.right,// 右眼眼镜度数
leftOtherEyeStatus: me.data.allLeftStatus,// 左眼弱视、斜视、散光情况,1:有、0:无
rightOtherEyeStatus: me.data.allRightStatus,// 右眼弱视、斜视、散光情况,1:有、0:无
leftWeekEye: me.data.ruoData.left,// 左眼弱视程度
rightWeekEye: me.data.ruoData.right,// 右眼弱视程度
leftLeerEye: me.data.xieData.left,// 左眼斜视情况
rightLeerEye: me.data.xieData.right,// 右眼斜视情况
leftCylEye: me.data.sanData.left,// 左眼散光度数
rightCylEye: me.data.sanData.right,// 右眼散光度数
nearsightedStatus: me.data.isClass,// 佩戴眼镜情况 1:戴眼镜; 0:未戴眼镜
nearsightedTime: nearsightedTime// 配镜时间
},
success: function (res) {
// 请求成功后关闭Loading
wx.hideLoading();
if(res.data.errno==200){
wx.showToast({
title: '添加成功',
mask: true,
// icon: 'none',
duration: 2000
});
wx.reLaunch({
url: '/pages/user/user'
})
}else{
wx.showModal({
title: '提示',
showCancel: false,
content: res.data.msg
})
if(me.data.ruoData.left==''){
me.setData({
ruoData:{left: '无',right: me.data.ruoData.right}
})
}
if(me.data.ruoData.right==''){
me.setData({
ruoData:{left: me.data.ruoData.left,right: '无'}
})
}
if(me.data.xieData.left==''){
me.setData({
xieData:{left: '无',right: me.data.xieData.right}
})
}
if(me.data.xieData.right==''){
me.setData({
xieData:{left: me.data.xieData.left,right: '无'}
})
}
if(me.data.sanData.left==''){
me.setData({
sanData:{left: '无',right: me.data.sanData.right}
})
}
if(me.data.sanData.right==''){
me.setData({
sanData:{left: me.data.sanData.left,right: '无'}
})
}
}
}
})
},
})
\ 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
var app = getApp();
Array.prototype.indexValue = function (arr) {
for (var i = 0; i < this.length; i++) {
if (this[i] == arr) {
return i;
}
}
}
Page({
data: {
name: '',//姓名
birthday: '2010-01-01',// 生日
sex: '',// 性别
sexList: [{ id: 1, name: '男孩' }, { id: 2, name: '女孩' }],
isNull: false,
endDate: '',
jiaoData: {left: '',right: ''},//矫正视力
glassData: {left: '',right: ''},//眼镜度数
ruoData: {left: '无',right: '无'},// 弱视
xieData: {left: '无',right: '无'},// 斜视
sanData: {left: '无',right: '无'},// 散光
jiaoArray: [
['4.0','4.1','4.2','4.3','4.4','4.5','4.6','4.7','4.8','4.9','-','5.0','5.1','5.2','5.3'],
['4.0','4.1','4.2','4.3','4.4','4.5','4.6','4.7','4.8','4.9','-','5.0','5.1','5.2','5.3']
],
jiaoIndex: [10, 10],
glassArray: [
['-','300度以下','300-600度','600度以上'],
['-','300度以下','300-600度','600度以上']
],
glassIndex: [0, 0],
ruoArray: [// 弱视选项
['无','中度','重度'],
['无','中度','重度']
],
ruoIndex: [0, 0],
xieArray: [// 斜视选项
['无','有'],
['无','有']
],
xieIndex: [0, 0],
sanArray: [// 散光选项
['无','<=100度','>100度'],
['无','<=100度','>100度']
],
sanIndex: [0, 0],
show: false,// 是否显示详细选项
allLeft: "无",// 多个集合左
allRight: "无",// 多个集合右
allLeftStatus: 0,// 多个集合左(状态)
allRightStatus: 0,// 多个集合右(状态)
isClass: 0, //是否配镜
date: '2012-01-01',// 配镜日期
currentDate: '',
},
onLoad: function (options) {
let me = this;
let myDate = new Date()
me.setData({
endDate: myDate.getFullYear()+'-'+(myDate.getMonth()+1)+'-'+myDate.getDate(),
currentDate: myDate.getFullYear()+'-'+(myDate.getMonth()+1)+'-'+myDate.getDate()
})
// 请求前加Loading
wx.showLoading({
title: '加载中',
mask: true
})
wx.request({
url: app.globalData.apiUrl + 'teenages/teenageInfo',
method: 'POST',
data: {
token: wx.getStorageSync('token'),
teenageId: options.id,
},
success: function (res) {
// 请求成功后关闭Loading
wx.hideLoading();
me.setData({
name: res.data.data.name,//姓名
birthday: res.data.data.birthday,// 生日
sex: res.data.data.gender,// 性别
jiaoIndex: [me.data.jiaoArray[0].indexValue(res.data.data.leftCorrectedEye), me.data.jiaoArray[0].indexValue(res.data.data.rightCorrectedEye)],//矫正视力
glassIndex: [me.data.glassArray[0].indexValue(res.data.data.leftGlassesDegree), me.data.glassArray[0].indexValue(res.data.data.rightGlassesDegree)],//眼镜度数
ruoIndex: [me.data.ruoArray[0].indexValue(res.data.data.leftWeekEye), me.data.ruoArray[0].indexValue(res.data.data.rightWeekEye)],// 弱视
xieIndex: [me.data.xieArray[0].indexValue(res.data.data.leftLeerEye), me.data.xieArray[0].indexValue(res.data.data.rightLeerEye)],// 斜视
sanIndex: [me.data.sanArray[0].indexValue(res.data.data.leftCylEye), me.data.sanArray[0].indexValue(res.data.data.rightCylEye)],// 散光
ruoData: {left: res.data.data.leftWeekEye,right: res.data.data.rightWeekEye},// 弱视
xieData: {left: res.data.data.leftLeerEye,right: res.data.data.rightLeerEye},// 斜视
sanData: {left: res.data.data.leftCylEye,right: res.data.data.rightCylEye},// 散光
})
if(res.data.data.nearsightedTime){
me.setData({
isClass: 1, //是否配镜
date: res.data.data.nearsightedTime,// 配镜日期
})
}
me.setAll();
if(res.data.data.leftWeekEye!='无'||res.data.data.leftLeerEye!='无'||res.data.data.leftCylEye!='无'||res.data.data.rightWeekEye!='无'||res.data.data.rightLeerEye!='无'||res.data.data.rightCylEye!='无'){
me.setData({
show: true
})
}
}
})
},
onShow: function (options) {
},
bindBirthdayChange: function(e) {
if(Number(new Date(e.detail.value))>Number(new Date())){
wx.showModal({
title: '提示',
showCancel: false,
content: '生日不可大于今天的日期'
})
this.setData({
birthday: '2010-01-01'
})
}else{
this.setData({
birthday: e.detail.value
})
}
},
// 改变性别
sexTap: function(e) {
this.setData({
sex: e.detail.value
})
console.log(e.detail.value)
},
nameInput: function (e) {
this.setData({
isNull: false,
name: e.detail.value
})
},
showList: function () {
this.setData({
show: !this.data.show
})
},
jiaoChange: function (e) {// 矫正视力
let jiaoData = {
left: this.data.jiaoArray[0][e.detail.value[0]],
right: this.data.jiaoArray[1][e.detail.value[1]]
}
this.setData({
jiaoIndex: e.detail.value,
jiaoData: jiaoData
})
console.log('矫正视力:')
console.log(this.data.jiaoData)
},
glassChange: function (e) {// 矫正视力
let glassData = {
left: this.data.glassArray[0][e.detail.value[0]],
right: this.data.glassArray[1][e.detail.value[1]]
}
this.setData({
glassIndex: e.detail.value,
glassData: glassData
})
console.log('眼镜度数:')
console.log(this.data.glassData)
},
ruoChange: function (e) {// 弱视
let ruoData = {
left: this.data.ruoArray[0][e.detail.value[0]],
right: this.data.ruoArray[1][e.detail.value[1]]
}
this.setData({
ruoIndex: e.detail.value,
ruoData: ruoData
})
// 调用判断整体状态
this.setAll();
console.log('弱视程度:')
console.log(this.data.ruoData)
},
xieChange: function (e) {// 斜视
let xieData = {
left: this.data.xieArray[0][e.detail.value[0]],
right: this.data.xieArray[1][e.detail.value[1]]
}
this.setData({
xieIndex: e.detail.value,
xieData: xieData
})
// 调用判断整体状态
this.setAll();
console.log('斜视情况:')
console.log(this.data.xieData)
},
sanChange: function (e) {// 散光
let sanData = {
left: this.data.sanArray[0][e.detail.value[0]],
right: this.data.sanArray[1][e.detail.value[1]]
}
this.setData({
sanIndex: e.detail.value,
sanData: sanData
})
// 调用判断整体状态
this.setAll();
console.log('散光度数:')
console.log(this.data.sanData)
},
// 判断弱视斜视散光 有、无 状态
setAll: function (e) {
if(this.data.ruoData.left!="无"||this.data.xieData.left!="无"||this.data.sanData.left!="无"){
this.setData({
allLeft: '有',
allLeftStatus: 1
})
}else{
this.setData({
allLeft: '无',
allLeftStatus: 0
})
}
if(this.data.ruoData.right!="无"||this.data.xieData.right!="无"||this.data.sanData.right!="无"){
this.setData({
allRight: '有',
allRightStatus: 1
})
}else{
this.setData({
allRight: '无',
allRightStatus: 0
})
}
},
// 是否配镜开关
classSwitch(e) {
console.log('是否配镜', e.detail.value)
if(e.detail.value){
this.setData({
isClass: 1
})
}else{
this.setData({
isClass: 0
})
}
},
bindDateChange: function(e) {
this.setData({
date: e.detail.value
})
},
// 保存
save: function(e) {
let me = this;
if(me.data.name==''){// 没填姓名高亮
me.setData({
isNull: true
})
wx.showModal({
title: '提示',
showCancel: false,
content: '姓名不能为空'
})
return
}
if(me.data.sex==''){//性别未选择
wx.showModal({
title: '提示',
showCancel: false,
content: '请选择性别'
})
return
}
// 请求前加Loading
wx.showLoading({
title: '加载中',
mask: true
})
if(me.data.ruoData.left=='无'){
me.setData({
ruoData:{left: '',right: me.data.ruoData.right}
})
}
if(me.data.ruoData.right=='无'){
me.setData({
ruoData:{left: me.data.ruoData.left,right: ''}
})
}
if(me.data.xieData.left=='无'){
me.setData({
xieData:{left: '',right: me.data.xieData.right}
})
}
if(me.data.xieData.right=='无'){
me.setData({
xieData:{left: me.data.xieData.left,right: ''}
})
}
if(me.data.sanData.left=='无'){
me.setData({
sanData:{left: '',right: me.data.sanData.right}
})
}
if(me.data.sanData.right=='无'){
me.setData({
sanData:{left: me.data.sanData.left,right: ''}
})
}
let nearsightedTime = ''
if(me.data.isClass==0){
nearsightedTime = ''
}else{
nearsightedTime = me.data.date
}
wx.request({
url: app.globalData.apiUrl + 'teenages/editTeenage',
method: 'POST',
data: {
token: wx.getStorageSync('token'),
name: me.data.name,
birthday: me.data.birthday,
gender: me.data.sex,//性别
leftCorrectedEye: me.data.jiaoData.left,// 左眼矫正视力
rightCorrectedEye: me.data.jiaoData.right,// 右眼矫正视力
leftGlassesDegree: me.data.glassData.left,// 左眼眼镜度数
rightGlassesDegree: me.data.glassData.right,// 右眼眼镜度数
leftOtherEyeStatus: me.data.allLeftStatus,// 左眼弱视、斜视、散光情况,1:有、0:无
rightOtherEyeStatus: me.data.allRightStatus,// 右眼弱视、斜视、散光情况,1:有、0:无
leftWeekEye: me.data.ruoData.left,// 左眼弱视程度
rightWeekEye: me.data.ruoData.right,// 右眼弱视程度
leftLeerEye: me.data.xieData.left,// 左眼斜视情况
rightLeerEye: me.data.xieData.right,// 右眼斜视情况
leftCylEye: me.data.sanData.left,// 左眼散光度数
rightCylEye: me.data.sanData.right,// 右眼散光度数
nearsightedStatus: me.data.isClass,// 佩戴眼镜情况 1:戴眼镜; 0:未戴眼镜
nearsightedTime: nearsightedTime// 配镜时间
},
success: function (res) {
// 请求成功后关闭Loading
wx.hideLoading();
if(res.data.errno==200){
wx.showToast({
title: '编辑成功',
mask: true,
// icon: 'none',
duration: 2000
});
wx.reLaunch({
url: '/pages/user/user'
})
}else{
wx.showModal({
title: '提示',
showCancel: false,
content: res.data.msg
})
if(me.data.ruoData.left==''){
me.setData({
ruoData:{left: '无',right: me.data.ruoData.right}
})
}
if(me.data.ruoData.right==''){
me.setData({
ruoData:{left: me.data.ruoData.left,right: '无'}
})
}
if(me.data.xieData.left==''){
me.setData({
xieData:{left: '无',right: me.data.xieData.right}
})
}
if(me.data.xieData.right==''){
me.setData({
xieData:{left: me.data.xieData.left,right: '无'}
})
}
if(me.data.sanData.left==''){
me.setData({
sanData:{left: '无',right: me.data.sanData.right}
})
}
if(me.data.sanData.right==''){
me.setData({
sanData:{left: me.data.sanData.left,right: '无'}
})
}
}
}
})
},
})
\ 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