init version kelfy-mini for new gitea
This commit is contained in:
511
pages/userMsgDel/userMsgDel.js
Normal file
511
pages/userMsgDel/userMsgDel.js
Normal file
@@ -0,0 +1,511 @@
|
||||
// pages/userMsgDel/userMsgDel.js
|
||||
var app = getApp()
|
||||
Page({
|
||||
|
||||
/**
|
||||
* 页面的初始数据
|
||||
*/
|
||||
data: {
|
||||
showPrivacy: true,
|
||||
show: false,
|
||||
show2: false,
|
||||
show3: false,
|
||||
relate: [{
|
||||
name: '本人',
|
||||
relate: '0'
|
||||
},
|
||||
{
|
||||
name: '子女',
|
||||
relate: '1'
|
||||
},
|
||||
{
|
||||
name: '夫妻',
|
||||
relate: '2'
|
||||
},
|
||||
{
|
||||
name: '父母',
|
||||
relate: '3'
|
||||
},
|
||||
{
|
||||
name: '朋友',
|
||||
relate: '4'
|
||||
},
|
||||
],
|
||||
cardType: [
|
||||
// { name: '病历卡', value: 0 },
|
||||
{
|
||||
name: '就诊卡',
|
||||
value: 1,
|
||||
msg: "请输入就诊卡号"
|
||||
},
|
||||
// { name: '保障卡', value: 3 },
|
||||
{
|
||||
name: '社保卡',
|
||||
value: 1,
|
||||
msg: '请输入社保卡号'
|
||||
},
|
||||
{
|
||||
name: '身份证(电子健康卡)',
|
||||
value: 3,
|
||||
msg: '请输入身份证号码'
|
||||
},
|
||||
],
|
||||
sfzList: [],
|
||||
msg: "请输入号码",
|
||||
relateNmae: '', //关系名
|
||||
relateId: '', //关系值
|
||||
trueName: '', //姓名
|
||||
idCard: '', //身份证
|
||||
carNum: '', //就诊卡
|
||||
title: '', //标题
|
||||
cardT: '', //证件类型
|
||||
state: '', //新增编辑状态
|
||||
type: '', //是否默认
|
||||
checked: '', //默认按钮选中状态
|
||||
disabled: '',
|
||||
zjh: '' //证件号
|
||||
},
|
||||
// adds(){
|
||||
// this.setData({
|
||||
// trueName:this.data.trueName+'.'
|
||||
// })
|
||||
// },
|
||||
showPop() {
|
||||
this.setData({
|
||||
show: true
|
||||
});
|
||||
},
|
||||
showPop2() {
|
||||
this.setData({
|
||||
show2: true
|
||||
});
|
||||
},
|
||||
showPop3() {
|
||||
this.setData({
|
||||
show3: true
|
||||
});
|
||||
},
|
||||
onClose() {
|
||||
this.setData({
|
||||
show: false,
|
||||
});
|
||||
},
|
||||
onClose2() {
|
||||
this.setData({
|
||||
show2: false,
|
||||
});
|
||||
},
|
||||
onClose3() {
|
||||
this.setData({
|
||||
show3: false,
|
||||
});
|
||||
},
|
||||
confirm(e) {
|
||||
console.log(e.currentTarget.dataset.item)
|
||||
let item = e.currentTarget.dataset.item
|
||||
this.setData({
|
||||
relateNmae: item.name,
|
||||
relateId: item.relate,
|
||||
show: false
|
||||
})
|
||||
},
|
||||
confirm2(e) {
|
||||
console.log(e.currentTarget.dataset.item)
|
||||
let item = e.currentTarget.dataset.item
|
||||
this.setData({
|
||||
show2: false,
|
||||
cardT: item.name,
|
||||
cardV: item.value,
|
||||
msg: item.msg
|
||||
})
|
||||
},
|
||||
confirm3(e) {
|
||||
console.log(e.currentTarget.dataset.item)
|
||||
let item = e.currentTarget.dataset.item
|
||||
let cardNum = item.cardno
|
||||
let cardtype = item.cardtype
|
||||
let relate = this.data.relateId
|
||||
let type = this.data.type
|
||||
let hzxm = this.data.trueName
|
||||
console.log("cardNum is :" + cardNum)
|
||||
this.setData({
|
||||
show3: false
|
||||
})
|
||||
wx.request({
|
||||
url: 'https://fy.btlsoln.com:8443/patientBindWXUser?cardno&cardtype&openid&relate&type&hzxm',
|
||||
method: "GET",
|
||||
data: {
|
||||
cardno: cardNum,
|
||||
cardtype: cardtype,
|
||||
relate: relate,
|
||||
type: type,
|
||||
openid: app.globalData.openId,
|
||||
hzxm: hzxm
|
||||
},
|
||||
header: {
|
||||
'content-type': 'application/json'
|
||||
},
|
||||
success: (res) => {
|
||||
if (res.data.errCode == 0) {
|
||||
wx.showToast({
|
||||
title: '添加成功',
|
||||
icon: 'success'
|
||||
})
|
||||
setTimeout(item => {
|
||||
wx.navigateBack({
|
||||
delta: 1 //返回上一级页面
|
||||
})
|
||||
}, 1000)
|
||||
} else {
|
||||
wx.showToast({
|
||||
title: "用户不存在",
|
||||
icon: 'error'
|
||||
})
|
||||
}
|
||||
}
|
||||
})
|
||||
},
|
||||
onChange({
|
||||
detail
|
||||
}) {
|
||||
this.setData({
|
||||
checked: detail
|
||||
});
|
||||
},
|
||||
del() {
|
||||
let medical_card = this.data.carNum
|
||||
wx.showModal({
|
||||
title: '',
|
||||
content: '确定删除此就诊人信息吗?',
|
||||
cancelText: "否",
|
||||
confirmText: '是',
|
||||
success: function (res) {
|
||||
if (res.confirm) {
|
||||
wx.request({
|
||||
url: 'https://fy.btlsoln.com:8443/patientUnbindWXUser?medical_card&openid',
|
||||
method: "GET",
|
||||
data: {
|
||||
medical_card: medical_card,
|
||||
openid: app.globalData.openId
|
||||
},
|
||||
header: {
|
||||
'content-type': 'application/json'
|
||||
},
|
||||
success: (res) => {
|
||||
if (res.data.errCode == 0) {
|
||||
wx.showToast({
|
||||
title: '删除成功',
|
||||
icon: 'success',
|
||||
duration: 1000
|
||||
})
|
||||
setTimeout(item => {
|
||||
wx.navigateBack({
|
||||
delta: 1 //返回上一级页面
|
||||
})
|
||||
}, 1000)
|
||||
} else {
|
||||
wx.showToast({
|
||||
title: res.data.errMsg,
|
||||
icon: 'error'
|
||||
})
|
||||
}
|
||||
console.log(res, "删除就诊人")
|
||||
}
|
||||
})
|
||||
}
|
||||
}
|
||||
})
|
||||
},
|
||||
save() {
|
||||
if (this.data.checked == true) {
|
||||
this.setData({
|
||||
type: 0
|
||||
})
|
||||
} else {
|
||||
this.setData({
|
||||
type: 1
|
||||
})
|
||||
}
|
||||
let relate = this.data.relateId
|
||||
let cardType = this.data.cardV
|
||||
let cardNum = this.data.zjh
|
||||
let type = this.data.type
|
||||
let medical_card = this.data.carNum
|
||||
let hzxm = this.data.trueName
|
||||
console.log(hzxm)
|
||||
if (this.data.state == 0) {
|
||||
if (relate == '' || cardNum == '') {
|
||||
wx.showModal({
|
||||
content: '请填写完整信息',
|
||||
showCancel: false,
|
||||
})
|
||||
} else {
|
||||
if (cardType == 3) {
|
||||
wx.request({
|
||||
url: 'https://fy.btlsoln.com:8443/his/getPatient?cardno&cardtype&hzxm',
|
||||
method: "GET",
|
||||
data: {
|
||||
cardno: cardNum,
|
||||
cardtype: cardType,
|
||||
hzxm: hzxm
|
||||
},
|
||||
header: {
|
||||
'content-type': 'application/json'
|
||||
},
|
||||
success: (res) => {
|
||||
if (res.data.errCode == 0) {
|
||||
console.log(res.data, 'lslslslsl')
|
||||
this.setData({
|
||||
sfzList: res.data.list,
|
||||
show3: true,
|
||||
})
|
||||
} else {
|
||||
let title = "卡号不存在";
|
||||
if (res.data.errMsg) {
|
||||
title = res.data.errMsg;
|
||||
}
|
||||
|
||||
wx.showToast({
|
||||
title: title,
|
||||
icon: 'error'
|
||||
})
|
||||
// setTimeout(item => {
|
||||
// wx.navigateTo({
|
||||
// url: '/pages/addUserMessage/addUserMessage',
|
||||
// })
|
||||
// },1000)
|
||||
}
|
||||
}
|
||||
})
|
||||
} else {
|
||||
let that = this;
|
||||
wx.request({
|
||||
url: 'https://fy.btlsoln.com:8443/patientBindWXUser?cardno&cardtype&openid&relate&type&hzxm',
|
||||
method: "GET",
|
||||
data: {
|
||||
cardno: cardNum,
|
||||
cardtype: cardType,
|
||||
relate: relate,
|
||||
type: type,
|
||||
openid: app.globalData.openId,
|
||||
hzxm: hzxm
|
||||
},
|
||||
header: {
|
||||
'content-type': 'application/json'
|
||||
},
|
||||
success: (res) => {
|
||||
if (res.data.errCode == 0) {
|
||||
wx.showToast({
|
||||
title: '添加成功',
|
||||
icon: 'success'
|
||||
})
|
||||
|
||||
if (that.data.checked) {
|
||||
wx.setStorageSync('trueName', that.data.trueName)
|
||||
wx.setStorageSync('sfId1', that.data.idCard)
|
||||
wx.setStorageSync('cardNo', that.data.carNum)
|
||||
}
|
||||
setTimeout(item => {
|
||||
wx.navigateBack({
|
||||
delta: 1 //返回上一级页面
|
||||
})
|
||||
}, 1000)
|
||||
} else {
|
||||
let title = "卡号不存在";
|
||||
if (res.data.errMsg) {
|
||||
title = res.data.errMsg;
|
||||
}
|
||||
|
||||
wx.showToast({
|
||||
title: title,
|
||||
icon: 'error'
|
||||
})
|
||||
// setTimeout(item => {
|
||||
// wx.navigateTo({
|
||||
// url: '/pages/addUserMessage/addUserMessage',
|
||||
// })
|
||||
// },1000)
|
||||
}
|
||||
}
|
||||
})
|
||||
}
|
||||
}
|
||||
} else {
|
||||
let that = this;
|
||||
wx.showModal({
|
||||
title: '',
|
||||
content: '确定更改此就诊人信息吗?',
|
||||
cancelText: "否",
|
||||
confirmText: '是',
|
||||
success: function (res) {
|
||||
if (res.confirm) {
|
||||
wx.request({
|
||||
url: 'https://fy.btlsoln.com:8443/updatePatient?medical_card&openid&relate=1&type=1',
|
||||
method: "GET",
|
||||
data: {
|
||||
medical_card: medical_card,
|
||||
relate: relate,
|
||||
type: type,
|
||||
openid: app.globalData.openId
|
||||
},
|
||||
header: {
|
||||
'content-type': 'application/json'
|
||||
},
|
||||
success: (res) => {
|
||||
if (res.data.errCode == 0) {
|
||||
wx.showToast({
|
||||
title: '编辑成功',
|
||||
icon: 'success'
|
||||
})
|
||||
if (that.data.checked) {
|
||||
wx.setStorageSync('trueName', that.data.trueName)
|
||||
wx.setStorageSync('sfId1', that.data.idCard)
|
||||
wx.setStorageSync('cardNo', that.data.carNum)
|
||||
}
|
||||
setTimeout(item => {
|
||||
wx.navigateBack({
|
||||
delta: 1 //返回上一级页面
|
||||
})
|
||||
}, 1000)
|
||||
} else {
|
||||
wx.showToast({
|
||||
title: res.data.errMsg,
|
||||
icon: 'error'
|
||||
})
|
||||
}
|
||||
console.log(res, "编辑就诊人")
|
||||
}
|
||||
})
|
||||
}
|
||||
}
|
||||
})
|
||||
}
|
||||
},
|
||||
showModal(error) {
|
||||
wx.showModal({
|
||||
content: error.msg,
|
||||
showCancel: false,
|
||||
})
|
||||
},
|
||||
trueName: function (e) {
|
||||
this.setData({
|
||||
trueName: e.detail.value
|
||||
})
|
||||
},
|
||||
change_trueName(e) {
|
||||
let hzxm = e.detail.value.replace(/\./g, '·')
|
||||
hzxm = hzxm.replace(/\。/g, '·')
|
||||
this.setData({
|
||||
trueName: hzxm
|
||||
})
|
||||
},
|
||||
zjh: function (e) {
|
||||
this.setData({
|
||||
zjh: e.detail.value
|
||||
})
|
||||
},
|
||||
/**
|
||||
* 生命周期函数--监听页面加载
|
||||
*/
|
||||
onLoad: function (options) {
|
||||
console.log(options, "编辑")
|
||||
this.setData({
|
||||
state: options.state,
|
||||
relateId: options.relate
|
||||
})
|
||||
if (options.relate == 0) {
|
||||
this.setData({
|
||||
relateNmae: "本人"
|
||||
})
|
||||
} else if (options.relate == 1) {
|
||||
this.setData({
|
||||
relateNmae: "子女"
|
||||
})
|
||||
} else if (options.relate == 2) {
|
||||
this.setData({
|
||||
relateNmae: "夫妻"
|
||||
})
|
||||
} else if (options.relate == 3) {
|
||||
this.setData({
|
||||
relateNmae: "父母"
|
||||
})
|
||||
} else if (options.relate == 4) {
|
||||
this.setData({
|
||||
relateNmae: "朋友"
|
||||
})
|
||||
}
|
||||
if (options.type == 0) {
|
||||
this.setData({
|
||||
checked: true
|
||||
})
|
||||
} else {
|
||||
this.setData({
|
||||
checked: false
|
||||
})
|
||||
}
|
||||
if (options.state == 0) {
|
||||
this.setData({
|
||||
title: "添加就诊人"
|
||||
})
|
||||
} else {
|
||||
this.setData({
|
||||
title: "编辑就诊人",
|
||||
trueName: options.trueName,
|
||||
idCard: options.idCard,
|
||||
carNum: options.carNum,
|
||||
disabled: "disabled"
|
||||
})
|
||||
}
|
||||
},
|
||||
|
||||
/**
|
||||
* 生命周期函数--监听页面初次渲染完成
|
||||
*/
|
||||
onReady: function () {
|
||||
wx.setNavigationBarTitle({
|
||||
title: this.data.title
|
||||
})
|
||||
},
|
||||
|
||||
/**
|
||||
* 生命周期函数--监听页面显示
|
||||
*/
|
||||
onShow: function () {
|
||||
|
||||
},
|
||||
|
||||
/**
|
||||
* 生命周期函数--监听页面隐藏
|
||||
*/
|
||||
onHide: function () {
|
||||
|
||||
},
|
||||
|
||||
/**
|
||||
* 生命周期函数--监听页面卸载
|
||||
*/
|
||||
onUnload: function () {
|
||||
|
||||
},
|
||||
|
||||
/**
|
||||
* 页面相关事件处理函数--监听用户下拉动作
|
||||
*/
|
||||
onPullDownRefresh: function () {
|
||||
|
||||
},
|
||||
|
||||
/**
|
||||
* 页面上拉触底事件的处理函数
|
||||
*/
|
||||
onReachBottom: function () {
|
||||
|
||||
},
|
||||
|
||||
/**
|
||||
* 用户点击右上角分享
|
||||
*/
|
||||
onShareAppMessage: function () {
|
||||
|
||||
}
|
||||
})
|
||||
6
pages/userMsgDel/userMsgDel.json
Normal file
6
pages/userMsgDel/userMsgDel.json
Normal file
@@ -0,0 +1,6 @@
|
||||
{
|
||||
"usingComponents": {
|
||||
"van-popup": "@vant/weapp/popup/index",
|
||||
"van-switch": "@vant/weapp/switch/index"
|
||||
}
|
||||
}
|
||||
93
pages/userMsgDel/userMsgDel.wxml
Normal file
93
pages/userMsgDel/userMsgDel.wxml
Normal file
@@ -0,0 +1,93 @@
|
||||
<!--pages/userMsgDel/userMsgDel.wxml-->
|
||||
<view class="main">
|
||||
<view class="content">
|
||||
<view class="title">请认真填写就诊人信息</view>
|
||||
<view class="form">
|
||||
<view class="item">
|
||||
<view class="left">关系</view>
|
||||
<view class="input2" bindtap="showPop" wx:if="{{relateNmae == ''}}">请选择与本人关系</view>
|
||||
<view class="input3" bindtap="showPop" wx:else>{{relateNmae}}</view>
|
||||
</view>
|
||||
<view class="item" wx:if="{{state == 0}}">
|
||||
<view class="left">卡类型</view>
|
||||
<view class="input2" bindtap="showPop2" wx:if="{{cardT == ''}}">请选择卡类型</view>
|
||||
<view class="input3" bindtap="showPop2" wx:else>{{cardT}}</view>
|
||||
</view>
|
||||
<!-- <view class="item">
|
||||
<view class="left">姓名</view>
|
||||
<view class="sp">
|
||||
<input class="sr sr1" bindinput='trueName' disabled="{{disabled}}" value="{{ trueName }}" placeholder-class="placeholder" placeholder="请输入真实姓名"></input>
|
||||
<view class="add" bindtap='adds'>添加.</view>
|
||||
</view>
|
||||
</view> -->
|
||||
<view class="item">
|
||||
<view class="left">姓名</view>
|
||||
<view class="input">
|
||||
<input class="sr" bindinput='trueName' bindchange='change_trueName' disabled="{{disabled}}" value="{{ trueName }}" placeholder-class="placeholder" placeholder="请输入真实姓名"></input>
|
||||
<!-- <view class="add">添加.</view> -->
|
||||
</view>
|
||||
</view>
|
||||
<view class="item" wx:if="{{state == 1}}">
|
||||
<view class="left">身份证号</view>
|
||||
<view class="input">
|
||||
<input class="sr" disabled="{{disabled}}" value="{{ idCard }}"></input>
|
||||
</view>
|
||||
</view>
|
||||
<view class="item" wx:if="{{state == 1}}">
|
||||
<view class="left">就诊卡号</view>
|
||||
<view class="input">
|
||||
<input class="sr" bindinput='trueName' disabled="{{disabled}}" value="{{ carNum }}"></input>
|
||||
</view>
|
||||
</view>
|
||||
<view class="item" wx:if="{{state == 0}}">
|
||||
<view class="left">号码</view>
|
||||
<view class="input">
|
||||
<input class="sr" bindinput='zjh' value="{{ zjh }}" placeholder-class="placeholder" placeholder="{{msg}}"></input>
|
||||
</view>
|
||||
</view>
|
||||
<view class="item">
|
||||
<view class="left1">设为默认就诊人 </view>
|
||||
<view class="switch">
|
||||
<van-switch class="sw" checked="{{ checked }}" bind:change="onChange" size="25px" />
|
||||
</view>
|
||||
</view>
|
||||
<view class="msgDes">初次添加就诊人请绑定本院就诊卡号,未持有本院就诊卡的患者需到本院自助机或窗口办理就诊卡后方可进行添加。</view>
|
||||
|
||||
|
||||
|
||||
|
||||
<view class="btn" bindtap="save">保存</view>
|
||||
<view class="btn2" wx:if="{{state == 1}}" bindtap="del">删除就诊人</view>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
</view>
|
||||
</view>
|
||||
<van-popup show="{{ show }}" round closeable position="bottom" bind:close="onClose">
|
||||
<view class="popWrap">
|
||||
<view class="title1">选择与本人关系</view>
|
||||
<view class="msgItem" wx:for="{{relate}}" wx:key="item" data-item="{{item}}" bindtap="confirm">{{item.name}}</view>
|
||||
</view>
|
||||
</van-popup>
|
||||
<van-popup show="{{ show2 }}" round closeable position="bottom" bind:close="onClose2">
|
||||
<view class="popWrap">
|
||||
<view class="title1">选择卡类型</view>
|
||||
<view class="msgItem" wx:for="{{cardType}}" wx:key="item" data-item="{{item}}" bindtap="confirm2">{{item.name}}</view>
|
||||
</view>
|
||||
</van-popup>
|
||||
<van-popup show="{{ show3 }}" round closeable position="bottom" bind:close="onClose3">
|
||||
<view class="popWrap">
|
||||
<view class="title1">选择绑定卡号</view>
|
||||
<view class="msgItem1" wx:for="{{sfzList}}" wx:key="item" data-item="{{item}}" bindtap="confirm3">
|
||||
<view class="kUp">
|
||||
<view class="k1">{{item.hzxm}}</view>
|
||||
<view class="k2">(¥{{item.zhye}})</view>
|
||||
</view>
|
||||
<view class="KDown" wx:if="{{item.cardtype == 3}}">{{item.cardno}}(电子健康卡)</view>
|
||||
<view class="KDown" wx:else>{{item.cardno}}</view>
|
||||
</view>
|
||||
</view>
|
||||
</van-popup>
|
||||
</view>
|
||||
201
pages/userMsgDel/userMsgDel.wxss
Normal file
201
pages/userMsgDel/userMsgDel.wxss
Normal file
@@ -0,0 +1,201 @@
|
||||
/* pages/userMsgDel/userMsgDel.wxss */
|
||||
.main{
|
||||
margin: 30rpx 0;
|
||||
width: 750rpx;
|
||||
}
|
||||
.content{
|
||||
height: 100%;
|
||||
width: 90%;
|
||||
margin: 0 auto;
|
||||
}
|
||||
.title{
|
||||
height: 120rpx;
|
||||
width: 100%;
|
||||
font-size: 33rpx;
|
||||
color: #666;
|
||||
line-height: 120rpx;
|
||||
border-bottom: 1rpx solid #f8f8f8;
|
||||
}
|
||||
.item{
|
||||
height: 120rpx;
|
||||
width: 100%;
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
align-items: center;
|
||||
border-bottom: 1rpx solid #f8f8f8;
|
||||
}
|
||||
.left{
|
||||
height: 100%;
|
||||
width: 180rpx;
|
||||
font-size: 35rpx;
|
||||
color: #333;
|
||||
line-height: 120rpx;
|
||||
}
|
||||
.input{
|
||||
flex: 1;
|
||||
font-size: 35rpx;
|
||||
color: #333;
|
||||
line-height: 120rpx;
|
||||
}
|
||||
.inputs{
|
||||
display: flex !important;
|
||||
|
||||
}
|
||||
.sr1{
|
||||
flex:1;
|
||||
padding-left:43px;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
.add{
|
||||
width: 40px;
|
||||
height: 25px;
|
||||
text-align: center;
|
||||
line-height: 25px;
|
||||
/* border:1px solid #eee; */
|
||||
border-radius: 4px;
|
||||
font-size: 13px;
|
||||
margin-left: 3px;
|
||||
background-color: #006eff;
|
||||
color:#fff;
|
||||
}
|
||||
.sp{
|
||||
display: flex;
|
||||
font-size: 35rpx;
|
||||
color: #333;
|
||||
line-height: 120rpx;
|
||||
}
|
||||
.input2{
|
||||
flex: 1;
|
||||
height: 100%;
|
||||
font-size: 30rpx;
|
||||
color: #666;
|
||||
line-height: 120rpx;
|
||||
}
|
||||
.input3{
|
||||
flex: 1;
|
||||
height: 100%;
|
||||
font-size: 35rpx;
|
||||
color: #333;
|
||||
line-height: 120rpx;
|
||||
}
|
||||
.sr{
|
||||
border: 0;
|
||||
}
|
||||
.placeholder{
|
||||
font-size: 30rpx;
|
||||
}
|
||||
.popWrap{
|
||||
height: 100%;
|
||||
width: 100%;
|
||||
padding: 10rpx;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
.popWrap :last-child{
|
||||
border: none;
|
||||
}
|
||||
.title1{
|
||||
height: 80rpx;
|
||||
width: 100%;
|
||||
font-size: 33rpx;
|
||||
color: #666;
|
||||
line-height: 80rpx;
|
||||
text-align: center
|
||||
}
|
||||
.msgItem1{
|
||||
height: 160rpx;
|
||||
width: 80%;
|
||||
margin: 0 auto;
|
||||
border-bottom: 1rpx solid #f8f8f8;
|
||||
}
|
||||
.kUp{
|
||||
height: 80rpx;
|
||||
width: 100%;
|
||||
display: flex;
|
||||
justify-content: flex-start;
|
||||
align-items: center;
|
||||
}
|
||||
.k1{
|
||||
height: 80rpx;
|
||||
line-height: 80rpx;
|
||||
font-size: 35rpx;
|
||||
color: #333;
|
||||
}
|
||||
.k2{
|
||||
height: 80rpx;
|
||||
line-height: 80rpx;
|
||||
font-size: 30rpx;
|
||||
color: #666;
|
||||
/* margin-left: 10rpx; */
|
||||
}
|
||||
.KDown{
|
||||
height: 80rpx;
|
||||
line-height: 80rpx;
|
||||
font-size: 35rpx;
|
||||
color: #666;
|
||||
}
|
||||
.msgItem{
|
||||
height: 80rpx;
|
||||
width: 100%;
|
||||
font-size: 35rpx;
|
||||
color: #333;
|
||||
text-align: center;
|
||||
line-height: 80rpx;
|
||||
border-bottom: 1rpx solid #f8f8f8;
|
||||
}
|
||||
.left1{
|
||||
height: 100%;
|
||||
width: 300rpx;
|
||||
font-size: 35rpx;
|
||||
color: #333;
|
||||
line-height: 120rpx;
|
||||
}
|
||||
.left1{
|
||||
height: 100%;
|
||||
width: 400rpx;
|
||||
}
|
||||
.switch{
|
||||
height: 100%;
|
||||
width: 100rpx;
|
||||
display:flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
}
|
||||
.msgDes{
|
||||
height: 180rpx;
|
||||
width: 100%;
|
||||
padding: 20rpx 15rpx;
|
||||
box-sizing: border-box;
|
||||
border-radius: 10rpx;
|
||||
margin-top: 10rpx;
|
||||
background: rgba(247,247,248);
|
||||
font-size: 30rpx;
|
||||
color: #666;
|
||||
line-height: 50rpx;
|
||||
}
|
||||
.btn{
|
||||
height: 100rpx;
|
||||
margin-top: 50rpx;
|
||||
width: 100%;
|
||||
background: rgba(0,110,255);
|
||||
color: #fff;
|
||||
text-align: center;
|
||||
line-height: 100rpx;
|
||||
border-radius: 10rpx;
|
||||
font-size: 35rpx;
|
||||
letter-spacing: 5rpx;
|
||||
}
|
||||
.btn2{
|
||||
height: 100rpx;
|
||||
margin-top: 30rpx;
|
||||
margin-bottom: 20rpx;
|
||||
width: 100%;
|
||||
background: rgba(228,240,255);
|
||||
color: rgba(3,112,255);
|
||||
text-align: center;
|
||||
line-height: 100rpx;
|
||||
border-radius: 10rpx;
|
||||
font-size: 35rpx;
|
||||
letter-spacing: 5rpx;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user