更新小程序仓库
This commit is contained in:
@@ -0,0 +1,384 @@
|
||||
// pages/sugarDetail/sugarDetail.js
|
||||
const app = getApp()
|
||||
import {throttle} from "../../utils/util"
|
||||
import {family,addfamily} from "../../api/familyDoc";
|
||||
import {getProject,hasCreate} from "../../api/checkSugar"
|
||||
Page({
|
||||
|
||||
/**
|
||||
* 页面的初始数据
|
||||
*/
|
||||
data: {
|
||||
showdialog:false,
|
||||
cancelBtn:false,
|
||||
messageTitle:'',
|
||||
opacity:0,
|
||||
nation_id:'',
|
||||
nation_name:'',
|
||||
show:false,
|
||||
projectImg:'',
|
||||
detection_project_id:1,
|
||||
idCard:'',
|
||||
relation:'',
|
||||
phoneNumber:'',
|
||||
card_name:'',
|
||||
realName:'',
|
||||
showAdd:false,
|
||||
currentName:'',
|
||||
age:"",
|
||||
currentFamilyId:'',
|
||||
showPicker:false,
|
||||
family:[],
|
||||
columns: [{
|
||||
text: "本人",
|
||||
value: 1
|
||||
},
|
||||
{
|
||||
text: "父母",
|
||||
value: 2
|
||||
},
|
||||
{
|
||||
text: "爱人",
|
||||
value: 3
|
||||
},
|
||||
{
|
||||
text: "子女",
|
||||
value: 4
|
||||
},
|
||||
{
|
||||
text: "亲戚",
|
||||
value: 5
|
||||
},
|
||||
{
|
||||
text: "其他 ",
|
||||
value: 6
|
||||
}
|
||||
]
|
||||
},
|
||||
onConfirmPicker(event) {
|
||||
const {value} = event.detail;
|
||||
this.setData({
|
||||
relationId: `${value.value}`,
|
||||
relation: `${value.text}`,
|
||||
showPicker: false
|
||||
});
|
||||
},
|
||||
|
||||
openPicker() {
|
||||
this.setData({
|
||||
showPicker: true
|
||||
})
|
||||
},
|
||||
closePicker() {
|
||||
this.setData({
|
||||
showPicker: false
|
||||
})
|
||||
},
|
||||
addPatient(){
|
||||
this.setData({
|
||||
showAdd:true,
|
||||
currentFamilyId:"",
|
||||
sex:""
|
||||
})
|
||||
},
|
||||
onCloseAdd() {
|
||||
this.setData({
|
||||
showAdd: false
|
||||
});
|
||||
},
|
||||
onClose(){
|
||||
this.setData({
|
||||
show:false
|
||||
})
|
||||
},
|
||||
showPatient(){
|
||||
this.setData({
|
||||
show:true
|
||||
})
|
||||
},
|
||||
onConfirm(event) {
|
||||
const { value} = event.detail;
|
||||
this.setData({
|
||||
relationId: `${value.value}`,
|
||||
relation:`${value.text}`,
|
||||
showPicker:false
|
||||
});
|
||||
},
|
||||
inputChange(e){
|
||||
this.setData({
|
||||
[e.target.dataset.id]: e.detail.value
|
||||
})
|
||||
},
|
||||
handelGetProject(){
|
||||
let {detection_project_id}=this.data;
|
||||
getProject(
|
||||
detection_project_id
|
||||
).then(data=>{
|
||||
this.setData({
|
||||
projectImg:data.img_path
|
||||
})
|
||||
})
|
||||
},
|
||||
cancelAlert(){
|
||||
this.setData({
|
||||
showdialog: false
|
||||
})
|
||||
},
|
||||
confirm(event) {
|
||||
if (event.detail) {
|
||||
this.setData({
|
||||
showdialog: false
|
||||
})
|
||||
}
|
||||
if(this.data.messageTitle=="当前患者存在进行中检测订单"){
|
||||
let {order_detection_id}=this.data;
|
||||
app.method.navigateTo({
|
||||
url: '/pages/checkOrderDetail/checkOrderDetail?order_detection_id='+ order_detection_id,
|
||||
})
|
||||
}
|
||||
},
|
||||
handleHasCreate(){
|
||||
let {currentFamilyId,sex,currentName,detection_project_id,age,nation_id,nation_name}=this.data;
|
||||
hasCreate({
|
||||
family_id:currentFamilyId,
|
||||
detection_project_id:detection_project_id
|
||||
}).then(data=>{
|
||||
if(data){
|
||||
this.setData({
|
||||
showdialog:true,
|
||||
messageTitle:"当前患者存在进行中检测订单",
|
||||
order_detection_id: data,
|
||||
cancelBtn:true
|
||||
})
|
||||
}else{
|
||||
let cur_nation_id=nation_id?nation_id:'';
|
||||
let cur_nation_name=nation_name?nation_name:'';
|
||||
app.method.navigateTo({
|
||||
url: '/pages/sugarSickInfo/sugarSickInfo?family_id='+currentFamilyId+"&real_name="+currentName+"&detection_project_id="+detection_project_id+"&sex="+sex+"&age="+age+"&nation_id="+cur_nation_id+"&nation_name="+cur_nation_name
|
||||
})
|
||||
}
|
||||
})
|
||||
},
|
||||
|
||||
//获取身份证号信息
|
||||
getIdInfo(IdCard){
|
||||
var reg = /(^\d{15}$)|(^\d{18}$)|(^\d{17}(\d|X|x)$)/;
|
||||
if(reg.test(IdCard)){
|
||||
let sex
|
||||
if (parseInt(IdCard.substr(16, 1)) % 2 === 1) {
|
||||
sex = '1'
|
||||
} else {
|
||||
sex = '2'
|
||||
}
|
||||
var ageDate = new Date()
|
||||
var month = ageDate.getMonth() + 1
|
||||
var day = ageDate.getDate()
|
||||
var age = ageDate.getFullYear() - IdCard.substring(6, 10) - 1
|
||||
if (IdCard.substring(10, 12) < month || (IdCard.substring(10, 12) === month && IdCard.substring(12, 14) <= day)) {
|
||||
age++
|
||||
}
|
||||
if (age <= 0) {
|
||||
age = 1
|
||||
}
|
||||
return { sex, age}
|
||||
}else{
|
||||
return false;
|
||||
}
|
||||
},
|
||||
addFamily(){
|
||||
let {realName,idCard,phoneNumber,relationId}=this.data;
|
||||
addfamily({
|
||||
card_name:realName,
|
||||
type:1,
|
||||
id_number:idCard,
|
||||
mobile:phoneNumber,
|
||||
is_default:0,
|
||||
relation:relationId
|
||||
}).then((data)=>{
|
||||
this.getFamily();
|
||||
this.setData({
|
||||
currentFamilyId:data.family_id,
|
||||
realName:'',
|
||||
idCard:'',
|
||||
phoneNumber:'',
|
||||
relationId:'',
|
||||
showAdd:false,
|
||||
relation:'',
|
||||
show:true
|
||||
})
|
||||
})
|
||||
},
|
||||
selectPatient(e){
|
||||
const {familyid,sex,card_name,age,nation,nation_name}=e.currentTarget.dataset;
|
||||
this.setData({
|
||||
currentFamilyId:familyid,
|
||||
sex:sex,
|
||||
nation_name:nation_name,
|
||||
age:age,
|
||||
nation_id:nation,
|
||||
currentName:card_name
|
||||
})
|
||||
},
|
||||
getFamily(){
|
||||
family().then((data)=>{
|
||||
this.setData({
|
||||
family:this.transforpage(data)
|
||||
})
|
||||
})
|
||||
},
|
||||
transforpage(arr) {
|
||||
const pages = []
|
||||
let newArr=arr.concat([{
|
||||
type:"add"
|
||||
}])
|
||||
newArr.forEach((item, index) => {
|
||||
const page = Math.floor(index / 2)
|
||||
if (!pages[page]) {
|
||||
pages[page] = []
|
||||
}
|
||||
pages[page].push(item)
|
||||
});
|
||||
return pages
|
||||
},
|
||||
goBack(){
|
||||
console.log("origion:"+app.globalData.origion)
|
||||
if(app.globalData.origion==1){
|
||||
wx.reLaunch({
|
||||
url: '/pages/index/index',
|
||||
})
|
||||
}else if(app.globalData.origion==2){
|
||||
wx.reLaunch({
|
||||
url: '/pages/index/index',
|
||||
})
|
||||
}else{
|
||||
wx.navigateBack({
|
||||
delta: 1,
|
||||
fail:function(){
|
||||
wx.reLaunch({
|
||||
url: '/pages/index/index',
|
||||
})
|
||||
}
|
||||
})
|
||||
}
|
||||
|
||||
},
|
||||
handleThrottleSick:throttle(function(){
|
||||
|
||||
this.goSick()
|
||||
}),
|
||||
goSick(){
|
||||
|
||||
if (!/^([\u4e00-\u9fa5\·]{2,10})$/.test(this.data.realName)) {
|
||||
wx.showToast({
|
||||
title: `姓名要求在2-10个汉字`,
|
||||
icon: 'none',
|
||||
});
|
||||
return false;
|
||||
};
|
||||
if (!/(^\d{15}$)|(^\d{18}$)|(^\d{17}(\d|X|x)$)/.test(this.data.idCard)){
|
||||
wx.showToast({
|
||||
title: `请输入有效的身份证号`,
|
||||
icon: 'none',
|
||||
});
|
||||
return false;
|
||||
};
|
||||
if(this.data.phoneNumber){
|
||||
if(!/^1[3456789]\d{9}$/.test(this.data.phoneNumber)){
|
||||
wx.showToast({
|
||||
title: `请输入有效的手机号码!`,
|
||||
icon: 'none',
|
||||
});
|
||||
return false;
|
||||
}
|
||||
};
|
||||
let idInfo=this.getIdInfo(this.data.idCard);
|
||||
if(idInfo.age<6){
|
||||
wx.showToast({
|
||||
title: `六岁以下儿童不支持线上问诊`,
|
||||
icon: 'none',
|
||||
});
|
||||
return false;
|
||||
}
|
||||
|
||||
this.setData({
|
||||
sex:idInfo.sex,
|
||||
age:idInfo.age,
|
||||
nation_id:'',
|
||||
nation_name:'',
|
||||
currentName:this.data.realName
|
||||
})
|
||||
this.addFamily();
|
||||
|
||||
},
|
||||
onPageScroll: function(e) {
|
||||
let opacity=0;
|
||||
if(e.scrollTop/(86*2)>=1){
|
||||
opacity=1
|
||||
}else{
|
||||
opacity=e.scrollTop/(86*2)
|
||||
}
|
||||
this.setData({
|
||||
opacity:opacity
|
||||
})
|
||||
},
|
||||
|
||||
/**
|
||||
* 生命周期函数--监听页面加载
|
||||
*/
|
||||
onLoad(options) {
|
||||
this.setData({
|
||||
img_host:app.hostConfig().imghost
|
||||
});
|
||||
this.handelGetProject();
|
||||
this.getFamily()
|
||||
},
|
||||
|
||||
/**
|
||||
* 生命周期函数--监听页面初次渲染完成
|
||||
*/
|
||||
onReady() {
|
||||
|
||||
},
|
||||
|
||||
/**
|
||||
* 生命周期函数--监听页面显示
|
||||
*/
|
||||
onShow() {
|
||||
|
||||
},
|
||||
|
||||
/**
|
||||
* 生命周期函数--监听页面隐藏
|
||||
*/
|
||||
onHide() {
|
||||
|
||||
},
|
||||
|
||||
/**
|
||||
* 生命周期函数--监听页面卸载
|
||||
*/
|
||||
onUnload() {
|
||||
|
||||
},
|
||||
|
||||
/**
|
||||
* 页面相关事件处理函数--监听用户下拉动作
|
||||
*/
|
||||
onPullDownRefresh() {
|
||||
|
||||
},
|
||||
|
||||
/**
|
||||
* 页面上拉触底事件的处理函数
|
||||
*/
|
||||
onReachBottom() {
|
||||
|
||||
},
|
||||
|
||||
/**
|
||||
* 用户点击右上角分享
|
||||
*/
|
||||
// onShareAppMessage() {
|
||||
|
||||
// }
|
||||
})
|
||||
@@ -0,0 +1,8 @@
|
||||
{
|
||||
"usingComponents": {
|
||||
"van-popup": "@vant/weapp/popup/index",
|
||||
"dialog":"../../components/dialog/dialog",
|
||||
"van-picker": "@vant/weapp/picker/index"
|
||||
},
|
||||
"navigationStyle":"custom"
|
||||
}
|
||||
@@ -0,0 +1,89 @@
|
||||
<!--pages/sugarDetail/sugarDetail.wxml-->
|
||||
<view class="ui-navigatorbar" style="background-color:transparent;backdrop-filter:blur(0px)">
|
||||
<image class="ui-navigatorbar-back" bindtap="goBack" src="../../assets/images/sugar_left.png" />
|
||||
<view class="ui-title" style="color:#fff;opacity: {{1-opacity}};" >糖组检测</view>
|
||||
</view>
|
||||
<view class="page">
|
||||
|
||||
<image src="{{projectImg}}" mode="widthFix" class="dcimg" lazy-load/>
|
||||
<view class="nextbox">
|
||||
<image src="../../assets/images/sugar_process.png" mode="widthFix" class="dcimg" lazy-load />
|
||||
<view class="msgbtnbox">
|
||||
<view class="msgbtn" bindtap="showPatient">填写信息 </view>
|
||||
|
||||
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
<van-popup show="{{ show }}" bind:close="onClose" closeable
|
||||
position="bottom" round
|
||||
custom-style="min-height: 60%">
|
||||
<view class="titlepop">选择患者</view>
|
||||
<view class="personbox">
|
||||
<view class="row" wx:for-item="itemName" wx:for="{{family}}" wx:key="*this">
|
||||
<view class="cell" wx:for-item="item" wx:for="{{itemName}}" wx:key="family_id">
|
||||
<view class="cellinner" wx:if="{{!item.type}}" bindtap="selectPatient" data-familyId="{{item.family_id}}" data-sex="{{item.sex}}" data-card_name="{{item.card_name}}" data-age="{{item.age}}" data-nation="{{item.nation_id}}" data-nation_name="{{item.nation_name}}">
|
||||
<view class="person">
|
||||
<view class="name">{{item.card_name}}</view>
|
||||
<view class="tag" wx:if="{{item.relation==1}}">本人</view>
|
||||
<view class="tag" wx:elif="{{item.relation==2}}">父母</view>
|
||||
<view class="tag" wx:elif="{{item.relation==3}}">爱人</view>
|
||||
<view class="tag" wx:elif="{{item.relation==4}}">子女</view>
|
||||
<view class="tag" wx:elif="{{item.relation==5}}">亲戚</view>
|
||||
<view class="tag" wx:elif="{{item.relation==6}}">其他</view>
|
||||
</view>
|
||||
<view class="desc">
|
||||
<view class="sex" wx:if="{{item.sex===0}}">性别未知</view>
|
||||
<view class="sex" wx:elif="{{item.sex==1}}">男</view>
|
||||
<view class="sex" wx:else>女</view>
|
||||
<view class="age">{{item.age}}岁</view>
|
||||
</view>
|
||||
<image src="{{img_host+'/gou.png'}}" class="gou" wx:if="{{item.family_id==currentFamilyId}}"></image>
|
||||
</view>
|
||||
<view class="celladd" bindtap="addPatient" wx:elif="{{item.type}}">
|
||||
+新建患者
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
<view class="btnbox">
|
||||
<button class="btn" plain="true" disabled="{{currentFamilyId?false:true}}" bindtap="handleHasCreate">下一步</button>
|
||||
</view>
|
||||
</van-popup>
|
||||
<van-popup show="{{showAdd}}" round closeable z-index="999" position="bottom" custom-style="height:{{height}}rpx" bind:close="onCloseAdd">
|
||||
<view class="infobox">
|
||||
<view class="title">新建患者</view>
|
||||
<view class="info">
|
||||
<view class="name">真实姓名<text>*</text></view>
|
||||
<input value="{{realName}}" type="text" bindinput="inputChange" placeholder="请输入真实姓名" data-id="realName"/>
|
||||
</view>
|
||||
<view class="info">
|
||||
<view class="name">身份证号<text>*</text></view>
|
||||
<input value="{{idCard}}" type="idcard" bindinput="inputChange" placeholder="请输入真实身份证号" data-id="idCard"/>
|
||||
</view>
|
||||
<view class="info">
|
||||
<view class="name">联系电话</view>
|
||||
<input value="{{phoneNumber}}" type="digit" bindblur="onblur" bindfocus="onfocus" cursor-spacing="100" bindinput="inputChange" bindinput="inputChange" placeholder="请输入联系电话" data-id="phoneNumber"/>
|
||||
</view>
|
||||
<view class="info" bindtap="openPicker">
|
||||
<view class="name">患者关系</view>
|
||||
<input type="text" value="{{relation}}" placeholder="请选择与患者的关系" disabled="true" />
|
||||
</view>
|
||||
<view class="tip" >
|
||||
<view class="warntitle">温馨提示:</view>
|
||||
<view class="warn">
|
||||
<view>1、国家卫健委要求,就医行为必须实名登记,信息仅接诊医生可见,请谨慎填写患者信息。</view>
|
||||
|
||||
<view>3、6岁以下儿童不支持线上问诊,请到线下就诊。
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
<view class="next" bindtap="goSick">
|
||||
确定
|
||||
</view>
|
||||
</view>
|
||||
</van-popup>
|
||||
<van-popup show="{{ showPicker }}" round position="bottom" z-index="99999" custom-style="height:auto" bind:close="closePicker">
|
||||
<van-picker show-toolbar title="选择与患者之间的关系" columns="{{ columns }}" bind:cancel="closePicker" bind:confirm="onConfirmPicker" />
|
||||
</van-popup>
|
||||
<dialog bind:confirm="confirm" bind:cancel="cancelAlert" showDialog="{{showdialog}}" message="{{messageTitle}}" cancelBtn="{{cancelBtn}}"></dialog>
|
||||
@@ -0,0 +1,259 @@
|
||||
/* pages/sugarDetail/sugarDetail.wxss */
|
||||
.dcimg{
|
||||
width:750rpx;
|
||||
}
|
||||
.page{
|
||||
position: relative;
|
||||
min-height: 100%;
|
||||
height:auto;
|
||||
padding-bottom: 450rpx;
|
||||
}
|
||||
.nextbox{
|
||||
position: fixed;
|
||||
bottom:0rpx;
|
||||
z-index:1;
|
||||
height:482rpx;
|
||||
width:750rpx;
|
||||
}
|
||||
.msgbtn{
|
||||
font-size: 36rpx;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
background-image: linear-gradient(
|
||||
180deg,
|
||||
rgba(182, 245, 243, 1) 0,
|
||||
rgba(111, 229, 225, 1) 18.201463%,
|
||||
rgba(56, 187, 181, 1) 89.000166%,
|
||||
rgba(60, 199, 192, 1) 100%
|
||||
);
|
||||
border-radius: 47rpx;
|
||||
height:94rpx;
|
||||
width: 638rpx;
|
||||
margin:0 auto;
|
||||
color:#fff;
|
||||
}
|
||||
.msgbtnbox{
|
||||
width:100%;
|
||||
position: absolute;
|
||||
bottom:80rpx;
|
||||
}
|
||||
.ui-navigatorbar-back{
|
||||
width:24rpx;
|
||||
height:40rpx;
|
||||
}
|
||||
.personbox {
|
||||
border-radius: 10rpx;
|
||||
background-color: #fff;
|
||||
padding: 40rpx 20rpx 144rpx;
|
||||
overflow-y: scroll;
|
||||
}
|
||||
|
||||
.personbox .row {
|
||||
margin-top: 30rpx;
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
|
||||
}
|
||||
|
||||
.personbox .row:first-child {
|
||||
margin-top: 0;
|
||||
}
|
||||
|
||||
.personbox .row .cell {
|
||||
position: relative;
|
||||
width: 47%;
|
||||
height: 120rpx;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
justify-content: center;
|
||||
margin-left: 30rpx;
|
||||
border-radius: 10rpx;
|
||||
border: 1px solid #CCCCCC;
|
||||
}
|
||||
|
||||
.personbox .row .cell:first-child {
|
||||
margin-left: 0rpx;
|
||||
}
|
||||
|
||||
.personbox .person {
|
||||
display: flex;
|
||||
margin: 0 25rpx;
|
||||
align-items: center;
|
||||
}
|
||||
|
||||
.personbox .tag {
|
||||
margin-left: 32rpx;
|
||||
font-size: 24rpx;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
line-height: 24rpx;
|
||||
justify-content: center;
|
||||
color: #666666;
|
||||
width: 80rpx;
|
||||
height: 32rpx;
|
||||
border-radius: 4rpx;
|
||||
transform: rotateZ(360deg);
|
||||
border: 1rpx solid #979797;
|
||||
}
|
||||
|
||||
.personbox .desc {
|
||||
display: flex;
|
||||
margin: 0 25rpx;
|
||||
font-size: 28rpx;
|
||||
color: #666;
|
||||
margin-top: 3px;
|
||||
}
|
||||
|
||||
.personbox .name {
|
||||
white-space: nowrap;
|
||||
overflow: hidden;
|
||||
max-width: 200rpx;
|
||||
text-overflow: ellipsis;
|
||||
font-size: 34rpx;
|
||||
color: #333;
|
||||
}
|
||||
|
||||
.personbox .age {
|
||||
|
||||
margin-left: 12rpx;
|
||||
}
|
||||
|
||||
.personbox .cell .gou {
|
||||
position: absolute;
|
||||
bottom: -1rpx;
|
||||
right: 0rpx;
|
||||
width: 66rpx;
|
||||
height: 53.7rpx;
|
||||
}
|
||||
|
||||
.personbox .add {
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
font-size: 34rpx;
|
||||
color: #333;
|
||||
}
|
||||
.own .add.disabled{
|
||||
color: #999;
|
||||
}
|
||||
.titlepop{
|
||||
font-size: 34rpx;
|
||||
font-weight: 400;
|
||||
color: #333333;
|
||||
padding:40rpx 0;
|
||||
text-align: center;
|
||||
width:100%;
|
||||
border-bottom:1rpx solid #E7E7E7;
|
||||
}
|
||||
|
||||
.van-icon-cross {
|
||||
color: #333;
|
||||
font-size: 40rpx !important;
|
||||
}
|
||||
|
||||
.infobox {
|
||||
margin-top: 40rpx;
|
||||
}
|
||||
|
||||
|
||||
.infobox .title {
|
||||
border-bottom: 1rpx solid #E7E7E7;
|
||||
text-align: center;
|
||||
font-size: 34rpx;
|
||||
padding-bottom: 35rpx;
|
||||
}
|
||||
.info {
|
||||
border-bottom: 1rpx solid #E7E7E7;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
height: 112rpx;
|
||||
color: #333333;
|
||||
}
|
||||
|
||||
.info .name {
|
||||
white-space: nowrap;
|
||||
width: 180rpx;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
margin-left: 52rpx;
|
||||
color: #333333;
|
||||
font-size: 34rpx;
|
||||
}
|
||||
|
||||
.info text {
|
||||
margin-top: 20rpx;
|
||||
color:#E34D59;
|
||||
|
||||
display: flex;
|
||||
align-items: center;
|
||||
}
|
||||
.info input {
|
||||
margin-left: 15rpx;
|
||||
margin-right: 52rpx;
|
||||
flex: 1;
|
||||
}
|
||||
.input-placeholder {
|
||||
color: #999999;
|
||||
font-size: 28rpx;
|
||||
}
|
||||
.tip{
|
||||
padding:20rpx 20rpx;
|
||||
margin:30rpx 52rpx 20rpx;
|
||||
background: #FFF2F0;
|
||||
border-radius: 12rpx;
|
||||
}
|
||||
.warntitle{
|
||||
color: #E34D59;
|
||||
font-size: 28rpx;
|
||||
}
|
||||
.warn{
|
||||
margin-top: 20rpx;
|
||||
font-size: 24rpx;
|
||||
line-height: 36rpx;
|
||||
color: #666666;
|
||||
}
|
||||
.next{
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
height: 94rpx;
|
||||
font-size: 36rpx;
|
||||
left: 30rpx;
|
||||
right: 30rpx;
|
||||
margin:0 52rpx;
|
||||
border-radius: 47rpx;
|
||||
color: #fff;
|
||||
margin-bottom: 40rpx;
|
||||
background: #3CC7C0;
|
||||
}
|
||||
.celladd{
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
height: 120rpx;
|
||||
}
|
||||
.btnbox .btn{
|
||||
border-radius: 47rpx;
|
||||
border:none;
|
||||
background: #3CC7C0!important;
|
||||
margin:0 32rpx;
|
||||
height: 94rpx;
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
font-size: 36rpx;
|
||||
color: #FFFFFF!important;
|
||||
}
|
||||
.btnbox .btn[disabled]{
|
||||
color: #000000!important;
|
||||
background:rgba(0,0,0,0.1)!important;
|
||||
}
|
||||
.btnbox{
|
||||
position: fixed;
|
||||
width:100%;
|
||||
bottom:0rpx;
|
||||
height: 134rpx;
|
||||
background:#fff;
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user