uu
This commit is contained in:
parent
70d450f800
commit
ee81d7f6c0
@ -85,14 +85,14 @@
|
|||||||
<u-row justify="end" custom-style="margin-top:20rpx;">
|
<u-row justify="end" custom-style="margin-top:20rpx;">
|
||||||
<view style="display: inline-block;white-space: nowrap;">
|
<view style="display: inline-block;white-space: nowrap;">
|
||||||
<u-row>
|
<u-row>
|
||||||
<u-button @click="goto(`warehousing/detail?id=${211}`)" shape="circle" type="primary" :plain="true"
|
<u-button @click="handleDealItem(item, { type: 4 })" shape="circle" type="primary" :plain="true"
|
||||||
custom-style="height: 54rpx;margin-left: 12rpx;">进仓确认</u-button>
|
custom-style="height: 54rpx;margin-left: 12rpx;">进仓确认</u-button>
|
||||||
<u-button @click="goto(`post/post?copyBillCode=${item.billCode}`)" shape="circle" type="primary"
|
<u-button @click="handleDealItem(item, { type: 2 })" shape="circle" type="primary"
|
||||||
custom-style="height: 54rpx;margin-left: 12rpx;">再来一单</u-button>
|
custom-style="height: 54rpx;margin-left: 12rpx;">再来一单</u-button>
|
||||||
<!-- <u-button shape="circle" type="primary" :plain="true" custom-style="height: 54rpx;margin-left: 16rpx;">单据</u-button> -->
|
<!-- <u-button shape="circle" type="primary" :plain="true" custom-style="height: 54rpx;margin-left: 16rpx;">单据</u-button> -->
|
||||||
<u-button @click="handleDealItem(item, { type: 3 })" shape="circle" type="primary"
|
<u-button @click="handleDealItem(item, { type: 3 })" shape="circle" type="primary"
|
||||||
:plain="true" custom-style="height: 54rpx;margin-left: 12rpx;">取消</u-button>
|
:plain="true" custom-style="height: 54rpx;margin-left: 12rpx;">取消</u-button>
|
||||||
<u-button @click="goto(`bill/detail?id=${222}`)" shape="circle" type="primary" :plain="true"
|
<u-button @click="handleDealItem(item, { type: 5 })" shape="circle" type="primary" :plain="true"
|
||||||
custom-style="height: 54rpx;margin-left: 12rpx;">去付款</u-button>
|
custom-style="height: 54rpx;margin-left: 12rpx;">去付款</u-button>
|
||||||
</u-row>
|
</u-row>
|
||||||
</view>
|
</view>
|
||||||
@ -187,11 +187,11 @@
|
|||||||
async handleDealItem(item, deal = { type: '1' }) {
|
async handleDealItem(item, deal = { type: '1' }) {
|
||||||
let itemQuery = `?billCode=${item.billCode || ''}&orderSn=${item.orderSn || ''}`
|
let itemQuery = `?billCode=${item.billCode || ''}&orderSn=${item.orderSn || ''}`
|
||||||
switch (deal.type){
|
switch (deal.type){
|
||||||
case 1: // 跳转
|
case 1: // 运单详情
|
||||||
this.goto(`post/detail${itemQuery}`)
|
this.goto(`post/detail${itemQuery}`)
|
||||||
break;
|
break;
|
||||||
case 2: // 复制订单号
|
case 2: // 再来一单
|
||||||
this.setClipboardData(item.billCode || item.orderSn)
|
this.goto(`post/post?copyBillCode=${item.billCode}`)
|
||||||
break;
|
break;
|
||||||
case 3: // 取消
|
case 3: // 取消
|
||||||
let canBl = await this.$refs.cancelRef.getConfirmResult()
|
let canBl = await this.$refs.cancelRef.getConfirmResult()
|
||||||
@ -202,8 +202,11 @@
|
|||||||
this.cancelModal.data = { }
|
this.cancelModal.data = { }
|
||||||
this.cancelModal.show = false
|
this.cancelModal.show = false
|
||||||
break;
|
break;
|
||||||
case 4: // 取消
|
case 4: // 进仓确认
|
||||||
await this.confirmModal('确认要取消吗?')
|
this.goto(`warehousing/detail${itemQuery}`)
|
||||||
|
break;
|
||||||
|
case 5: // 付款
|
||||||
|
this.goto(`bill/detail${itemQuery}`)
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
break;
|
break;
|
||||||
|
|||||||
@ -1,61 +1,64 @@
|
|||||||
<template>
|
<template>
|
||||||
|
<tpx-page>
|
||||||
<view style="position: relative;background-color: #fff;">
|
<view style="position: relative;background-color: #fff;">
|
||||||
<view class="customer_nav_bar">
|
<view class="customer_nav_bar">
|
||||||
<!-- 这里是状态栏 -->
|
<!-- 这里是状态栏 -->
|
||||||
</view>
|
</view>
|
||||||
<image class="hdbg" :src="getCdnUrl(`sdg/hdbg.png`)"/>
|
<image class="hdbg" :src="getCdnUrl(`sdg/hdbg.png`)"/>
|
||||||
<view class="pg-container">
|
<view class="pg-container">
|
||||||
<view class="header" >
|
<view class="header" >
|
||||||
<u-text size="40" :bold="true" text="探路物流 速运全球" color="#fff"></u-text>
|
<u-text size="40" :bold="true" text="探路物流 速运全球" color="#fff"></u-text>
|
||||||
<u-text margin="22rpx 0 0 0" size="24" :bold="true" text="省钱,省时,省力" color="#fff"></u-text>
|
<u-text margin="22rpx 0 0 0" size="24" :bold="true" text="省钱,省时,省力" color="#fff"></u-text>
|
||||||
<button class="btn-ljyy" type="primary">立即预约</button>
|
<button class="btn-ljyy" type="primary">立即预约</button>
|
||||||
<view class="btnlist1">
|
<view class="btnlist1">
|
||||||
<u-row>
|
<u-row>
|
||||||
<u-col v-for="(mbItem, mIndex) in mainBtnlist" span="6" align="center" @click="goto(mbItem.url)">
|
<u-col v-for="(mbItem, mIndex) in mainBtnlist" span="6" align="center" @click="goto(mbItem.url)">
|
||||||
<view :class="'mb-item ' + (mIndex+1 == mainBtnlist.length ?'noborder': '') ">
|
<view :class="'mb-item ' + (mIndex+1 == mainBtnlist.length ?'noborder': '') ">
|
||||||
<u-row align="center" justify="center">
|
<u-row align="center" justify="center">
|
||||||
<image class="tb1" style="width: 92rpx;height: 73rpx;" :src="mbItem.icon"/>
|
<image class="tb1" style="width: 92rpx;height: 73rpx;" :src="mbItem.icon"/>
|
||||||
<view class="neirong">
|
<view class="neirong">
|
||||||
<u-text size="32" :bold="true" color="#fff" :text="mbItem.title"></u-text>
|
<u-text size="32" :bold="true" color="#fff" :text="mbItem.title"></u-text>
|
||||||
<u-text size="22" margin="15rpx 0 0 0" color="#999" :text="mbItem.subTitle"></u-text>
|
<u-text size="22" margin="15rpx 0 0 0" color="#999" :text="mbItem.subTitle"></u-text>
|
||||||
</view>
|
</view>
|
||||||
</u-row>
|
</u-row>
|
||||||
</view>
|
</view>
|
||||||
</u-col>
|
</u-col>
|
||||||
|
</u-row>
|
||||||
|
</view>
|
||||||
|
</view>
|
||||||
|
|
||||||
|
<view class="pbody">
|
||||||
|
<view class="btnlist2">
|
||||||
|
<u-row gutter="20" custom-style="flex-wrap: wrap;">
|
||||||
|
<u-col v-for="tlItem in toolBtnlist" span="6" @click="handleToolItemClict(tlItem)">
|
||||||
|
<view style="margin: 0 0 20rpx 0;background: #F6F6F6;padding: 30rpx 28rpx;border-radius: 20rpx;position: relative;">
|
||||||
|
<u-row justify="between" >
|
||||||
|
<view class="neirong">
|
||||||
|
<u-text size="28" :bold="true" color="#0E0708" :text="tlItem.title"></u-text>
|
||||||
|
<u-text size="22" margin="15rpx 0 0 0" color="#999" :text="tlItem.subTitle"></u-text>
|
||||||
|
</view>
|
||||||
|
<image :src="tlItem.icon" style="height: 50rpx; width: 50rpx;" mode="aspectFit"/>
|
||||||
|
</u-row>
|
||||||
|
</view>
|
||||||
|
</u-col>
|
||||||
|
</u-row>
|
||||||
|
</view>
|
||||||
|
</view>
|
||||||
|
<view class="pfoot" >
|
||||||
|
<u-row justify="between">
|
||||||
|
<u-text size="24" color="#fff" text="关注探路者官方公众号,实时接收物流信息"></u-text>
|
||||||
|
<u-button type="primary" custom-style="width: 120rpx;border-radius: 30rpx;margin: 0;font-size: 26rpx;" size="mini">去登录</u-button>
|
||||||
</u-row>
|
</u-row>
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
|
|
||||||
<view class="pbody">
|
|
||||||
<view class="btnlist2">
|
|
||||||
<u-row gutter="20" custom-style="flex-wrap: wrap;">
|
|
||||||
<u-col v-for="tlItem in toolBtnlist" span="6" @click="handleToolItemClict(tlItem)">
|
|
||||||
<view style="margin: 0 0 20rpx 0;background: #F6F6F6;padding: 30rpx 28rpx;border-radius: 20rpx;position: relative;">
|
|
||||||
<u-row justify="between" >
|
|
||||||
<view class="neirong">
|
|
||||||
<u-text size="28" :bold="true" color="#0E0708" :text="tlItem.title"></u-text>
|
|
||||||
<u-text size="22" margin="15rpx 0 0 0" color="#999" :text="tlItem.subTitle"></u-text>
|
|
||||||
</view>
|
|
||||||
<image :src="tlItem.icon" style="height: 50rpx; width: 50rpx;" mode="aspectFit"/>
|
|
||||||
</u-row>
|
|
||||||
</view>
|
|
||||||
</u-col>
|
|
||||||
</u-row>
|
|
||||||
</view>
|
|
||||||
</view>
|
|
||||||
<view class="pfoot" >
|
|
||||||
<u-row justify="between">
|
|
||||||
<u-text size="24" color="#fff" text="关注探路者官方公众号,实时接收物流信息"></u-text>
|
|
||||||
<u-button type="primary" custom-style="width: 120rpx;border-radius: 30rpx;margin: 0;font-size: 26rpx;" size="mini">去登录</u-button>
|
|
||||||
</u-row>
|
|
||||||
</view>
|
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</tpx-page>
|
||||||
</template>
|
</template>
|
||||||
<script>
|
<script>
|
||||||
|
|
||||||
import getCdnUrl from "@/common/getCdnUrl"
|
import getCdnUrl from "@/common/getCdnUrl"
|
||||||
import { goto, scanCode } from "@/common/untool"
|
import { goto, scanCode } from "@/common/untool"
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
props: {
|
props: {
|
||||||
// hasLeftWin: {
|
// hasLeftWin: {
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user