12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103 |
- <template>
- <view class="center">
- <view class="transaction">
- <view style='padding-top:10px;' class="c-row">
- <view class="title">业务编号</view>
- <view class="con-list">
- <input v-model='purchaseOrder.businessNumber' placeholder="请输入业务编号"
- placeholder-style="font-size: 12px;" disabled name="input"></input>
- </view>
- </view>
- <view class="c-row">
- <view class="title">货名</view>
- <view class="con-list">
- <input v-model='purchaseOrder.goodsName' placeholder="请输入货名,如玉米"
- placeholder-style="font-size: 12px;" disabled name="input"></input>
- </view>
- </view>
- <view class="c-row">
- <view class="title">收货方</view>
- <view class="con-list">
- <input v-model='purchaseOrder.consignee' disabled placeholder="请输入收货方名称" placeholder-style="font-size: 12px;"
- name="input"></input>
- </view>
- </view>
- <view class="c-row">
- <view class="title">货物单价(元/吨)</view>
- <view class="con-list">
- <input v-model='purchaseOrder.goodsPrice' disabled placeholder="请输入货物单价" placeholder-style="font-size: 12px;"
- name="input"></input>
- </view>
- </view>
- <view class="c-row">
- <view class="title">运费单价(元/吨)</view>
- <view class="con-list">
- <input v-model='purchaseOrder.freightUnitPrice' disabled placeholder="请输入运费单价"
- placeholder-style="font-size: 12px;" name="input"></input>
- </view>
- </view>
- <view class="c-row">
- <view class="title">累计收发</view>
- <view class="con-list cumulative-style">
- <!-- <input v-model='purchaseOrder.transactionsNumber' disabled name="text"></input> -->
- <view>
- <text>{{ radTotal.receipt}}</text>
- <text class='type send'>发</text>
- </view>
- <view>
- <text>{{ radTotal.delivery}}</text>
- <text class='type send'>收</text>
- </view>
- </view>
- </view>
- <view class="c-row">
- <view class="title">收货地址</view>
- <view class="con-list">
- <input v-model='purchaseOrder.receivingAddress' disabled placeholder="请输入收货人账号"
- placeholder-style="font-size: 12px;" name="input"></input>
- </view>
- </view>
- </view>
- <view class="transaction" v-for="(item,index) in purchaseOrder.freightReceivingDispatchingCars">
- <view style='padding-top:10px;' class="c-row b-b justify-between">
- <view class="title">{{item.carNo}}</view>
- <view style='align-items: center;' class="flex">
- <text style='color:#878C9C;'>{{item.dispatchingDate}}</text>
- <text class='type send' v-if="item.statusFlag==1">发</text>
- <text class='type send' v-if="item.statusFlag==2">收</text>
- </view>
- </view>
- <view class="c-row justify-between">
- <view style='flex:1;' class="title-black">净重</view>
- <view style='align-items: center;flex:2;' class="flex">
- <view style='flex:1;text-align:right;'>
- <text>{{item.reciveNetWeight}}</text>
- <text class='type send'>发</text>
- <view class='weightnotes'>查看磅单</view>
- </view>
- <view style='flex:1;text-align:right;'>
- <text>{{item.dispatchNetWeight}}</text>
- <text class='type send'>发</text>
- <view class='weightnotes'>查看磅单</view>
- </view>
- </view>
- </view>
- <view class="c-row">
- <view class="title-black">应付贷款</view>
- <view class="con-list">
- ¥{{item.goodsIngPayable}}
- </view>
- </view>
- <view class="c-row">
- <view class="title">已付贷款</view>
- <view style='color:#22C572;' class="con-list">
- ¥{{item.goodsEdPayable}}
- </view>
- </view>
- <view class="c-row">
- <view class="title">贷款扣款</view>
- <view class="con-list">
- ¥{{item.goodsDeductionAmount}}
- </view>
- </view>
- <view class="c-row">
- <view class="title-black">应付运费</view>
- <view class="con-list">
- ¥{{item.freightIngPayable}}
- </view>
- </view>
- <view class="c-row">
- <view class="title">已付运费</view>
- <view style='color:#22C572;' class="con-list">
- ¥{{item.freightEdPayable}}
- </view>
- </view>
- <view class="c-row">
- <view class="title">运费扣款</view>
- <view class="con-list">
- ¥{{item.freightDeductionAmount}}
- </view>
- </view>
- <view class="c-row flex justify-end">
- <view style='flex:1;' class='deductfreight' v-if="!purchaseOrder.freightPayer=='发货方承担'"
- @click="freightDeduction(item)">扣运费</view>
- <view class="freightAlert-model">
- <u-modal v-model="freightAlert" cancel-color="#AFB3BF" confirm-color="#22C572" :show-title="false"
- show-cancel-button=true @confirm="confirmFreight(0,item)">
- <view class="freightAlert-warp">
- <view class="freightAlert-row">
- <view class="title">扣运费</view>
- <u-icon name="close" class="close" size="20" @click="closeModel"></u-icon>
- </view>
- <!-- <u-cell-item :arrow="false" title="运输损耗"></u-cell-item> -->
- <view class="freightAlert-row2 row">
- <view>运输损耗</view>
- <view>{{item.reciveNetWeight-item.dispatchNetWeight}}</view>
- </view>
- <view class="freightAlert-row3 row">
- 扣款金额
- </view>
- <view class="freightAlert-row4">
- <u-input v-model="freightDeductionAmount" :type="type" :border="border"
- placeholder="请输入扣款金额" class="uview-border" @input="inputWatch" />
- <view class="text">
- 元
- </view>
- </view>
- <view class="red-tip" v-show="isShowFreightTip">
- 扣款金额输入错误/扣款金额不能为空
- </view>
- </view>
- </u-modal>
- </view>
- <view class='payfreight' style='flex:1;' v-if="!purchaseOrder.freightPayer=='发货方承担'"
- @click="payDeduction()">付运费</view>
- <view class="freightAlert-model">
- <u-modal v-model="payAlert" cancel-color="#AFB3BF" confirm-color="#22C572" :show-title="false"
- show-cancel-button=true @confirm="confirmFreight(1,item)">
- <view class="freightAlert-warp payAlert">
- <view class="freightAlert-row">
- <view class="title">付运费</view>
- <u-icon name="close" class="close" size="20" @click="closeModel"></u-icon>
- </view>
- <view class="freightAlert-row3 row">
- 应付
- </view>
- <view class="freightAlert-row4">
- <u-input v-model="item.freightIngPayable" :type="type" :border="border"
- placeholder="请输入付款金额" class="uview-border" @input="paidInputWatch" />
- <view class="text">
- 元
- </view>
- </view>
- <view class="red-tip paid-tip" v-show="isShowPaidTip">
- 应付金额不能为空/应付运费不能小于已付运费
- </view>
- <view class="paid">
- <view class="">
- 已付
- </view>
- <view>
- {{item.freightEdPayable}}元
- </view>
- </view>
- <view class="unpaid">
- <view class="">
- 未付
- </view>
- <view>
- {{item.freightIngPayable-item.freightEdPayable}}元
- </view>
- </view>
- <view class="freightAlert-row3 row">
- 付款金额
- </view>
- <view class="freightAlert-row4">
- <u-input v-model="money" :type="type" :border="border" placeholder="请输入扣款金额"
- class="uview-border" @input="payInputWatch($event,item)" />
- <view class="text">
- 元
- </view>
- </view>
- <view class="red-tip pay-tip" v-show="isShowPayTip">
- 付款金额输入错误/付款金额不能超过未付金额/付款金额不能为空
- </view>
- </view>
- </u-modal>
- </view>
- <view style='flex:1;' class='deductfreight' @click="deductPayment()" v-if="item.status=='待结算'">扣货款</view>
- <view class="freightAlert-model">
- <u-modal v-model="deductPaymentAlert" cancel-color="#AFB3BF" confirm-color="#22C572"
- :show-title="false" show-cancel-button=true @confirm="confirmeductPayment(item,0)">
- <view class="freightAlert-warp payAlert">
- <view class="freightAlert-row">
- <view class="title">扣货款</view>
- <u-icon name="close" class="close" size="20" @click="closeModel"></u-icon>
- </view>
- <view class="freightAlert-row3 row">
- 扣款金额
- </view>
- <view class="freightAlert-row4">
- <u-input v-model="ductPayment" :type="type" :border="border" placeholder="请输入扣款金额"
- class="uview-border" @input="deductPaymentInputWatch($event,item)" />
- <view class="text">
- 元
- </view>
- </view>
- <view class="red-tip pay-tip" v-show="isShowFreightTip">
- 付款金额输入错误/付款金额不能为空
- </view>
- </view>
- </u-modal>
- </view>
- <view style='flex:1;' class='payfreight' @click="Payment()" v-if="item.status=='待结算'">付货款</view>
- <view class="freightAlert-model">
- <u-modal v-model="paymentAlert" cancel-color="#AFB3BF" confirm-color="#22C572" :show-title="false"
- show-cancel-button=true @confirm="confirmeductPayment(item,1)">
- <view class="freightAlert-warp payAlert">
- <view class="freightAlert-row">
- <view class="title">付货款</view>
- <u-icon name="close" class="close" size="20" @click="closeModel"></u-icon>
- </view>
- <view class="freightAlert-row3 row">
- 应付
- </view>
- <view class="freightAlert-row4">
- <u-input v-model="item.goodsIngPayable" :type="type" :border="border" disabled
- placeholder="请输入付款金额" class="uview-border" @input="paymentInputWatch" />
- <view class="text">
- 元
- </view>
- </view>
- <view class="red-tip paid-tip" v-show="isShowPaymenMoneyTip">
- 应付金额不能为空/应付货款不能小于已付货款
- </view>
- <view class="paid">
- <view class="">
- 已付
- </view>
- <view>
- {{item.goodsEdPayable}}元
- </view>
- </view>
- <view class="unpaid">
- <view class="">
- 未付
- </view>
- <view>
- {{item.goodsIngPayable-item.goodsEdPayable}}元
- </view>
- </view>
- <view class="freightAlert-row3 row">
- 付款金额
- </view>
- <view class="freightAlert-row4">
- <u-input v-model="paymenMoney" :type="type" :border="border" placeholder="请输入货款金额"
- class="uview-border" @input="payInputWatch($event,item)" />
- <view class="text">
- 元
- </view>
- </view>
- <view class="red-tip pay-tip" v-show="isShowPayTip">
- 付款金额输入错误/付款金额不能超过未付金额/付款金额不能为空
- </view>
- </view>
- </u-modal>
- </view>
- <view @click='confirmpaygoods(item)' style='flex:2;' class='payfreight' v-if="item.status!='待结算'">确认收货</view>
- </view>
- </view>
- <view class='footer'>
- <button class="btn" @click="commit()">添加收货人</button>
- </view>
- </view>
- </template>
- <script>
- import {
- getDetail
- } from "./index";
- export default {
- name: "business",
- data() {
- return {
- freightDeductionAmount: 0,
- money: 0,
- ductPayment: 0,
- paymenMoney: 0,
- purchaseOrder: {},
- carInfo: [],
- radTotal: {
- delivery: 0,
- receipt: 0
- },
- type: 'text',
- border: false,
- payValue: '',
- copePayValue: '',
- paidValue: '',
- freightAlert: false,
- payAlert: false,
- deductPaymentAlert: false,
- paymentAlert: false,
- isShowFreightTip: false,
- isShowPaidTip: false,
- isShowPayTip: false,
- isShowPaymenMoneyTip: false,
- id: "",
- payfreightCli: true
- }
- },
- onShow() {
- },
- onLoad(options) {
- getDetail(options.id, this)
- this.id = options.id
- this.payfreightCli = this.$store.state.isConfigfreightTransport
- },
- onPageScroll(e) {
- },
- //下拉刷新
- onPullDownRefresh() {},
- onReachBottom() { //上拉触底函数
- },
- methods: {
- confirmpaygoods(item) {
- uni.navigateTo({
- url: '/pageA/freightTransport/confirmpaygoods?toINfo=' + JSON.stringify(item)+'&id='+this.id
- })
- },
- commit() {
- uni.navigateTo({
- url: '/pageA/freightTransport/addpaygoods?id=' + this.id
- })
- },
- // 清空输入子对象数据
- cleanVal(val, val1) {
- for (let key in val) {
- console.log(key + '---' + val[key])
- if (val[key] == val1) {
- val[key] == ""
- }
- }
- },
- confirmFreight(flag, val) {
- if (flag == 1) {
- val.money = parseInt(this.money);
- }
- val.freightDeductionAmount = this.freightDeductionAmount
- val.freightIngPayable = parseInt(val.freightIngPayable);
- val.flag = flag
- this.$api.doRequest('post', 'freightReceivingDispatching/api/paymentAndDeductionfreight', val).then(
- res => {
- if (res.data.code == 200) {
- location.reload()
- }
- }).catch(res => {
- })
- },
- inputWatch(e) {
- let _val = this.checkVal(e, "freight");
- if (_val) {
- this.isShowFreightTip = true
- } else {
- this.isShowFreightTip = false
- }
- },
- paidInputWatch(e) {
- let _val = this.checkVal(e, "paid");
- if (_val) {
- this.isShowPaidTip = true
- } else {
- this.isShowPaidTip = false
- }
- },
- payInputWatch(e, item) {
- let _val = this.checkVal(e, "pay", item);
- if (_val) {
- this.isShowPayTip = true
- this.isShowPaymenMoneyTip = true
- } else {
- this.isShowPayTip = false
- this.isShowPaymenMoneyTip = false
- }
- },
- //扣货款输入监听
- deductPaymentInputWatch(e, item) {
- let _val = this.checkVal(e, "deductPayment", item);
- if (_val) {
- this.isShowFreightTip = true
- } else {
- this.isShowFreightTip = false
- }
- },
- // 扣运费
- freightDeduction(item) {
- this.freightAlert = true;
- this.freightDeductionAmount = 0
- // this.cleanVal(item,"freightDeductionAmount")
- console.log("扣运费")
- },
- // 付运费
- payDeduction() {
- console.log("付运费")
- this.payAlert = true
- },
- deductPayment() {
- console.log("扣货款")
- this.deductPaymentAlert = true
- },
- Payment() {
- console.log("付货款")
- this.paymentAlert = true
- },
- //判断输入值
- checkVal(e, state, item) {
- console.log(e)
- let _val;
- let _val1 = this.utils.isEmpty(e)
- let _val2 = this.utils.isTwoPoint(e)
- let _val3 = !this.utils.isNumber(e)
- _val = _val1 || _val2 || _val3
- switch (state) {
- //扣运费
- case "freight":
- break;
- // 应付
- case "paid":
- break;
- case "deductPayment":
- break;
- // 付款金额
- case "pay":
- if (parseInt(e) > item.freightIngPayable - item.freightEdPayable) {
- _val = true
- }
- break;
- }
- return _val
- },
- closeModel() {
- this.freightAlert = false;
- this.payAlert = false;
- this.deductPaymentAlert = false;
- this.paymentAlert = false;
- },
- confirmPayPayment() {
- console.log("付货款提交")
- },
- confirmeductPayment(val,type) {
- console.log(val)
- let _title = ''
- let _title1 = ''
- if(type==0){
- _title = "扣款成功!"
- _title1 = "扣款失败!"
- }else{
- _title = "付款成功!"
- _title1 = "扣款失败!"
- }
-
- let that = this;
- val.goodsDeductionAmount = parseInt(that.ductPayment);
- val.money = 0
- val.goodsEdPayable = parseInt(that.paymenMoney);
- that.$api.doRequest('post', 'freightReceivingDispatching/api/PaymentDeduction', val).then(
- res => {
- if (res.data.code == 200) {
- uni.showToast({
- title:_title,
- icon: 'none',
- duration: 2000,
- success() {
- getDetail(that.id, that)
- }
- })
- } else {
- uni.showToast({
- title:_title1,
- icon: 'none',
- duration: 2000
- })
- that.ductPayment = 0
- that.goodsEdPayable = 0
- }
- }).catch(res => {
- })
- }
- }
- }
- </script>
- <style lang='scss'>
- page,
- .content {
- background: #F5F6FA;
- }
- .c-row {
- display: -webkit-box;
- display: -webkit-flex;
- display: flex;
- -webkit-box-align: center;
- -webkit-align-items: center;
- align-items: center;
- padding: 10rpx 30rpx;
- position: relative;
- .title {
- color: #9698A2;
- }
- .title-black {
- color: #333;
- }
- }
- .con-list {
- -webkit-box-flex: 1;
- -webkit-flex: 1;
- flex: 1;
- display: -webkit-box;
- display: -webkit-flex;
- display: flex;
- -webkit-box-orient: vertical;
- -webkit-box-direction: normal;
- -webkit-flex-direction: column;
- flex-direction: column;
- color: #303133;
- line-height: 40rpx;
- text-align: right;
- padding-right: 20rpx;
- font-size: 12px;
- }
- .transaction {
- background-color: #FFFFFF;
- margin: 10px;
- padding-bottom: 10px;
- border-radius: 20px;
- .type {
- display: inline-block;
- font-size: 10px;
- padding: 1px 3px;
- border-radius: 50%;
- width: 19px;
- height: 19px;
- line-height: 19px;
- }
- .type.send {
- color: #22C572;
- background: #E9F8F0;
- }
- .type.put {
- color: #22C572;
- background: #E9F8F0;
- }
- .weightnotes {
- display: inline-block;
- border: 1px solid #CDCDCD;
- padding: 5px;
- font-size: 10px;
- margin-left: 3px;
- }
- .deductfreight,
- .payfreight {
- width: 75px;
- height: 33px;
- line-height: 33px;
- font-size: 14px;
- background: #fff;
- border: 1px solid #CDCDCD;
- border-radius: 30px;
- text-align: center;
- margin: 0 5px;
- }
- .payfreight {
- margin-right: 0;
- }
- }
- .line {
- display: inline-block;
- padding: 5px;
- position: relative;
- font-size: 17px;
- }
- .line.active {
- font-size: 19px;
- font-weight: 900;
- }
- .line.active:after {
- content: '';
- display: block;
- position: absolute;
- width: 38px;
- left: 50%;
- transform: translateX(-50%);
- bottom: 0;
- border-bottom: 1px solid #22C572;
- }
- .cu-tag.badge {
- right: 26rpx;
- }
- .cu-item {
- height: 80rpx;
- display: inline-block;
- line-height: 80rpx;
- }
- .search-form {
- background: #F5F6F9;
- padding-left: 20rpx;
- }
- .title-tip {
- color: #E63113;
- text-align: right;
- }
- .tag1 {
- background: #F5F6F9;
- padding: 5px;
- color: #333333;
- display: inline-flex;
- font-size: 22rpx;
- border-radius: 3px;
- margin: 3px;
- }
- .tag {
- background: #F5F6F9;
- padding: 7px 12px;
- color: #333333;
- display: inline-flex;
- font-size: 22rpx;
- border-radius: 15px;
- margin: 3px;
- }
- .tag-bule {
- background: #EBEEFA;
- color: #5C76DF;
- }
- .tag-green {
- background: #C6F7BC;
- color: #065112;
- }
- .tag-yellow {
- background: #F9F2EA;
- color: #BE9C69;
- }
- .tag-red {
- background: #FEECE6;
- color: #FE6430;
- }
- .text-white {
- color: #fff;
- }
- .text-white text {
- position: relative;
- z-index: 2;
- background: linear-gradient(45deg, #3DC146, #B2D612);
- padding: 5px 10px;
- border-radius: 38rpx;
- }
- .center {
- margin-bottom: 100px;
- }
- .guess-section {
- padding-bottom: 100upx;
- display: flex;
- flex-wrap: wrap;
- padding: 30upx;
- background: #fff;
- margin: 10px;
- border-radius: 6px;
- .type {
- border-radius: 10px;
- padding: 5px;
- wdith: 22px;
- height: 22px;
- line-height: 14px;
- font-size: 12px;
- }
- .type.send {
- background: #22C572;
- color: #fff;
- }
- .type.put {
- background: #FD714F;
- color: #fff;
- }
- .businessnumber {
- font-size: 16px;
- font-weight: 600;
- }
- .consigner {
- font-size: 12px;
- }
- .time {
- color: #878C9C;
- }
- .goods {
- font-size: 12px;
- }
- .goodsstatus {
- background: #F9F9FA;
- color: #9698A2;
- padding: 10px 0;
- padding-left: 47px;
- margin: 10px 0;
- }
- .del {
- width: 60px;
- height: 33px;
- line-height: 33px;
- font-size: 14px;
- background: #fff;
- border: 1px solid #CDCDCD;
- border-radius: 30px;
- text-align: center;
- }
- }
- .navbar {
- position: fixed;
- left: 0;
- top: var(--window-top);
- display: flex;
- width: 100%;
- height: 80upx;
- background: #fff;
- box-shadow: 0 2upx 10upx rgba(0, 0, 0, .06);
- z-index: 10;
- .nav-item {
- flex: 1;
- display: flex;
- justify-content: center;
- align-items: center;
- height: 100%;
- font-size: 30upx;
- color: $font-color-dark;
- position: relative;
- &.current {
- color: $base-color;
- &:after {
- content: '';
- position: absolute;
- left: 50%;
- bottom: 0;
- transform: translateX(-50%);
- width: 120upx;
- height: 0;
- border-bottom: 4upx solid $base-color;
- }
- }
- }
- .p-box {
- display: flex;
- flex-direction: column;
- .yticon {
- display: flex;
- align-items: center;
- justify-content: center;
- width: 30upx;
- height: 14upx;
- line-height: 1;
- margin-left: 4upx;
- font-size: 26upx;
- color: #888;
- &.active {
- color: $base-color;
- }
- }
- .xia {
- transform: scaleY(-1);
- }
- }
- .cate-item {
- display: flex;
- justify-content: center;
- align-items: center;
- height: 100%;
- width: 80upx;
- position: relative;
- font-size: 44upx;
- &:after {
- content: '';
- position: absolute;
- left: 0;
- top: 50%;
- transform: translateY(-50%);
- border-left: 1px solid #ddd;
- width: 0;
- height: 36upx;
- }
- }
- }
- /* 分类 */
- .cate-mask {
- position: fixed;
- left: 0;
- top: var(--window-top);
- bottom: 0;
- width: 100%;
- background: rgba(0, 0, 0, 0);
- z-index: 95;
- transition: .3s;
- .cate-content {
- width: 630upx;
- height: 100%;
- background: #fff;
- float: right;
- transform: translateX(100%);
- transition: .3s;
- }
- &.none {
- display: none;
- }
- &.show {
- background: rgba(0, 0, 0, .4);
- .cate-content {
- transform: translateX(0);
- }
- }
- }
- .cate-list {
- display: flex;
- flex-direction: column;
- height: 100%;
- .cate-item {
- display: flex;
- align-items: center;
- height: 90upx;
- padding-left: 30upx;
- font-size: 28upx;
- color: #555;
- position: relative;
- }
- .two {
- height: 64upx;
- color: #303133;
- font-size: 30upx;
- background: #f8f8f8;
- }
- .active {
- color: $base-color;
- }
- }
- .introduce-section .title {
- font-size: 17px;
- font-weight: bold;
- height: 40px;
- line-height: 40px;
- flex: 2.5;
- border-bottom: 1px solid #EEEEEE;
- }
- .introduce-section .address {
- color: #878C9C;
- font-size: 12px;
- padding: 10px 0 10px;
- }
- .introduce-section .price {
- padding: 10px 0 10px;
- color: #FD714F;
- font-size: 19px;
- font-weight: 700;
- }
- .introduce-section .guess-item {
- border-radius: 10px;
- background: #fff;
- padding: 0upx 30upx 20upx;
- margin: 8px;
- border-bottom: 1px solid #ccc;
- }
- /* 销售信息 */
- .introduce-section {
- .title-tip {
- flex: 1;
- }
- .price-box {
- display: flex;
- align-items: baseline;
- font-size: 26upx;
- }
- .price {
- font-size: $font-lg + 2upx;
- }
- .m-price {
- margin: 0 12upx;
- color: $font-color-light;
- text-decoration: line-through;
- }
- .coupon-tip {
- align-items: center;
- padding: 4upx 10upx;
- background: $uni-color-primary;
- font-size: $font-sm;
- color: #fff;
- border-radius: 6upx;
- line-height: 1;
- transform: translateY(-4upx);
- }
- .bot-row {
- display: flex;
- align-items: center;
- height: 50upx;
- font-size: $font-sm;
- color: $font-color-light;
- view {
- flex: 1;
- }
- }
- }
- .footer {
- position: fixed;
- bottom: 0;
- width: 100%;
- padding: 20px 0;
- }
- .btn {
- width: 90%;
- background: #22C572;
- color: #fff;
- border-radius: 30px;
- }
- .btn:after {
- border: none;
- }
- .cumulative-style {
- justify-content: flex-end;
- align-items: center;
- display: flex;
- flex-direction: row;
- }
- .freightAlert-warp {
- padding: 0 60rpx 80rpx 60rpx;
- font-size: 26rpx;
- /* height: 400rpx; */
- }
- .row {
- margin: 26rpx 0;
- }
- .uview-border {
- border-bottom: 1px solid #E8E9ED;
- }
- .freightAlert-model {
- .freightAlert-row {
- display: flex;
- justify-content: center;
- position: relative;
- .close {
- position: absolute;
- right: 20rpx;
- top: 0;
- bottom: 0;
- margin: auto;
- }
- .title {
- font-size: 34rpx;
- font-weight: 500;
- color: #333333;
- line-height: 48px;
- }
- }
- .red-tip {
- color: red;
- margin-top: 20rpx;
- }
- .freightAlert-row2,
- .freightAlert-row4 {
- display: flex;
- justify-content: space-between;
- .text {
- display: flex;
- align-items: center;
- }
- }
- }
- .payAlert {
- /* height: 800rpx; */
- }
- .unpaid,
- .paid {
- display: flex;
- justify-content: space-between;
- margin: 20rpx 0;
- }
- .cumulative-style {
- justify-content: flex-end;
- align-items: center;
- display: flex;
- flex-direction: row;
- }
- </style>
|