|
@@ -23,8 +23,17 @@
|
|
|
<view v-if="!isShowHeader">
|
|
|
<view class="tui-header-top">
|
|
|
<view class="title"> 收款信息 </view>
|
|
|
- <view class="tui-header-button" v-if="receiptInfo.orderList.length>0">
|
|
|
- <view class="button btn-confirm" @click.stop="showReceiptModel"> 查看关联信息 </view>
|
|
|
+ <view class="tui-header-button">
|
|
|
+ <view
|
|
|
+ class="button btn-error"
|
|
|
+ @click.stop="showReceiptModel"
|
|
|
+ v-if="receiptInfo.orderList.length > 0"
|
|
|
+ >
|
|
|
+ 查看关联信息
|
|
|
+ </view>
|
|
|
+ <view class="button btn-confirm" @click="toNoSms('/pages/collection/list')">
|
|
|
+ <text class="iconfont icon-wodedingdan"></text>收款列表
|
|
|
+ </view>
|
|
|
</view>
|
|
|
</view>
|
|
|
<view class="tui-header-item">
|
|
@@ -72,7 +81,7 @@
|
|
|
v-if="currents == 3"
|
|
|
class="input"
|
|
|
type="text"
|
|
|
- v-model="refundListQuery.shopName"
|
|
|
+ v-model="refundListQuery.keyword"
|
|
|
confirm-type="search"
|
|
|
@confirm="subMitSearch(2)"
|
|
|
placeholder="搜索关键词(供应商名称)"
|
|
@@ -138,7 +147,7 @@
|
|
|
:class="order.isChecked ? 'icon-yixuanze' : 'icon-weixuanze'"
|
|
|
></text>
|
|
|
</view>
|
|
|
- <view class="list-detail" @click="orderDetail(order.id)">
|
|
|
+ <view class="list-detail" @click="orderDetail(order.orderId)">
|
|
|
<text class="iconfont icon-xiayibu"></text>
|
|
|
</view>
|
|
|
</template>
|
|
@@ -147,12 +156,10 @@
|
|
|
<view class="list-checked" @click="checkedRefundOrder(order, orderIndex)">
|
|
|
<text
|
|
|
class="iconfont"
|
|
|
- :class="
|
|
|
- checkedRefundIndex == orderIndex ? 'icon-yixuanze' : 'icon-weixuanze'
|
|
|
- "
|
|
|
+ :class="order.isChecked ? 'icon-yixuanze' : 'icon-weixuanze'"
|
|
|
></text>
|
|
|
</view>
|
|
|
- <view class="list-detail" @click="orderDetail(order.id)">
|
|
|
+ <view class="list-detail" @click="orderDetail(order.orderId)">
|
|
|
<text class="iconfont icon-xiayibu"></text>
|
|
|
</view>
|
|
|
</template>
|
|
@@ -166,7 +173,8 @@
|
|
|
</view>
|
|
|
</view>
|
|
|
<view class="distinguish-button" :style="{ paddingBottom: isIphoneX ? '68rpx' : '24rpx' }">
|
|
|
- <view class="button" @click="confirmDistinguish">确认</view>
|
|
|
+ <view class="button" @click="confirmDistinguishRefund" v-if="currents == 3">确认关联退款子订单</view>
|
|
|
+ <view class="button" @click="confirmDistinguish" v-else>确认</view>
|
|
|
</view>
|
|
|
</view>
|
|
|
<!-- 弹窗 -->
|
|
@@ -181,21 +189,25 @@
|
|
|
:maskClosable="false"
|
|
|
></tui-modal>
|
|
|
<!-- 关联提示弹窗 -->
|
|
|
- <receipt-modal
|
|
|
+ <receipt-modal
|
|
|
v-if="modal1"
|
|
|
- :show="modal1"
|
|
|
+ :show="modal1"
|
|
|
:amount="receiptInfo.receiptAmount"
|
|
|
- :totalOrder="totalOrder"
|
|
|
- :modelTpye="modelTpye"
|
|
|
- @cancel="hideMobel(1)"
|
|
|
- @click="handleClick1">
|
|
|
+ :totalOrder="totalOrder"
|
|
|
+ :modelTpye="modelTpye"
|
|
|
+ @cancel="hideMobel(1)"
|
|
|
+ @click="handleClick1"
|
|
|
+ >
|
|
|
</receipt-modal>
|
|
|
- <receipt-orderDetails
|
|
|
- v-if="modal2"
|
|
|
- :receipt="receiptInfo"
|
|
|
- @cancel="hideMobel(2)"
|
|
|
- >
|
|
|
- </receipt-orderDetails>
|
|
|
+ <!-- 关联信息 -->
|
|
|
+ <receipt-orderDetails v-if="modal2" :receipt="receiptInfo" @cancel="hideMobel(2)"> </receipt-orderDetails>
|
|
|
+ <!-- 供应商退款子订单关联弹窗 -->
|
|
|
+ <tui-modal :show="modal3" :padding="'40rpx 30rpx'" @cancel="hideMobel(3)" :custom="true" fadeIn>
|
|
|
+ <view class="tui-modal-custom">
|
|
|
+ <view class="tui-prompt-text"> {{ contentModalText }} </view>
|
|
|
+ <view class="tui-prompt-flex"> <view class="btn btn-confirm" @click="hideMobel(3)">知道了</view> </view>
|
|
|
+ </view>
|
|
|
+ </tui-modal>
|
|
|
</view>
|
|
|
</template>
|
|
|
<script>
|
|
@@ -218,7 +230,7 @@ const defaultListQuery = {
|
|
|
const defaultRefundListQuery = {
|
|
|
id: 0, //收款Id
|
|
|
confirmedType: 0, // 0待确认,2已确认
|
|
|
- shopName: '', //供应商名称
|
|
|
+ keyword: '', //供应商名称
|
|
|
pageNum: 1, // 页码
|
|
|
pageSize: 10 // 条数
|
|
|
}
|
|
@@ -247,11 +259,11 @@ export default {
|
|
|
{
|
|
|
name: '小程序订单',
|
|
|
type: 3
|
|
|
- },
|
|
|
- {
|
|
|
- name: '退款子订单',
|
|
|
- type: 4
|
|
|
}
|
|
|
+ // {
|
|
|
+ // name: '退款子订单',
|
|
|
+ // type: 4
|
|
|
+ // }
|
|
|
],
|
|
|
listReturnType: [
|
|
|
{
|
|
@@ -280,6 +292,7 @@ export default {
|
|
|
modal: false,
|
|
|
modal1: false,
|
|
|
modal2: false,
|
|
|
+ modal3: false,
|
|
|
hanldOrder: '', //储存监听订单信息
|
|
|
OperationType: '', //操作类型
|
|
|
isCmcustomClass: 'left',
|
|
@@ -289,22 +302,26 @@ export default {
|
|
|
scrollH: 0, //滚动总高度
|
|
|
opcity: 1,
|
|
|
checkedOrderList: [],
|
|
|
- checkedIds:[],
|
|
|
- checkedRefundIndex: 0,
|
|
|
- confirmParams:{
|
|
|
- confirmType:4,
|
|
|
- id:0,
|
|
|
- orderIds:'',
|
|
|
+ checkedIds: [],
|
|
|
+ checkedRefundIndex: '',
|
|
|
+ confirmParams: {
|
|
|
+ confirmType: 4,
|
|
|
+ id: 0,
|
|
|
+ orderIds: ''
|
|
|
+ },
|
|
|
+ confirmRefundParams: {
|
|
|
+ shopOrderId: 0,
|
|
|
+ id: 0
|
|
|
},
|
|
|
skeletonShow: true,
|
|
|
- modelTpye:1,// 收款弹窗类型
|
|
|
+ modelTpye: 1, // 收款弹窗类型
|
|
|
totalOrder: {
|
|
|
- orderNums:1,
|
|
|
+ orderNums: 1,
|
|
|
payTotalFee: 0, // 订单金额
|
|
|
balancePayFee: 0, // 余额抵扣
|
|
|
payableAmount: 0, // 应收金额
|
|
|
- paidAmount: 0 ,// 已收金额
|
|
|
- surplusAmount:0 // 剩余应收
|
|
|
+ paidAmount: 0, // 已收金额
|
|
|
+ surplusAmount: 0 // 剩余应收
|
|
|
} // 统计都选相同的订单数据
|
|
|
}
|
|
|
},
|
|
@@ -319,7 +336,7 @@ export default {
|
|
|
this.scrollH = res.windowWidth * 0.6
|
|
|
}
|
|
|
})
|
|
|
- this.listQuery.id = this.refundListQuery.id = this.confirmParams.id = option.id
|
|
|
+ this.listQuery.id = this.confirmParams.id = this.confirmRefundParams.id = option.id
|
|
|
this.getOrderReceiptDetail(this.listQuery.id)
|
|
|
},
|
|
|
computed: {
|
|
@@ -499,67 +516,9 @@ export default {
|
|
|
//用户操作订单
|
|
|
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
|
|
|
},
|
|
|
- handleClick1(data){
|
|
|
- switch(data){
|
|
|
- case 1: // 小额抹平确认
|
|
|
- console.log('小额抹平确认')
|
|
|
- this.confirmParams.confirmType = data
|
|
|
- this.confirmParams.orderIds = this.checkedIds.join(',')
|
|
|
- this.orderReceiptConfirm()
|
|
|
- this.modal1 = false
|
|
|
- break
|
|
|
- case 3: // 大额退款余额
|
|
|
- console.log('大额退款余额')
|
|
|
- this.confirmParams.confirmType = data
|
|
|
- this.confirmParams.orderIds = this.checkedIds.join(',')
|
|
|
- this.orderReceiptConfirm()
|
|
|
- this.modal1 = false
|
|
|
- break
|
|
|
- case 4: // 确认关联
|
|
|
- console.log('确认关联')
|
|
|
- this.confirmParams.confirmType = data
|
|
|
- this.confirmParams.orderIds = this.checkedIds.join(',')
|
|
|
- this.orderReceiptConfirm()
|
|
|
- this.modal1 = false
|
|
|
- break
|
|
|
- }
|
|
|
- },
|
|
|
- orderReceiptConfirm(){
|
|
|
- //确认关联或抹平或退款余额
|
|
|
- this.OrderService.orderReceiptConfirm(this.confirmParams)
|
|
|
- .then(response => {
|
|
|
- this.$api.navigateTo(`/pages/relation/ordinary/examine-detail?id=${this.confirmParams.id}`)
|
|
|
- })
|
|
|
- .catch(error => {
|
|
|
- this.$util.msg(error.msg, 2000)
|
|
|
- })
|
|
|
- },
|
|
|
confirmDistinguish() {
|
|
|
// 点击确认
|
|
|
const list = []
|
|
@@ -569,21 +528,16 @@ export default {
|
|
|
}
|
|
|
})
|
|
|
if (this.checkedOrderList.length == 0) {
|
|
|
- this.$util.msg('请选择需要关联的订单!', 2000)
|
|
|
+ this.$util.msg('请选择订单!', 2000)
|
|
|
return
|
|
|
}
|
|
|
- if(this.currents === 1){// 订金订单每次只能关联一个订单
|
|
|
+ if (this.currents === 1) {
|
|
|
+ // 订金订单每次只能关联一个订单
|
|
|
if (this.checkedOrderList.length > 1) {
|
|
|
this.$util.msg('订金订单每次只能关联一个订单!', 2000)
|
|
|
return
|
|
|
}
|
|
|
}
|
|
|
- if(this.currents === 3){// 退款子订单每次只能关联一个子订单
|
|
|
- if (this.checkedOrderList.length > 1) {
|
|
|
- this.$util.msg('只能选择一个子订单!', 2000)
|
|
|
- return
|
|
|
- }
|
|
|
- }
|
|
|
if (list.length > 1) {
|
|
|
this.$util.msg('请选择相同机构的订单!', 2000)
|
|
|
return
|
|
@@ -608,30 +562,90 @@ export default {
|
|
|
this.totalOrder.payableAmount = Number(payableAmount.toFixed(2))
|
|
|
this.totalOrder.paidAmount = Number(paidAmount.toFixed(2))
|
|
|
this.totalOrder.orderNums = this.checkedOrderList.length
|
|
|
-
|
|
|
- if(this.currents === 1){// 收款金额必须等于订金订单金额才能关联
|
|
|
+ if (this.currents === 1) {
|
|
|
+ // 收款金额必须等于订金订单金额才能关联
|
|
|
if (this.receiptInfo.receiptAmount != this.totalOrder.payTotalFee) {
|
|
|
this.$util.msg('收款金额必须等于订金订单金额才能关联!', 2000)
|
|
|
return
|
|
|
}
|
|
|
}
|
|
|
console.log('totalOrder', this.totalOrder)
|
|
|
- //处理收款状态的几种类型
|
|
|
- if(this.receiptInfo.receiptAmount == this.totalOrder.payableAmount || (this.totalOrder.payableAmount - this.receiptInfo.receiptAmount) > 10){
|
|
|
+ //处理收款状态的几种类型
|
|
|
+ if (
|
|
|
+ this.receiptInfo.receiptAmount == this.totalOrder.payableAmount ||
|
|
|
+ this.totalOrder.payableAmount - this.receiptInfo.receiptAmount > 10
|
|
|
+ ) {
|
|
|
//收款金额等于订单应收金额 或者是 订单应收总金额减去收款金额大于等于10
|
|
|
this.modelTpye = 1
|
|
|
- console.log('收款金额等于订单应收金额 或者是 订单应收总金额减去收款金额大于等于10',this.modelTpye)
|
|
|
- }else if(this.receiptInfo.receiptAmount > this.totalOrder.payableAmount){
|
|
|
+ console.log('收款金额等于订单应收金额 或者是 订单应收总金额减去收款金额大于等于10', this.modelTpye)
|
|
|
+ } else if (this.receiptInfo.receiptAmount > this.totalOrder.payableAmount) {
|
|
|
//收款金额大于订单应收金额(可退款到余额)
|
|
|
this.modelTpye = 2
|
|
|
- console.log('收款金额大于订单应收金额(可退款到余额)',this.modelTpye)
|
|
|
- }else if((this.totalOrder.payableAmount - this.receiptInfo.receiptAmount) <= 10){
|
|
|
+ console.log('收款金额大于订单应收金额(可退款到余额)', this.modelTpye)
|
|
|
+ } else if (this.totalOrder.payableAmount - this.receiptInfo.receiptAmount <= 10) {
|
|
|
//订单应收总金额减去收款金额小于等于10元时,才能抹平确认
|
|
|
this.modelTpye = 3
|
|
|
- console.log('订单应收总金额减去收款金额小于等于10元时,才能抹平确认)',this.modelTpye)
|
|
|
+ console.log('订单应收总金额减去收款金额小于等于10元时,才能抹平确认)', this.modelTpye)
|
|
|
}
|
|
|
this.modal1 = true
|
|
|
},
|
|
|
+ confirmDistinguishRefund() {
|
|
|
+ //确认关联供应商退款子订单
|
|
|
+ if (this.confirmRefundParams.shopOrderId == 0) {
|
|
|
+ this.$util.msg('请选择订单!', 2000)
|
|
|
+ return
|
|
|
+ }
|
|
|
+ this.orderReceiptConfirmRefund(this.confirmRefundParams)
|
|
|
+ },
|
|
|
+ handleClick1(data) {
|
|
|
+ switch (data) {
|
|
|
+ case 1: // 小额抹平确认
|
|
|
+ console.log('小额抹平确认')
|
|
|
+ this.confirmParams.confirmType = data
|
|
|
+ this.confirmParams.orderIds = this.checkedIds.join(',')
|
|
|
+ this.orderReceiptConfirm()
|
|
|
+ this.modal1 = false
|
|
|
+ break
|
|
|
+ case 3: // 大额退款余额
|
|
|
+ console.log('大额退款余额')
|
|
|
+ this.confirmParams.confirmType = data
|
|
|
+ this.confirmParams.orderIds = this.checkedIds.join(',')
|
|
|
+ this.orderReceiptConfirm()
|
|
|
+ this.modal1 = false
|
|
|
+ break
|
|
|
+ case 4: // 确认关联
|
|
|
+ console.log('确认关联')
|
|
|
+ this.confirmParams.confirmType = data
|
|
|
+ this.confirmParams.orderIds = this.checkedIds.join(',')
|
|
|
+ this.orderReceiptConfirm()
|
|
|
+ this.modal1 = false
|
|
|
+ break
|
|
|
+ }
|
|
|
+ },
|
|
|
+ orderReceiptConfirmRefund(params) {
|
|
|
+ //确认关联退款子订单
|
|
|
+ this.OrderService.orderReceiptConfirmRefund(params)
|
|
|
+ .then(response => {
|
|
|
+ this.$util.msg('关联成功~', 2000, true, 'success')
|
|
|
+ setTimeout(() => {
|
|
|
+ this.$api.navigateTo(`/pages/relation/refund/detail?id=${this.confirmRefundParams.id}`)
|
|
|
+ }, 2000)
|
|
|
+ })
|
|
|
+ .catch(error => {
|
|
|
+ this.modal3 = true
|
|
|
+ this.contentModalText = error.msg
|
|
|
+ })
|
|
|
+ },
|
|
|
+ orderReceiptConfirm() {
|
|
|
+ //确认关联订单或抹平或退款余额
|
|
|
+ this.OrderService.orderReceiptConfirm(this.confirmParams)
|
|
|
+ .then(response => {
|
|
|
+ this.$api.navigateTo(`/pages/relation/ordinary/examine-detail?id=${this.confirmParams.id}`)
|
|
|
+ })
|
|
|
+ .catch(error => {
|
|
|
+ this.$util.msg(error.msg, 2000)
|
|
|
+ })
|
|
|
+ },
|
|
|
checkedOrder(order) {
|
|
|
// 勾选关联订单
|
|
|
order.isChecked = !order.isChecked
|
|
@@ -645,10 +659,18 @@ export default {
|
|
|
// 勾选退款子订单
|
|
|
this.checkedOrderList = []
|
|
|
this.checkedRefundIndex = index
|
|
|
- this.checkedOrderList.push(order)
|
|
|
+ this.orderList.forEach((el, index) => {
|
|
|
+ if (this.checkedRefundIndex == index) {
|
|
|
+ el.isChecked = true
|
|
|
+ this.confirmRefundParams.shopOrderId = el.shopOrderId
|
|
|
+ } else {
|
|
|
+ el.isChecked = false
|
|
|
+ }
|
|
|
+ })
|
|
|
+ console.log('shopOrderId', this.confirmRefundParams.shopOrderId)
|
|
|
},
|
|
|
hideMobel(type) {
|
|
|
- switch(type){
|
|
|
+ switch (type) {
|
|
|
case 0:
|
|
|
this.modal = false
|
|
|
break
|
|
@@ -658,6 +680,9 @@ export default {
|
|
|
case 2:
|
|
|
this.modal2 = false
|
|
|
break
|
|
|
+ case 3:
|
|
|
+ this.modal3 = false
|
|
|
+ break
|
|
|
}
|
|
|
},
|
|
|
formatColor(state) {
|
|
@@ -729,7 +754,11 @@ export default {
|
|
|
}
|
|
|
}
|
|
|
},
|
|
|
- showReceiptModel(){//
|
|
|
+ toNoSms(url) {
|
|
|
+ this.$api.navigateTo(url)
|
|
|
+ },
|
|
|
+ showReceiptModel() {
|
|
|
+ //
|
|
|
this.modal2 = true
|
|
|
}
|
|
|
},
|
|
@@ -868,22 +897,21 @@ page {
|
|
|
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;
|
|
|
+ line-height: 66rpx;
|
|
|
border-radius: 8rpx;
|
|
|
text-align: center;
|
|
|
color: #ffffff;
|
|
|
margin-left: 10rpx;
|
|
|
&.btn-confirm {
|
|
|
- background: #f0ad4e
|
|
|
+ background: $color-system;
|
|
|
}
|
|
|
&.btn-error {
|
|
|
- background: #ff5000;
|
|
|
+ background: #f0ad4e;
|
|
|
}
|
|
|
}
|
|
|
}
|
|
@@ -957,7 +985,7 @@ page {
|
|
|
top: 0;
|
|
|
color: #dd524d;
|
|
|
z-index: 99;
|
|
|
- .list-icon-image{
|
|
|
+ .list-icon-image {
|
|
|
width: 120rpx;
|
|
|
height: 120rpx;
|
|
|
display: block;
|
|
@@ -1036,6 +1064,7 @@ page {
|
|
|
padding-left: 70rpx;
|
|
|
background: #f7f7f7;
|
|
|
border-radius: 8rpx;
|
|
|
+ font-size: $font-size-26;
|
|
|
}
|
|
|
.icon-sousuo {
|
|
|
width: 80rpx;
|
|
@@ -1044,7 +1073,7 @@ page {
|
|
|
line-height: 70rpx;
|
|
|
text-align: center;
|
|
|
color: #999999;
|
|
|
- font-size: $font-size-40;
|
|
|
+ font-size: $font-size-38;
|
|
|
position: absolute;
|
|
|
left: 0;
|
|
|
top: 0;
|
|
@@ -1112,55 +1141,7 @@ page {
|
|
|
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%;
|
|
@@ -1197,145 +1178,47 @@ page {
|
|
|
}
|
|
|
}
|
|
|
.list-detail {
|
|
|
- width: 80rpx;
|
|
|
- height: 290rpx;
|
|
|
- line-height: 290rpx;
|
|
|
+ width: 70rpx;
|
|
|
+ height: 80rpx;
|
|
|
+ line-height: 80rpx;
|
|
|
text-align: center;
|
|
|
position: absolute;
|
|
|
right: 0;
|
|
|
- top: 80rpx;
|
|
|
+ bottom: 0;
|
|
|
.iconfont {
|
|
|
- font-size: $font-size-30;
|
|
|
+ font-size: $font-size-32;
|
|
|
color: #999999;
|
|
|
}
|
|
|
}
|
|
|
}
|
|
|
-.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;
|
|
|
- }
|
|
|
- }
|
|
|
+.tui-prompt-flex {
|
|
|
+ width: 100%;
|
|
|
+ height: 70rpx;
|
|
|
+ display: flex;
|
|
|
+ margin-top: 20rpx;
|
|
|
+ .btn {
|
|
|
+ flex: 1;
|
|
|
+ line-height: 70rpx;
|
|
|
+ font-size: $font-size-26;
|
|
|
+ text-align: center;
|
|
|
+ color: #ffffff;
|
|
|
+ border-radius: 33rpx;
|
|
|
+ margin: 0 24rpx;
|
|
|
+ &.btn-cancel {
|
|
|
+ background: #f7f7f7;
|
|
|
+ color: #999999;
|
|
|
}
|
|
|
-
|
|
|
- .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);
|
|
|
- }
|
|
|
+ &.btn-confirm {
|
|
|
+ background: $color-system;
|
|
|
}
|
|
|
}
|
|
|
-
|
|
|
- .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;
|
|
|
- }
|
|
|
- }
|
|
|
+}
|
|
|
+.tui-prompt-text {
|
|
|
+ line-height: 44rpx;
|
|
|
+ font-size: $font-size-26;
|
|
|
+ color: #333333;
|
|
|
+ .text {
|
|
|
+ color: $color-system;
|
|
|
}
|
|
|
}
|
|
|
</style>
|