12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337 |
- <template>
- <view class="container mine clearfix">
- <view
- class="tui-header-box first"
- :style="{ height: isCmcustomClass == 'fiexd' ? CustomBar + 6 + 'px' : CustomBar + 6 + 'px' }"
- :class="isCmcustomClass"
- >
- <view class="header-top" :style="{ paddingTop: top + 'px', lineHeight: CustomBar + 20 + 'px' }"></view>
- <view class="header-sit">
- <text class="iconfont icon-fanhui" @click.stop="this.$api.navigateBack(1)"></text>
- <text class="header-sit-text">关联订单</text>
- </view>
- </view>
- <view class="tui-header-tabs day clearfix" :style="{ top: CustomBar + 6 + 'px' }">
- <view v-if="!isShowHeader">
- <view class="tui-header-top">
- <view class="title"> 收款信息 </view>
- <view class="tui-header-button">
- <!-- <view class="button btn-confirm" @click.stop="btnConfirm"> 设为非订单款项 </view> -->
- </view>
- </view>
- <view class="tui-header-item">
- <view class="list-title-t">
- <view class="list-title-tip">
- <text class="badges">{{ receiptInfo.receiptType | formatSourceType }}</text>
- </view>
- <view class="list-title-num" :style="{ color: formatColor(receiptInfo.receiptStatus) }">{{
- receiptInfo.receiptStatus | formatStateType
- }}</view>
- </view>
- <view class="list-title-b">
- <view class="list-title-b-item ">
- 收款金额:<text class="text">¥{{ receiptInfo.receiptAmount | NumFormat }} </text>
- </view>
- <view class="list-title-b-item ">
- 收款类型:<text class="text">{{ receiptInfo.payTypeText }}</text>
- </view>
- </view>
- <view class="list-title-b">
- 收款时间:<text class="text">{{ receiptInfo.receiptDate }}</text>
- </view>
- <template v-if="receiptInfo.smsContent">
- <view class="list-title-b">收款短信:</view>
- <view class="list-title-b sms">
- <text class="text">{{ receiptInfo.smsContent }}</text>
- </view>
- </template>
- <view class="list-icon" v-if="receiptInfo.tipMsg">{{ receiptInfo.tipMsg }}</view>
- </view>
- </view>
- <view class="tui-header-tabmain">
- <input
- v-if="currents == 3"
- class="input"
- type="text"
- v-model="listQuery.keyword"
- confirm-type="search"
- @confirm="subMitSearch()"
- placeholder="搜索关键词(供应商名称)"
- />
- <input
- v-else
- class="input"
- type="text"
- v-model="listQuery.keyword"
- confirm-type="search"
- @confirm="subMitSearch()"
- placeholder="搜索关键词(客户名称/订单号)"
- />
- <text class="iconfont icon-sousuo"></text>
- </view>
- <view class="tui-header-tabmain">
- <view
- class="main-item one"
- v-for="(item, index) in listTabs"
- :key="index"
- :class="{ active: currents == index }"
- @click="tabClick(1, index)"
- >
- <view class="text">{{ item.name }}</view>
- </view>
- </view>
- <view class="tui-header-tabmain day">
- <view
- class="main-item tab"
- v-for="(item, index) in listReturnType"
- :key="index"
- :class="{ tabActive: tabCurrents == index }"
- @click="tabClick(2, index)"
- >
- <view class="text">{{ item.name }}</view>
- </view>
- </view>
- </view>
- <view
- class="user-section"
- :style="{
- top: isIphoneX ? CustomBar + 330 + 'px' : CustomBar + 315 + 'px',
- left: 0 + 'px',
- paddingBottom: isIphoneX ? '178rpx' : '144rpx'
- }"
- >
- <view class="header-content">
- <view :class="{ 'tui-order-list': scrollTop >= 0 }" class="clearfix">
- <!-- 空白页 -->
- <empty v-if="isEmpty" :typeIndex="currents" :navbarHeight="navbarHeight"></empty>
- <!-- 列表 -->
- <view v-else class="tui-order-content">
- <view class="tui-order-item" v-for="(order, payIndex) in payList" :key="payIndex">
- <view class="list-title" @click.stop="orderDetail(order.id)">
- <view class="list-title-t">
- <view class="list-title-tip">
- <text class="badges">{{ order.orderType | formatOrderType }}</text>
- </view>
- <view class="list-title-num">{{ order.confirmType | StateExpFormat }}</view>
- </view>
- <view class="list-title-b">
- 客户名称:<text class="text">{{ order.userName }}</text>
- </view>
- <view class="list-title-b">
- 订单编号:<text class="text">{{ order.orderNo }} ( {{ order.orderId }} )</text>
- </view>
- <view class="list-title-b">
- 下单日期:<text class="text">{{ order.orderTime }}</text>
- </view>
- <view class="list-title-b">
- <view class="list-title-b-item ">
- 订单金额:<text class="text">¥{{ order.payTotalFee | NumFormat }}</text>
- </view>
- <view class="list-title-b-item ">
- 余额抵扣:<text class="text">¥{{ order.balancePayFee | NumFormat }}</text>
- </view>
- </view>
- <view class="list-title-b">
- 经理折扣:
- <text class="text" v-if="order.discountFee - order.returnedPurchaseFee > 0">
- ¥{{ order.discountFee - order.returnedPurchaseFee }}
- <text>
- (原¥{{ order.discountFee }} 折扣取消¥{{
- order.discountFee - order.returnedPurchaseFee > 0
- ? order.returnedPurchaseFee
- : order.discountFee
- }})
- </text>
- </text>
- <text v-else>¥0.00(原¥0.00折扣取消¥0.00)</text>
- </view>
- <view class="list-title-b">
- 退货退款: <text class="text">¥{{ order.receiptAmount }}</text>
- </view>
- <view class="list-title-b">
- <view class="list-title-b-item ">
- 应收金额:<text class="text">¥{{ order.payableAmount | NumFormat }}</text>
- </view>
- <view class="list-title-b-item ">
- 已收金额:<text class="text">¥{{ order.paidAmount | NumFormat }}</text>
- </view>
- </view>
- <view class="list-title-b">
- <view class="list-title-b-item ">
- 剩余应收:<text class="text">¥{{ order.surplusAmount | NumFormat }}</text>
- </view>
- <view class="list-title-b-item ">
- 待审金额:<text class="text">¥{{ order.receiptAmount | NumFormat }}</text>
- </view>
- </view>
- </view>
- <view class="list-checked" @click="checkedOrder(order)">
- <text
- class="iconfont"
- :class="order.isChecked ? 'icon-yixuanze' : 'icon-weixuanze'"
- ></text>
- </view>
- <view class="list-detail" @click="orderDetail(order.id)">
- <text class="iconfont icon-xiayibu"></text>
- </view>
- </view>
- <!--加载loadding-->
- <tui-loadmore :visible="loadding" :index="3" type="black"></tui-loadmore>
- <tui-nomore :visible="!pullUpOn" bgcolor="#F7F7F7" :text="nomoreText"></tui-nomore>
- <!--加载loadding-->
- </view>
- </view>
- </view>
- </view>
- <view class="distinguish-button" :style="{ paddingBottom: isIphoneX ? '68rpx' : '24rpx' }">
- <view class="button" @click="confirmDistinguish">确认</view>
- </view>
- <!-- 弹窗 -->
- <tui-modal
- :show="modal"
- @click="handleClick"
- @cancel="hideMobel"
- :content="contentModalText"
- color="#333"
- :size="32"
- shape="circle"
- :maskClosable="false"
- ></tui-modal>
- </view>
- </template>
- <script>
- import headerBack from '@/components/cm-module/headerNavbar/header-back' //自定义导航
- import modalLayer from '@/components/modal-layer'
- import empty from '@/components/empty'
- import wxLogin from '@/services/wxLogin.js'
- import { mapState, mapMutations } from 'vuex'
- const defaultListQuery = {
- id: 0, //收款Id
- keyword: '', // 搜索关键词(客户名称/订单号)
- orderReceiptStatus: '1', //订单收款状态:1待收款(协销待确认款项的订单),2部分收款(已确认款项的订单),3已收款(已确认款项的订单)
- organizeId: 0, // 组织ID
- pageNum: 1, // 页码
- pageSize: 10, // 条数
- type: 0 // 0商品订单(默认),1订金订单
- }
- export default {
- components: {
- empty
- },
- data() {
- return {
- CustomBar: this.CustomBar, // 顶部导航栏高度
- isIphoneX: this.$store.state.isIphoneX,
- receiptInfo: {},
- listTabs: [
- {
- name: '商品订单',
- type: 1
- },
- {
- name: '订金订单',
- type: 2
- },
- {
- name: '小程序订单',
- type: 3
- },
- {
- name: '退款子订单',
- type: 4
- }
- ],
- listReturnType: [
- {
- name: '待确认',
- type: 2
- },
- {
- name: '已确认',
- type: 3
- }
- ],
- listQuery: Object.assign({}, defaultListQuery),
- currents: 0,
- tabCurrents: 0,
- payList: [],
- scrollTop: 0,
- isEmpty: false,
- loadding: false,
- pullUpOn: true,
- hasNextPage: false,
- pullFlag: true,
- navbarHeight: '',
- nomoreText: '上拉显示更多',
- contentModalText: '', //操作文字提示语句
- modal: false,
- hanldOrder: '', //储存监听订单信息
- OperationType: '', //操作类型
- isCmcustomClass: 'left',
- isShowHeader: false,
- height: 64, //header高度
- top: 0, //标题图标距离顶部距离
- scrollH: 0, //滚动总高度
- opcity: 1
- }
- },
- filters: {
- StateExpFormat(state) {
- //订单状态文字和颜色
- var HtmlStateText = '',
- stateTextObject = {
- 0: '待确认',
- 4: '交易完成',
- 5: '订单完成',
- 6: '已关闭',
- 7: '交易全退',
- 77: '交易全退',
- 11: '待付款待发货',
- 12: '待付款部分发货',
- 13: '待付款已发货',
- 21: '部分付款待发货',
- 22: '部分付款部分发货',
- 23: '部分付款已发货',
- 31: '已付款待发货',
- 32: '已付款部分发货',
- 33: '已付款已发货',
- 111: '待付款待发货'
- }
- Object.keys(stateTextObject).forEach(function(key) {
- if (key == state) {
- HtmlStateText = stateTextObject[key]
- }
- })
- return HtmlStateText
- },
- formatSourceType(value) {
- // 款项类型:1订单款,2非订单款,3返佣款 4订单款或者非订单款(因财务阶段无法区分订单非订单), 5供应商退款
- switch (value) {
- case 1:
- return '订单'
- break
- case 2:
- return '非订单'
- break
- case 3:
- return '返佣'
- break
- case 4:
- return '订单款或者非订单款'
- break
- case 5:
- return '供应商退款'
- break
- }
- },
- formatStateType(value) {
- // 收款状态: 1待确认、2已确认(待审核)、3审核通过、4审核未通过、5收款撤销【线上支付成功为审核通过】
- switch (value) {
- case 1:
- return '待确认'
- break
- case 2:
- return '已确认'
- break
- case 3:
- return '审核通过'
- break
- case 4:
- return '审核未通过'
- break
- case 5:
- return '收款撤销'
- break
- }
- },
- formatOrderType(value) {
- switch (value) {
- case 1:
- return '自主订单'
- break
- case 0:
- return '协销订单'
- break
- case 2:
- return '客服订单'
- break
- }
- },
- NumFormat(value) {
- //处理金额
- if (value) {
- Number(value).toFixed(2)
- } else {
- return '0.00'
- }
- }
- },
- onLoad(option) {
- console.log('option', option)
- let obj = {}
- uni.getSystemInfo({
- success: res => {
- this.width = obj.left || res.windowWidth
- this.height = obj.top ? obj.top + obj.height + 8 : res.statusBarHeight + 44
- this.top = obj.top ? obj.top + (obj.height - 32) / 2 : res.statusBarHeight + 6
- this.scrollH = res.windowWidth * 0.6
- }
- })
- this.listQuery.id = option.id
- this.getOrderReceiptDetail(this.listQuery.id)
- },
- computed: {
- ...mapState(['hasLogin'])
- },
- methods: {
- getOrderReceiptDetail(id) {
- // 收款详情
- this.OrderService.orderReceiptDetail({ id: id })
- .then(response => {
- this.receiptInfo = response.data
- this.getOrderReceiptOrders()
- })
- .catch(err => {
- this.$util.msg(err.msg, 2000)
- })
- },
- getOrderReceiptOrders() {
- // 收款详情-订单列表
- this.OrderService.orderReceiptOrders(this.listQuery)
- .then(response => {
- let data = response.data
- if (data.list && data.list.length > 0) {
- this.isEmpty = false
- this.hasNextPage = response.data.hasNextPage
- this.payList = data.list.map((el, index) => {
- el.isChecked = false
- return el
- })
- this.pullFlag = false
- setTimeout(() => {
- this.pullFlag = true
- }, 500)
- if (this.hasNextPage) {
- this.pullUpOn = false
- this.nomoreText = '上拉显示更多'
- } else {
- if (this.payList.length < 3) {
- this.pullUpOn = true
- } else {
- this.pullUpOn = false
- this.loadding = false
- this.nomoreText = '已至底部'
- }
- }
- } else {
- this.isEmpty = true
- }
- this.skeletonShow = false
- })
- .catch(err => {
- this.$util.msg(err.msg, 2000)
- })
- },
- getOnReachBottomData() {
- //上拉加载
- this.listQuery.pageNum += 1
- this.OrderService.orderReceiptOrders(this.listQuery)
- .then(response => {
- let data = response.data
- if (data.list && data.list.length > 0) {
- this.hasNextPage = data.hasNextPage
- this.payList = this.payList.concat(data.list)
- this.payList = this.payList.map((el, index) => {
- el.isChecked = false
- return el
- })
- this.pullFlag = false // 防上拉暴滑
- setTimeout(() => {
- this.pullFlag = true
- }, 500)
- if (this.hasNextPage) {
- this.pullUpOn = false
- this.nomoreText = '上拉显示更多'
- } else {
- this.pullUpOn = false
- this.loadding = false
- this.nomoreText = '已至底部'
- }
- }
- })
- .catch(error => {
- this.$util.msg(error.msg, 2000)
- })
- },
- change(e) {
- //切换tab传递当前tab[index]执行初始化方法
- this.currentTabs = e.index
- switch (e.index) {
- case 0:
- this.currentTab = -1
- break
- case 1:
- this.currentTab = 0
- break
- case 2:
- this.currentTab = 1
- break
- case 3:
- this.currentTab = 2
- break
- case 4:
- this.currentTab = 3
- break
- case 5:
- this.currentTab = 4
- break
- }
- this.pageNum = 1
- this.orderData = []
- this.pullUpOn = true //切换时隐藏
- this.loadding = false //切换时隐藏
- this.getOrderDatainit(this.currentTab)
- },
- orderDetail(id) {
- //订单详情跳转
- this.$api.navigateTo(`/pages/relation/order/detail?orderId=${id}`)
- },
- handButtonConfirm(data) {
- //获取点击
- console.log('data', data)
- // this.handShowAlert(data)
- },
- handShowAlert(data) {
- console.log('data', data)
- //执行
- switch (data.type) {
- case 'pay':
- this.$api.navigateTo(`/pages/user/order/order-details?path=pay&state=0&orderID=${this.btnoRderID}`)
- break
- case 'delete':
- this.modal = true
- this.contentModalText = '确认删除该订单吗?'
- break
- case 'cancel':
- this.modal = true
- this.contentModalText = '确认关闭该订单吗?'
- break
- case 'refund':
- uni.setStorageSync('refundData', data.order)
- this.$api.navigateTo('/pages/user/order/order-refund')
- break
- case 'returned':
- uni.setStorageSync('refundData', data.order)
- this.$api.navigateTo('/pages/user/order/order-refund')
- break
- case 'query':
- this.$api.navigateTo('/pages/user/order/order-logistics?orderID=' + data.orderId)
- break
- case 'confirm':
- this.modal = true
- this.contentModalText = '是否确认收货?'
- // this.handOrderConfirm(data.orderId);
- break
- case 'cancelRefund':
- this.modal = true
- this.contentModalText = '确定取消退货/退款?'
- // this.handCancelRefundConfirm(data.orderId);
- break
- }
- },
- handleClick(e) {
- //用户操作订单
- let index = e.index
- if (index == 1) {
- switch (this.OperationType) {
- case 'delete': //删除订单
- this.handOrderDetele(this.hanldOrder)
- break
- case 'cancel': //取消订单
- this.modal = true
- this.handCenceConfirm(this.hanldOrder)
- break
- case 'refund': //退款
- this.modal = true
- this.handRefundConfirm(this.hanldOrder)
- break
- case 'returned': //退货
- this.modal = true
- this.handReturnedConfirm(this.hanldOrder)
- break
- case 'confirm': //确认收货
- this.handOrderConfirm(this.hanldOrder)
- break
- case 'cancelRefund': //确认收货
- this.handCancelRefundConfirm(this.hanldOrder)
- break
- }
- }
- this.modal = false
- },
- checkedOrder(order) {
- // 勾选关联订单
- order.isChecked = !order.isChecked
- },
- hideMobel() {
- this.modal = false
- },
- hanldOrderList(list) {
- let state = ''
- for (let i = 0; i < list.length; i++) {
- if (list[i].status == 4) {
- state = list[i].returnApplyStatus
- switch (state) {
- case 0:
- list[i].status = 40
- break
- case 1:
- list[i].status = 41
- break
- case 2:
- list[i].status = 42
- break
- case 3:
- list[i].status = 43
- break
- }
- }
- }
- },
- //订单状态文字和颜色
- orderStateExp(state) {
- let stateText = '',
- stateTextObject = {
- 0: '待付款',
- 1: '待发货',
- 2: '已发货',
- 3: '已完成',
- 4: '已关闭',
- 5: '无效订单'
- }
- Object.keys(stateTextObject).forEach(key => {
- if (key == state) {
- stateText = stateTextObject[key]
- }
- })
- return stateText
- },
- formatColor(state) {
- //设置邀请码状态亚瑟
- let stateColor = '',
- stateColorObject = {
- 1: '#f0ad4e',
- 2: '#4cd964',
- 3: '#dd524d',
- 4: '#007aff',
- 5: '#EEC1AB'
- }
- Object.keys(stateColorObject).forEach(function(key) {
- if (key == state) {
- stateColor = stateColorObject[key]
- }
- })
- return stateColor
- },
- orderPriceToFixed(n) {
- let price = ''
- price = Number(n).toFixed(2)
- return price
- },
- tabClick(type, index) {
- switch (type) {
- case 1:
- this.currents = index
- this.getOrderDatainit(this.currents)
- this.tabCurrents = 0
- break
- case 2:
- this.tabCurrents = index
- this.getOrderDatainit(this.currents)
- }
- },
- bindDateChange: function(e) {
- //选择筛选时间
- console.log(e)
- this.listQuery.date = e.detail.value
- console.log(this.listQuery.date)
- },
- bindPickerChange: function(type, e) {
- //选择筛选条件
- if (type == 1) {
- this.listQuery.classification = this.Array[e.target.value].name
- console.log(this.listQuery.classification)
- } else {
- this.listQuery.source = this.Array1[e.target.value].name
- console.log(this.listQuery.source)
- }
- },
- toNoSms(url) {
- this.$api.navigateTo(url)
- }
- },
- onPageScroll(e) {
- //实时获取到滚动的值
- if (e.scrollTop > 30) {
- this.isCmcustomClass = 'fiexd'
- } else {
- this.isCmcustomClass = 'left'
- }
- if (e.scrollTop > 180) {
- this.isShowHeader = true
- } else {
- this.isShowHeader = false
- }
- },
- onReachBottom() {
- if (this.hasNextPage) {
- this.loadding = true
- this.pullUpOn = true
- this.getOnReachBottomData()
- }
- },
- onPullDownRefresh() {
- setTimeout(() => {
- this.listQuery.pageNum = 1
- this.getOrderReceiptOrders()
- uni.stopPullDownRefresh()
- }, 200)
- },
- onShareAppMessage(res) {
- //分享购买优惠券
- console.log('receiptInfo', receiptInfo)
- if (res.from === 'button') {
- // console.log('来自页面内转发按钮')
- }
- return {
- title: `【待确认】收款金额${receiptInfo.receiptAmount.toFixed(2)}元,收款时间:${receiptInfo.receiptDate}`,
- path: `pages/seller/cart/coupon-share?payment=${receiptInfo.id}`,
- imageUrl: 'https://static.caimei365.com/app/img/icon/icon-shareCoupon@2x.png'
- }
- },
- onShow() {
- this.$api.getComStorage('userInfo').then(resolve => {
- this.listQuery.merchantId = resolve.id
- // this.getOrderDatainit(this.currents)
- })
- }
- }
- </script>
- <style lang="scss">
- @import '@/uni.scss';
- page {
- background: #f7f7f7;
- }
- .tui-header-box {
- width: 100%;
- background: #ffffff;
- z-index: 999;
- position: fixed;
- top: 0;
- left: 0;
- background-size: cover;
- background-image: url(https://static.caimei365.com/app/crm/image/statistic_bg2.png);
- &.fiexd {
- }
- &.first {
- }
- }
- .header-top {
- width: 100%;
- font-size: 16px;
- font-weight: 500;
- height: 32px;
- display: flex;
- align-items: center;
- justify-content: center;
- position: relative;
- padding: 0 40rpx;
- }
- .header-sit {
- width: 100%;
- box-sizing: border-box;
- height: 80rpx;
- line-height: 80rpx;
- box-sizing: border-box;
- color: #ffffff;
- .header-sit-text {
- text-align: left;
- font-size: $font-size-40;
- font-weight: 600;
- font-family: '正楷';
- }
- .icon-fanhui {
- display: block;
- width: 80rpx;
- height: 80rpx;
- float: left;
- text-align: center;
- line-height: 80rpx;
- font-size: 42rpx;
- }
- }
- .tui-header-tabs {
- width: 100%;
- height: auto;
- margin-bottom: 40rpx;
- padding: 20rpx 24rpx;
- background: #ffffff;
- box-sizing: border-box;
- position: fixed;
- z-index: 999;
- box-shadow: 0 10rpx 10rpx 0 rgba(86, 119, 252, 0.2);
- .tui-header-top {
- width: 100%;
- height: 66rpx;
- box-sizing: border-box;
- float: left;
- .title {
- float: left;
- line-height: 66rpx;
- color: #333333;
- text-align: left;
- font-size: $font-size-30;
- font-weight: 600;
- }
- .tui-header-button {
- float: right;
- box-sizing: border-box;
- height: 100%;
- line-height: 66rpx;
- padding: 5rpx 0;
- .button {
- float: left;
- box-sizing: border-box;
- padding: 0 24rpx;
- height: 100%;
- line-height: 56rpx;
- border-radius: 8rpx;
- text-align: center;
- color: #ffffff;
- margin-left: 10rpx;
- &.btn-confirm {
- background: $btn-confirm;
- }
- &.btn-error {
- background: #ff5000;
- }
- }
- }
- }
- .tui-header-item {
- width: 100%;
- height: auto;
- margin-top: 10rpx;
- position: relative;
- float: left;
- .list-title-t {
- width: 100%;
- height: 50rpx;
- float: left;
- font-size: $font-size-28;
- padding-bottom: 10rpx;
- margin-bottom: 10rpx;
- .list-title-num {
- float: left;
- text-align: left;
- color: #999999;
- margin-left: 30rpx;
- line-height: 40rpx;
- }
- .list-title-tip {
- float: left;
- .badges {
- display: block;
- float: left;
- padding: 0 15rpx;
- height: 40rpx;
- line-height: 40rpx;
- border-radius: 4rpx;
- background: $btn-confirm;
- font-size: $font-size-24;
- text-align: center;
- color: #ffffff;
- }
- }
- }
- .list-title-b {
- width: 100%;
- height: 40rpx;
- float: left;
- font-size: $font-size-24;
- line-height: 40rpx;
- color: #666666;
- text-align: left;
- .text {
- color: #999999;
- }
- .list-title-b-item {
- width: 50%;
- height: 100%;
- float: left;
- }
- &.sms {
- height: 100rpx;
- padding: 10rpx;
- border-radius: 4rpx;
- }
- }
- .list-icon {
- width: 120rpx;
- height: 60rpx;
- border: 1px solid #e1e1e1;
- border-radius: 10rpx;
- text-align: center;
- font-size: 20rpx;
- line-height: 60rpx;
- position: absolute;
- right: 90rpx;
- top: -40rpx;
- color: #dd524d;
- z-index: 99;
- transform: rotate(45deg);
- -webkit-transform: rotate(45deg);
- -moz-transform: rotate(45deg);
- font-family: '正楷';
- }
- }
- .tui-header-tabmain {
- width: 100%;
- height: 70rpx;
- float: left;
- position: relative;
- &.day {
- height: 70rpx;
- box-sizing: border-box;
- padding: 20rpx 0;
- border-top: 1px solid #efefef;
- }
- .main-item {
- float: left;
- text-align: left;
- color: #ffffff;
- box-sizing: border-box;
- &.one {
- width: 25%;
- .text {
- width: 100%;
- height: 70rpx;
- line-height: 70rpx;
- display: block;
- float: left;
- font-size: $font-size-28;
- color: #666666;
- text-align: left;
- font-weight: 600;
- font-family: '正楷';
- }
- }
- &.tab {
- width: 140rpx;
- border-radius: 8rpx;
- background: #f7f7f7;
- margin-right: 15rpx;
- padding: 0 20rpx;
- .text {
- width: 100%;
- height: 50rpx;
- line-height: 50rpx;
- display: block;
- float: left;
- font-size: $font-size-24;
- color: #666666;
- text-align: center;
- }
- }
- &.active {
- .text {
- color: #576efa;
- font-size: $font-size-28;
- }
- }
- &.tabActive {
- background: #576efa;
- .text {
- color: #ffffff;
- }
- }
- }
- .input {
- width: 100%;
- height: 70rpx;
- box-sizing: border-box;
- padding: 0 20rpx;
- padding-left: 70rpx;
- background: #f7f7f7;
- border-radius: 8rpx;
- }
- .icon-sousuo {
- width: 80rpx;
- height: 70rpx;
- display: block;
- line-height: 70rpx;
- text-align: center;
- color: #999999;
- font-size: $font-size-40;
- position: absolute;
- left: 0;
- top: 0;
- }
- }
- .button-content {
- width: 100%;
- height: auto;
- float: left;
- position: relative;
- .btn {
- height: 64rpx;
- padding: 0 20rpx;
- margin: 10rpx 0 0 0;
- line-height: 64rpx;
- font-size: $font-size-26;
- text-align: center;
- border-radius: 6rpx;
- float: right;
- }
- .btn-confirm {
- background-color: #ff5000;
- color: #ffffff;
- }
- }
- }
- .distinguish-button {
- width: 100%;
- position: fixed;
- bottom: 0;
- left: 0;
- background-color: #ffffff;
- padding: 0 50rpx;
- padding-top: 20rpx;
- .button {
- width: 100%;
- height: 80rpx;
- background: $btn-confirm;
- border-radius: 40rpx;
- text-align: center;
- color: #ffffff;
- line-height: 80rpx;
- font-size: $font-size-28;
- box-shadow: 0 10rpx 14rpx 0 rgba(86, 119, 252, 0.2);
- }
- }
- .user-section {
- position: absolute;
- width: 100%;
- }
- .header-content {
- width: 100%;
- height: auto;
- position: relative;
- background-color: #f7f7f7;
- .tui-header-btm {
- width: 100%;
- padding: 0 30rpx;
- box-sizing: border-box;
- display: flex;
- align-items: center;
- justify-content: space-between;
- color: #fff;
- }
- .tui-btm-item {
- flex: 1;
- display: flex;
- flex-direction: column;
- align-items: center;
- justify-content: center;
- }
- .tui-btm-num {
- font-size: 32rpx;
- font-weight: 600;
- position: relative;
- }
- .tui-btm-text {
- font-size: 24rpx;
- opacity: 0.85;
- padding-top: 4rpx;
- }
- }
- .uni-badge--small {
- -webkit-transform: scale(0.8);
- -ms-transform: scale(0.8);
- transform: scale(0.8);
- -webkit-transform-origin: center center;
- -ms-transform-origin: center center;
- transform-origin: center center;
- }
- .uni-badge {
- font-family: 'Helvetica Neue', Helvetica, sans-serif;
- -webkit-box-sizing: border-box;
- box-sizing: border-box;
- font-size: 12px;
- line-height: 1;
- display: inline-block;
- padding: 3px 6px;
- color: #333;
- border-radius: 100px;
- background-color: #f1f1f1;
- }
- .uni-badge-error {
- color: #fff;
- background-color: #dd524d;
- }
- .tui-order-list {
- margin-top: 24rpx;
- width: 100%;
- position: relative;
- box-sizing: border-box;
- padding: 0 20rpx;
- }
- .tui-order-content {
- width: 100%;
- height: auto;
- }
- .tui-order-item {
- display: flex;
- flex-direction: column;
- width: 100%;
- padding: 20rpx 20rpx;
- background: #fff;
- margin-bottom: 24rpx;
- border-radius: 8rpx;
- position: relative;
- .list-checked {
- width: 80rpx;
- height: 80rpx;
- line-height: 80rpx;
- text-align: center;
- position: absolute;
- right: 0;
- top: 0;
- .iconfont {
- font-size: 38rpx;
- color: $color-system;
- }
- }
- .list-detail {
- width: 80rpx;
- height: 290rpx;
- line-height: 290rpx;
- text-align: center;
- position: absolute;
- right: 0;
- top: 80rpx;
- .iconfont {
- font-size: $font-size-30;
- color: #999999;
- }
- }
- }
- .list-title {
- width: 100%;
- height: auto;
- .list-title-t {
- width: 100%;
- height: 50rpx;
- float: left;
- font-size: $font-size-24;
- padding-bottom: 10rpx;
- .list-title-tip {
- float: left;
- .badges {
- display: block;
- float: left;
- padding: 0 15rpx;
- height: 40rpx;
- line-height: 40rpx;
- border-radius: 4rpx;
- background: radial-gradient(circle, rgba(255, 180, 39, 1) 0%, rgba(245, 142, 77, 1) 100%);
- font-size: $font-size-24;
- text-align: center;
- color: #ffffff;
- }
- }
- .list-title-num {
- float: left;
- text-align: left;
- color: #e15616;
- line-height: 40rpx;
- margin-left: 20rpx;
- }
- }
- .list-title-b {
- width: 100%;
- height: 40rpx;
- float: left;
- font-size: $font-size-24;
- line-height: 40rpx;
- color: #666666;
- text-align: left;
- .text {
- color: #999999;
- }
- .list-title-b-item {
- width: 50%;
- height: 100%;
- float: left;
- }
- &.sms {
- height: auto;
- }
- }
- }
- .d-container {
- width: 580rpx;
- padding: 80rpx 0;
- .drawer-main {
- width: 100%;
- height: auto;
- box-sizing: border-box;
- float: left;
- .drawer-main-name {
- width: 100%;
- height: 80rpx;
- line-height: 80rpx;
- text-align: left;
- font-size: $font-size-26;
- color: #333333;
- box-sizing: border-box;
- padding: 0 20rpx;
- font-weight: bold;
- }
- .drawer-main-time {
- width: 100%;
- height: 56rpx;
- box-sizing: border-box;
- .line {
- color: #999999;
- float: left;
- line-height: 56rpx;
- }
- .drawer-main-time-input {
- width: 228rpx;
- height: 56rpx;
- background: #f7f7f7;
- border-radius: 28rpx;
- box-sizing: border-box;
- padding: 0 20rpx;
- line-height: 56rpx;
- float: left;
- margin: 0 20rpx;
- position: relative;
- box-shadow: 0 10rpx 10rpx 0 rgba(86, 119, 252, 0.2);
- .input-text {
- display: block;
- height: 56rpx;
- font-size: 26rpx;
- color: #666666;
- }
- .icon-riqi {
- color: $color-system;
- display: block;
- width: 40rpx;
- height: 56rpx;
- position: absolute;
- right: 10rpx;
- top: 0;
- line-height: 56rpx;
- }
- }
- }
- .drawer-main-textarea {
- width: 100%;
- height: 160rpx;
- box-sizing: border-box;
- padding: 0 20rpx;
- background: #ffffff;
- border-radius: 8rpx;
- .textarea {
- width: 100%;
- height: 100%;
- background: #f7f7f7;
- box-sizing: border-box;
- padding: 20rpx 20rpx;
- font-size: $font-size-24;
- border-radius: 8rpx;
- box-shadow: 0 10rpx 10rpx 0 rgba(86, 119, 252, 0.2);
- }
- }
- }
- .drawer-input {
- width: 100%;
- float: left;
- box-sizing: border-box;
- padding: 24rpx 10rpx 0 10rpx;
- border: 1px solid rgba(0, 0, 0, 0.2);
- border-radius: 4rpx;
- position: relative;
- background-color: #ffffff;
- &.btn {
- border: none;
- display: flex;
- position: fixed;
- left: 0;
- bottom: 0;
- }
- .drawer-btn {
- width: 210rpx;
- height: 84rpx;
- border-radius: 42rpx;
- background: $btn-confirm;
- line-height: 84rpx;
- text-align: center;
- font-size: $font-size-26;
- color: #ffffff;
- flex: 1;
- margin: 0 10rpx;
- &.comfrim {
- background: $btn-confirm;
- }
- &.clear {
- background: #f7f7f7;
- color: #999999;
- }
- }
- }
- }
- </style>
|