Browse Source

对接一户一码

release
123456 3 years ago
parent
commit
9eb27ba9e9
  1. 2
      pages/index/index.js
  2. BIN
      subpages/family/images/edit_info.png
  3. 84
      subpages/family/pages/editHouseInfo/editHouseInfo.js
  4. 33
      subpages/family/pages/editHouseInfo/editHouseInfo.wxml
  5. 2
      subpages/family/pages/editHouseInfo/editHouseInfo.wxss
  6. 8
      subpages/family/pages/index/index.js
  7. 29
      subpages/family/pages/index/index.wxml
  8. 12
      subpages/family/pages/index/index.wxss
  9. 50
      subpages/family/utils/api.js
  10. 2
      subpages/family/wxss/family.wxss

2
pages/index/index.js

@ -571,7 +571,7 @@ Page({
const arr = decodeURIComponent(res.result).split('/') const arr = decodeURIComponent(res.result).split('/')
const roomCode = arr[arr.length - 1] const roomCode = arr[arr.length - 1]
wx.navigateTo({ wx.navigateTo({
url: `/subpages/family/pages/editHouseInfo/editHouseInfo?roomCode=${roomCode}` url: `/subpages/family/pages/index/index?roomCode=${roomCode}`
}) })
} }
} }

BIN
subpages/family/images/edit_info.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.4 KiB

84
subpages/family/pages/editHouseInfo/editHouseInfo.js

