12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010 |
- <template>
- <view class="container">
- <u-navbar leftIconColor="#fff" titleStyle="color:#fff;fontSize:36rpx;" :autoBack="true" bgColor="#2C6FF3"
- :placeholder="true" title="异常订单"></u-navbar>
- <!-- <view class="time-choose">
- <view class="flex align-center justify-between top">
- <view class="con-btn" @tap="changeMonth(-1)">
- 上一月</view>
- <view class="flex align-center justify-around date-container">
- <view class="" style="margin-right: 10rpx;" @tap="dateSelect('start')">
- {{dateStart?dateStart:'开始日期'}}
- </view>
- <view class="" style="margin-right: 10rpx;">至</view>
- <view class="" @tap="dateSelect('end')">{{dateEnd?dateEnd:'结束日期'}}</view>
- </view>
- <view class="con-btn" @tap="changeMonth(1)">下一月</view>
- </view>
- </view> -->
- <view class="header-container">
- <view class="header-text flex align-center">
- <image src="https://cdn.ossfile.mxrvending.com/assets/xy_merc_mini/images/order/risk-num.png"
- mode="widthFix"></image>您有待处理异常订单:<text style="font-weight: bold;">{{orderNum}}</text>笔
- </view>
- <view class="search">
- <u-search animation placeholder="可输入订单编号,设备号,用户手机号" :clearabled="false" v-model="keyword"
- :showAction="false" @search="search"></u-search>
- </view>
- <view class="flex align-center justify-between" style="margin-top: 28rpx;">
- <view class="exceptiontype-container" @tap="actionSheetShow=true">
- {{status?status:'选择状态'}}
- </view>
- <view class="flex align-center date-container">
- <view class="" style="margin-right: 10rpx;" @tap="dateSelect('start')">
- {{dateStart?dateStart:'开始日期'}}
- </view>
- <view class="" style="margin-right: 10rpx;">至</view>
- <view class="" @tap="dateSelect('end')">{{dateEnd?dateEnd:'结束日期'}}</view>
- </view>
- <view>
- <view class="change-month" @tap="changeMonth(-1)">
- 上一月
- </view>
- <view class="change-month" style="margin-left: 20rpx;" @tap="changeMonth(1)">
- 下一月
- </view>
- </view>
- </view>
- <!-- <view class='martop'>
- <u-subsection :list="list" activeColor="#2C6FF3" :current="current"
- @change="sectionChange"></u-subsection>
- </view> -->
- <view class="tab-wrap">
- <view class="tab">
- <u-tabs :list="list" :activeStyle="{color: '#333',fontWeight: 'bold',fontSize:'28rpx'}"
- :inactiveStyle="{fontSize:'28rpx'}" :scrollable="false" :current="current"
- @click="sectionChange" lineColor="#2C6FF3">
- </u-tabs>
- </view>
- </view>
- </view>
- <scroll-view class="scrollview" scroll-y="true" scroll-with-animation="true" lower-threshold="100"
- @scrolltolower="loadMore" :style="{height:fullHeight}">
- <view class="scroll-content" v-if="commList&&commList.length>0">
- <block v-for="(item,index) in commList" :key="item.id">
- <view class="abnormal-container">
- <view class="flex align-center justify-between">
- <!-- <view class="flex align-center image-container">
- <view style="margin-right: 16rpx;" v-for="(item1,index1) in item.orderGoods" :key="item1.id">
- <u--image width="110rpx" :src="item1.goodslmgUrl" mode="widthFix" :lazy-lord="true">
- </u--image>
- </view>
- </view> -->
- <view class="flex align-center error-type">
- <image
- src="https://cdn.ossfile.mxrvending.com/assets/xy_merc_mini/images/order/risk-tip.png"
- mode="widthFix"></image>{{item.riskTypeDesc}}
- </view>
- <view class="com-status" style="color: #FF1E1E;" v-if="item.status==1">待处理</view>
- <view class="com-status" style="color: #22ca08;" v-if="item.status==2">已审核</view>
- <view class="com-status" style="color: #ffaa00;" v-if="item.status==3">审核中</view>
- <view class="com-status" style="color: #bdbdbd;" v-if="item.status==4">已结束</view>
- </view>
- <view class="fx-box">
- <view class="device-name" v-if="item.deviceName">
- {{item.deviceName}}<text>({{item.deviceId}})</text>
- </view>
- <view class="device-name" v-else>{{item.deviceId}}</view>
- <view class="flex align-center martop12">
- <view class="">
- <view class="oc-name">订单编号:</view>{{item.orderId||'/'}}<text class="under-line-text"
- @tap="copy(item.orderId)">复制</text>
- </view>
- </view>
-
- <view class="flex align-center martop12">
- <view class="oc-name">支付类型:</view>{{item.payStatus||'/'}}
- </view>
-
- <view class="order-detail-item martop12">
- <view class="oc-name">设备类型:</view>{{item.deviceType||'/'}}
- </view>
- <view class="flex align-center martop12">
- <view class="oc-name">订单状态:</view><text style="color: red;">{{item.orderStatusDesc||'/'}}</text>
- </view>
- <view class="flex align-center martop12">
- <view class="oc-name">补扣金额:</view>¥{{$xy.delMoney(item.cutMoney)}}
- </view>
- <view class="flex align-center martop12">
- <view class="oc-name">联系电话:</view>{{item.memberPhone}}
- <view class="phone" @click="call(item.memberPhone)">
- <image
- src="https://cdn.ossfile.mxrvending.com/assets/xy_merc_mini/images/order/phone.png"
- mode="widthFix"></image>拨打
- </view>
- </view>
- <view class="flex align-center martop12">
- <view class="oc-name">创建时间:</view>{{item.createTime}}
- </view>
- <view class="goods-container" v-for="(item1,index1) in item.orderGoods" :key="item1.id">
- <view class="flex align-center justify-center image-container">
- <u--image radius="4" width="130rpx" height="130rpx" :src="item1.goodsImgUrl"
- mode="aspectFit" :lazy-lord="true"></u--image>
- </view>
- <view class="details-container">
- <view class="flex align-center goods-name-num justify-between">
- <view class="goods-name">{{item1.goodsName}}</view>
- <view class="goods-num">×{{item1.totalNumber}}</view>
- </view>
- <view class="gp-item">
- 单价:¥{{(Number(item1.totalMoney)/Number(item1.totalNumber))/100}}
- </view>
- <view class="gp-item" v-if="item1.refundMoney||item1.refundMoney!=0">
- 已退款:¥{{$xy.delMoney(item1.refundMoney)}}
- </view>
- <view class="goods-price flex">
- </view>
- </view>
- </view>
- <!-- <view class="flex align-center justify-end" v-if="item.cutGoodsNumber!=null">
- 共计<text style="color: red;font-weight: bold;">{{item.cutGoodsNumber}}</text>件
- </view> -->
- </view>
-
- <view class="flex align-center martop12 re-back" v-if="item.status!=2&&item.status!=4">
- <view class="oc-name">驳回原因:</view>{{item.orderStatusDesc||'/'}}
- </view>
- <view class="martop">
- <view class="flex justify-start">
- <view class="">
- <xbutton size='medium' round='25rpx' padding='0rpx 20rpx' bgColor='#43cf7c'
- width='140rpx' @tap="showlogs(item.activityId)">交易日志</xbutton>
- </view>
- <!-- <view class="marleft24">
- <xbutton size='medium' round='25rpx' padding='0rpx 20rpx' width='200rpx'
- bgColor='#43cf7c'>查看处理记录
- </xbutton>
- </view> -->
- <view class="marleft24">
- <xbutton size='medium' round='25rpx' padding='0rpx 20rpx' width='200rpx'
- bgColor='#43cf7c' @tap="deviceCom(item)">查看设备商品
- </xbutton>
- </view>
- </view>
- <view class="flex justify-end martop">
- <view class="marleft24">
- <xbutton size='medium' round='25rpx' padding='0rpx 20rpx'
- @click="block(item.memberId)">拉黑</xbutton>
- </view>
- <view v-if="item.status=='1'" class="marleft24">
- <xbutton size='medium' round='25rpx' padding='0rpx 20rpx'
- @tap='showFinishOrderView(item)'>结束</xbutton>
- </view>
- <view class="marleft24" v-if="item.status=='3'">
- <xbutton size='medium' round='25rpx' padding='0rpx 20rpx' @tap='backApply(item)'>撤回
- </xbutton>
- </view>
- <view class="marleft24">
- <xbutton size='medium' round='25rpx' padding='0rpx 20rpx' width='140rpx'
- @tap="showVideoView(item)">查看视频</xbutton>
- </view>
- <view class="marleft24" v-if="item.status=='1'">
- <xbutton size='medium' round='25rpx' padding='0rpx 20rpx'
- @tap='supplementaryDeduction(item)'>申请立即扣款</xbutton>
- </view>
- </view>
- </view>
- </view>
- </block>
- <view class="load-more" v-if="commList.length>0">
- <u-loadmore :status="loadmoreStatus" />
- </view>
- </view>
- <view v-else class='empty'>
- <u-empty mode="data" text="数据为空"></u-empty>
- </view>
- </scroll-view>
- <u-action-sheet :show="actionSheetShow" :actions="exceptionTypeList" title="请选择状态"
- @close="actionSheetShow = false" @select="actionsheetSelect($event)"></u-action-sheet>
- <!-- :minDate="minDate" :maxDate="maxDate" -->
- <u-datetime-picker :show="show" v-model="timeStamp" mode="date" @confirm="confirm" @cancel="close">
- </u-datetime-picker>
- <view :hidden="hiddenOrderVideos" class="popup_content">
- <view class="flex">
- <video id="myVideo" :src="videoUrl" style="width:100%;height: 372rpx; margin: 10rpx 10rpx;"></video>
- </view>
- <view class="flex" style="margin-top: 10rpx;">
- <view class="marleft">
- <xbutton size='medium' round='25rpx' padding='0rpx 20rpx' bgColor='#2C6FF3' @tap="playVideo(0)">主视频
- </xbutton>
- </view>
- <view class="marleft">
- <xbutton size='medium' round='25rpx' padding='0rpx 20rpx' bgColor='#2C6FF3' @tap="playVideo(1)">副视频
- </xbutton>
- </view>
- </view>
- </view>
- <view class="popup_overlay" :hidden="hiddenOrderVideos" @click="closeVideoView()"></view>
- <xpopup :show="blockShow" @close="blockClose" @confirm="submit" :showBtn="true" :title="popTitle">
- <!-- 拉黑 -->
- <view class="pop-content restart" v-if="popTitle=='拉黑'">
- 是否确定拉黑该用户?
- </view>
- <!-- 撤回 -->
- <view class="pop-content restart" v-if="popTitle=='撤回'">
- 是否确定撤回该申请?
- </view>
- </xpopup>
- <xpopup :show="finishOrderDetail.show" @close="blockClose" @confirm="finshOrder" :showBtn="true" title="结束订单">
- <view class="pop-content">
- <view class="text-notice">
- 警告:订单结束后,将不能再进行补扣
- </view>
- <view class="input">
- <u--textarea placeholder="请输入结束原因" border="surround" v-model="finishOrderDetail.reason" count
- maxlength="140"></u--textarea>
- </view>
- </view>
- </xpopup>
- </view>
- </template>
- <script>
- import {
- cancelOrder,
- page,
- todoNum,
- rollback
- } from "@/api/order/riskorder.js"
- import {
- divide
- } from "../../uni_modules/uview-ui/libs/function/digit";
- import {
- setBlacklist
- } from "@/api/order/order.js"
- export default {
- data() {
- return {
- hiddenOrderVideos: true,
- selOrder: undefined,
- videoUrl: '',
- minDate: '',
- maxDate: '',
- isEmpty: false,
- page: 1, //当前分页
- size: 10, //分页数据条数
- actionSheetShow: false,
- riskOrderList: [],
- loadmoreStatus: 'loadmore',
- exceptionTypeList: [],
- show: false,
- dateStart: '',
- dateEnd: '',
- dateDx: 0,
- // beginTime: '',
- // endTime: '',
- type: '',
- current: 0,
- status: '',
- list: [{
- name: '待处理'
- }, {
- name: '审核中'
- }, {
- name: '已审核'
- }, {
- name: '已结束'
- }],
- commList: [],
- orderNum: 0, //异常订单数量
- code: '',
- deviceId: '',
- timeStamp: new Date(), //时间picker显示时间
- memberId: null, //用户id
- goodId: null, //商品id
- finishOrderDetail: {
- show: false,
- reason: "未拿取商品",
- id: undefined
- },
- blockShow: false, //拉黑弹框
- keyword: '',
- fullHeight: 0,
- popTitle: '拉黑',
- }
- },
- computed: {
- orderStatus() {
- let status = 1
- switch (this.current) {
- case 0:
- status = 1
- break;
- case 1:
- status = 3
- break;
- case 2:
- status = 2
- break;
- case 3:
- status = 4
- break;
- default:
- break;
- }
- return status
- }
- },
- onShow() {
- this.getOrderNum()
- this.search()
- },
- onLoad() {
- let _this = this;
- const query = uni.createSelectorQuery().in(this);
- query.select(".scrollview").boundingClientRect((data) => {
- uni.getSystemInfo({
- success(res) {
- // 针对iPhone X等机型底部安全距离做适配
- const model = res.model;
- const modelInclude = [
- "iPhone X",
- 'iPhone XR',
- "iPhone XS",
- "iPhone XS MAX",
- "iPhone 12/13 mini",
- "iPhone 12/13 (Pro)",
- "iPhone 12/13 Pro Max",
- "iPhone 14 Pro Max"
- ];
- let safeDistance = modelInclude.includes(model)
- //动态设置商品区域高度
- console.log(res.windowHeight, data.top)
- if (safeDistance) {
- _this.fullHeight = res.windowHeight - data.top - 34 + 'px';
- } else {
- _this.fullHeight = res.windowHeight - data.top + 'px';
- }
- },
- });
- }).exec();
- this.getDict('order_risk_type').then(res => {
- let newData = []
- res.forEach(item => {
- newData.push({
- name: item.msg,
- code: item.code
- })
- })
- this.exceptionTypeList = newData;
- })
- },
- methods: {
- // function getLastMonth() {
- // var date = new Date();
- // var year = date.getFullYear(); //当前年:四位数字
- // var month = date.getMonth(); //当前月:0-11
- // if (month == 0) { //如果是0,则说明是1月份,上一个月就是去年的12月
- // year -= 1;
- // month = 12;
- // }
- // month = month < 10 ? ('0' + month) : month; //月份格式化:月份小于10则追加个0
- // let lastYearMonth = year + '-' + month;
- // return lastYearMonth;
- // },
- changeMonth(add) {
- this.dateDx += add;
- var date = new Date();
- var year = date.getFullYear(); //当前年:四位数字
- var month = date.getMonth() + 1 + this.dateDx; //当前月:0-11
- var yeardx = Math.ceil(month / 12) - 1
- month %= 12;
- if (month <= 0) month += 12;
- year += yeardx;
- month = month < 10 ? ('0' + month) : month;
- this.dateStart = year + '-' + month + '-01';
- var day = 28;
- if (2 == month) {
- if (year % 4 == 0) {
- day = 29;
- }
- } else {
- if (month < 8) {
- if (1 == month % 2) {
- day = 31;
- } else {
- day = 30;
- }
- } else {
- if (1 == month % 2) {
- day = 30;
- } else {
- day = 31;
- }
- }
- }
- this.dateEnd = year + '-' + month + '-' + (day < 10 ? ('0' + day) : day);
- this.search()
- },
- getOrderNum() {
- todoNum().then(res => {
- let orderNum = res.data
- if (res.code == 200) {
- this.orderNum = res.data
- } else {
- this.orderNum = 0
- }
- })
- },
- loadMore(e) {
- if (this.loadmoreStatus == 'nomore') return
- this.page++
- this.getpage()
- },
- sectionChange(e) {
- this.current = e.index
- this.search()
- },
- // 搜索列表
- search() {
- this.reset();
- this.getpage()
- },
- call(tell) {
- uni.makePhoneCall({
- phoneNumber: tell
- })
- },
- actionsheetSelect(e) {
- this.status = e.name
- this.code = e.code
- this.search()
- },
- copy(text) {
- uni.setClipboardData({
- data: text,
- success: (data) => {
- uni.showToast({
- title: '复制成功'
- })
- },
- fail: function(err) {
- },
- complete: function(res) {
- }
- })
- },
- dateSelect(type) {
- if (type == 'start') {
- this.type = type
- }
- if (type == 'end') {
- this.type = type
- }
- this.show = true
- },
- confirm(e) {
- console.log(e)
- if (this.type == 'start') {
- this.dateStart = uni.$u.timeFormat(e.value, 'yyyy-mm-dd')
- }
- if (this.type == 'end') {
- this.dateEnd = uni.$u.timeFormat(e.value, 'yyyy-mm-dd')
- }
- if (this.dateStart && this.dateEnd) {
- if (this.dateStart > this.dateEnd) {
- uni.$u.toast('开始日期不能大于结束日期')
- return;
- }
- }
- this.search()
- this.show = false
- },
- close() {
- this.show = false
- },
- supplementaryDeduction(item) {
- uni.setStorageSync('riskOrder', JSON.stringify(item)) //存储订单信息
- this.$tab.navigateTo('/pages/order/riskOrderDel?id=' + item.id + '&deviceId=' + item
- .deviceId)
- },
- getpage() {
- page({
- page: {
- current: this.page,
- size: this.size,
- },
- search: this.keyword,
- riskType: this.code, //异常类型
- status: this.orderStatus, //状态
- beginDate: this.dateStart,
- endDate: this.dateEnd
- }).then(res => {
- let data = res.data.records;
- if (data.length < 10) {
- this.loadmoreStatus = "nomore"
- } else {
- this.loadmoreStatus = "loadmore"
- }
- this.commList = this.commList.concat(data)
- console.log()
- })
- },
- reset() {
- this.loadmoreStatus == 'loadmore'
- this.page = 1;
- this.size = 10;
- this.commList = [];
- },
- showlogs(activtyId) {
- this.$tab.navigateTo('/pages/order/orderLogs?id=' + activtyId);
- },
- showVideoView(item) {
- console.log(item);
- this.hiddenOrderVideos = false;
- this.selOrder = item;
- var urls = item.video.split(',');
- this.selOrder.url0 = urls[0];
- this.selOrder.url1 = urls[1];
- this.playVideo(0);
- },
- playVideo(o) {
- if (0 == o) {
- this.videoUrl = this.selOrder.url0;
- } else {
- this.videoUrl = this.selOrder.url1;
- }
- },
- closeVideoView() {
- this.videoUrl = '';
- this.hiddenOrderVideos = true;
- },
- block(e) {
- this.popTitle = '拉黑'
- this.memberId = e
- this.blockShow = true;
- },
- // 关闭弹框
- blockClose(e) {
- this.blockShow = false;
- this.finishOrderDetail.show = false;
- },
- // 弹框确定
- submit() {
- if (this.popTitle == '拉黑') {
- setBlacklist({
- memberId: this.memberId
- }).then(res => {
- this.$modal.msg('拉黑成功~')
- }).catch(err => {
- })
- } else {
- rollback({
- riskId: this.goodId
- }).then(res => {
- this.$modal.msg('撤回成功~')
- this.search();
- })
- }
- this.blockClose()
- },
- showFinishOrderView(v) {
- this.finishOrderDetail.id = v.id;
- this.finishOrderDetail.reason = "未拿商品";
- this.finishOrderDetail.show = true;
- },
- finshOrder() {
- if (!uni.$u.test.rangeLength(this.finishOrderDetail.reason, [4, 140])) {
- this.$modal.msg('请输入结束原因')
- return;
- }
- cancelOrder({
- "id": this.finishOrderDetail.id,
- "reason": this.finishOrderDetail.reason
- }).then(res => {
- this.$modal.msg('提交申请成功~')
- this.finishOrderDetail.show = false;
- this.getOrderNum();
- this.search();
- })
- },
- // 撤回
- backApply(item) {
- this.popTitle = '撤回'
- this.goodId = item.id
- this.blockShow = true;
- },
-
- // 设备商品查看
- deviceCom(item){
- this.$tab.navigateTo(`/pages/equipment/comManage?id=${item.deviceId}&deviceName=${item.deviceName}`)
- }
- }
- }
- </script>
- <style lang="scss" scoped>
- .container {
- .marleft24 {
- margin-left: 24rpx;
- }
- .martop {
- margin-top: 20rpx;
- }
- .xian {
- border-bottom: 1px solid #5b5b5b;
- margin: 20rpx 0;
- }
- .marleft {
- margin-left: 12rpx;
- }
- // .time-choose {
- // background-color: #fff;
- // .top {
- // height: 80rpx;
- // color: #fff;
- // padding: 0 20rpx;
- // background-color: #2C6FF3;
- // border-radius: 0px 0px 50rpx 50rpx;
- // .con-btn {
- // padding: 0 36rpx;
- // }
- // .date-container {
- // min-width:380rpx;
- // height: 50rpx;
- // background-color: #fff;
- // padding: 0 20rpx;
- // border-radius: 10rpx;
- // line-height: 50rpx;
- // color: #000;
- // }
- // }
- // }
- .header-container {
- padding: 27rpx 13rpx 0;
- background-color: #fff;
- .header-text {
- width: 716;
- margin-left: 21rpx;
- height: 52rpx;
- font-size: 28rpx;
- color: #333;
- background: linear-gradient(90deg, #FEE2E2, #FFFFFF);
- >image {
- width: 52rpx;
- height: 52rpx;
- margin-right: 13rpx;
- margin-left: -21rpx;
- }
- text {
- color: #FF0000;
- font-size: 36rpx;
- padding: 0 12rpx;
- }
- }
- .search {
- margin-top: 37rpx;
- }
- .exceptiontype-container {
- background-color: #fff;
- border-radius: 10rpx;
- padding: 0 10rpx;
- width: 140rpx;
- overflow: hidden;
- text-overflow: ellipsis;
- white-space: nowrap;
- line-height: 50rpx;
- }
- .change-month {
- display: inline-block;
- width: 100rpx;
- height: 45rpx;
- border: 1px solid #CCCCCC;
- border-radius: 6rpx;
- line-height: 43rpx;
- text-align: center;
- border-radius: 10rpx;
- text-align: center;
- font-size: 22rpx;
- color: #777777;
- }
- .tab-wrap {
- margin-top: 20rpx;
- }
- }
- .scrollview {
- .scroll-content {
- width: 724rpx;
- margin-left: 13rpx;
- overflow: hidden;
- }
- .load-more {
- padding-bottom: 24rpx;
- }
- .empty {
- margin-top: 40%;
- }
- }
- .abnormal-container {
- margin-top: 20rpx;
- padding: 30rpx 32rpx;
- border-radius: 15rpx;
- background-color: #fff;
- box-shadow: 0px 0px 10rpx 0px rgba(174, 201, 255, 0.2);
- .error-type {
- font-size: 32rpx;
- font-weight: 800;
- color: #333333;
- >image {
- width: 40rpx;
- height: 40rpx;
- margin-right: 22rpx;
- }
- }
- .fx-box {
- margin-top: 24rpx;
- padding-left: 8rpx;
- font-size: 28rpx;
- color: #777;
- .device-name {
- font-size: 28rpx;
- font-weight: bold;
- color: #333;
- margin-bottom: 12rpx;
- >text {
- font-size: 24rpx;
- }
- }
- .under-line-text {
- font-size: 26rpx !important;
- font-weight: 500;
- font-style: italic;
- text-decoration: underline;
- color: #2C6FF3 !important;
- margin-left: 24rpx;
- background-color: #fff !important;
- }
- .oc-name {
- display: inline-block;
- width: 170rpx;
- }
- .phone {
- display: inline-block;
- font-size: 26rpx;
- font-family: PingFang SC;
- font-weight: 500;
- color: #2C6FF3;
- padding: 0 16rpx;
- line-height: 38rpx;
- background: #F4F8FF;
- border-radius: 8rpx;
- margin-left: 24rpx;
- >image {
- width: 20rpx;
- height: 20rpx;
- margin-right: 13rpx;
- }
- }
- .goods-container {
- height: 154rpx;
- margin-top: 14rpx;
- padding: 12rpx 12rpx 12rpx 164rpx;
- box-sizing: border-box;
- position: relative;
- border-radius: 8rpx;
- background-color: #f5f8fb;
- .image-container {
- height: 130rpx;
- width: 130rpx;
- position: absolute;
- left: 12rpx;
- top: 50%;
- transform: translateY(-50%);
- }
- .details-container {
- position: relative;
- padding: 12rpx;
- .goods-name-num {
- .goods-name {
- font-size: 26rpx;
- color: #333;
- font-weight: bold;
- }
- .goods-num {
- font-size: 26rpx;
- color: red;
- margin-right: 40rpx;
- font-weight: bold;
- }
- }
- .goods-price {
- font-size: 28rpx;
- }
- .good-act {
- margin-top: 12rpx;
- }
- .gp-item {
- width: 50%;
- margin-top: 12rpx;
- }
- .goodf-act {
- font-size: 28rpx;
- color: #333;
- margin-top: 12rpx;
- }
- .goods-btn {
- margin-top: 12rpx;
- }
- .refund {
- position: absolute;
- right: 0;
- top: 0;
- background-color: red;
- color: #fff;
- border-radius: 4rpx;
- padding: 0 12rpx;
- line-height: 40rpx;
- font-size: 24rpx;
- }
- }
- }
- }
- .image-container {
- view {
- width: 100rpx;
- height: 100rpx;
- background-color: #ccc;
- }
- }
- .orderstatus {
- padding: 20rpx;
- background-color: #43cf7c;
- border-radius: 80rpx;
- color: #fff;
- }
- }
-
- .re-back{
- background-color: #FFF7F7;
- padding:10rpx 10rpx 36rpx;
- line-height: 36rpx;
- font-size: 28rpx;
- border-radius: 14rpx;
-
- .oc-name {
- display: inline-block;
- width: 170rpx;
- }
- }
- }
- .popup_overlay {
- position: fixed;
- top: 0%;
- left: 0%;
- width: 100%;
- height: 100%;
- background-color: black;
- z-index: 1001;
- -moz-opacity: 0.8;
- opacity: .80;
- filter: alpha(opacity=88);
- }
- .popup_content {
- position: fixed;
- top: 50%;
- left: 50%;
- width: 700rpx;
- height: 500rpx;
- margin-left: -350rpx;
- margin-top: -250rpx;
- border: 10px solid white;
- background-color: white;
- z-index: 1002;
- overflow: auto;
- }
- .pop-content {
- padding: 24rpx;
- }
- .text-notice {
- color: red;
- font-size: 28rpx;
- height: 40rpx;
- line-height: 40rpx;
- }
- .input {
- margin-top: 20rpx;
- height: 200rpx;
- width: 100%;
- // border-style: solid;
- // border-width: 1rpx;
- // border-color: #2C6FF3;
- // border-radius: 10rpx;
- }
- .marginTop {
- margin-top: 24rpx;
- }
- .martop12 {
- margin-top: 12rpx;
- }
- </style>
|