123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864 |
- <template>
- <view class="selectCar-box">
- <view class="details">
- <view class="title"> 基础信息 </view>
- <view class="details-item">
- <view> 订单编号: </view>
- <text>{{ orderInfos.orderId }}</text>
- </view>
- <view class="details-item">
- <view> 用户名称: </view>
- <text>{{ orderInfos.customerName }}</text>
- </view>
- <view class="details-item">
- <view> 用户证件类型: </view>
- <text>{{ getCodeName('CERTIFICATE_TYPE',orderInfos.ownerIdtype) }}</text>
- </view>
- <view class="details-item">
- <view> 用户证件号: </view>
- <text>{{ orderInfos.ownerIdnum }}</text>
- </view>
- <view class="details-item">
- <view> 订单车牌号: </view>
- <text style="color: #00b38b">{{ orderInfos.vehiclePlate }}</text>
- </view>
- <view class="details-item">
- <view> 车牌颜色: </view>
- <text style="color: #00b38b">{{
- orderInfos.vehiclePlateColorStr
- }}</text>
- </view>
- <view class="details-item">
- <view> 收费车型: </view>
- <text>{{ orderInfos.vehicleType }}</text>
- </view>
- </view>
- <view class="title"> 卡信息 </view>
- <view class="card">
- <view class="card-left">
- <image :src="`${$imgUrl}card2.png`" mode=""></image>
- <view class="card-center">
- <view class="card-center-head"> {{orderInfos.cardId}} </view>
- <view class="tips">
- <text>储蓄卡</text>
- <text class="tips-card">{{getCodeName('CARD_STATE_TYPE',orderInfos.cardStatus)}}</text>
- </view>
- <view class="choose-item"> 有效期:{{orderInfos.cardExpireTime }}</view>
- </view>
- </view>
-
- </view>
- <view class="title"> OBU设备信息 </view>
- <view class="card">
- <view class="card-left">
- <image :src="`${$imgUrl}card1.png`" mode=""></image>
- <view class="card-center">
- <view class="card-center-head"> {{orderInfos.obuId}} </view>
- <view class="tips">
- <text class="tips-card">{{getCodeName('OBU_STATE_TYPE',orderInfos.obuStatus)}}</text>
- </view>
- <view class="choose-item"> 有效期:{{orderInfos.obuExpireTime }} </view>
- </view>
- </view>
- </view>
- <button class="submit" @click="toPage" v-if="!state.flag" :disabled="state.disabled">设备升级</button>
- <button class="submit" @click="toBack" v-else>返回服务中心</button>
-
- <view class="mask" v-show="state.showPopup">
- <view class="main">
- <view class="top">
- <image class="icon-close" :src="`${$imgUrl}common/icon-close.png`" @click="cancel"></image>
- </view>
- <image class="icon-success" :src="`${$imgUrl}bluetooth/card-success.png`"></image>
- <view class="title">设备升级成功!</view>
- </view>
- </view>
- </view>
- </template>
-
- <script setup>
- import {
- reactive
- } from "vue";
- import {
- navTo,
- getFormatDate,
- desensitization
- } from "@/utils/utils";
- import {
- onLoad,
- onUnload,
- onShow
- } from "@dcloudio/uni-app";
- import {
- request,requestNew
- } from "@/utils/network/request.js";
- import {
- orderDetail,
- deviceUpgrade,
- writeCardBack,
- cardModifyConfirm,
- modifyObuVehicleInfo,
- obuActivation,
- obuWriteAgain,
- changeWorkOrderStatus,
- preDeviceCheck,
- preDeviceCheckRes,deviceUpgradeApply,deviceUpgradeOrderConfirm,commGetDetail
- } from "@/utils/network/api.js";
- import {
- getVehiclePlateColor
- } from "@/datas/vehiclePlateColor";
- import {
- searchVehicleInfoQuery
- } from "@/subpackage/after-sale/js/publicRequest";
- import {
- getCodeName
- } from "@/datas/queryKey.js";
- import {
- IntegerToHexString,
- AsciToHexString,
- } from "@/utils/util/fileData.js";
- import {
- stringToJson
- } from "@/utils/network/encryption";
- import {
- getItem
- } from "@/utils/storage.ts"
- const tools = require("../../../static/etcUtil/tools.js");
- const bluetoothUtil = require("../../../static/etcUtil/index.js");
- const cmd = require("../../../static/etcUtil/cmdConfig.js");
- const state = reactive({
- showPopup: false,
- flag: false,
- disabled: false,
- workId: ""
- })
- const orderInfos = reactive({
- orderId: "",
- customerName: "",
- ownerIdtype: "",
- ownerIdnum: "",
- vehiclePlate: "",
- vehiclePlateColorStr: "",
- vehiclePlateColor: "",
- vehicleType: "",
- cardId: "",
- cardStatus: "",
- obuId: "",
- obuStatus: "",
- cardEnableTime: "",
- obuEnableTime: "",
- cardExpireTime: '',
- obuExpireTime: "",
- obuVersion: ""
- });
- const fileDataStrings = reactive({
- approvedCount: 0, //核载人数
- cardId: "", //卡号
- obuId: "", //obu号
- obuId: "", //obu号
- packageNum: "", //套餐编号
- axleCount: 0, //轴数
- axleDistance: "", //轴距
- engineNum: "", //发动机
- vehicleVin: "",
- vehicleEngineNum: "",
- cardStatus: "",
- obuStatus: "",
- type: 0, //类型
- userType: 0, //用户类型
- vehiclePlate: "", //车牌
- vehiclePlateColor: 0, //车牌颜色
- vehicleDimensions: "",
- outlineL: 0, //外廓 长
- outlineW: 0, //外廓 宽
- outlineH: 0, //外廓 高
- wheelCount: "", //车轮数
- vehicleIdNo: "", //车牌号
- vehiclePlateColorStr: "",
- customerTel: "",
- customerId: "",
- orderId: ""
- });
- let orderInfo = {};
- let cmdRandNum = '';
- onLoad((option) => {
- getDeviceUpgradeNew()//测试
- return;
- console.log("options", option)
- //请求订单详情
- queryOrderDetail(option.id);
- getOrderDetails(option.id)
- state.workId = option.workId
- });
-
- onShow((option) => {
- uni.$on('bluetoothLink', res => {
- console.log(res);
- if (res.status) {
- tools.showLoadingAlert("正在执行指令");
- state.disabled = true;
- //getDeviceUpgrade()
- getDeviceUpgradeNew()
- }
- })
- })
-
- function getDeviceUpgradeNew(){
- tools.showLoadingAlert('正在升级,请等待')
- const options = {
- type: 2, //type: 2,JSON格式提交数据(默认表单形式提交)
- showLoading: false,
- data: {
- loginSrouce: getItem("loginSource"),
- }, //请求参数
- method: "POST", //提交方式(默认POST)
- };
- console.log("options2222", options)
- requestNew(preDeviceCheck, options)
- .then((res) => {
- console.log("设备预检成功", res);
- preDeviceCheckResRequest()
- })
- .catch((err) => {
- console.log(err);
- tools.hideLoadingAlert();
- });
- }
- //设备预检结果回传
- function preDeviceCheckResRequest(){
- const options = {
- type: 2, //type: 2,JSON格式提交数据(默认表单形式提交)
- showLoading: false,
- data: {
- loginSrouce: getItem("loginSource"),
- }, //请求参数
- method: "POST", //提交方式(默认POST)
- };
- console.log("options2222", options)
- requestNew(preDeviceCheckRes, options)
- .then((res) => {
- console.log("设备预检结果回传", res);
- tools.hideLoadingAlert();
- deviceUpgradeApplyRequest()
- })
- .catch((err) => {
- console.log(err);
- tools.hideLoadingAlert();
- });
- }
- //指令申请
- function deviceUpgradeApplyRequest(){
- const options = {
- type: 2, //type: 2,JSON格式提交数据(默认表单形式提交)
- showLoading: false,
- data: {
- loginSrouce: getItem("loginSource"),
- }, //请求参数
- method: "POST", //提交方式(默认POST)
- };
- console.log("options2222", options)
- requestNew(deviceUpgradeApply, options)
- .then((res) => {
- console.log("指令申请", res);
- tools.hideLoadingAlert();
- deviceUpgradeOrderConfirmRequest()
- })
- .catch((err) => {
- console.log(err);
- tools.hideLoadingAlert();
- });
- }
- //设备升级指令回传
- function deviceUpgradeOrderConfirmRequest(){
- const options = {
- type: 2, //type: 2,JSON格式提交数据(默认表单形式提交)
- showLoading: false,
- data: {
- loginSrouce: getItem("loginSource"),
- }, //请求参数
- method: "POST", //提交方式(默认POST)
- };
- console.log("options2222", options)
- requestNew(deviceUpgradeOrderConfirm, options)
- .then((res) => {
- console.log("设备升级指令回传", res);
- tools.hideLoadingAlert();
- deviceUpgradeConfirmRequest()
- })
- .catch((err) => {
- console.log(err);
- tools.hideLoadingAlert();
- });
- }
- //设备升级确认
- function deviceUpgradeConfirmRequest(){
- const options = {
- type: 2, //type: 2,JSON格式提交数据(默认表单形式提交)
- showLoading: false,
- data: {
- loginSrouce: getItem("loginSource"),
- }, //请求参数
- method: "POST", //提交方式(默认POST)
- };
- console.log("options2222", options)
- requestNew(deviceUpgradeConfirm, options)
- .then((res) => {
- console.log("设备升级确认", res);
- tools.hideLoadingAlert();
- })
- .catch((err) => {
- console.log(err);
- tools.hideLoadingAlert();
- });
- }
- onUnload(() => {
- //移除监听
- uni.$off('bluetoothLink')
- })
- //获取订单详情
- const queryOrderDetail = (id) => {
- const options = {
- type: 2,
- data: {
- id: id,
- },
- method: "POST",
- showLoading: true,
- };
- requestNew(commGetDetail, options).then((res) => {
- let orderInfo = res;
- console.log(orderInfo);
- orderInfos.orderId = orderInfo.orderId;
- orderInfos.customerName = orderInfo.customerName;
- orderInfos.ownerIdtype = orderInfo.ownerIdtype;
- orderInfos.ownerIdnum = desensitization(orderInfo.ownerIdnum);
- orderInfos.vehiclePlate = orderInfo.vehiclePlate;
- orderInfos.vehiclePlateColorStr = orderInfo.vehiclePlateColorStr;
- orderInfos.vehiclePlateColor = orderInfo.vehiclePlateColor;
- orderInfos.vehicleType = orderInfo.vehicleType;
- orderInfos.cardId = orderInfo.cardId;
- orderInfos.cardStatus = orderInfo.cardStatus;
- orderInfos.obuId = orderInfo.obuId;
- orderInfos.obuStatus = orderInfo.obuStatus;
- orderInfos.cardEnableTime = orderInfo.cardEnableTime.substring(0, 10);
- orderInfos.obuEnableTime = orderInfo.obuEnableTime.substring(0, 10);
- orderInfos.cardExpireTime = orderInfo.cardExpireTime;
- orderInfos.obuExpireTime = orderInfo.obuExpireTime;
- orderInfos.obuVersion = orderInfo.vehicleVin;
- });
- };
- //设备升级 请求
- const getDeviceUpgrade = () => {
- const options = {
- type: 2,
- data: {
- cardId: orderInfos.cardId,
- orderId: orderInfos.orderId
- },
- method: "POST",
- showLoading: true,
- };
- request(deviceUpgrade, options).then((res) => {
- tools.hideLoadingAlert();
- let result = stringToJson(res.bizContent);
- console.log("&&&&&&&&&&&&", result);
-
- let cmdArray = result.command ? result.command.split(",") : "";
-
- if (cmdArray.length > 0) {
- tools.showLoadingAlert("正在执行指令");
- bluetoothUtil.transCmd(cmdArray, "10", function(res) {
- tools.hideLoadingAlert();
- let status = res[cmdArray.length - 1].substring(res[cmdArray.length - 1].length -
- 4, res[cmdArray.length - 1].length);
- if (status == "9000") {
- getCommandBack(result.command, result.cosRecordId, res.toString());
- }
- })
- }
- })
- };
-
- /**
- * 写卡指令返回 请求
- */
- const getCommandBack = (command, cosRecordId, response) => {
- console.log('======循环写卡指令中======')
- tools.showLoadingAlert("加载中");
- let options = {
- type: 2, //type: 2,JSON格式提交数据(默认表单形式提交)
- data: {
- cardId: orderInfos.cardId,
- orderId: orderInfos.orderId,
- command: command,
- response: response,
- cosRecordId: cosRecordId,
- cosType: 2
- }, //请求参数
- method: "POST", //提交方式(默认POST)
- showLoading: true, //是否显示加载中(默认显示)
- };
-
- //调用方式
- request(writeCardBack, options)
- .then((res) => {
- tools.hideLoadingAlert();
- let result = JSON.parse(res.bizContent);
- if (result.orderStatus == 1 || result.orderStatus == "1") {
- tools.showLoadingAlert("执行指令中");
- bluetoothUtil.transCmd(result.command.split(","), "10", function(res) {
- tools.hideLoadingAlert();
- let response = res.toString();
- getCommandBack(result.command, cosRecordId, response);
- });
- } else {
- getCardModifyConfirm(cosRecordId);
- }
- })
- };
-
- //卡信息变更确认
- const getCardModifyConfirm = (cosRecordId) => {
- const options = {
- type: 2,
- data: {
- cardId: orderInfos.cardId,
- operation: 4,
- cosRecordId: cosRecordId
- },
- method: "POST",
- showLoading: true,
- };
- request(cardModifyConfirm, options).then((res) => {
- obuWriteAgainRequest();
- })
- };
-
- //去连接蓝牙
- const toPage = () => {
- // getDeviceUpgrade()
- navTo("/pages/bluetooth/bluetooth?routeType=5"); //去连接蓝牙
- };
-
- //返回列表
- const toBack = () => {
- uni.navigateBack({
- delta: 2
- })
- }
-
-
- //关闭弹窗
- const cancel = () => {
- state.flag = true;
- state.showPopup = false;
- uni.navigateTo({
- url: `/subpackage/after-sale/deviceInfo/deviceInfo`
- })
- }
- /**
- * 修改系统信息 请求
- */
- const obuWriteAgainRequest = () => {
- let cmdArray1 = [cmd.HOME_DIRECTORY, cmd.OBU_SYSTEM_FILE, cmd.RANDOM_NUMBER];
- tools.showLoadingAlert("正在执行指令");
- bluetoothUtil.transCmd(cmdArray1, "20", function(res) {
- tools.hideLoadingAlert();
- var str = res[2].substring(res[2].length - 4, res[2].length);
- if (str == "9000") {
- cmdRandNum = res[2].substring(0, res[2].length - 4);
- const options = {
- type: 2,
- data: {
- obuId: orderInfos.obuId,
- random: cmdRandNum
- },
- method: "POST",
- showLoading: true,
- };
- request(obuWriteAgain, options).then((res) => {
- let datas = stringToJson(res.bizContent);
- console.log("899", datas, datas.data.APDU);
- if (datas.data.APDU) {
- tools.showLoadingAlert("正在执行指令");
- bluetoothUtil.transCmd([datas.data.APDU], "20", function(res) {
- tools.hideLoadingAlert();
- console.log("res=====", res, res[0])
- let cmdArr = [cmd.HOME_DIRECTORY, cmd.OBU_DF01, cmd.OBU_EF01, cmd
- .RANDOM_NUMBER
- ];
- bluetoothUtil.transCmd(cmdArr, "20", function(res) {
- console.log("chelaing======", res)
- var str = res[3].substring(res[3].length - 4, res[3]
- .length);
- if (str == "9000") {
- cmdRandNum = res[3].substring(0, res[3].length -
- 4);
- console.log("0000000000000000000000000")
- getFileData((demos) => {
- modifyVehicle(demos);
- })
- } else {
- tools.alertF("RANDOM_NUMBER指令长度不符" + res[1]);
- }
- })
-
- })
- }
- })
- } else {
- tools.alertF("RANDOM_NUMBER指令长度不符" + res[1]);
- }
- })
-
- };
- //获取fileData
- const getFileData = (fun) => {
- searchVehicleInfoQuery(orderInfo.vehiclePlate + "_" + orderInfo.vehiclePlateColor,cmdRandNum).then((orderInfo) => {
- console.log("orderInfo==",orderInfo,orderInfo.fileData)
- fun(orderInfo.fileData);
- })
- };
- /**
- * 修改车辆信息 请求
- */
- const modifyVehicle = (ites) => {
- tools.showLoadingAlert("加载中");
- console.log('======修改车辆信息======', ites)
- let options = {
- type: 2, //type: 2,JSON格式提交数据(默认表单形式提交)
- data: {
- Status: "0",
- random: cmdRandNum,
- obuSerailNo: orderInfos.obuId,
- fileData: ites,
- orderId: orderInfos.orderId,
- }, //请求参数
- method: "POST", //提交方式(默认POST)
- showLoading: true, //是否显示加载中(默认显示)
- };
- //调用方式
- request(modifyObuVehicleInfo, options)
- .then((res) => {
- tools.hideLoadingAlert();
- const datas = stringToJson(res.bizContent);
- console.log("modifyObuVehicleInfo", modifyObuVehicleInfo, datas)
- tools.showLoadingAlert("正在执行指令");
- if (datas.data.APDU) {
- bluetoothUtil.transCmd([datas.data.APDU], "20", function(res) {
- console.log('执行指令结果', res)
- tools.hideLoadingAlert();
- if (res[0] == "9000") {
- //再次获取随机数
- let cmdArr = [cmd.HOME_DIRECTORY, cmd.RANDOM_NUMBER];
- bluetoothUtil.transCmd(cmdArr, '20', function(res) {
- var str = res[1].substring(res[1].length - 4, res[1].length);
- if (str == "9000") {
- cmdRandNum = res[1].substring(0, res[1].length - 4);
- getObuActivation();
- } else {
- tools.alertF("RANDOM_NUMBER指令长度不符" + res[1]);
- }
- })
- }
- });
- }
- })
- };
- /**
- * VFJ-OBU在线激活 请求
- */
- const getObuActivation = () => {
- console.log('======VFJ-OBU在线激活======')
- tools.showLoadingAlert("加载中");
- let options = {
- type: 2, //type: 2,JSON格式提交数据(默认表单形式提交)
- data: {
- random: cmdRandNum,
- obuSerailNo: orderInfos.obuId,
- orderId: orderInfos.orderId,
- }, //请求参数
- method: "POST", //提交方式(默认POST)
- showLoading: true, //是否显示加载中(默认显示)
- };
- //调用方式
- request(obuActivation, options)
- .then((res) => {
- tools.hideLoadingAlert();
- console.log("在线激活 请求");
- console.log(stringToJson(res.bizContent));
- const datas = stringToJson(res.bizContent);
- tools.showLoadingAlert("执行指令");
- console.log("在线激活 请求==========================", datas, datas.data.APDU);
- bluetoothUtil.transCmd([datas.data.APDU], "20", function(res) {
- tools.hideLoadingAlert();
- console.log("在线激活 请求", res);
- if (res[0] == "9000") {
- changeWorkOrderStatusRequest().then(() => {
- state.showPopup = true;
- })
- }
- });
- })
- .catch((err) => {
- console.log(err);
- });
- };
- //获取订单详情
- const getOrderDetails = (id) => {
- console.log('======获取订单信息======')
- const options = {
- type: 2,
- data: {
- id: id,
- },
- method: "POST",
- showLoading: true,
- };
- requestNew(commGetDetail, options).then((res) => {
- orderInfo =res;
- console.log("orderInfo", orderInfo);
- console.log("orderInfores", res);
- if (orderInfo) {
- fileDataStrings.userType = orderInfo.userType; //用户类型
- fileDataStrings.cardId = orderInfo.cardId;
- fileDataStrings.packageNum = orderInfo.packageNum;
- fileDataStrings.obuId = orderInfo.obuId;
- fileDataStrings.customerTel = orderInfo.customerTel;
- fileDataStrings.customerId = orderInfo.customerId;
- fileDataStrings.orderId = orderInfo.orderId;
- let vehicleId = orderInfo.vehiclePlate + "_" + orderInfo.vehiclePlateColor
- searchVehicleInfoQuery(vehicleId).then((orderInfo) => {
- fileDataStrings.approvedCount = parseInt(orderInfo.approvedCount); //核载人数
- fileDataStrings.vehicleVin = orderInfo.vin;
- fileDataStrings.vehicleEngineNum = orderInfo.engineNum;
- fileDataStrings.axleCount = parseInt(orderInfo.axleCount); //轴数
- fileDataStrings.engineNum = orderInfo.engineNum; //发动机
- fileDataStrings.type = parseInt(orderInfo.type); //类型
- fileDataStrings.vehiclePlate = orderInfo.vehiclePlate; //车牌
- fileDataStrings.vehiclePlateColor = orderInfo.vehiclePlateColor; //车牌颜色
- console.log("车辆信息", orderInfo)
- fileDataStrings.vehicleDimensions = orderInfo.vehicleDimensions;
- fileDataStrings.vehicleIdNo = orderInfo.vehicleEngineNum; //车编号
- fileDataStrings.vehiclePlateColorStr = getVehiclePlateColor(orderInfo
- .vehiclePlateColor);
- console.log("fileDataStrings", fileDataStrings);
- })
- }
- });
- };
- const changeWorkOrderStatusRequest = () => {
- var data = {
- id: state.workId,
- };
- const options = {
- type: 2,
- data: data,
- method: "POST",
- showLoading: true,
- };
- return new Promise(async (resolve, reject) => {
- const res = await request(changeWorkOrderStatus, options);
- const data = stringToJson(res.bizContent);
- resolve(data);
- }).catch((error) => {
- reject(error);
- });
- }
- </script>
-
- <style>
- page {
- width: 100%;
- height: 100%;
- background-color: #fff;
- }
- </style>
- <style lang="scss" scoped>
- .mask {
- background: rgba(0, 0, 0, .35);
- position: fixed;
- left: 0;
- top: 0;
- bottom: 0;
- right: 0;
- }
-
- .main {
- width: 560rpx;
- padding: 25rpx 20rpx 55rpx;
- text-align: center;
- background: #fff;
- position: absolute;
- left: 50%;
- top: 50%;
- transform: translate(-50%, -50%);
- border-radius: 20rpx;
-
- .top {
- text-align: right;
-
- .icon-close {
- width: 48rpx;
- height: 48rpx;
- }
- }
-
- .icon-success {
- width: 500rpx;
- height: 320rpx;
- margin-top: 22rpx;
- }
-
- .title {
- color: #333333;
- font-size: 40rpx;
- font-weight: 600;
- text-align: center;
- margin-top: 55rpx;
- }
- }
-
- .selectCar-box {
- // width: 100%;
- // height: 100%;
- padding: 30rpx;
-
- .title {
- font-size: 30rpx;
- font-family: Microsoft YaHei UI;
- font-weight: 400;
- color: #333333;
- margin-bottom: 30rpx;
- }
-
- .details {
- .title {
- font-size: 30rpx;
- font-family: Microsoft YaHei UI;
- font-weight: 400;
- color: #333333;
- margin-bottom: 30rpx;
- }
-
- .details-item {
- display: flex;
- font-size: 26rpx;
- font-family: Noto Sans S Chinese;
- font-weight: 400;
- color: #999999;
- margin-bottom: 30rpx;
-
- text {
- font-size: 26rpx;
- font-family: Noto Sans S Chinese;
- font-weight: 400;
- color: #333333;
- }
- }
- }
-
- .card {
- height: 150rpx;
- background: #ffffff;
- box-shadow: 0rpx 4rpx 13rpx 3rpx rgba(223, 223, 223, 0.8);
- border-radius: 20rpx;
- padding: 30rpx;
- display: flex;
- justify-content: space-between;
- align-items: center;
- margin-bottom: 60rpx;
-
- .card-left {
- display: flex;
- align-items: center;
-
- image {
- width: 100rpx;
- height: 90rpx;
- }
-
- .card-center {
- margin-left: 30rpx;
-
- .card-center-head {
- font-size: 32rpx;
- font-family: Noto Sans S Chinese;
- font-weight: 400;
- color: #333333;
- }
-
- .tips {
- font-size: 26rpx;
- font-family: Noto Sans S Chinese;
- font-weight: 400;
- color: #666666;
-
- .tips-card {
- width: 70rpx;
- height: 40rpx;
- background: #d3f2ef;
- border-radius: 6rpx;
- font-size: 20rpx;
- font-family: Noto Sans S Chinese;
- font-weight: 400;
- color: #0a8f8a;
- padding: 5rpx 10rpx;
- margin-left: 20rpx;
- }
- }
- }
- }
-
- .choose-item {
- margin-right: 20rpx;
- height: 50rpx;
- border-radius: 50%;
- display: flex;
- justify-content: flex-start;
- align-items: center;
- font-size: 25rpx;
- align-self: end;
-
- .active {
- width: 38rpx;
- height: 38rpx;
- background: #00b38b;
- border-radius: 50%;
- }
- }
- }
-
- .remark {
- font-size: 26rpx;
- font-family: Microsoft YaHei UI;
- font-weight: 400;
- color: #666666;
- text-indent: 30rpx;
- margin-bottom: 30rpx;
- }
-
- .submit {
- margin-top: 100rpx;
- width: 670rpx;
- height: 80rpx;
- background: linear-gradient(-90deg, #43a1e0 0%, #13e7c1 100%);
- border-radius: 40rpx;
- font-size: 32rpx;
- font-family: Noto Sans S Chinese;
- font-weight: 400;
- color: #ffffff;
- line-height: 80rpx;
- }
-
- .submit::after {
- border: 0;
- }
-
- .submit[disabled] {
- background: #f0f0f0;
- color: #333;
- }
- }
- </style>
|