1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267 |
- <template>
- <view class="container">
- <view class="order-type-info">
- <view class="order-type-title">{{orderType.title}}</view>
- <view class="order-type-text">{{orderType.text}}
- </view>
- </view>
- <view class="address-info-box">
- <view class="address-icon">
- <text class="iconfont icondizhi"></text>
- </view>
- <view class="address-content">
- <text class="address-info">
- <text class="address-name">{{orderData.recName}}</text>
- <text class="address-phone">{{orderData.recMobile}}</text>
- </text>
- <view class="address-detail">{{orderData.address}}</view>
- </view>
- </view>
- <view class="goods-info-box">
- <view class="shop-info" @click.stop="gotoShop()">
- <text class="iconfont icondianpu"></text>
- <text class="shop-name">{{orderData.merchantInfoResVO.supplierName}}</text>
- <text class="iconfont iconfangxiang" v-if="orderData.tenantCode != 'admin'"></text>
- </view>
- <view class="goods-list">
- <view class="goods-row" v-for="(item, index) in orderData.merchantInfoResVO.products" :key="index">
- <image class="goods-img" :src="item.imgUrl" mode="aspectFill"></image>
- <view class="goods-info">
- <view class="goods-name">{{item.productName}}</view>
- <view class="goods-type">
- 类型:{{item.productType == 1 ? '普通商品' : (item.productType == 2 ? '拍卖商品' : (item.productType == 3 ? '自助采摘' : '共享种植'))}}
- </view>
- <view class="plant-area" v-if="item.productType == 4">面积:{{item.areaSize}}㎡</view>
- <view class="goods-price-number">
- <text class="goods-unit">¥</text>
- <text class="goods-price">{{item.bizPrice}}</text>
- <text class="goods-number">x{{item.buyNum}}</text>
- <text class="plant-text" v-if="item.productType == 4">有效期:{{item.term}}天</text>
- </view>
- </view>
- </view>
- </view>
- <view class="order-info">
- <u-cell-group :border="false">
- <u-cell-item title="商品金额" :value="'¥' + orderData.orderSum" :arrow="false" :border-bottom="false"></u-cell-item>
- <u-cell-item title="积分抵扣" :value="'-¥' + orderData.integralAmount" :arrow="false" :border-bottom="false" v-if="goodType == 1"></u-cell-item>
- <u-cell-item title="优惠券" :value="'-¥' + orderData.couponDiscountAmount" :arrow="false" :border-bottom="false" v-if="goodType == 1"></u-cell-item>
- <u-cell-item title="备注" :value="orderData.notes" :arrow="false" :border-bottom="false"></u-cell-item>
- </u-cell-group>
- </view>
- <view class="pay-info">
- <text class="pay-text">实付款</text>
- <text class="pay-price">¥{{orderData.paySum}}</text>
- </view>
- </view>
- <view class="order-info-box" @click="goToMessage()">
- <view class="info-title-box">
- <view class="info-title">留言板</view>
- <text class="iconfont iconfangxiang"></text>
- </view>
- <view class="info-content-box">
- <view class="message-row" v-for="(item, index1) in orderData.leas" :key="index1">
- <image class="message-head" :src="item.headImg" mode="aspectFill"></image>
- <view class="message-info-box">
- <view class="message-name">{{item.name}}</view>
- <view class="message-date">{{item.leaMsgTime}}</view>
- <view class="message-text">{{item.leaMsgContent}}</view>
- <!-- <view class="message-img-box" v-for="(site, index2) in item.orderLeaImgResVOs" :key="index2">
- <image class="message-img" :src="site.imgUrl" mode="aspectFill"></image>
- </view> -->
- </view>
- </view>
- </view>
- </view>
- <view class="order-info-box">
- <view class="info-title-box">
- <view class="info-title">订单信息</view>
- </view>
- <view class="info-content-box">
- <view class="order-info-row">订单编号:{{orderData.orderCode}}</view>
- <view class="order-info-row">创建时间:{{orderData.addOrderTime}}</view>
- <view class="order-info-row" v-if="orderData.orderStatus > 1 && orderData.orderStatus != 6">支付时间:{{orderData.payTime ? orderData.payTime : orderData.addOrderTime}}</view>
- <view class="order-info-row" v-if="orderData.orderStatus > 2 && orderData.orderStatus != 6 && orderData.orderStatus != 4">发货时间:{{orderData.sendTime ? orderData.sendTime : '-'}}</view>
- <view class="order-info-row" v-if="orderData.orderStatus > 3 && orderData.orderStatus != 6 && orderData.orderStatus != 4">收货时间:{{orderData.confirmTime ? orderData.sendTime : '-'}}</view>
- <view class="order-info-row" v-if="orderData.orderStatus == 6">取消时间:{{orderData.cancelTime}}</view>
- </view>
- </view>
- <view class="order-info-box" v-if="orderData.evaluateResVO.evaluateContent">
- <view class="info-title-box">
- <view class="info-title">评价信息</view>
- </view>
- <view class="info-content-box">
- <view class="assess-row">
- <image class="assess-head" mode="aspectFill" :src="orderData.merchantInfoResVO.headImg"></image>
- <view class="assess-info">
- <view class="assess-name">{{orderData.nickname}}</view>
- <view class="assess-date">{{orderData.evaluateResVO.evaluateTime ? orderData.evaluateResVO.evaluateTime : ''}}</view>
- <view class="assess-sore-box">
- <u-rate v-model="orderData.evaluateResVO.score" active-color="#FFAE21" disabled></u-rate>
- </view>
- <view class="assess-text">{{orderData.evaluateResVO.evaluateContent ? orderData.evaluateResVO.evaluateContent : '暂无评价'}}</view>
- <view class="assess-img-box">
- <image class="img-col" mode="aspectFill" :src="item.imgUrl" v-for="(item,i) in orderData.evaluateResVO.evaluateImgs" :key="i" @tap="_previewImage(item.imgUrl,i)"></image>
- </view>
- </view>
- <view class="shop-reply-box" v-if="orderData.evaluateResVO.replyContent">
- <view class="shop-head">
- <view class="iconfont icondianpu"></view>
- <view class="shop-name">店家回复</view>
- </view>
- <view class="shop-reply">{{orderData.evaluateResVO.replyContent}}</view>
- </view>
- </view>
- </view>
- </view>
- <!-- </view> -->
- <uni-goods-nav :fill="true" :options="[]" @click="" @buttonClick="orderHandle" class="order-handle" :buttonGroup="buttonGroup" />
- <u-modal v-model="modalShow" :content="modalContent" @confirm="submitHandle" :async-close="true" :show-cancel-button="true"></u-modal>
- <u-top-tips ref="uTips"></u-top-tips>
- <view class="uni-popup-dialog" :hidden="show_qx">
- <view class="uni-dialog-title">
- <text class="uni-dialog-title-text">提示</text>
- </view>
- <view class="uni-dialog-content">
- <text class="uni-dialog-content-text">请在设置中开启摄像头权限和麦克风权限</text>
- </view>
- <view class="uni-dialog-button-group">
- <button class="uni-dialog-button uni-border-left" open-type="openSetting" @click="closeSetting">
- 设置权限
- </button>
- </view>
-
- </view>
- <view class="qx_bg" :hidden="show_qx">
- </view>
- </view>
- </template>
- <script>
- const NET = require('@/utils/request')
- const API = require('@/config/api')
- export default {
- components: {},
- data() {
- return {
- show_qx:true,
- orderType: {
- title: '',
- text: '',
- },
- orderData: {
- orderId: '',
- addOrderTime: '',
- recName: '',
- recMobile: '',
- address: '',
- merchantInfoResVO: {
- supplierName: '',
- products: [],
- },
- orderSum: 0,
- integralAmount: 0,
- couponDiscountAmount: 0,
- notes: 'xxxxx',
- paySum: 0,
- leas: [],
- orderCode: '',
- payTime: '',
- sendTime: '',
- confirmTime: '',
- cancelTime: '',
- tenantCode: '',
- evaluateReplyStatus: 1,
- },
- goodType: 1,
- buttonGroup: [],
- modalShow: false,
- handleType: '',
- modalContent: '',
- }
- },
- onLoad(options) {
- this.userData = uni.getStorageSync("userData")
- NET.request(API.getOrderDetail, {
- flag: 1,
- orderId: options.orderId,
- orderStatus: options.orderStatus,
- }, 'GET').then(res => {
- this.orderData = res.data
- if (this.orderData.addOrderTime) {
- let tempTime = new Date(this.orderData.addOrderTime).getTime()
- let addTempTime = new Date(tempTime + 1000 * 60 * 60 * 24)
- let addYear = addTempTime.getFullYear()
- let addMonth = addTempTime.getMonth() + 1
- let addDay = addTempTime.getDate()
- let addHours = addTempTime.getHours()
- let addMin = addTempTime.getMinutes()
- let addSeconds = addTempTime.getSeconds()
- this.orderData.overTime = addYear + '年' + addMonth + '月' + addDay + '日' + addHours + ':' + addMin + ':' +
- addSeconds
- // this.orderData.tempTimeArr = this.orderData.addOrderTime.split(' ')
- // let tempDate = new Date(this.orderData.tempTimeArr[0].replace(/-/g, "/"))
- // this.orderData.overTime = new Date(tempDate.setDate(tempDate.getDate() + 1))
- }
- if (this.orderData.merchantInfoResVO.products.length && this.orderData.merchantInfoResVO.products[0].productType !=
- 2 && this.orderData.merchantInfoResVO.products[0].productType != 4) {
- this.goodType = 1
- } else {
- this.goodType = 2
- }
- switch (JSON.stringify(this.orderData.orderStatus)) {
- case '1':
- this.buttonGroup = [{
- text: '取消订单',
- backgroundColor: '#75BD60',
- color: '#fff'
- }, {
- text: '立即支付',
- backgroundColor: '#52A63A',
- color: '#fff'
- }]
- break;
- case '2':
- var someVaule = this.orderData.merchantInfoResVO.products.some(v => {
- Number(v.productType)
- return v.productType == 1
- })
- if (!someVaule) {
- if (this.orderData.merchantInfoResVO.products.every(v => {
- Number(v.productType)
- return v.productType == 3
- })) {
- this.buttonGroup = [{
- text: '申请售后',
- backgroundColor: '#75BD60',
- color: '#fff'
- }, {
- text: '自助采摘',
- backgroundColor: '#52A63A',
- color: '#fff'
- }]
- } else {
- this.buttonGroup = [{
- text: '申请售后',
- backgroundColor: '#75BD60',
- color: '#fff'
- }]
- }
- } else {
- this.buttonGroup = [{
- text: '申请售后',
- backgroundColor: '#75BD60',
- color: '#fff'
- }]
- }
- break;
- case '3':
- this.buttonGroup = [{
- text: '申请售后',
- backgroundColor: '#52A63A',
- color: '#fff'
- }, {
- text: '确认收货',
- backgroundColor: '#52A63A',
- color: '#fff'
- }, {
- text: '追踪物流',
- backgroundColor: '#52A63A',
- color: '#fff'
- }]
- break;
- case '4':
- if (this.orderData.merchantInfoResVO.products.every(v => {
- Number(v.productType)
- return v.productType == 4
- })) {
- this.buttonGroup = [{
- text: '申请售后',
- backgroundColor: '#75BD60',
- color: '#fff'
- }, {
- text: '我的种植',
- backgroundColor: '#52A63A',
- color: '#fff'
- }]
- } else {
- this.buttonGroup = [{
- text: '申请售后',
- backgroundColor: '#75BD60',
- color: '#fff'
- }]
- }
- break;
- default:
- this.buttonGroup = [{
- text: '申请售后',
- backgroundColor: '#52A63A',
- color: '#fff'
- }]
- }
- if (this.orderData.orderStatus == 4 && this.orderData.evaluateReplyStatus == 1) {
- if (this.orderData.orderType !=3 && this.orderData.orderType !=4)
- this.buttonGroup.push({
- text: '评价',
- backgroundColor: '#52A63A',
- color: '#fff'
- })
- }
- this.getOrderType()
- }).catch(error => {
- this.$refs.uTips.show({
- title: error.data.msg,
- type: 'warning',
- })
- })
- // this.getOrderType()
- },
- onShow() {},
- methods: {
- closeSetting:function(){
- this.show_qx=true;
- },
- // 获取订单类型
- getOrderType() {
- if (!this.orderData.auctionStatus) {
- switch (this.orderData.orderStatus) {
- case 1:
- this.orderType = {
- title: '等待买家付款',
- text: '订单将于' + this.orderData.overTime + '关闭',
- date: this.orderData.overTime
- }
- break;
- case 2:
- this.orderType = {
- title: '等待卖家发货',
- text: '您的商品正在打包等待发货',
- }
- break;
- case 3:
- this.orderType = {
- title: '等待商品送达',
- text: '您的商品已发出正在路上,请耐心等待',
- }
- break;
- case 4:
- this.orderType = {
- title: '商品已送达',
- text: '',
- }
- break;
- case 5:
- this.orderType = {
- title: '交易已完成',
- text: '',
- }
- break;
- default:
- this.orderType = {
- title: '交易已取消',
- text: '',
- }
- }
- } else {
- switch (this.orderData.auctionStatus) {
- case 1:
- this.orderType = {
- title: '竞拍中',
- text: '',
- }
- break;
- case 2:
- switch (this.orderData.orderStatus) {
- case 2:
- this.orderType = {
- title: '竞拍成功-等待卖家发货',
- text: '您的商品正在打包等待发货',
- }
- break;
- case 3:
- this.orderType = {
- title: '竞拍成功-等待商品送达',
- text: '您的商品已发出正在路上,请耐心等待',
- }
- break;
- case 4:
- this.orderType = {
- title: '竞拍成功-商品已送达',
- text: '',
- }
- break;
- case 5:
- this.orderType = {
- title: '竞拍成功-交易已完成',
- text: '',
- }
- break;
- }
- break;
- case 3:
- this.orderType = {
- title: '竞拍失败',
- text: '',
- }
- break;
- }
- }
- },
- // 操作
- orderHandle(e) {
- if (this.orderData.orderStatus == 1) {
- if (e.index == 0) {
- // 取消订单
- this.modalContent = '请确定是否取消订单'
- this.handleType = 1
- this.modalShow = true
- } else if (e.index == 1) {
- // 立即支付
- this.modalContent = '请确定是否立即支付'
- this.handleType = 2
- this.modalShow = true
- }
- } else {
- if (e.index == 0) {
- // 申请售后
- NET.request(API.applyService, {
- tenantCode: this.orderData.tenantCode
- }, 'GET').then(res => {
- uni.makePhoneCall({
- phoneNumber: res.data.contactTel
- });
- }).catch(error => {
- this.$refs.uTips.show({
- title: error.data.msg,
- type: 'warning',
- })
- })
- } else {
- if (this.orderData.orderStatus == 2) {
- var that=this;
- if(uni.getStorageSync("firstTimeLiveUser")==""){
- uni.setStorage({
- key: 'firstTimeLiveUser',
- data: 1
- })
- uni.navigateTo({
- url: '/pagesGood/pickVideo?orderId=' + that.orderData.orderId + '&tenantCode=' + that.orderData.tenantCode
- });
- }else{
- wx.getSetting({
- success(res) {
- /*if (!res.authSetting['scope.camera']){
- that.show_qx=false;
- }else*/
- if (!res.authSetting['scope.record']){
- that.show_qx=false;
- }else{
- uni.navigateTo({
- url: '/pagesGood/pickVideo?orderId=' + that.orderData.orderId + '&tenantCode=' + that.orderData.tenantCode
- });
- }
- }
- })
- }
-
- // 自助采摘
- } else if (this.orderData.orderStatus == 3) {
- if (e.index == 1) {
- // 确认收货
- this.modalContent = '请确定是否确认收货'
- this.handleType = 3
- this.modalShow = true
- } else {
- // 追踪物流
- uni.navigateTo({
- url: '/pagesMain/logisticsDeatil?logisticCode=' + this.orderData.logisticsNum
- });
- }
- } else if (this.orderData.orderStatus == 4) {
- if (e.index == 1) {
- // 去我的种植
- uni.navigateTo({
- url: '/pagesGood/goodDetails?minePlant=true&goodId=' + this.orderData.merchantInfoResVO.products[0].productId + '&orderId=' + this.orderData.orderId
- });
- }
- } else {
- // 评价
- uni.navigateTo({
- url: '/pagesMain/evaluateForm?orderId=' + this.orderData.orderId + '&tenantCode=' + this.orderData.tenantCode +
- '&productIds=' + this.orderData.merchantInfoResVO.products.map(site => {
- return site.productId
- }).join(',')
- });
- }
- }
- }
- },
- // 状态流转
- submitHandle() {
- if (this.handleType == 1) {
- // 取消订单
- NET.request(API.cancelOrder, {
- orderId: this.orderData.orderId
- }, 'GET').then(res => {
- this.modalShow = false
- this.$refs.uTips.show({
- title: '取消订单成功',
- type: 'success',
- })
- setTimeout(() => {
- uni.reLaunch({
- url: '/pagesMain/orderList?type=' + 1
- });
- }, 1000)
- }).catch(error => {
- this.modalShow = false
- this.$refs.uTips.show({
- title: error.data.msg,
- type: 'warning',
- })
- })
- } else if (this.handleType == 2) {
- // 立即支付
- NET.request(API.payOrder, {
- mid: uni.getStorageSync("userData").userId,
- orderCode: this.orderData.orderCode,
- orderId: this.orderData.orderId,
- }, 'POST').then(res => {
- this.modalShow = false
- uni.requestPayment({
- provider: 'wxpay',
- timeStamp: res.data.timeStamp,
- nonceStr: res.data.nonceStr,
- package: res.data.packageValue,
- signType: res.data.signType,
- paySign: res.data.paySign,
- success: (payRes) => {
- console.log('success:' + JSON.stringify(payRes));
- uni.navigateTo({
- url: '/pagesMain/paySuccess?orderId=' + this.orderData.orderId
- });
- },
- fail: (error) => {
- console.log('fail:' + JSON.stringify(error));
- this.$refs.uTips.show({
- title: '支付失败',
- type: 'warning',
- })
- }
- })
- }).catch(error => {
- this.modalShow = false
- this.$refs.uTips.show({
- title: error.data.msg,
- type: 'warning',
- })
- })
- // setTimeout(() => {
- // uni.reLaunch({
- // url: '/pagesMain/orderList?type=' + 3
- // });
- // }, 1000)
- } else if (this.handleType == 3) {
- // 确认收货
- NET.request(API.confirmOrder, {
- orderId: this.orderData.orderId
- }, 'GET').then(res => {
- this.modalShow = false
- this.$refs.uTips.show({
- title: '确认收货成功',
- type: 'success',
- })
- setTimeout(() => {
- uni.reLaunch({
- url: '/pagesMain/orderList?type=' + 5
- });
- }, 1000)
- }).catch(error => {
- this.modalShow = false
- this.$refs.uTips.show({
- title: error.data.msg,
- type: 'warning',
- })
- })
- }
- },
- // 跳转留言列表
- goToMessage() {
- uni.navigateTo({
- url: '/pagesMain/messageList?orderId=' + this.orderData.orderId + '&tenantCode=' + this.orderData.tenantCode
- });
- },
- // 跳转商铺
- gotoShop() {
- if (this.orderData.tenantCode != 'admin') {
- if (this.orderData.merchantInfoResVO.products.length) {
- uni.navigateTo({
- url: '/pagesGood/shopDetails?goodId=' + this.orderData.merchantInfoResVO.products[0].productId
- });
- }
- }
- },
- // 图片预览
- _previewImage(image,index) {
- var imgArr = [];
- imgArr.push(image);
- //预览图片
- uni.previewImage({
- urls: imgArr,
- current: imgArr[index]
- });
- }
- }
- }
- </script>
- <style>
- page {
- background-color: #f7f7f7;
- }
- </style>
- <style lang="less" scoped>
- page {
- width: 100%;
- height: 100%;
- }
- .container {
- width: 100%;
- height: 100%;
- float: left;
- background-color: #f7f7f7;
- // box-sizing: border-box;
- // padding-bottom: 50px;
- overflow-y: auto;
- .order-type-info {
- width: 100%;
- height: 115px;
- float: left;
- box-sizing: border-box;
- padding: 22px 100px 0 15px;
- background: #52A63A;
- border-radius: 0px 0px 20px 20px;
- background-size: 62px;
- background-position: calc(100% - 48px) 12px;
- background-repeat: no-repeat;
- background-image: url(@/static/images/orderDetail.png);
- .order-type-title {
- width: 100%;
- float: left;
- height: 20px;
- line-height: 20px;
- font-size: 15px;
- font-family: PingFang SC;
- color: #FFFFFF;
- margin-bottom: 4px;
- }
- .order-type-text {
- width: 100%;
- float: left;
- height: 20px;
- line-height: 20px;
- font-size: 12px;
- font-family: PingFang SC;
- color: #FFFFFF;
- }
- }
- .address-info-box {
- width: calc(100% - 30px);
- float: left;
- box-sizing: border-box;
- padding: 16px 18px 16px 16px;
- margin: -34px 15px 10px 15px;
- background: #FFFFFF;
- border-radius: 10px;
- .address-icon {
- width: 36px;
- height: 40px;
- float: left;
- align-items: center;
- display: flex;
- .iconfont {
- color: #52A63A;
- font-size: 36px;
- }
- }
- .address-content {
- width: calc(100% - 56px);
- height: 40px;
- float: left;
- margin: 0 8px 0 12px;
- .address-info {
- height: 20px;
- font-family: PingFang SC;
- line-height: 20px;
- overflow: hidden;
- text-overflow: ellipsis;
- white-space: nowrap;
- .address-name {
- font-size: 16px;
- color: #333333;
- margin-right: 14px;
- }
- .address-phone {
- font-size: 12px;
- color: #666666;
- }
- }
- .address-detail {
- height: 20px;
- font-size: 16px;
- font-family: PingFang SC;
- color: #333333;
- line-height: 20px;
- overflow: hidden;
- text-overflow: ellipsis;
- white-space: nowrap;
- }
- }
- }
- .goods-info-box {
- width: calc(100% - 30px);
- float: left;
- margin: 0 15px 10px 15px;
- background: #FFFFFF;
- border-radius: 10px;
- .shop-info {
- width: 100%;
- height: 48px;
- float: left;
- box-sizing: border-box;
- padding: 13px 15px 12px 15px;
- border-bottom: 1px solid #EEEEEE;
- line-height: 22px;
- .icondianpu {
- font-size: 22px;
- color: #333333;
- }
- .shop-name {
- font-size: 15px;
- font-family: PingFang SC;
- color: #333333;
- margin: 0 8px 0 10px;
- }
- .iconshangjia {
- font-size: 12px;
- color: #999999;
- }
- }
- .goods-list {
- width: 100%;
- float: left;
- box-sizing: border-box;
- padding: 10px 15px 0 15px;
- .goods-row {
- width: 100%;
- height: 90px;
- float: left;
- display: flex;
- margin-bottom: 10px;
- .goods-img {
- width: 90px;
- height: 90px;
- border-radius: 5px;
- object-fit: cover;
- }
- .goods-info {
- width: calc(100% - 106px);
- height: 90px;
- margin-left: 16px;
- .goods-name {
- width: 100%;
- height: 36px;
- float: left;
- font-size: 14px;
- font-family: PingFang SC;
- color: #333333;
- line-height: 18px;
- overflow: hidden;
- text-overflow: ellipsis;
- display: -webkit-box;
- -webkit-line-clamp: 2;
- -webkit-box-orient: vertical;
- word-wrap: break-word;
- }
- .goods-type {
- height: 20px;
- float: left;
- background: #F0F0F0;
- border-radius: 4px;
- padding: 0 8px;
- margin: 6px 0;
- font-size: 10px;
- font-family: PingFang SC;
- color: #666666;
- line-height: 20px;
- }
- .plant-area {
- height: 20px;
- float: right;
- margin: 6px 0;
- font-size: 12px;
- font-family: PingFang SC;
- color: #333333;
- }
- .goods-price-number {
- width: 100%;
- height: 20px;
- float: left;
- line-height: 20px;
- font-family: PingFang SC;
- color: #333333;
- .goods-unit {
- font-size: 12px;
- }
- .goods-price {
- font-size: 15px;
- margin-right: 6px;
- }
- .goods-number {
- font-size: 12px;
- }
- }
- .plant-text {
- float: right;
- font-size: 12px;
- font-family: PingFang SC;
- color: #333333;
- }
- }
- }
- }
- .order-info {
- width: 100%;
- float: left;
- /deep/.u-cell {
- padding: 6px 16px;
- }
- }
- .pay-info {
- width: 100%;
- height: 46px;
- float: left;
- box-sizing: border-box;
- border-top: 1px solid #EEEEEE;
- padding-right: 15px;
- line-height: 44px;
- font-family: PingFang SC;
- font-size: 14px;
- text-align: right;
- white-space: nowrap;
- .pay-text {
- float: left;
- color: #333333;
- margin-left: 15px;
- }
- .pay-price {
- color: #52A63A;
- }
- }
- }
- .order-info-box {
- width: calc(100% - 30px);
- float: left;
- margin: 0 15px 10px 15px;
- background: #FFFFFF;
- border-radius: 10px;
- .info-title-box {
- width: 100%;
- height: 48px;
- float: left;
- box-sizing: border-box;
- padding: 15px 15px 14px 15px;
- border-bottom: 1px solid #EEEEEE;
- line-height: 18px;
- white-space: nowrap;
- .info-title {
- height: 18px;
- float: left;
- font-size: 15px;
- font-family: PingFang SC;
- color: #333333;
- margin-right: 8px;
- padding-left: 10px;
- border-left: 2px solid #74BD60;
- }
- .iconfangxiang {
- float: right;
- font-size: 12px;
- color: #999999;
- }
- }
- .info-content-box {
- width: 100%;
- float: left;
- padding: 15px 0;
- .message-row {
- width: 100%;
- float: left;
- box-sizing: border-box;
- padding: 0 15px;
- margin-bottom: 15px;
- .message-head {
- width: 50px;
- height: 50px;
- object-fit: cover;
- float: left;
- border-radius: 50%;
- overflow: hidden;
- }
- .message-info-box {
- width: calc(100% - 75px);
- float: right;
- .message-name {
- width: 50%;
- height: 30px;
- float: left;
- font-size: 15px;
- font-family: PingFang SC;
- color: #333333;
- line-height: 30px;
- overflow: hidden;
- text-overflow: ellipsis;
- white-space: nowrap;
- }
- .message-date {
- width: 50%;
- height: 30px;
- float: left;
- font-size: 12px;
- font-family: PingFang SC;
- color: #666666;
- text-align: right;
- line-height: 30px;
- overflow: hidden;
- text-overflow: ellipsis;
- white-space: nowrap;
- }
- .message-text {
- width: 100%;
- height: 20px;
- float: left;
- font-size: 12px;
- font-family: PingFang SC;
- color: #666666;
- line-height: 20px;
- overflow: hidden;
- text-overflow: ellipsis;
- white-space: nowrap;
- }
- .message-img-box {
- width: 100%;
- float: left;
- .message-img {
- width: 76px;
- height: 76px;
- object-fit: cover;
- float: left;
- margin: 0 10px 10px 0;
- }
- }
- }
- }
- .message-row:last-child {
- margin-bottom: 0;
- }
- .order-info-row {
- width: 100%;
- float: left;
- box-sizing: border-box;
- padding: 0 15px;
- font-size: 12px;
- font-family: PingFang SC;
- color: #333333;
- line-height: 26px;
- word-break: break-all;
- }
- }
- .assess-row {
- width: calc(100% - 30px);
- margin: 0 15px;
- float: left;
- // border-top: 1px solid #F6F6F6;
- padding: 12px 0;
- .assess-head {
- width: 50px;
- height: 50px;
- float: left;
- object-fit: cover;
- border-radius: 50%;
- }
- .assess-info {
- width: calc(100% - 62px);
- margin-left: 12px;
- float: left;
- .assess-name {
- height: 18px;
- float: left;
- line-height: 18px;
- font-size: 15px;
- font-family: PingFang SC;
- font-weight: bold;
- color: #343434;
- }
- .assess-date {
- height: 18px;
- float: right;
- line-height: 18px;
- font-size: 12px;
- font-family: PingFang SC;
- font-weight: bold;
- color: #666666;
- }
- .assess-sore-box {
- width: 100%;
- height: 16px;
- float: left;
- margin: 6px 0;
- }
- .assess-text {
- width: 100%;
- float: left;
- font-size: 12px;
- font-family: PingFang SC;
- font-weight: bold;
- color: #666666;
- line-height: 16px;
- margin: 8px 0 10px 0;
- overflow: hidden;
- text-overflow: ellipsis;
- display: -webkit-box;
- -webkit-line-clamp: 2;
- -webkit-box-orient: vertical;
- word-wrap: break-word;
- }
- .assess-img-box {
- width: 100%;
- float: left;
- display: flex;
- .img-col {
- height: 60px;
- width: 60px;
- object-fit: cover;
- margin: 0 10px 10px 0;
- }
- }
- }
- .shop-reply-box {
- width: 100%;
- float: left;
- background: #F5F5F5;
- border-radius: 5px;
- margin-top: 10px;
- .shop-head {
- width: 100%;
- height: 36px;
- float: left;
- box-sizing: border-box;
- padding: 10px 12px;
- .icondianpu {
- width: 16px;
- height: 16px;
- float: left;
- color: #52A63A;
- font-size: 20px;
- margin-right: 8px;
- }
- .shop-name {
- height: 16px;
- float: left;
- font-size: 15px;
- font-family: PingFang SC;
- color: #52A63A;
- line-height: 16px;
- }
- }
- .shop-reply {
- width: 100%;
- float: left;
- box-sizing: border-box;
- padding: 0 12px 12px 12px;
- font-size: 12px;
- font-family: PingFang SC;
- color: #666666;
- line-height: 16px;
- }
- }
- }
- }
- .order-handle {
- width: 100%;
- height: 50px;
- float: left;
- border-top: 1px solid #cccccc;
- }
- }
- .uni-popup-dialog {
- width: 80vw;
- border-radius: 15px;
- background-color: #fff;
- position: fixed;
- margin-left: 10vw;
- top: 34vh;
- z-index: 1001;
- }
-
- .uni-dialog-title {
- /* #ifndef APP-NVUE */
- display: flex;
- /* #endif */
- flex-direction: row;
- justify-content: center;
- padding-top: 15px;
- padding-bottom: 5px;
- }
-
- .uni-dialog-title-text {
- font-size: 16px;
- font-weight: 500;
- }
-
- .uni-dialog-content {
- /* #ifndef APP-NVUE */
- display: flex;
- /* #endif */
- flex-direction: row;
- justify-content: center;
- align-items: center;
- padding: 5px 15px 15px 15px;
- text-align: center;
- }
-
- .uni-dialog-content-text {
- font-size: 14px;
- color: #6e6e6e;
- }
-
- .uni-dialog-button-group {
- /* #ifndef APP-NVUE */
- display: flex;
- /* #endif */
- flex-direction: row;
- border-top-color: #f5f5f5;
- border-top-style: solid;
- border-top-width: 1px;
- }
-
- .uni-dialog-button {
- /* #ifndef APP-NVUE */
- display: flex;
- /* #endif */
- background: rgba(0, 0, 0, 0);
- border: none;
- flex: 1;
- flex-direction: row;
- justify-content: center;
- align-items: center;
- height: 45px;
- }
-
- .uni-border-left {
- border-left-color: #f0f0f0;
- border-left-style: solid;
- border-left-width: 0px;
- }
-
- .uni-dialog-button-text {
- font-size: 14px;
- }
-
- .uni-button-color {
- color: #007aff;
- }
-
- .uni-dialog-input {
- flex: 1;
- font-size: 14px;
- }
-
- .uni-popup__success {
- color: #4cd964;
- }
-
- .uni-popup__warn {
- color: #f0ad4e;
- }
-
- .uni-popup__error {
- color: #dd524d;
- }
-
- .uni-popup__info {
- color: #909399;
- }
- .qx_bg{
- width: 100vw;
- height: 100vh;
- background: rgba(0, 0, 0, 0.25);
- position: fixed;
- top: 0px;
- left: 0px;
- z-index: 1000;
- }
- </style>
|