自定义订单
This commit is contained in:
48
apis/interfaces/custom.js
Normal file
48
apis/interfaces/custom.js
Normal file
@@ -0,0 +1,48 @@
|
|||||||
|
|
||||||
|
/**
|
||||||
|
* Web -zdx
|
||||||
|
* moduleName: 线下业务订单类型
|
||||||
|
*/
|
||||||
|
|
||||||
|
import { request } from '../index'
|
||||||
|
|
||||||
|
// 获取业务类型
|
||||||
|
const customTypes = () =>{
|
||||||
|
return request({
|
||||||
|
url: "custom_type/index",
|
||||||
|
})
|
||||||
|
}
|
||||||
|
|
||||||
|
// 提交办理线下订单
|
||||||
|
const customTypeStore = (customType,data) => {
|
||||||
|
return request({
|
||||||
|
url : `custom_type/${customType}/store`,
|
||||||
|
method : "POST",
|
||||||
|
data
|
||||||
|
})
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
// 取消线下订单
|
||||||
|
const customTypeCancel = (orderId, data) => {
|
||||||
|
return request({
|
||||||
|
url : `custom_type/order/${orderId}/cancel`,
|
||||||
|
method : 'DELETE',
|
||||||
|
data
|
||||||
|
})
|
||||||
|
}
|
||||||
|
|
||||||
|
// 线下订单列表
|
||||||
|
const customTypelists = data => {
|
||||||
|
return request({
|
||||||
|
url : 'custom_type/order/lists',
|
||||||
|
data
|
||||||
|
})
|
||||||
|
}
|
||||||
|
|
||||||
|
export {
|
||||||
|
customTypes,
|
||||||
|
customTypeStore,
|
||||||
|
customTypeCancel,
|
||||||
|
customTypelists
|
||||||
|
}
|
||||||
15
pages.json
15
pages.json
@@ -889,6 +889,13 @@
|
|||||||
"navigationBarTitleText" : "账户咨询办理",
|
"navigationBarTitleText" : "账户咨询办理",
|
||||||
"enablePullDownRefresh" : false
|
"enablePullDownRefresh" : false
|
||||||
}
|
}
|
||||||
|
},{
|
||||||
|
"path" : "pages/management/account2",
|
||||||
|
"name" : "MagAccount2",
|
||||||
|
"style" : {
|
||||||
|
"navigationBarTitleText" : "线下账户咨询办理",
|
||||||
|
"enablePullDownRefresh" : false
|
||||||
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"path" : "pages/management/delegation",
|
"path" : "pages/management/delegation",
|
||||||
@@ -906,6 +913,14 @@
|
|||||||
"enablePullDownRefresh" : false,
|
"enablePullDownRefresh" : false,
|
||||||
"navigationBarBackgroundColor": "#FFFFFF"
|
"navigationBarBackgroundColor": "#FFFFFF"
|
||||||
}
|
}
|
||||||
|
},{
|
||||||
|
"path" : "pages/work/account2",
|
||||||
|
"name" : "AccountWork2",
|
||||||
|
"style" : {
|
||||||
|
"navigationBarTitleText" : " 线下订单",
|
||||||
|
"enablePullDownRefresh" : false,
|
||||||
|
"navigationBarBackgroundColor": "#FFFFFF"
|
||||||
|
}
|
||||||
},{
|
},{
|
||||||
"path" : "pages/work/delegation",
|
"path" : "pages/work/delegation",
|
||||||
"name" : "DelegationWork",
|
"name" : "DelegationWork",
|
||||||
|
|||||||
151
pages/management/account2.vue
Normal file
151
pages/management/account2.vue
Normal file
@@ -0,0 +1,151 @@
|
|||||||
|
<template>
|
||||||
|
<view class="from-content">
|
||||||
|
<view class="from-block" v-if="pickerArr.length > 0" >
|
||||||
|
<view class="from-block-item">
|
||||||
|
<label>办理业务</label>
|
||||||
|
<picker class="from-block-val" :range="pickerArr" :value="pickerIndex" range-key="title" @change="pickerIndex = $event.detail.value">
|
||||||
|
<view class="from-block-picker nowrap">{{pickerArr[pickerIndex].title}}
|
||||||
|
<u-icon class="from-block-picker-icon" name="arrow-down" color="#555" size="15"></u-icon>
|
||||||
|
</view>
|
||||||
|
</picker>
|
||||||
|
</view>
|
||||||
|
<view class="from-block-item">
|
||||||
|
<label>业务描述</label>
|
||||||
|
<view class="from-block-val">{{pickerArr[pickerIndex].subtitle}}</view>
|
||||||
|
</view>
|
||||||
|
<view class="from-block-item">
|
||||||
|
<label>服务费</label>
|
||||||
|
<input class="from-block-val from-block-input" type="number" placeholder="请输入客户服务费(元)" v-model="price" />
|
||||||
|
</view>
|
||||||
|
</view>
|
||||||
|
<view class="from-block">
|
||||||
|
<view class="from-block-item">
|
||||||
|
<label>客户姓名</label>
|
||||||
|
<input class="from-block-val from-block-input" placeholder="请输入客户姓名" v-model="name" />
|
||||||
|
</view>
|
||||||
|
<view class="from-block-item">
|
||||||
|
<label>手机号码</label>
|
||||||
|
<input class="from-block-val from-block-input" type="number" placeholder="请输入客户手机号码" v-model="phone" />
|
||||||
|
</view>
|
||||||
|
</view>
|
||||||
|
<button class="from-btn" @click="onSubmit">提交办理</button>
|
||||||
|
</view>
|
||||||
|
</template>
|
||||||
|
|
||||||
|
<script>
|
||||||
|
import { customTypes,customTypeStore } from '@/apis/interfaces/custom.js'
|
||||||
|
export default {
|
||||||
|
data() {
|
||||||
|
return {
|
||||||
|
pickerArr : [],
|
||||||
|
pickerIndex : 0,
|
||||||
|
name : '',
|
||||||
|
phone : '',
|
||||||
|
price : ''
|
||||||
|
};
|
||||||
|
},
|
||||||
|
onLoad() {
|
||||||
|
uni.showLoading({
|
||||||
|
title: '加载中...',
|
||||||
|
mask : true
|
||||||
|
})
|
||||||
|
customTypes().then(res => {
|
||||||
|
console.log(res)
|
||||||
|
uni.hideLoading()
|
||||||
|
this.pickerArr = res;
|
||||||
|
}).catch(err => {
|
||||||
|
uni.showToast({
|
||||||
|
title: err.message,
|
||||||
|
icon : 'none'
|
||||||
|
})
|
||||||
|
})
|
||||||
|
},
|
||||||
|
methods: {
|
||||||
|
// 提交表单
|
||||||
|
onSubmit(){
|
||||||
|
let { name, phone, pickerArr, pickerIndex,price} = this
|
||||||
|
|
||||||
|
if(price === ''){
|
||||||
|
uni.showToast({
|
||||||
|
title: '请输入服务费金额',
|
||||||
|
icon : 'none'
|
||||||
|
})
|
||||||
|
return
|
||||||
|
}
|
||||||
|
if(name === ''){
|
||||||
|
uni.showToast({
|
||||||
|
title: '请输入客户姓名',
|
||||||
|
icon : 'none'
|
||||||
|
})
|
||||||
|
return
|
||||||
|
}
|
||||||
|
if(phone === ''){
|
||||||
|
uni.showToast({
|
||||||
|
title: '请输入客户手机号码',
|
||||||
|
icon : 'none'
|
||||||
|
})
|
||||||
|
return
|
||||||
|
}
|
||||||
|
uni.showLoading({
|
||||||
|
title: "提交中...",
|
||||||
|
mask : true
|
||||||
|
})
|
||||||
|
let params = {
|
||||||
|
name : name,
|
||||||
|
mobile : phone,
|
||||||
|
price : price
|
||||||
|
}
|
||||||
|
customTypeStore(pickerArr[pickerIndex].id,params).then(res => {
|
||||||
|
let { order_type, order_id, order_no } = res;
|
||||||
|
this.$Router.replace({
|
||||||
|
name : 'Pay',
|
||||||
|
params : {
|
||||||
|
paytype : 'synthesize',
|
||||||
|
orderId : order_id,
|
||||||
|
orderType : order_type.replace(/\\/g, '-')
|
||||||
|
},
|
||||||
|
})
|
||||||
|
}).catch(err => {
|
||||||
|
uni.showToast({
|
||||||
|
title: err.message,
|
||||||
|
icon : 'none',
|
||||||
|
mask:true,
|
||||||
|
duration:3000
|
||||||
|
})
|
||||||
|
})
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
</script>
|
||||||
|
|
||||||
|
<style lang="scss">
|
||||||
|
.from-content{
|
||||||
|
min-height: 100vh;
|
||||||
|
padding: 30rpx;
|
||||||
|
background: #f7f8f9;
|
||||||
|
}
|
||||||
|
.from-block{
|
||||||
|
background: white;
|
||||||
|
border-radius: 20rpx;
|
||||||
|
margin-bottom: 30rpx;
|
||||||
|
padding: 0 30rpx;
|
||||||
|
}
|
||||||
|
.from-block-item{
|
||||||
|
min-height: 70rpx;
|
||||||
|
display: flex;
|
||||||
|
font-size: 32rpx;
|
||||||
|
border-bottom: solid 1rpx #f3f3f3;
|
||||||
|
padding: 15rpx 0;
|
||||||
|
&:last-child{ border: none; }
|
||||||
|
label{ width: 200rpx; line-height: 70rpx; }
|
||||||
|
.from-block-val{ width: calc(100% - 200rpx); text-align: right; line-height: 70rpx;
|
||||||
|
&.price{ color: $main-color; font-weight: bold; }
|
||||||
|
}
|
||||||
|
.from-block-input{ height: 70rpx; font-size: 32rpx; }
|
||||||
|
.from-block-picker{ padding-right: 50rpx; position: relative; }
|
||||||
|
.from-block-picker-icon{ position: absolute; right: 0; top: 50%; margin-top: -15rpx; }
|
||||||
|
}
|
||||||
|
.from-btn{ width: 100%; background-color: $main-color; color: white; line-height: 95rpx; height: 95rpx; border-radius: 45rpx; font-size: 32rpx; font-weight: bold;
|
||||||
|
&::after{ display: none; }
|
||||||
|
}
|
||||||
|
</style>
|
||||||
320
pages/work/account2.vue
Normal file
320
pages/work/account2.vue
Normal file
@@ -0,0 +1,320 @@
|
|||||||
|
<template>
|
||||||
|
<view class="content">
|
||||||
|
<!-- tabs -->
|
||||||
|
<u-sticky bgColor="#FFF" zIndex="9" >
|
||||||
|
<u-tabs
|
||||||
|
:current="tabsCurrent"
|
||||||
|
:list="tabs"
|
||||||
|
keyName="value"
|
||||||
|
lineColor="#446EFE"
|
||||||
|
:scrollable="tabs.length > 5"
|
||||||
|
:activeStyle="{
|
||||||
|
color: '#111',
|
||||||
|
fontWeight: 'bold',
|
||||||
|
fontSize: '32rpx'
|
||||||
|
}"
|
||||||
|
:inactiveStyle="{
|
||||||
|
color: '#606266',
|
||||||
|
fontSize: '30rpx'
|
||||||
|
}"
|
||||||
|
@click="onTabs"
|
||||||
|
></u-tabs>
|
||||||
|
</u-sticky>
|
||||||
|
<!-- 订单列表 -->
|
||||||
|
<view class="orders" v-if="orders.length > 0">
|
||||||
|
<view class="orders-item" v-for="(item, index) in orders" :key="index">
|
||||||
|
<view class="orders-flex">
|
||||||
|
<view class="no nowrap" @click="copyNo(item.order_no)">
|
||||||
|
{{item.order_no}}
|
||||||
|
</view>
|
||||||
|
<view class="state">{{item.status.text}}</view>
|
||||||
|
</view>
|
||||||
|
<view class="orders-content">
|
||||||
|
<view class="orders-content-item">
|
||||||
|
<label>业务名称</label>
|
||||||
|
<view class="nowrap">{{item.item.title}}</view>
|
||||||
|
</view>
|
||||||
|
<view class="orders-content-item">
|
||||||
|
<label>客户姓名</label>
|
||||||
|
<view class="nowrap">{{item.name}}</view>
|
||||||
|
</view>
|
||||||
|
<view class="orders-content-item">
|
||||||
|
<label>手机号码</label>
|
||||||
|
<view class="nowrap">{{item.mobile}}</view>
|
||||||
|
</view>
|
||||||
|
<view class="orders-content-item">
|
||||||
|
<label>创建时间</label>
|
||||||
|
<view class="nowrap">{{item.created_at}}</view>
|
||||||
|
</view>
|
||||||
|
<view class="orders-content-item" v-if="item.paid_at != ''">
|
||||||
|
<label>支付时间</label>
|
||||||
|
<view class="nowrap">{{item.paid_at}}</view>
|
||||||
|
</view>
|
||||||
|
</view>
|
||||||
|
<view class="orders-flex">
|
||||||
|
<view class="price">¥{{item.price}}</view>
|
||||||
|
<view class="btns">
|
||||||
|
<view class="btns-item border" v-if="item.can.cancel" @click="onCancel(item)">取消订单</view>
|
||||||
|
<view class="btns-item" v-if="item.can.pay" @click="onPay(item)">立即支付</view>
|
||||||
|
</view>
|
||||||
|
</view>
|
||||||
|
</view>
|
||||||
|
<!-- 分页 -->
|
||||||
|
<u-loadmore v-if="pagesShow" :status="status" />
|
||||||
|
</view>
|
||||||
|
<!-- 订单是空的 -->
|
||||||
|
<view class="order-null" v-else>
|
||||||
|
<u-empty
|
||||||
|
mode="order"
|
||||||
|
icon="http://cdn.uviewui.com/uview/empty/order.png"
|
||||||
|
text="暂无相关订单"
|
||||||
|
>
|
||||||
|
</u-empty>
|
||||||
|
</view>
|
||||||
|
</view>
|
||||||
|
</template>
|
||||||
|
|
||||||
|
<script>
|
||||||
|
import { customTypelists, customTypeCancel } from '@/apis/interfaces/custom.js'
|
||||||
|
export default {
|
||||||
|
data() {
|
||||||
|
return {
|
||||||
|
tabs : [{ id: '', value: '全部' }],
|
||||||
|
tabsCurrent : 0,
|
||||||
|
tabsId : '',
|
||||||
|
orders : [],
|
||||||
|
pagesShow : false,
|
||||||
|
page : {
|
||||||
|
current : 1,
|
||||||
|
has_more: false,
|
||||||
|
},
|
||||||
|
status : ''
|
||||||
|
};
|
||||||
|
},
|
||||||
|
onShow() {
|
||||||
|
this.getOrder()
|
||||||
|
},
|
||||||
|
methods: {
|
||||||
|
// 筛选分类
|
||||||
|
onTabs(e){
|
||||||
|
let { id, index } = e;
|
||||||
|
this.tabsCurrent = index
|
||||||
|
this.tabsId = id
|
||||||
|
this.page = { current: 1, has_more: false }
|
||||||
|
this.getOrder()
|
||||||
|
},
|
||||||
|
// 获取订单列表
|
||||||
|
getOrder(){
|
||||||
|
let { tabsId, tabs, orders, page } = this
|
||||||
|
customTypelists({
|
||||||
|
manager: 1,
|
||||||
|
status : tabsId,
|
||||||
|
page : page.current
|
||||||
|
}).then(res => {
|
||||||
|
console.log(res)
|
||||||
|
let { status, lists } = res;
|
||||||
|
this.tabs = [{ id: '', value: '全部' }].concat(status)
|
||||||
|
this.orders = lists.page.current == 1 ? lists.data : this.orders.concat(lists.data)
|
||||||
|
this.page = lists.page
|
||||||
|
this.pagesShow = false
|
||||||
|
}).catch(err => {
|
||||||
|
uni.showToast({
|
||||||
|
title: err.message,
|
||||||
|
icon : 'none'
|
||||||
|
})
|
||||||
|
})
|
||||||
|
},
|
||||||
|
// 取消订单
|
||||||
|
onCancel(e){
|
||||||
|
let { order_id } = e;
|
||||||
|
uni.showModal({
|
||||||
|
title : "提示",
|
||||||
|
content : "确认取消当前订单嘛?",
|
||||||
|
cancelText : "取消",
|
||||||
|
confirmColor: "#446EFE",
|
||||||
|
success : modalRes => {
|
||||||
|
if(modalRes.confirm){
|
||||||
|
uni.showLoading({
|
||||||
|
title: "加载中...",
|
||||||
|
mask : true
|
||||||
|
})
|
||||||
|
customTypeCancel(order_id).then(res => {
|
||||||
|
uni.showToast({
|
||||||
|
title: '订单已取消',
|
||||||
|
icon : 'none'
|
||||||
|
})
|
||||||
|
this.page = { current: 1, has_more: false }
|
||||||
|
this.getOrder()
|
||||||
|
}).catch(err => {
|
||||||
|
console.log(err)
|
||||||
|
uni.showToast({
|
||||||
|
title: err.message,
|
||||||
|
icon : 'none'
|
||||||
|
})
|
||||||
|
})
|
||||||
|
}
|
||||||
|
}
|
||||||
|
})
|
||||||
|
},
|
||||||
|
// 复制订单号码
|
||||||
|
copyNo(no){
|
||||||
|
uni.setClipboardData({
|
||||||
|
data : no,
|
||||||
|
success : res => {
|
||||||
|
uni.showToast({
|
||||||
|
title: '订单号已复制',
|
||||||
|
icon : 'none'
|
||||||
|
})
|
||||||
|
}
|
||||||
|
})
|
||||||
|
},
|
||||||
|
// 去支付
|
||||||
|
onPay(obj){
|
||||||
|
let { order_id, order_type, paid_at } = obj
|
||||||
|
if(paid_at == ''){
|
||||||
|
this.$Router.push({
|
||||||
|
name : 'Pay',
|
||||||
|
params : {
|
||||||
|
paytype : 'synthesize',
|
||||||
|
orderId : order_id,
|
||||||
|
orderType : order_type.replace(/\\/g, '-')
|
||||||
|
},
|
||||||
|
})
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
onReachBottom() {
|
||||||
|
this.pagesShow = true;
|
||||||
|
if(this.page.has_more){
|
||||||
|
this.status = 'loading';
|
||||||
|
this.page.current++
|
||||||
|
this.getOrder()
|
||||||
|
return
|
||||||
|
}
|
||||||
|
this.status = 'nomore';
|
||||||
|
}
|
||||||
|
}
|
||||||
|
</script>
|
||||||
|
|
||||||
|
<style lang="scss">
|
||||||
|
// 订单列表
|
||||||
|
.orders{
|
||||||
|
padding: 30rpx 0 10rpx;
|
||||||
|
.orders-item{
|
||||||
|
margin: 0 30rpx 20rpx;
|
||||||
|
background-color: white;
|
||||||
|
border-radius: $radius;
|
||||||
|
}
|
||||||
|
.orders-content{
|
||||||
|
padding: 20rpx 30rpx;
|
||||||
|
&-item{
|
||||||
|
line-height: 70rpx;
|
||||||
|
display: flex;
|
||||||
|
justify-content: space-between;
|
||||||
|
font-size: 30rpx;
|
||||||
|
color: #111111;
|
||||||
|
label{
|
||||||
|
color: #999999;
|
||||||
|
}
|
||||||
|
.orders-content-btn{
|
||||||
|
color: $main-color;
|
||||||
|
}
|
||||||
|
&.orders-content-bottom{
|
||||||
|
padding-right: 40rpx;
|
||||||
|
position: relative;
|
||||||
|
.orders-content-icon{
|
||||||
|
position: absolute;
|
||||||
|
right: 0;
|
||||||
|
top: 0;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
&-type{
|
||||||
|
text{
|
||||||
|
margin-right: 30rpx;
|
||||||
|
position: relative;
|
||||||
|
display: inline-block;
|
||||||
|
&::after{
|
||||||
|
position: absolute;
|
||||||
|
content: "/";
|
||||||
|
width: 30rpx;
|
||||||
|
text-align: center;
|
||||||
|
font-size: 30rpx;
|
||||||
|
top: 0;
|
||||||
|
right: -30rpx;
|
||||||
|
}
|
||||||
|
&:last-child{
|
||||||
|
margin-right: 0;
|
||||||
|
&::after{
|
||||||
|
display: none;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
&-block{
|
||||||
|
background: rgba(68, 110, 254, .03);
|
||||||
|
padding: 20rpx;
|
||||||
|
font-size: 28rpx;
|
||||||
|
border-radius: 10rpx;
|
||||||
|
margin: 10rpx 0;
|
||||||
|
.item-flex{
|
||||||
|
display: flex;
|
||||||
|
justify-content: space-between;
|
||||||
|
line-height: 50rpx;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
.orders-flex{
|
||||||
|
border-bottom: solid 1rpx #F6F6F6;
|
||||||
|
display: flex;
|
||||||
|
justify-content: space-between;
|
||||||
|
align-items: center;
|
||||||
|
padding: 20rpx $padding;
|
||||||
|
&:last-child{
|
||||||
|
border-top: solid 1rpx #F6F6F6;
|
||||||
|
border-bottom: none;
|
||||||
|
}
|
||||||
|
.no{
|
||||||
|
font-size: 30rpx;
|
||||||
|
color: #111;
|
||||||
|
line-height: 60rpx;
|
||||||
|
width: calc(100% - 150rpx);
|
||||||
|
}
|
||||||
|
.state{
|
||||||
|
color: $main-color;
|
||||||
|
font-weight: bold;
|
||||||
|
font-size: 30rpx;
|
||||||
|
line-height: 60rpx;
|
||||||
|
width: 150rpx;
|
||||||
|
text-align: right;
|
||||||
|
}
|
||||||
|
.price{
|
||||||
|
font-weight: bold;
|
||||||
|
color: $main-color;
|
||||||
|
}
|
||||||
|
.btns{
|
||||||
|
width: 400rpx;
|
||||||
|
text-align: right;
|
||||||
|
.btns-item{
|
||||||
|
display: inline-block;
|
||||||
|
height: 70rpx;
|
||||||
|
line-height: 70rpx;
|
||||||
|
background: $main-color;
|
||||||
|
color: white;
|
||||||
|
border-radius: 35rpx;
|
||||||
|
padding: 0 30rpx;
|
||||||
|
font-size: 30rpx;
|
||||||
|
&.border{
|
||||||
|
border: solid 1rpx $main-color;
|
||||||
|
color: $main-color;
|
||||||
|
background: white;
|
||||||
|
height: 68rpx;
|
||||||
|
line-height: 68rpx;
|
||||||
|
&::after{ display: none;}
|
||||||
|
}
|
||||||
|
&:last-child{ margin-left: 30rpx; }
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
</style>
|
||||||
@@ -64,7 +64,6 @@
|
|||||||
</u-popup>
|
</u-popup>
|
||||||
</block>
|
</block>
|
||||||
<!-- 管理中台 -->
|
<!-- 管理中台 -->
|
||||||
<!-- <block v-else> -->
|
|
||||||
<view class="flex">
|
<view class="flex">
|
||||||
<view class="flex-item" @click="onNav('ConsultWork')">
|
<view class="flex-item" @click="onNav('ConsultWork')">
|
||||||
<image class="flex-icon" src="/static/icons/icon_00.png" mode="aspectFill"></image>
|
<image class="flex-icon" src="/static/icons/icon_00.png" mode="aspectFill"></image>
|
||||||
@@ -116,8 +115,15 @@
|
|||||||
</view>
|
</view>
|
||||||
<view class="flex-btn">去查看</view>
|
<view class="flex-btn">去查看</view>
|
||||||
</view>
|
</view>
|
||||||
|
<view class="flex-item" @click="onNav('AccountWork2')">
|
||||||
|
<image class="flex-icon" src="/static/icons/icon_04.png" mode="aspectFill"></image>
|
||||||
|
<view class="flex-title">
|
||||||
|
<view class="flex-name">线下订单</view>
|
||||||
|
<view class="flex-tips">线下咨询类订单</view>
|
||||||
|
</view>
|
||||||
|
<view class="flex-btn">去查看</view>
|
||||||
|
</view>
|
||||||
</view>
|
</view>
|
||||||
<!-- </block> -->
|
|
||||||
</view>
|
</view>
|
||||||
<!-- 未登录 -->
|
<!-- 未登录 -->
|
||||||
<view v-else class="auth-null">
|
<view v-else class="auth-null">
|
||||||
@@ -255,7 +261,7 @@
|
|||||||
success : res => {
|
success : res => {
|
||||||
switch (res.tapIndex){
|
switch (res.tapIndex){
|
||||||
case 0:
|
case 0:
|
||||||
this.onNav('OfflineCreate')
|
this.onNav('MagAccount2')
|
||||||
break;
|
break;
|
||||||
case 1:
|
case 1:
|
||||||
this.onNav('OrderCreate', { type: 'self' })
|
this.onNav('OrderCreate', { type: 'self' })
|
||||||
|
|||||||
BIN
static/.DS_Store
vendored
Normal file
BIN
static/.DS_Store
vendored
Normal file
Binary file not shown.
BIN
static/icons/icon_04.png
Normal file
BIN
static/icons/icon_04.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 5.8 KiB |
Reference in New Issue
Block a user