@ -1,8 +1,7 @@
// @ts-nocheck // @ts-nocheck
import { import {
wxShowToast, getHouseInfo,
wxRequestPost, updateHouseInfo
wxNavigateTo,
} from '../../utils/api.js'; } from '../../utils/api.js';
import validate from "../../utils/validate/index.js"; import validate from "../../utils/validate/index.js";
Page({ Page({
@ -11,19 +10,11 @@ Page({
*/ */
data: { data: {
submitBtnIsAllowed: false, submitBtnIsAllowed: false,
iniLoaded: false,
info: {
icResiUserId: '',
houseName: '',
houseCode: '3702030050150000700002',
qrCodeUrl: '',
},
fmData: { fmData: {
houseId:'', houseId:'',
ownerName:'', // 房主姓名 ownerName:'', // 房主姓名
ownerIdCard: '', // 身份证 idCard: '', // 身份证
ownerPhone:'', // 房主电话 mobile:'', // 房主电话
remark:'' // 备注
}, },
buildingunitlist: [], // 单元 buildingunitlist: [], // 单元
houseType: [ // 房屋类型 houseType: [ // 房屋类型
@ -59,42 +50,28 @@ Page({
* 生命周期函数--监听页面加载 * 生命周期函数--监听页面加载
*/ */
async onLoad(options) { async onLoad(options) {
wx.showLoading({
title: "加载中",
mask: true,
});
this.setData({ this.setData({
fmData: options, fmData: options
iniLoaded: true,
}); });
await this.getBuildingunitlist(); await this.getBuildingunitlist();
wx.hideLoading()
}, },
// 单元 // 单元
async getBuildingunitlist() { async getBuildingunitlist() {
const { fmData } = this.data; const { fmData } = this.data;
if (!fmData.buildingId) return if (!fmData.roomCode) return
const { const res = await getHouseInfo({roomCode: fmData.roomCode});
data: {
data: { code, data },
},
msg,
} = await wxRequestPost(
`gov/org/building/buildingunitlist`,
{buildingId: fmData.buildingId},
{
// isMock: true,
isQuiet: false,
}
);
if (msg === 'success' && code === 0) { if (res.msg === 'success' && res.code === 0) {
let buildingunitlist = []
data.forEach(element => {
buildingunitlist.push({
value: element.id,
label: element.unitName
})
});
this.setData({ this.setData({
buildingunitlist: buildingunitlist fmData: res.data
}) })
console.log(this.data.fmData);
} }
}, },
ownerNameSync(e){ ownerNameSync(e){
@ -120,19 +97,19 @@ Page({
// 房屋类型 // 房屋类型
houseTypePicker(e){ houseTypePicker(e){
this.setData({ this.setData({
'fmData.houseTypeName' : this.data.houseType[e.detail.value].label 'fmData.roomType' : this.data.houseType[e.detail.value].label
}) })
}, },
// 房屋途径 // 房屋途径
housePurposePicker(e){ housePurposePicker(e){
this.setData({ this.setData({
'fmData.purposeName' : this.data.purposeArr[e.detail.value].label 'fmData.roomUse' : this.data.purposeArr[e.detail.value].label
}) })
}, },
// 房屋状态 // 房屋状态
houseStatePicker(e){ houseStatePicker(e){
this.setData({ this.setData({
'fmData.rentName' : this.data.rentFlagArr[e.detail.value].label 'fmData.livingStatus' : this.data.rentFlagArr[e.detail.value].label
}) })
}, },
@ -218,32 +195,19 @@ Page({
title: "提交中", title: "提交中",
mask: true, mask: true,
}); });
const { const res = await updateHouseInfo({...fmData});
data: {
data: { code, data },
},
msg,
} = await wxRequestPost(
"gov/org/house/houseupdate",
{
...fmData,
},
{
// isMock: true,
isQuiet: false,
}
);
wx.hideLoading(); wx.hideLoading();
if (msg === "success" && code === 0) { if (res.msg === "success" && res.code === 0) {
wxShowToast({ wx.showToast({
title: "修改成功", title: "修改成功",
duration: 2000, duration: 2000,
}); });
setTimeout(()=>{ setTimeout(()=>{
wx.navigateBack() wx.reLaunch({
url: `../index/index?roomCode=${!this.data.fmData.roomCode ? this.data.fmData.roomNo : this.data.fmData.roomCode}`
})
},2000) },2000)
} }
}, },
// 更新data数据后需主动触发 // 更新data数据后需主动触发

33
subpages/family/pages/editHouseInfo/editHouseInfo.wxml

@ -1,4 +1,4 @@
<view class="g-bd" wx:if="{{ iniLoaded }}"> <view class="g-bd">
<view class="m-fm"> <view class="m-fm">
<view class="fm"> <view class="fm">
<view class="fm-title">家庭房屋基本信息</view> <view class="fm-title">家庭房屋基本信息</view>
@ -12,7 +12,7 @@
</view> </view>
<view class="value"> <view class="value">
<view class="input"> <view class="input">
{{fmData.agencyName ? fmData.agencyName : ''}} {{fmData.communityName ? fmData.communityName : ''}}
</view> </view>
</view> </view>
</view> </view>
@ -37,7 +37,7 @@
</view> </view>
<view class="value"> <view class="value">
<view class="input"> <view class="input">
{{fmData.neighborHoodName ? fmData.neighborHoodName : ''}} {{fmData.plotName ? fmData.plotName : ''}}
</view> </view>
</view> </view>
</view> </view>
@ -59,7 +59,7 @@
</view> </view>
<view class="value"> <view class="value">
<view class="input"> <view class="input">
{{fmData.unitName ? fmData.unitName : ''}} {{fmData.unit ? fmData.unit : ''}}
</view> </view>
</view> </view>
</view> </view>
@ -86,7 +86,7 @@
</view> </view>
<view class="value"> <view class="value">
<view class="input"> <view class="input">
{{fmData.doorName ? fmData.doorName : ''}} {{fmData.roomNo ? fmData.roomNo : ''}}
</view> </view>
</view> </view>
</view> </view>
@ -125,7 +125,7 @@
range="{{houseType}}" range="{{houseType}}"
range-key="label" range-key="label"
bindchange="houseTypePicker"> bindchange="houseTypePicker">
<view class="picker-text" wx:if="{{fmData.houseTypeName}}">{{fmData.houseTypeName}}</view> <view class="picker-text" wx:if="{{fmData.roomType}}">{{fmData.roomType}}</view>
<view class="picker-text z-weak" wx:else>请选择</view> <view class="picker-text z-weak" wx:else>请选择</view>
<image class="menu-arrow" src="/subpages/family/images/arrow.png" mode="aspectFit" /> <image class="menu-arrow" src="/subpages/family/images/arrow.png" mode="aspectFit" />
</picker> </picker>
@ -142,24 +142,24 @@
range="{{purposeArr}}" range="{{purposeArr}}"
range-key="label" range-key="label"
bindchange="housePurposePicker"> bindchange="housePurposePicker">
<view class="picker-text" wx:if="{{fmData.purposeName}}">{{fmData.purposeName}}</view> <view class="picker-text" wx:if="{{fmData.roomUse}}">{{fmData.roomUse}}</view>
<view class="picker-text z-weak" wx:else>请选择</view> <view class="picker-text z-weak" wx:else>请选择</view>
<image class="menu-arrow" src="/subpages/family/images/arrow.png" mode="aspectFit" /> <image class="menu-arrow" src="/subpages/family/images/arrow.png" mode="aspectFit" />
</picker> </picker>
</view> </view>
</view> </view>
<!-- 房屋状态 --> <!-- 居住情况 -->
<view class="item"> <view class="item">
<view class="field"> <view class="field">
<view class="must">*</view> <view class="must">*</view>
<view class="field-text">房屋状态</view> <view class="field-text">居住情况</view>
</view> </view>
<view class="value"> <view class="value">
<picker class="picker" <picker class="picker"
range="{{rentFlagArr}}" range="{{rentFlagArr}}"
range-key="label" range-key="label"
bindchange="houseStatePicker"> bindchange="houseStatePicker">
<view class="picker-text" wx:if="{{fmData.rentName}}">{{fmData.rentName}}</view> <view class="picker-text" wx:if="{{fmData.livingStatus}}">{{fmData.livingStatus}}</view>
<view class="picker-text z-weak" wx:else>请选择</view> <view class="picker-text z-weak" wx:else>请选择</view>
<image class="menu-arrow" src="/subpages/family/images/arrow.png" mode="aspectFit" /> <image class="menu-arrow" src="/subpages/family/images/arrow.png" mode="aspectFit" />
</picker> </picker>
@ -190,7 +190,7 @@
<view class="value"> <view class="value">
<view class="input"> <view class="input">
<input type="text" <input type="text"
value="{{ fmData.ownerIdCard }}" value="{{ fmData.idCard }}"
placeholder="请输入" placeholder="请输入"
placeholder-class="z-ph" placeholder-class="z-ph"
bindinput="ownerIdCardSync" bindinput="ownerIdCardSync"
@ -208,7 +208,7 @@
<view class="value"> <view class="value">
<view class="input"> <view class="input">
<input type="text" <input type="text"
value="{{ fmData.ownerPhone ? fmData.ownerPhone : '' }}" value="{{ fmData.mobile ? fmData.mobile : '' }}"
placeholder="请输入" placeholder="请输入"
placeholder-class="z-ph" placeholder-class="z-ph"
bindinput="ownerPhoneSync" bindinput="ownerPhoneSync"
@ -218,7 +218,7 @@
</view> </view>
</view> </view>
<!-- 备注 --> <!-- 备注 -->
<view class="item"> <!-- <view class="item">
<view class="field"> <view class="field">
<view class="field-text">备注</view> <view class="field-text">备注</view>
</view> </view>
@ -233,13 +233,12 @@
maxlength="100" /> maxlength="100" />
</view> </view>
</view> </view>
</view> </view> -->
</view> </view>
</view> </view>
<view class="operate"> <view class="operate">
<view class="btn {{ submitBtnIsAllowed ? '' : 'z-disabled'}}" bind:tap="editSubmit">确认修改</view> <view class="btn" style="opacity:1;" bind:tap="editSubmit">确认修改</view>
</view> </view>
</view> </view>
</view> </view>
<loading id="loading"></loading>

2
subpages/family/pages/editHouseInfo/editHouseInfo.wxss

@ -1 +1 @@
@import '../../assets/wxss/familyInfo.wxss'; @import '../../wxss/familyInfo.wxss';

8
subpages/family/pages/index/index.js

@ -57,7 +57,6 @@ Page({
if(res.msg === 'success' && res.code === 0){ if(res.msg === 'success' && res.code === 0){
this.setData({ this.setData({
'familyInfo':res.data, 'familyInfo':res.data,
'roomCode':res.data.members
}) })
} }
}, },
@ -113,9 +112,8 @@ Page({
}) })
}, },
handlePreview() { handlePreview() {
if (!this.data.familyInfo.maUrl) return; wx.navigateTo({
this.setData({ url: `/subpages/family/pages/editHouseInfo/editHouseInfo?roomCode=`+this.data.roomCode
showQr: false, })
});
}, },
}) })

29
subpages/family/pages/index/index.wxml

@ -4,25 +4,23 @@
<view class="f-card"> <view class="f-card">
<view class="flex-view"> <view class="flex-view">
<view class="card-left"> <view class="card-left">
<view class="card-title">{{ familyInfo.plotName + familyInfo.buildingName + familyInfo.unit + familyInfo.roomNo}}</view> <view class="card-title">{{ familyInfo.plotName }} - {{familyInfo.buildingName}} - {{familyInfo.unit}} - {{familyInfo.roomNo}}</view>
<view wx:if="{{familyInfo.roomCode.length <= 24}}" class="card-num"> <view wx:if="{{familyInfo.roomCode.length <= 24}}" class="card-num">
<text>No.{{ familyInfo.roomCode }}</text> <text>No.{{ familyInfo.roomCode }}</text>
<!-- <text >No.6666666666666666666666</text> --> <!-- <text >No.6666666666666666666666</text> -->
<image /> <!-- <image /> -->
</view> </view>
</view> </view>
<view class="card-right"> <view class="card-right">
<view class="card-qr {{ familyInfo.roomCode.length > 24 && 'card-qr-long'}}" bind:tap="handlePreview"> <view class="card-qr {{ familyInfo.roomCode.length > 24 && 'card-qr-long'}}" bind:tap="handlePreview">
<!-- <image src="{{ familyInfo.qrCodeUrl }}" /> --> <image mode="widthFix" src="../../images/edit_info.png" />
<image mode="widthFix" src="../../images/family-qr.png" />
</view> </view>
<view wx:if="{{familyInfo.roomCode.length <= 24}}" class="card-qr-name">我的"e家码"</view>
</view> </view>
</view> </view>
<view wx:if="{{familyInfo.roomCode.length > 24}}" class="card-num mt16"> <view wx:if="{{familyInfo.roomCode.length > 24}}" class="card-num mt16">
<text>No.{{ familyInfo.roomCode }}</text> <text>No.{{ familyInfo.roomCode }}</text>
<!-- <text >No.666666666666666666666666666666666666</text> --> <!-- <text >No.666666666666666666666666666666666666</text> -->
<image /> <!-- <image /> -->
</view> </view>
</view> </view>
</view> </view>
@ -61,22 +59,3 @@
<view wx:else class="no-data">暂无家庭信息</view> <view wx:else class="no-data">暂无家庭信息</view>
</view> </view>
<view class="m-fm" hidden="{{ showQr }}">
<view class="fm">
<view class="btn-close" bind:tap="cancel">
<image mode="aspectFill" src="../../images/close.png"></image>
<!-- <image mode="aspectFill"
src="/assets/images/common/close.png"></image> -->
</view>
<view class="fm-header">我的e家码</view>
<view class="fm-qr">
<!-- <image src="../../images/qr1.png" mode="aspectFill" /> -->
<image src="{{ familyInfo.maUrl }}" mode="aspectFill" />
</view>
<view class="fm-btn" bind:tap="comfirmSave">保存到相册</view>
<!-- <view class="operate">
<view class="btn" bind:tap="confirm">保存到相册</view>
</view> -->
</view>
</view>

12
subpages/family/pages/index/index.wxss

@ -1,3 +1,13 @@
@import '../../wxss/family.wxss'; @import '../../wxss/family.wxss';
@import '../../wxss/c-popForm.wxss'; @import '../../wxss/c-popForm.wxss';
.card-qr {
width: 30rpx;
height: 30rpx;
}
.card-qr image {
display: block;
width: 100%;
height: 100%;
}

50
subpages/family/utils/api.js

@ -1,71 +1,45 @@
const request = require('../../../utils/request') const request = require('../../../utils/request')
/**
* 绑定我的家庭房屋
*/
export function bindingFamily (param) {
return request.post('custom/family/bindingFamily',param)
}
/**
* 获取小区下拉列表
*/
export function getPlotOption (param) {
return request.get('custom/personroom/getPlotOption',param)
}
/**
* 获取楼栋下拉列表
*/
export function getBuildingOption (param) {
return request.get('custom/personroom/getBuildingOption',param)
}
/**
* 获取单元下拉列表
*/
export function getUnitOption (param) {
return request.get('custom/personroom/getUnitOption',param)
}
/**
* 获取房屋下拉列表
*/
export function getHouseOption (param) {
return request.get('custom/personroom/getHouseOption', param)
}
/** /**
* 添加成员信息 * 添加成员信息
*/ */
export function addFamilyMember (param) { export function addFamilyMember (param) {
return request.post('custom/personroom/addFamilyMember', param) return request.post('work/custom/personroom/addFamilyMember', param)
} }
/** /**
* 修改成员信息 * 修改成员信息
*/ */
export function updateFamilyMember (param) { export function updateFamilyMember (param) {
return request.post('custom/personroom/updateFamilyMember',param) return request.post('work/custom/personroom/updateFamilyMember',param)
} }
/** /**
* 获取成员信息 * 获取成员信息
*/ */
export function getFamilyMember (param) { export function getFamilyMember (param) {
return request.get('custom/personroom/getFamilyMember',param) return request.get('work/custom/personroom/getFamilyMember',param)
} }
/** /**
* 获取房屋信息 * 获取房屋信息
*/ */
export function getHouseInfo (param) { export function getHouseInfo (param) {
return request.get('custom/personroom/getHouseInfo',param) return request.get('work/custom/personroom/getHouseInfo',param)
}
/**
* 修改房屋信息
*/
export function updateHouseInfo (param) {
return request.post('work/custom/personroom/updateHouseInfo',param)
} }
/** /**
* 获取与户主关系 * 获取与户主关系
*/ */
export function householderRelation () { export function householderRelation () {
return request.get('imgconfig/heartImgType/householder_relation') return request.get('work/custom/personroom/heartImgType/householder_relation')
} }

2
subpages/family/wxss/family.wxss

@ -1 +1 @@
page{background:#fff;box-sizing:border-box}.f-container{width:100%;box-sizing:border-box}.f-top{position:relative;width:100%;height:200rpx;background:#e3271c;border-radius:0 0 30rpx 30rpx;-webkit-border-radius:0 0 30rpx 30rpx;-moz-border-radius:0 0 30rpx 30rpx;-ms-border-radius:0 0 30rpx 30rpx;-o-border-radius:0 0 30rpx 30rpx}.f-top .flex-view{display:flex;justify-content:space-between;}.f-top .f-card{position:absolute;left:50%;bottom:-64rpx;width:690rpx;height:200rpx;margin-left:-345rpx;background-color:#fff;box-sizing:border-box;padding:28rpx 30rpx 18rpx;box-shadow: rgba(184,184,184,.25) 0px 0px 30px 5px;overflow:hidden;border-radius:14rpx;-moz-border-radius:14rpx;-ms-border-radius:14rpx;-o-border-radius:14rpx;-webkit-border-radius:14rpx}.f-top .f-card .card-right{flex-shrink:0;margin-left:30rpx}.f-top .f-card .card-title{height:96rpx;font-family:PingFang-SC-Bold;font-size:34rpx;letter-spacing:1rpx;color:#333;overflow:hidden}.f-top .f-card .card-num{display:flex;align-items:center;font-family:PingFang-SC-Medium;font-size:28rpx;letter-spacing:1rpx;color:#333;overflow:hidden}.f-top .f-card .card-num image{flex-shrink:0;width:32rpx;height:18rpx}.f-top .f-card .card-qr{width:140rpx;height:140rpx;margin: auto;position: relative;top: -5px;}.f-top .f-card .card-qr image{display:block;width:100%;height:100%;border-radius: 10px;}.f-top .f-card .card-qr-long{width:100rpx;height:100rpx}.f-top .f-card .card-qr-name{font-family:PingFang-SC-Regular;font-size:22rpx;font-weight:400;font-stretch:normal;letter-spacing:1rpx;color:#333}.f-wr{width:100%;box-sizing:border-box;padding:100rpx 20rpx 0}.title-right,.title-wr{display:flex;align-items:center}.title-wr{justify-content:space-between;padding:28rpx 0;border-bottom:1rpx solid #e7eeee}.title-wr .title-label{position:relative;padding-left:25rpx;font-family:PingFang-SC-Bold;font-size:34rpx;font-weight:400;font-stretch:normal;letter-spacing:0;color:#333}.title-wr .title-label::after{content:'';position:absolute;top:50%;left:0;width:6rpx;height:30rpx;margin-top:-15rpx;background-color:#e60000;border-radius:3rpx;-webkit-border-radius:3rpx;-moz-border-radius:3rpx;-ms-border-radius:3rpx;-o-border-radius:3rpx}.title-wr .title-right-label{font-family:PingFang-SC-Light;font-size:26rpx;font-weight:400;font-stretch:normal;color:#999}.title-wr .right-icon{width:30rpx;height:30rpx}.f-table{background-color:#fbfbfb}.f-table .table-cell{display:flex;align-items:center;padding:26rpx 0;border:solid 1rpx #e3e3e3;border-top:0;font-family:PingFang-SC-Regular;font-size:30rpx;color:#000003}.f-table .table-cell .table-col{flex:1;text-align:center;line-height:1}.f-table .table-cell .table-col-4{color:#dd2a2a}.f-table .table-header{background:#f1f1f1;border:0;font-family:PingFang-SC-Regular;font-size:28rpx;color:#666}.f-btns{display:flex;align-items:center;padding:30rpx 0}.f-btns .f-btns-icon{width:30rpx;height:30rpx;font-size:28rpx;color:#dd2a2a;text-align:center;line-height:30rpx;border:1rpx solid #dd2a2a;border-radius:50%;-webkit-border-radius:50%;-moz-border-radius:50%;-ms-border-radius:50%;-o-border-radius:50%}.f-btns .f-btns-label{margin-left:10rpx;font-size:28rpx;color:#dd2a2a}.mt40{margin-top:40rpx}.mt16{margin-top:16rpx}.no-data{font-size:28rpx;color:#999;text-align:center;line-height:300rpx}.m-fm .fm{top:500rpx;width:600rpx;padding:0 0 40rpx 0;background:#fff;overflow:hidden}.m-fm .fm .btn-close{top:27rpx;padding:0 30rpx;font-size:36rpx;color:#fff;line-height:90rpx}.m-fm .fm .btn-close image{display:block;width:36rpx;height:36rpx}.m-fm .fm .fm-btn{width:240rpx;height:54rpx;margin:20rpx auto 0;font-family:PingFang-SC-Medium;font-size:28rpx;font-weight:400;font-stretch:normal;letter-spacing:0;color:#999;text-align:center;line-height:54rpx;border-radius:27rpx;border:solid 1rpx #eee;-webkit-border-radius:27rpx;-moz-border-radius:27rpx;-ms-border-radius:27rpx;-o-border-radius:27rpx}.m-fm .fm-header{width:100%;height:90rpx;margin-bottom:20rpx;text-align:center;line-height:90rpx;font-family:PingFang-SC-Bold;font-size:32rpx;color:#fff;background-image:linear-gradient(90deg,#ca151d 0,#e11c13 100%)}.m-fm .fm-qr{width:400rpx;height:400rpx;box-sizing:border-box;margin:0 auto}.m-fm .fm-qr image{display:block;width:100%;height:100%}.no-family{padding-top:200rpx}.no-family image{display:block;width:506rpx;margin:0 auto}.no-family .no-btn{width:220rpx;height:66rpx;margin:60rpx auto 0;font-size:32rpx;color:#fff;text-align:center;line-height:66rpx;background-image:linear-gradient(90deg,#ca151d 0,#e11c13 100%);border-radius:30rpx;-webkit-border-radius:30rpx;-moz-border-radius:30rpx;-ms-border-radius:30rpx;-o-border-radius:30rpx} page{background:#fff;box-sizing:border-box}.f-container{width:100%;box-sizing:border-box}.f-top{position:relative;width:100%;height:200rpx;background:#e3271c;border-radius:0 0 30rpx 30rpx;-webkit-border-radius:0 0 30rpx 30rpx;-moz-border-radius:0 0 30rpx 30rpx;-ms-border-radius:0 0 30rpx 30rpx;-o-border-radius:0 0 30rpx 30rpx}.f-top .flex-view{display:flex;justify-content:space-between;}.f-top .f-card{position:absolute;left:50%;bottom:-64rpx;width:690rpx;height:200rpx;margin-left:-345rpx;background-color:#fff;box-sizing:border-box;padding:28rpx 30rpx 18rpx;box-shadow: rgba(184,184,184,.25) 0px 0px 30px 5px;overflow:hidden;border-radius:14rpx;-moz-border-radius:14rpx;-ms-border-radius:14rpx;-o-border-radius:14rpx;-webkit-border-radius:14rpx}.f-top .f-card .card-right{flex-shrink:0;margin-left:30rpx}.f-top .f-card .card-title{height:96rpx;font-family:PingFang-SC-Bold;font-size:34rpx;letter-spacing:1rpx;color:#333;overflow:hidden}.f-top .f-card .card-num{display:flex;align-items:center;font-family:PingFang-SC-Medium;font-size:28rpx;letter-spacing:1rpx;color:#333;overflow:hidden}.f-top .f-card .card-num image{flex-shrink:0;width:32rpx;height:18rpx}.f-top .f-card .card-qr{width:30rpx;height:30rpx;}.f-top .f-card .card-qr image{display:block;width:100%;height:100%;}.f-top .f-card .card-qr-long{width:100rpx;height:100rpx}.f-top .f-card .card-qr-name{font-family:PingFang-SC-Regular;font-size:22rpx;font-weight:400;font-stretch:normal;letter-spacing:1rpx;color:#333}.f-wr{width:100%;box-sizing:border-box;padding:100rpx 20rpx 0}.title-right,.title-wr{display:flex;align-items:center}.title-wr{justify-content:space-between;padding:28rpx 0;border-bottom:1rpx solid #e7eeee}.title-wr .title-label{position:relative;padding-left:25rpx;font-family:PingFang-SC-Bold;font-size:34rpx;font-weight:400;font-stretch:normal;letter-spacing:0;color:#333}.title-wr .title-label::after{content:'';position:absolute;top:50%;left:0;width:6rpx;height:30rpx;margin-top:-15rpx;background-color:#e60000;border-radius:3rpx;-webkit-border-radius:3rpx;-moz-border-radius:3rpx;-ms-border-radius:3rpx;-o-border-radius:3rpx}.title-wr .title-right-label{font-family:PingFang-SC-Light;font-size:26rpx;font-weight:400;font-stretch:normal;color:#999}.title-wr .right-icon{width:30rpx;height:30rpx}.f-table{background-color:#fbfbfb}.f-table .table-cell{display:flex;align-items:center;padding:26rpx 0;border:solid 1rpx #e3e3e3;border-top:0;font-family:PingFang-SC-Regular;font-size:30rpx;color:#000003}.f-table .table-cell .table-col{flex:1;text-align:center;line-height:1}.f-table .table-cell .table-col-4{color:#dd2a2a}.f-table .table-header{background:#f1f1f1;border:0;font-family:PingFang-SC-Regular;font-size:28rpx;color:#666}.f-btns{display:flex;align-items:center;padding:30rpx 0}.f-btns .f-btns-icon{width:30rpx;height:30rpx;font-size:28rpx;color:#dd2a2a;text-align:center;line-height:30rpx;border:1rpx solid #dd2a2a;border-radius:50%;-webkit-border-radius:50%;-moz-border-radius:50%;-ms-border-radius:50%;-o-border-radius:50%}.f-btns .f-btns-label{margin-left:10rpx;font-size:28rpx;color:#dd2a2a}.mt40{margin-top:40rpx}.mt16{margin-top:16rpx}.no-data{font-size:28rpx;color:#999;text-align:center;line-height:300rpx}.m-fm .fm{top:500rpx;width:600rpx;padding:0 0 40rpx 0;background:#fff;overflow:hidden}.m-fm .fm .btn-close{top:27rpx;padding:0 30rpx;font-size:36rpx;color:#fff;line-height:90rpx}.m-fm .fm .btn-close image{display:block;width:36rpx;height:36rpx}.m-fm .fm .fm-btn{width:240rpx;height:54rpx;margin:20rpx auto 0;font-family:PingFang-SC-Medium;font-size:28rpx;font-weight:400;font-stretch:normal;letter-spacing:0;color:#999;text-align:center;line-height:54rpx;border-radius:27rpx;border:solid 1rpx #eee;-webkit-border-radius:27rpx;-moz-border-radius:27rpx;-ms-border-radius:27rpx;-o-border-radius:27rpx}.m-fm .fm-header{width:100%;height:90rpx;margin-bottom:20rpx;text-align:center;line-height:90rpx;font-family:PingFang-SC-Bold;font-size:32rpx;color:#fff;background-image:linear-gradient(90deg,#ca151d 0,#e11c13 100%)}.m-fm .fm-qr{width:400rpx;height:400rpx;box-sizing:border-box;margin:0 auto}.m-fm .fm-qr image{display:block;width:100%;height:100%}.no-family{padding-top:200rpx}.no-family image{display:block;width:506rpx;margin:0 auto}.no-family .no-btn{width:220rpx;height:66rpx;margin:60rpx auto 0;font-size:32rpx;color:#fff;text-align:center;line-height:66rpx;background-image:linear-gradient(90deg,#ca151d 0,#e11c13 100%);border-radius:30rpx;-webkit-border-radius:30rpx;-moz-border-radius:30rpx;-ms-border-radius:30rpx;-o-border-radius:30rpx}
Loading…
Cancel
Save