Commit 1dbd3309 by 张立顺

Merge branch 'dev_v4.31.0_1031' of http://192.168.3.233:8090/saas_plus/dj-car-bo…

…utique-work-wechat into dev_v4.31.0_1031
2 parents 0187a8e0 c057b604
Showing 214 changed files with 771 additions and 456 deletions
......@@ -109,7 +109,7 @@ App({
content: context || '登录过期,请重新登录。',
showCancel: false,
confirmText: '去登录',
confirmColor: '#3582EE',
confirmColor: '#347BFF',
success(res) {
if (res.confirm) {
that.globalData.yqdInfo = {}
......
......@@ -22,7 +22,7 @@
},
"tabBar": {
"color": "#757980",
"selectedColor": "#3582EE",
"selectedColor": "#347BFF",
"backgroundColor": "#FFFFFF",
"position": "bottom",
"list": [
......@@ -79,7 +79,9 @@
"pages/createArchives/createArchives",
"pages/orderSignature/orderSignature",
"pages/fullSignture/fullSignture",
"pages/ocr/ocr"
"pages/ocr/ocr",
"pages/premiumUpgrade/premiumUpgrade",
"pages/defeatOrder/defeatOrder"
]
},
{
......@@ -161,7 +163,8 @@
"van-popup": "@vant/weapp/popup/index",
"van-dialog": "@vant/weapp/dialog/index",
"van-uploader": "@vant/weapp/uploader/index",
"glsx-privacy": "glsx-applet-component/GlsxPrivacy/index"
"glsx-privacy": "glsx-applet-component/GlsxPrivacy/index",
"empty-data": "/components/EmptyData/EmptyData"
},
"preloadRule": {
"pages/tabWorkOrder/pages/index/index": {
......
......@@ -9,17 +9,17 @@ Component({
type: Boolean,
observer: function(n) {
if (n) {
let { copyArtificerList, orderInfo } = this.data
let { copyArtificerList, artificerSelectObj } = this.data
copyArtificerList.map(i => {
i.active = false
if (i.id == orderInfo?.technicianId) {
if (i.id == artificerSelectObj?.technicianId) {
i.active = true
}
return i
})
this.setData({
artificerList: copyArtificerList,
selectedTechnicianId: orderInfo?.technicianId,
selectedTechnicianId: artificerSelectObj?.technicianId,
searchValue: ''
})
}
......@@ -27,6 +27,7 @@ Component({
},
title: String,
orderInfo: Object,
artificerSelectObj: Object,
copyArtificerList: Array
},
......@@ -100,16 +101,28 @@ Component({
artificerSelectPopup: false
})
},
// 打开生意助手小程序
goMiniprogram() {
wx.navigateToMiniProgram({
appId: 'wx2c28337db96364d2'
})
},
async confirm() {
let { copyArtificerList, orderInfo } = this.data
let { copyArtificerList, orderInfo, artificerSelectObj } = this.data
let arr = copyArtificerList?.filter(v => v.active) || []
if (!arr.length) {
return wx.$util.showToast('请选择技师')
}
orderInfo.technicianUuid = arr[0]?.uuid || ''
orderInfo.technicianId = arr[0]?.id || ''
orderInfo.technicianName = arr[0]?.staffName || ''
this.triggerEvent('confirm', orderInfo)
let obj = {
...artificerSelectObj,
technicianUuid: arr[0]?.uuid || '',
technicianId: arr[0]?.id || '',
technicianName: arr[0]?.staffName || ''
}
// orderInfo.technicianUuid = arr[0]?.uuid || ''
// orderInfo.technicianId = arr[0]?.id || ''
// orderInfo.technicianName = arr[0]?.staffName || ''
this.triggerEvent('confirm', obj)
}
}
})
......@@ -4,7 +4,10 @@
<view class="sub-title text-center">{{title}}</view>
<view class="artificer-box">
<search-input bindsearch="search" value="{{searchValue}}" />
<view class="box-title">技师</view>
<view class="box-title">
<view>技师</view>
<view class="tips">使用<text bind:tap="goMiniprogram">生意助手小程序</text>登录创建技师</view>
</view>
<scroll-view scroll-y style="height: calc(100% - 194rpx);" enhanced="{{true}}" show-scrollbar="{{false}}">
<block wx:for="{{artificerList}}" wx:key="index">
<view class="artificerList {{item.active?'active':''}}" bindtap="changeItem" data-target="{{item}}" data-index="{{index}}">
......
......@@ -39,6 +39,16 @@
font-size: 32rpx;
height: 88rpx;
line-height: 88rpx;
display: flex;
align-items: center;
justify-content: space-between;
}
.box-title .tips{
color: #333333;
font-size: 24rpx;
}
.box-title .tips text{
color: #347BFF;
}
.artificerList {
width: calc(100% - 50rpx);
......@@ -64,7 +74,7 @@
line-height: 98rpx;
}
.artificerList.active {
color: #3582EE;
color: #347BFF;
font-weight: 700;
position: relative;
}
......@@ -265,21 +265,21 @@ flex-wrap: wrap; */
}
.monItem.select {
color: #3582EE;
/* background: #3582EE;
color: #347BFF;
/* background: #347BFF;
opacity: 0.1; */
background-color: rgba(53, 130, 238, .1);
}
.monItem.active {
color: #fff;
background: #3582EE;
background: #347BFF;
border-radius: 8px 0px 0px 8px;
}
.monItem.end {
color: #fff;
background: #3582EE;
background: #347BFF;
border-radius: 0px 8px 8px 0px;
}
......
......@@ -265,22 +265,22 @@ flex-wrap: wrap; */
}
.monItem.select {
color: #3582EE;
/* background: #3582EE;
color: #347BFF;
/* background: #347BFF;
opacity: 0.1; */
background-color: rgba(53, 130, 238, .1);
}
.monItem.active {
color: #fff;
background: #3582EE;
background: #347BFF;
/* border-radius: 8px 0px 0px 8px; */
border-radius: 8px ;
}
.monItem.end {
color: #fff;
background: #3582EE;
background: #347BFF;
border-radius: 0px 8px 8px 0px;
}
......
......@@ -362,6 +362,7 @@ Component({
this.setData({
show: false
})
this.triggerEvent('confirm', chooseItem)
},
start(e) {
let { letter } = e.target.dataset
......
......@@ -43,13 +43,13 @@
}
.child.active {
color: #3582ee;
color: #347BFF;
}
.child.title {
color: #282829;
padding-left: 64rpx;
/* color: #3582ee; */
/* color: #347BFF; */
}
.child .icon {
......
......@@ -55,7 +55,7 @@
<view class="list-box">
<block wx:for="{{form.timeList.data}}" wx:key="index">
<block wx:if="{{item.type}}">
<calendar allowSameDay shortcut bindselect='rangeSelect' data-index="{{index}}" rangeAll dateType='range' calenderColor='#3582EE'
<calendar allowSameDay shortcut bindselect='rangeSelect' data-index="{{index}}" rangeAll dateType='range' calenderColor='#347BFF'
vertical minDate="2020-10-01" maxDate="{{maxDate}}" isComponents>
<view class="item text-center {{item.active?'active':''}}">{{item.name}}</view>
</calendar>
......@@ -111,7 +111,7 @@
<block wx:if="{{item.type}}">
<view class="calendar">
<calendar allowSameDay shortcut bindselect='rangeSelect' data-index="{{index}}" rangeAll dateType='range'
calenderColor='#3582EE' vertical minDate="{{minDate}}" maxDate="{{maxDate}}" isComponents>
calenderColor='#347BFF' vertical minDate="{{minDate}}" maxDate="{{maxDate}}" isComponents>
<view class="item text-center {{item.active?'active':''}}">{{item.name}}</view>
</calendar>
</view>
......
......@@ -69,7 +69,7 @@
font-size: 20rpx;
font-weight: normal;
text-align: right;
color: #3582EE;
color: #347BFF;
}
.box .picker-box .arrow {
......@@ -118,8 +118,8 @@
.box .list-box .item.active {
background: rgba(53, 130, 238, 0.08);
border-color: #3582EE;
color: #3582EE;
border-color: #347BFF;
color: #347BFF;
}
.box .list-box .item.disabled {
......@@ -151,11 +151,11 @@
.btn-box .btn.clear {
width: 186rpx;
color: #3582EE;
color: #347BFF;
}
.btn-box .btn.done {
background: #3582EE;
background: #347BFF;
color: #fff;
width: 480rpx;
}
......
import api from '../../api/api'
import orderAPI from '~/tabWorkOrder/api'
Component({
/**
* 组件的属性列表
......@@ -40,21 +41,69 @@ Component({
}
}
},
phoneShow: Boolean, // 是否显示手机号输入项
isAdditionRecordOrder: Boolean, // 是否是补录
customerPhone: {
type: Number,
observer: function (n, o) {
const phoneRex = /^[1]([3-9])[0-9]{9}$/
if (phoneRex.test(n)) {
this.getCustomerCouponList(n)
console.log(this.data.merchantId, 'this.data.merchantId');
this.getCouponList(this.data.merchantId)
let { merchantId, phoneShow, isAdditionRecordOrder } = this.data
let thisPage = wx.$router.getPageInstance()
let {
orderObj
} = thisPage.data
let params = {
phone: n,
merchantId: merchantId
}
if (!orderObj.orderCode && phoneShow && !isAdditionRecordOrder) { // 新下单 且可以手动输入手机号
orderAPI.getQueryCouponInfoByPhone(params).then(res => {
let { code, data, message } = res
if (code == 0) {
if (data && Object.keys(data)?.length) {
let obj = {
isPhoneQuery: true,
...orderObj,
customer: {
customerId: data.id,
standNo: data.standNo,
carBrand: data.carBrand,
carChildsBrandName: data.carChildsBrandName,
carSeriesName: data.carSeriesName,
customerName: data.customerName,
customerPhone: data.customerPhone,
customerSex: data.customerSex,
plateNumber: data.plateNumber,
experienceFlag: orderObj?.experienceFlag || 'Y' // 默认是体验
},
couponName: data.couponName,
customerCouponCode: data.customerCouponCode,
customerCouponId: data.customerCouponId
}
thisPage.setData({
orderObj: obj,
returnFun: true
})
}
} else {
wx.$util.showToast(message)
}
this.getCustomerCouponList(n)
this.getCouponList(this.data.merchantId, !(data && Object.keys(data)?.length))
})
} else {
this.getCustomerCouponList(n)
this.getCouponList(this.data.merchantId)
}
}
}
},
returnFun: Boolean,
pageName: {
type: String
}
},
filmOrder: String // 下单类型
},
lifetimes: {
attached() {}
......@@ -106,9 +155,10 @@ Component({
}
})
},
getCouponList(merchantId, refresh) {
getCouponList(merchantId, setCoupon) {
let {
yqMerchantId
yqMerchantId,
filmOrder
} = this.data
// console.log(merchantId, yqMerchantId, 'yqMerchantId');
// 解决 yqMerchantId 为0 请求空数据的问题
......@@ -127,7 +177,16 @@ Component({
if (code == 0) {
let couponTypeList = Array.from(new Set([...data.map(e => e.couponInfo.couponType)]))
// console.log(couponTypeList)
let couponList = couponTypeList.map(e => {
// 精品升级 过滤掉太阳膜礼券
if (filmOrder == '1') {
let index = couponTypeList.findIndex(v => v == 1)
index > -1 && couponTypeList.splice(index, 1)
}
let thisPage = wx.$router.getPageInstance()
let {
orderObj
} = thisPage.data
let couponList = couponTypeList.map((e, index) => {
let list = []
let title = ''
data.map(i => {
......@@ -136,18 +195,43 @@ Component({
list.push(i)
title = i.couponInfo.couponTypeName
}
if (setCoupon) {
if (e == 1 && list.length) { // 太阳膜礼券 无客户默认选择第一张太阳膜礼券
list[0].active = true
orderObj = {
...orderObj,
couponName: list[0]?.couponName,
customerCouponCode: list[0]?.merchantCouponCode,
merchantCouponId: list[0]?.id,
merchantId: list[0]?.merchantId
}
} else if (filmOrder == '1' && index == 0 && list.length) { // 精品升级礼券 默认选择第一张
let objProp = list[0]
objProp.active = true
orderObj = {
...orderObj,
couponName: objProp?.couponName,
customerCouponCode: objProp?.merchantCouponCode,
merchantCouponId: objProp?.id,
merchantId: objProp?.merchantId
}
}
}
})
return {
title,
list
}
})
thisPage.setData({
orderObj
})
this.setData({
couponList
})
this.checkCoupon()
} else {
if (refresh) wx.$util.showToast(message)
wx.$util.showToast(message)
}
})
},
......
......@@ -52,7 +52,7 @@
transform: translateY(-50%);
}
.item.active{
color: #3582EE;
color: #347BFF;
}
.item.active .icon{
display: block;
......
......@@ -18,6 +18,15 @@ Component({
})
}
}
},
merchantId: {
type: Number,
observer: function (n) {
if (n) {
// 销售顾问切换门店 获取新的顾客数据
this.init()
}
}
}
},
......@@ -41,9 +50,10 @@ Component({
init(keyword) {
// console.log('getBrandList')
// console.log(storageData)
let { merchantId } = this.data
let userInfo = wx.$util.getUserInfo()
let params = {
merchantId: userInfo?.shopMerchantId,
merchantId: merchantId || userInfo?.shopMerchantId,
pageSize: 999999,
pageNum: 1,
// upgradeFinishFlag: 'R',
......
......@@ -85,13 +85,13 @@
}
.child.active {
color: #3582ee;
color: #347BFF;
}
.child.title {
color: #282829;
padding-left: 64rpx;
/* color: #3582ee; */
/* color: #347BFF; */
}
.child .icon {
......
......@@ -105,7 +105,7 @@
}
.fixed-content .fixed-footer .fixed-confirm {
color: #3582EE;
color: #347BFF;
}
.fixed-content .fixed-footer::after {
......
// components/emptyData/emptyData.js
const IMG_URL = 'https://img02.glsx.com.cn/weapp/resource/dj-car-boutique-work-wechat/'
Component({
/**
* 组件的属性列表
*/
properties: {
},
/**
* 组件的初始数据
*/
data: {
IMG_URL
},
/**
* 组件的方法列表
*/
methods: {
}
})
\ No newline at end of file
{
"component": true,
"usingComponents": {}
}
\ No newline at end of file
<!--components/emptyData/emptyData.wxml-->
<view class="empty-box">
<image class="no-data-img" src="{{IMG_URL}}empty_data.png" />
<view class="list-not-text">暂无数据</view>
</view>
\ No newline at end of file
/* components/emptyData/emptyData.wxss */
.empty-box{
display: flex;
flex-flow: column;
justify-content: center;
align-items: center;
width: 100%;
height: 100%;
}
.empty-box .no-data-img{
width: 160rpx;
height: 160rpx;
}
.empty-box .list-not-text{
margin-top: 10rpx;
font-size: 28rpx;
color: #BEC1C7;
}
......@@ -43,7 +43,8 @@ Component({
}
}
},
disabled: Boolean
disabled: Boolean,
titleBtn: String
},
/**
......
......@@ -9,6 +9,7 @@
class="titleIcon"
wx:if="{{iconSrc}}"
src="{{iconSrc}}" />
<text class="titleBtn" wx:if="{{titleBtn}}">{{titleBtn}}</text>
</view>
<view class='cell-value ' style="width:calc(100% - {{labelWidth}});">
<view class='value {{valueAlign}} {{haveArrow}}'>
......
......@@ -20,7 +20,7 @@
}
.cell.border {
border-bottom: 2rpx solid rgba(195, 195, 195, .3);
border-bottom: 1rpx solid #EFF0F2;
}
.cell-label {
......@@ -28,9 +28,22 @@
}
.titleIcon {
width: 34rpx;
height: 34rpx;
margin-left: 10rpx;
width: 32rpx;
height: 32rpx;
margin-left: 8rpx;
}
.titleBtn{
display: inline-block;
background: #FFFFFF;
border: 1rpx solid #347BFF;
border-radius: 26px;
color: #347BFF;
height: 48rpx;
line-height: 48rpx;
padding: 0 24rpx;
font-size: 24rpx;
margin-left: 8rpx;
}
.cell-value {
......
......@@ -3,7 +3,12 @@ Component({
* 组件的属性列表
*/
properties: {
show: Boolean,
show: {
type: Boolean,
observer: function(n) {
if (n) this.setGoodsActive()
}
},
goodsData: {
type: Array,
observer: function (n) {
......@@ -21,7 +26,8 @@ Component({
minPrice: {
type: Number
// value:0
}
},
isSolarFilm: Boolean
},
/**
......@@ -70,29 +76,64 @@ Component({
goodsList: data
})
},
// 去重保留第二项
arrayUnique(arr, name) {
var hash = {}
return arr.reduce(function(acc, cru, index) {
if (!hash[cru[name]]) {
hash[cru[name]] = { index: index }
acc.push(cru)
} else {
acc.splice(hash[cru[name]]['index'], 1, cru)
}
return acc
}, [])
},
getChooseList() {
let { goodsList, chooseGoodsList } = this.data
let { goodsList, chooseGoodsList, isSolarFilm } = this.data
let chooseList = []
goodsList.map(e => {
e.upgradeGoodsList.map(c => {
if (c.active) {
if (!c.count) c.count = 1
if (chooseGoodsList.length > 0) {
chooseGoodsList.map(x => {
if (x.id == c.id) {
console.log(x)
c.price = x.price || 0
}
})
} else {
c.price = c.upgradePrice || 0
// 太阳膜下单 需保留已选的商品
if (isSolarFilm) {
goodsList.map(e => {
let arr = this.arrayUnique(e.upgradeGoodsList.concat(chooseGoodsList), 'id')
arr?.map(c => {
if (c.active) {
if (!c.count) c.count = 1
if (chooseGoodsList.length > 0) {
chooseGoodsList.map(x => {
if (x.id == c.id) {
c.price = x.price || 0
}
})
} else {
c.price = c.upgradePrice || 0
}
if (!c.price) c.price = c.upgradePrice
chooseList.push(c)
}
if (!c.price) c.price = c.upgradePrice
chooseList.push(c)
}
})
})
})
return chooseList
} else {
goodsList.map(e => {
e.upgradeGoodsList.map(c => {
if (c.active) {
if (!c.count) c.count = 1
if (chooseGoodsList.length > 0) {
chooseGoodsList.map(x => {
if (x.id == c.id) {
c.price = x.price || 0
}
})
} else {
c.price = c.upgradePrice || 0
}
if (!c.price) c.price = c.upgradePrice
chooseList.push(c)
}
})
})
}
return this.arrayUnique(chooseList, 'id')
},
choose(e) {
let { item, index, ind } = e.currentTarget.dataset
......@@ -164,6 +205,11 @@ Component({
goodsList: arr
})
},
cancel() {
this.setData({
show: false
})
},
confirm() {
let chooseList = this.getChooseList()
......@@ -177,7 +223,7 @@ Component({
thisPage.setData({
goodsList: chooseList
})
this.triggerEvent('confirm', chooseList)
this.setData({
show: false
})
......
<wxs src="index.wxs" module="filter" />
<popup show="{{show}}" title="选择商品" bindconfirm="confirm">
<popup show="{{show}}" title="选择商品" bindconfirm="confirm" bindcancel="cancel">
<view class="coupon-box">
<search-input bindsearch="searchGoods" />
<scroll-view class="coupon" scroll-y>
......
......@@ -43,7 +43,7 @@
}
.item .value .price {
color: #3582EE;
color: #347BFF;
}
.item .control {
......@@ -55,7 +55,7 @@
.item .control .add {
width: 44rpx;
height: 44rpx;
color: #3582EE;
color: #347BFF;
background: #F7F7F7;
border-radius: 6rpx;
display: flex;
......
......@@ -35,7 +35,7 @@
}
.merchantList.active {
color: #3582EE;
color: #347BFF;
font-weight: 700;
position: relative;
}
......@@ -44,7 +44,7 @@
content: '';
position: absolute;
bottom: 0;
background: #3582EE;
background: #347BFF;
border-radius: 3rpx;
width: 60rpx;
height: 6rpx;
......@@ -94,6 +94,6 @@
}
.seles.active{
background: rgba(53,130,238,0.08);
color: #3582EE;
border-color: #3582EE;
color: #347BFF;
border-color: #347BFF;
}
\ No newline at end of file
......@@ -67,8 +67,8 @@
}
.order_no_item.active{
background: #3582ee1a;
border: 2rpx solid #3582EE;
background: #347BFF1a;
border: 2rpx solid #347BFF;
border-radius: 16rpx;
}
......
......@@ -116,7 +116,7 @@
/* .order-popup-content .shortcut-list .shortcut.active {
color: #FFFFFF;
background: #3582EE;
background: #347BFF;
} */
.order-popup-content .input-item {
......@@ -246,7 +246,7 @@
}
.order-popup-content .qr-box .tips {
color: #3582EE;
color: #347BFF;
}
.order-popup-content .order-type-box {
......@@ -267,8 +267,8 @@
.order-popup-content .order-type.active {
background: rgba(53, 130, 238, 0.08);
border-color: #3582EE;
color: #3582EE;
border-color: #347BFF;
color: #347BFF;
}
.order-popup-content .order-type-box .order-type-tips {
......@@ -283,7 +283,7 @@
justify-content: center;
font-size: 14px;
color: #FFFFFF;
background: #3582EE;
background: #347BFF;
border-radius: 12rpx;
margin-bottom: 28rpx;
}
......
......@@ -18,7 +18,8 @@ Component({
height: {
type: String,
value: '85%'
}
},
slotStyle: String
},
/**
......
......@@ -4,7 +4,7 @@
<block wx:if="{{ title }}">
<view class="popup-title text-center">{{title}}</view>
</block>
<view class="popup-slot popup-slot-class {{ isFullSucreen?title?'isFullSucreen':'isFullSucreen-notitle':'' }}">
<view class="popup-slot popup-slot-class {{ isFullSucreen?title?'isFullSucreen':'isFullSucreen-notitle':'' }}" style="{{slotStyle}}">
<slot></slot>
</view>
<view class="popup-footer {{ isFullSucreen?'isFullSucreen':'' }}">
......
......@@ -57,7 +57,7 @@
display: flex;
align-items: center;
justify-content: space-between;
padding: 10rpx 0;
padding: 20rpx 0;
}
.popup-footer.isFullSucreen {
......@@ -69,16 +69,18 @@
height: 80rpx;
box-sizing: border-box;
border-radius: 12rpx;
font-size: 28rpx;
font-size: 32rpx;
}
.popup-footer .cancel {
color: #323233;
border: 2rpx solid #DCDEE0;
/* color: #323233;
border: 2rpx solid #DCDEE0; */
color: #292D33;
background: #F7F8FA;
}
.popup-footer .confirm {
background: #3582EE;
background: #347BFF;
color: #fff;
}
......
......@@ -77,7 +77,7 @@
}
.fixed-content .fixed-footer .fixed-confirm {
color: #3582EE;
color: #347BFF;
}
.fixed-content .fixed-footer::after {
......
......@@ -64,12 +64,12 @@ Component({
let readyLeft = oldLeft > left ? left : oldLeft
let readyWidth = oldLeft > left ? oldLeft - left : left - oldLeft
this.setData({
activeStyle: `width:${readyWidth - oldWidth / 2 + width / 2}px;background-color:#3582EE;border-radius:3rpx;left:${readyLeft + oldWidth / 2}px;transition: all .1s;`
activeStyle: `width:${readyWidth - oldWidth / 2 + width / 2}px;background-color:#347BFF;border-radius:3rpx;left:${readyLeft + oldWidth / 2}px;transition: all .1s;`
})
}
setTimeout(() => {
this.setData({
activeStyle: `width:${width}px;left:${left}px;background-color:#3582EE;`,
activeStyle: `width:${width}px;left:${left}px;background-color:#347BFF;`,
tabIndex: index,
width
})
......
<view class="tab" style="grid-template-columns: repeat({{tabList.length}}, 1fr)">
<block wx:for="{{tabList}}" wx:key="index">
<!-- style="color:{{tabIndex==index?'#3582EE':''}};" -->
<!-- style="color:{{tabIndex==index?'#347BFF':''}};" -->
<view class="tab-item {{tabIndex==index?'active':''}}" bindtap="change" data-index="{{index}}">
<text class="tab-item-text" id="tab-{{index}}">{{item}}</text>
<text id="tab-{{index}}"><text class="tab-item-text">{{item.text || item }}</text><text wx:if="{{item.count}}" style="font-size: 24rpx;">({{item.count}})</text></text>
</view>
</block>
<view class="active-doc" style="{{activeStyle}}" />
......
......@@ -7,17 +7,18 @@
align-items: center;
font-size: 28rpx;
color: #999999;
border-bottom: 1rpx solid #F2F3F5;
}
.active {
font-size: 32rpx;
/* font-size: 32rpx; */
font-weight: 600;
color: #3582EE;
color: #347BFF;
}
.active-doc {
position: absolute;
bottom: 8rpx;
bottom: 1rpx;
height: 6rpx;
transition: all .25s;
}
......
......@@ -75,7 +75,7 @@ Component({
wx.showModal({
title: '温馨提示',
content: '是否退出当前账号?',
confirmColor: '#3582EE',
confirmColor: '#347BFF',
success(res) {
if (res.confirm) {
_this.setData({
......
......@@ -121,7 +121,7 @@
<switch
class="{{userInfo.userType == 2 ?'disabled':''}}"
disabled="{{userInfo.userType == 2}}"
color="#3582EE"
color="#347BFF"
isYqdSuper="{{isYqdSuper}}"
checked="{{saturdayFlag}}"
bindchange="changeSwitch"
......@@ -132,7 +132,7 @@
<switch
class="{{userInfo.userType == 2 ?'disabled':''}}"
disabled="{{userInfo.userType == 2}}"
color="#3582EE"
color="#347BFF"
checked="{{sundayFlag}}"
bindchange="changeSwitch"
data-target="sundayFlag" />
......
......@@ -51,7 +51,7 @@
width: 134rpx;
height: 48rpx;
background: rgba(53, 180, 238, .1);
color: #3582EE;
color: #347BFF;
font-size: 24rpx;
display: flex;
align-items: center;
......
......@@ -101,7 +101,7 @@
}
.popV-item:nth-last-child(1) {
color: #3582EE;
color: #347BFF;
}
/* .popV-item~.popV-item {
......
......@@ -93,7 +93,7 @@
font-weight: 400;
border-radius: 12rpx;
width: 100% !important;
background: #3582EE;
background: #347BFF;
color: #fff;
}
......@@ -160,7 +160,7 @@
}
.orderInfo .orderPrice {
color: #3582EE;
color: #347BFF;
text-align: right;
}
......
......@@ -44,7 +44,7 @@
transition: all .5s;
}
.merchantList.active {
color: #3582EE;
color: #347BFF;
font-weight: 700;
position: relative;
}
......@@ -53,14 +53,14 @@
content: '';
position: absolute;
bottom: 0;
background: #3582EE;
background: #347BFF;
border-radius: 3rpx;
width: 60rpx;
height: 6rpx;
left: 25rpx;
}
.merchantList.active {
color: #3582EE;
color: #347BFF;
font-weight: 700;
position: relative;
}
......@@ -69,7 +69,7 @@
content: '';
position: absolute;
bottom: 0;
background: #3582EE;
background: #347BFF;
border-radius: 3rpx;
width: 60rpx;
height: 6rpx;
......
......@@ -3,10 +3,10 @@
width: 236rpx;
height: 60rpx;
display: flex;
border: 2rpx solid #3582EE;
border: 2rpx solid #347BFF;
border-radius: 12rpx;
font-size: 28rpx;
color: #3582EE;
color: #347BFF;
margin-left: auto;
position: relative;
}
......@@ -23,7 +23,7 @@
width: 50%;
border-radius: 12rpx;
height: 100%;
background: #3582EE;
background: #347BFF;
color: #fff;
transition: all .25s;
}
......
......@@ -80,7 +80,7 @@
border: 2rpx solid #DCDEE0;
}
.popup-footer .confirm{
background: #3582EE;
background: #347BFF;
color: #fff;
}
@keyframes show-popup {
......
// tabWorkOrder/pages/createOrder/createOrderComponents/Popup/Popup.js
const IMG_URL = 'https://img02.glsx.com.cn/weapp/resource/dj-car-boutique-work-wechat/'
Component({
externalClasses: ["custom-class"],
/**
......@@ -14,7 +15,9 @@ Component({
/**
* 组件的初始数据
*/
data: {},
data: {
IMG_URL
},
/**
* 组件的方法列表
......
<view class="tips custom-class" wx:if="{{tipsProps.showTips}}">
<image wx:if="{{!tipsProps.noIcon}}" class="tipsIcon" src="../images/tips.png" />
<image wx:if="{{!tipsProps.noIcon}}" class="tipsIcon" src="{{IMG_URL}}miniProgram/tips_icon.png" />
<view class="contentText">
{{tipsProps.tipsText}}
</view>
<image class="closeIcon" wx:if="{{tipsProps.type == 1}}" bindtap="tapCallback" data-type="{{tipsProps.type}}" src="{{tipsProps.iconUrl || '../images/closeIcon.png'}}" />
<image class="closeIcon" wx:if="{{tipsProps.type == 1}}" bindtap="tapCallback" data-type="{{tipsProps.type}}" src="{{tipsProps.iconUrl || '/components/CalendarMonth/images/close.png'}}" />
<view class="btn" wx:if="{{tipsProps.type == 2}}" bindtap="tapCallback" data-type="{{tipsProps.type}}">{{tipsProps.typeText}}</view>
</view>
\ No newline at end of file
......@@ -8,17 +8,17 @@
background: #EFF5FE;
height: 72rpx;
width: 100%;
color: #3582EE;
color: #347BFF;
font-size: 24rpx;
}
.tipsIcon {
width: 32rpx;
height: 32rpx;
margin-right: 20rpx;
width: 28rpx;
height: 28rpx;
margin-right: 8rpx;
}
.closeIcon {
width: 32rpx;
height: 32rpx;
width: 26rpx;
height: 26rpx;
}
.tips .contentText {
margin-right: auto;
......
......@@ -102,7 +102,7 @@
border: 2rpx solid #DCDEE0;
}
.popup-footer .confirm{
background: #3582EE;
background: #347BFF;
color: #fff;
}
@keyframes show-popup {
......
......@@ -35,7 +35,7 @@
}
.picker_item.active{
color: #3582EE;
color: #347BFF;
}
.checked{
......
......@@ -54,7 +54,7 @@
}
.picker_item.active{
color: #3582EE;
color: #347BFF;
}
.checked{
......
......@@ -13,5 +13,5 @@
<tab-mine id="page-2" class="pagedetail {{ tabIndex == 2?'':'hide' }}" navBarHeight="{{ navBarHeight }}"></tab-mine>
</block>
</view>
<custom-tabBar list="{{ tabBarList }}" color="#6C6C70" selectedColor="#3582EE" tabIndex="{{ tabIndex }}" bindchange="changeTabBar" />
<custom-tabBar list="{{ tabBarList }}" color="#6C6C70" selectedColor="#347BFF" tabIndex="{{ tabIndex }}" bindchange="changeTabBar" />
<side-select-popup show="{{ shopSideSelectPopup }}" storeList="{{storeRange}}"/>
\ No newline at end of file
......@@ -362,7 +362,7 @@ Page({
content: message,
showCancel: false,
confirmText: '刷新',
confirmColor: '#3582EE',
confirmColor: '#347BFF',
success(res) {
if (res.confirm) {
_this.getDetail(orderCode)
......
......@@ -195,7 +195,7 @@ page {
color: #FFFFFF;
width: 100%;
height: 88rpx;
background: #3582EE;
background: #347BFF;
border-radius: 12rpx;
}
}
......@@ -211,7 +211,7 @@ page {
.cofirm {
width: 80%;
height: 80rpx;
background: #3582EE;
background: #347BFF;
color: #fff;
display: flex;
justify-content: center;
......
......@@ -114,7 +114,7 @@ Page({
title: '补录订单确认',
content: '确定补录此订单',
confirmText: '确定',
confirmColor: '#3582EE',
confirmColor: '#347BFF',
success(res) {
if (res.confirm) {
let params = {
......
......@@ -37,7 +37,7 @@
height: 88rpx;
color: #fff;
border-radius: 12rpx;
background-color: #3582EE;
background-color: #347BFF;
display: flex;
align-items: center;
justify-content: center;
......
......@@ -88,7 +88,7 @@
.cofirm{
width: 80%;
height: 80rpx;
background: #3582EE;
background: #347BFF;
color: #fff;
display: flex;
justify-content: center;
......
import Api from '~/packageCrowdFunding/api'
const IMG_URL = 'https://img02.glsx.com.cn/weapp/resource/dj-car-boutique-work-wechat/'
Component({
options: {
styleIsolation: 'apply-shared',
......@@ -28,91 +28,92 @@ Component({
* 页面的初始数据
*/
data: {
showRemark: false,
userInfo: {},
inputValue: '',
navBarHeight: 100,
tabIndex: 0,
pageSize: 4,
pageNum: 1,
tabList: ['全部', '待支付', '已支付', '已退款'],
btnTxt: {
0: '去支付',
1: '去退款',
4: '去退款'
},
orderStatusObj: {
0: '待支付',
1: '已支付',
2: '已退款',
3: '预支付',
4: '退定金', // 正常流程 自定义值
5: '退定金' // 预支付状态下退定金 自定义值
},
orderStatusList: [
{
confName: '全部',
confId: ''
}, {
confName: '待支付',
confId: '0'
}, {
confName: '已支付',
confId: '1'
},
{
confName: '已退款',
confId: '2'
}
],
subOrderCodeCopy: '',
searchObj: {},
flag: true,
statisticsObj: {},
orderObj: [
{
label: '活动名称',
key: 'activityName'
},
{
label: '推荐人',
key: 'referrer'
},
{
label: '转化人员',
key: 'transfer'
},
{
label: '商品名称',
key: 'goodsName'
},
{
label: '订金金额',
key: 'activityPrice',
type: 'price'
},
{
label: '订金支付时间',
key: 'payedDateStr'
},
{
label: '订单编号',
key: 'subOrderCode'
},
{
label: '尾款金额',
key: 'tailPayment',
type: 'price'
}
],
list: [],
isToBottom: false,
selectData: ['客户姓名','订单编号','手机号'], // 下拉列表的数据
selectIndex: 0, // 选择的下拉列表下标
showSelect: false, // 下拉框
confirmFlag: false,
remarkType: '', // 备注类型 1备注 2 退款原因
selectItem: {} // 修改备注的订单对象
IMG_URL,
showRemark: false,
userInfo: {},
inputValue: '',
navBarHeight: 100,
tabIndex: 0,
pageSize: 4,
pageNum: 1,
tabList: ['全部', '待支付', '已支付', '已退款'],
btnTxt: {
0: '去支付',
1: '去退款',
4: '去退款'
},
orderStatusObj: {
0: '待支付',
1: '已支付',
2: '已退款',
3: '预支付',
4: '退定金', // 正常流程 自定义值
5: '退定金' // 预支付状态下退定金 自定义值
},
orderStatusList: [
{
confName: '全部',
confId: ''
}, {
confName: '待支付',
confId: '0'
}, {
confName: '已支付',
confId: '1'
},
{
confName: '已退款',
confId: '2'
}
],
subOrderCodeCopy: '',
searchObj: {},
flag: true,
statisticsObj: {},
orderObj: [
{
label: '活动名称',
key: 'activityName'
},
{
label: '推荐人',
key: 'referrer'
},
{
label: '转化人员',
key: 'transfer'
},
{
label: '商品名称',
key: 'goodsName'
},
{
label: '订金金额',
key: 'activityPrice',
type: 'price'
},
{
label: '订金支付',
key: 'payedDateStr'
},
{
label: '订单编号',
key: 'subOrderCode'
},
// {
// label: '尾款金额',
// key: 'tailPayment',
// type: 'price'
// }
],
list: [],
isToBottom: false,
selectData: ['客户姓名','订单编号','手机号'], // 下拉列表的数据
selectIndex: 0, // 选择的下拉列表下标
showSelect: false, // 下拉框
confirmFlag: false,
remarkType: '', // 备注类型 1备注 2 退款原因
selectItem: {} // 修改备注的订单对象
},
methods: {
init() {
......
......@@ -69,15 +69,15 @@
<view class="header-cust">
<view class="cust-name">{{item.customerName}}</view>
<view class="cust-phone">{{item.customerPhone}}</view>
<image class="copy-icon" bindtap="copyData" data-target="{{item}}" data-flag="1" src="/packageCrowdFunding/images/copy-text.png" mode=""/>
<image class="copy-icon" bindtap="copyData" data-target="{{item}}" data-flag="1" src="{{IMG_URL}}copy_icon_gapy.png" mode=""/>
</view>
<view class="header-status">
<view wx:if="{{ item.tailOrderStatus =='1'}}">
<!-- <view wx:if="{{ item.tailOrderStatus =='1'}}">
<span class="green-txt">{{orderStatusObj[item.tailOrderStatus]}}</span>
<span class="header-price">¥{{filter.priceFilter(item.supplementOrderFlag == 1 ? (item.crowdFundingPrice) : (item.tailPayment || 0))}}</span>
</view>
<view wx:else class="{{item.tailOrderStatus == '2' ? 'red-txt' : (item.tailOrderStatus == '4' || item.tailOrderStatus == '5' ? 'blue-txt' : '') }}">
</view> -->
<view class="{{item.tailOrderStatus == '0' ? 'orange-text' : item.tailOrderStatus == '1' ? 'green-txt' : item.tailOrderStatus == '2' ? 'red-txt' : (item.tailOrderStatus == '4' || item.tailOrderStatus == '5' ? 'blue-txt' : '') }}">
{{orderStatusObj[item.tailOrderStatus] || '--'}}
</view>
</view>
......@@ -94,7 +94,7 @@
<block wx:else>
<view wx:if="{{i.key == 'subOrderCode'}}" class="ordercode-class">
{{item[i.key] || ''}}
<image class="copy-icon" bindtap="copyData" data-target="{{item}}" data-flag="2" src="/packageCrowdFunding/images/copy-text.png" mode=""/>
<image class="copy-icon" bindtap="copyData" data-target="{{item}}" data-flag="2" src="{{IMG_URL}}copy_icon_gapy.png" mode=""/>
</view>
<view wx:else>
{{item[i.key] || ''}}
......@@ -105,7 +105,7 @@
</block>
</block>
<view class="order" wx:if="{{item.tailOrderStatus == 1}}">
<view class="order-label">尾款支付时间 </view>
<view class="order-label">尾款支付</view>
<view class="order-value">
<block>{{item['tailPayedDateStr']}}</block>
</view>
......@@ -130,15 +130,23 @@
<!-- footer -->
<!-- 超管isSuper/商户号类型 userType 2(员工号)账号不可操作 -->
<view class="item-footer" wx:if="{{(item.tailOrderStatus == '0' || item.tailOrderStatus == '1' || item.tailOrderStatus == '4') && !userInfo.isSuper && userInfo.userType == 2}}">
<!-- 待支付 -->
<view wx:if="{{item.tailOrderStatus == '0'&& item.supplementOrderFlag != 1}}" class="order-btn default-btn mar-btn" bindtap="handlefinalPayment" data-target="{{item}}">
关联尾款单
</view>
<!-- 待支付/已支付/退定金 -->
<view wx:if="{{item.tailOrderStatus == '0' || item.tailOrderStatus == '1' || item.tailOrderStatus == '4'}}" class="order-btn" bindtap="handleClickBtn" data-target="{{item}}">
{{btnTxt[item.tailOrderStatus]}}
<view class="item-footer">
<view class="order_price">
<view class="price_label">尾款金额</view>
<view class="order_price_text"><text style="font-size: 28rpx;">¥</text>{{filter.priceFilter(item.tailPayment)}}</view>
</view>
<block wx:if="{{(item.tailOrderStatus == '0' || item.tailOrderStatus == '1' || item.tailOrderStatus == '4') && !userInfo.isSuper && userInfo.userType == 2}}">
<view>
<!-- 待支付 -->
<view wx:if="{{item.tailOrderStatus == '0'&& item.supplementOrderFlag != 1}}" class="order-btn default-btn mar-btn" bindtap="handlefinalPayment" data-target="{{item}}">
关联尾款单
</view>
<!-- 待支付/已支付/退定金 -->
<view wx:if="{{item.tailOrderStatus == '0' || item.tailOrderStatus == '1' || item.tailOrderStatus == '4'}}" class="order-btn" bindtap="handleClickBtn" data-target="{{item}}">
{{btnTxt[item.tailOrderStatus]}}
</view>
</view>
</block>
</view>
</view>
<block wx:if="{{nothing}}">
......@@ -146,8 +154,9 @@
</block>
</block>
<view class="no-data" wx:else>
<image class="no-data-img" src="/packageCrowdFunding/images/noData.png" />
<view class="list-not">暂无数据</view>
<!-- <image class="no-data-img" src="/packageCrowdFunding/images/noData.png" />
<view class="list-not">暂无数据</view> -->
<empty-data />
</view>
</scroll-view>
</view>
......
......@@ -217,8 +217,13 @@
.list .header-status {
font-weight: 500;
font-size: 28rpx;
color: #FF9D0A;
font-size: 24rpx;
}
.list .header-status view{
height: 36rpx;
padding: 4rpx 8rpx;
border-radius: 4rpx;
}
.header-price {
......@@ -226,16 +231,24 @@
margin-left: 12rpx;
}
.orange-text{
color: #FF9D0A;
background: #FFF5E6;
}
.green-txt {
color: #4AC18E;
color: #35C376;
background: #EAF9F1;
}
.red-txt {
color: #EB4E4E;
color: #F24724;
background: #FDECE9;
}
.blue-txt {
color: #3582EE;
color: #347BFF;
background: #EAF1FF;
}
.list .content {
......@@ -302,13 +315,13 @@
left: 0;
transform: translateY(-50%);
content: '';
background: #3582EE;
background: #347BFF;
border-radius: 100%;
}
.list .item .goods-list .goods .goods-name {
font-size: 28rpx;
color: #3582EE;
color: #347BFF;
max-width: 430rpx;
}
......@@ -342,7 +355,7 @@
.list .item .goods-more text {
font-size: 28rpx;
color: #3582EE;
color: #347BFF;
margin-right: 20rpx;
}
......@@ -383,14 +396,31 @@
}
.item-footer {
display: flex;
justify-content: flex-end;
/* margin-left: 200rpx; */
align-items: center;
font-size: 24rpx;
color: #9B9B9E;
border-top: 1rpx solid #EDEDED;
padding: 20rpx 32rpx;
display: flex;
justify-content: space-between;
/* margin-left: 200rpx; */
align-items: center;
font-size: 24rpx;
color: #9B9B9E;
border-top: 1rpx solid #EDEDED;
padding: 20rpx 32rpx;
}
.item-footer view{
display: flex;
align-items: center;
}
.item-footer .order_price .price_label{
width: 136rpx;
flex-shrink: 0;
color: #999EA8;
}
.item-footer .order_price .order_price_text{
font-size: 36rpx;
color: #347BFF;
font-family: 'numberBold';
}
.orange-txt {
......@@ -409,18 +439,18 @@
height: 56rpx;
font-size: 28rpx;
color: #FFFFFF;
background: #3582EE;
background: #347BFF;
border-radius: 32rpx;
padding: 8rpx 40rpx;
padding: 8rpx 24rpx;
}
.mar-btn{
margin-right: 15rpx;
}
.order-btn.default-btn {
background: #FFFFFF;
border: 2rpx solid #3582EE;
border: 2rpx solid #347BFF;
border-radius: 32rpx;
color: #3582EE;
color: #347BFF;
}
.list .item .order {
......@@ -440,12 +470,12 @@
}
.list .item .order .order-label {
width: 165rpx;
width: 138rpx;
color: #9B9B9E;
}
.list .item .order .order-value {
width: calc(100% - 165rpx);
width: calc(100% - 138rpx);
display: flex;
align-items: center;
}
......
......@@ -88,7 +88,7 @@
color: #FFFFFF;
width: 100%;
height: 88rpx;
background: #3582EE;
background: #347BFF;
border-radius: 12rpx;
}
}
\ No newline at end of file
......@@ -39,7 +39,7 @@
margin: 24rpx auto;
color: #fff;
border-radius: 12rpx;
background-color: #3582EE;
background-color: #347BFF;
display: flex;
align-items: center;
justify-content: center;
......@@ -47,7 +47,7 @@
.btn-lucency{
width: 622rpx;
height: 88rpx;
color: #3582EE;
color: #347BFF;
margin: 0 auto;
border-radius: 12rpx;
background-color: #fff;
......
......@@ -44,25 +44,25 @@
</view>
<view class="activity-status">
<view class="left">
<view class="name">{{item.activityName}}</view>
<view class="time">
<text style="width: 100rpx;flex-shrink: 0;">活动时间:</text>
<view wx:if="{{item.startTime && item.endTime}}">
<text>{{item.startTime || ''}}</text>
<text> 至 </text>
<text>{{item.endTime}}</text>
</view>
</view>
<view class="name">{{item.activityName}}</view>
<view class="status status-blue" wx:if="{{item.activityStatus == 2}}">
进行中
</view>
<view class="status status-red" wx:if="{{item.activityStatus == 3}}">
已结束
</view>
<view class="status status-yellow" wx:if="{{item.activityStatus == 1}}">
待开始
</view>
</view>
<view class="status status-green" wx:if="{{item.activityStatus == 2}}">
进行中
</view>
<view class="status status-red" wx:if="{{item.activityStatus == 3}}">
已结束
</view>
<view class="status status-yellow" wx:if="{{item.activityStatus == 1}}">
待开始
<view class="time">
<text style="width: 112rpx;flex-shrink: 0;color: #999EA8;">活动时间</text>
<view wx:if="{{item.startTime && item.endTime}}">
<view>{{item.startTime || ''}} 至 </view>
<text>{{item.endTime}}</text>
</view>
</view>
</view>
</view>
<view class="activity-list">
......@@ -84,8 +84,9 @@
</block>
</block>
<view class="no-data" wx:else>
<image class="no-data-img" src="/packageCrowdFunding/images/noData.png" />
<view class="list-not">暂无数据</view>
<!-- <image class="no-data-img" src="/packageCrowdFunding/images/noData.png" />
<view class="list-not">暂无数据</view> -->
<empty-data />
</view>
</scroll-view>
</block>
......
......@@ -188,59 +188,73 @@
.activity-box .activity-name {
display: flex;
padding-left: 35rpx;
padding-bottom: 20rpx;
/*justify-content: space-around;*/
padding: 32rpx;
padding-bottom: 24rpx;
}
.activity-box .activity-name .activity-avatar {
width: 150rpx;
height: 150rpx;
flex-shrink: 0;
width: 128rpx;
height: 128rpx;
border-radius: 16rpx;
overflow: hidden;
}
.activity-box .activity-name .activity-status {
width: 70%;
display: flex;
justify-content: space-between;
padding-top: 15rpx;
margin: 0rpx 20rpx;
box-sizing: border-box;
width: calc(100% - 148rpx);
margin-left: 20rpx;
}
.activity-box .activity-name .activity-status .left{
width: calc(100% - 100rpx);
display: flex;
justify-content: space-between;
}
.activity-box .activity-name .activity-status .name {
font-size: 30rpx;
width: 300rpx;
font-size: 30rpx;
color: #292D33;
font-weight: 500;
max-width: 392rpx;
overflow: hidden;
text-overflow: ellipsis;
display: -webkit-box;
-webkit-line-clamp: 2;
-webkit-box-orient: vertical;
}
.activity-box .activity-name .activity-status .time {
font-size: 20rpx;
color: #9B9B9E;
font-size: 24rpx;
color: #292D33;
margin-top: 25rpx;
display: flex;
}
.activity-box .activity-name .activity-status .status {
font-size: 30rpx;
font-size: 24rpx;
height: 36rpx;
padding: 4rpx 8rpx;
border-radius: 4rpx;
/* padding-left: 60rpx; */
}
.status-green {
color: #4AC18E;
.status-blue {
color: #347BFF;
background: #EAF1FF;
}
.status-red {
color: #EB4E4E;
color: #F24724;
background: #FDECE9;
}
.status-yellow {
color: #FF9D0A;
background: #FFF5E6;
}
.activity-box .activity-list {
border-top: 1rpx solid #C3C3C3;
border-top: 1rpx solid #E4E8EE;
margin-top: 15rpx;
padding: 20rpx 40rpx 0 35rpx;
display: flex;
......@@ -249,7 +263,7 @@
.activity-box .activity-list .orderListBtn {
color: #fff;
background: #3582EE;
background: #347BFF;
width: 200rpx;
height: 60rpx;
font-size: 30rpx;
......@@ -261,6 +275,8 @@
.activity-box .activity-list .activity-pay {
display: flex;
align-items: center;
font-size: 28rpx;
color: #181A1F;
}
.activity-box .activity-list .activity-pay .havePaid {
......
......@@ -4,7 +4,7 @@
width: 622rpx;
height: 88rpx;
margin: 20rpx auto 0;
// background: #3582EE;
// background: #347BFF;
// margin-top: 20rpx;
border-radius: 12rpx;
text-align: center;
......@@ -14,12 +14,12 @@
font-size: 32rpx;
background: #FFFFFF;
// color: #222222;
color: #3582EE;
color: #347BFF;
}
.confirmBtn {
// confirm
background: #3582EE;
background: #347BFF;
margin-top: 40rpx;
color: #FFFFFF;
}
......
......@@ -67,8 +67,8 @@
}
.order_no_item.active{
background: #3582ee1a;
border: 2rpx solid #3582EE;
background: #347BFF1a;
border: 2rpx solid #347BFF;
border-radius: 16rpx;
}
......
......@@ -99,7 +99,7 @@ Page({
// content: '商品已下架或计算规则未配置,请联系客服处理。',
// showCancel: false,
// confirmText: '确定',
// confirmColor: '#3582EE',
// confirmColor: '#347BFF',
// })
this.setData({
mode: -1
......@@ -109,7 +109,7 @@ Page({
content: '未配置权益规则,请联系客服处理。',
showCancel: false,
confirmText: '确定',
confirmColor: '#3582EE'
confirmColor: '#347BFF'
// success(res) {
// if (res.confirm) {
// that.globalData.yqdInfo = {}
......
......@@ -17,7 +17,7 @@
<view class="waitOrderCon" wx:if="{{ waitInputCount && mode == 1 && tabIndex == 0}}">
<tips-bottom style="width: 100%;box-sizing: border-box;" tipsProps="{{ tipsPropsConfig }}" />
</view>
<custom-tabBar list="{{ tabBarList }}" color="#6C6C70" selectedColor="#3582EE" tabIndex="{{ tabIndex }}" bindchange="changeTabBar" />
<custom-tabBar list="{{ tabBarList }}" color="#6C6C70" selectedColor="#347BFF" tabIndex="{{ tabIndex }}" bindchange="changeTabBar" />
<!-- <store-picker items="{{ storeListRange }}" show="{{ showPicker }}" bindsearch="getStoreList" bindconfirm="changePicker" /> -->
<side-select-popup show="{{ shopSideSelectPopup }}" storeList="{{storeRange}}" bindconfirm="changePicker" />
<!-- <order-switchPopup
......
......@@ -298,7 +298,7 @@ Component({
title: '温馨提示',
content: '如需下载PDF报告单,请复制下载地址后到手机浏览器中打开。下载地址5分钟内有效',
confirmText: '复制地址',
confirmColor: '#3582EE',
confirmColor: '#347BFF',
success(res) {
if (res.confirm) {
wx.setClipboardData({
......
......@@ -317,13 +317,13 @@
left: 0;
transform: translateY(-50%);
content: '';
background: #3582EE;
background: #347BFF;
border-radius: 100%;
}
.list .item .goods-list .goods .goods-name {
font-size: 28rpx;
color: #3582EE;
color: #347BFF;
max-width: 430rpx;
}
......@@ -357,7 +357,7 @@
.list .item .goods-more text {
font-size: 28rpx;
color: #3582EE;
color: #347BFF;
margin-right: 20rpx;
}
......@@ -404,16 +404,16 @@
height: 56rpx;
font-size: 28rpx;
color: #FFFFFF;
background: #3582EE;
background: #347BFF;
border-radius: 32rpx;
padding: 8rpx 40rpx;
}
.order-btn.default-btn {
background: #FFFFFF;
border: 2rpx solid #3582EE;
border: 2rpx solid #347BFF;
border-radius: 32rpx;
color: #3582EE;
color: #347BFF;
}
.list .item .order {
......
......@@ -114,7 +114,7 @@
background-color: #ebf2fd;
border-radius: 8rpx;
font-size: 24rpx;
color: #3582EE;
color: #347BFF;
margin-top: 28rpx;
padding: 4rpx 24rpx;
border-radius: 8rpx;
......@@ -133,14 +133,14 @@
text-align: center;
font-size: 32rpx;
color: #FFFFFF;
background: #3582EE;
background: #347BFF;
border-radius: 12rpx;
margin: 0 64rpx 20rpx;
}
.draft-btn {
background: #FFFFFF;
color: #3582EE;
color: #347BFF;
}
.h-40 {
......
......@@ -6,7 +6,7 @@ Component({
properties: {
color: {
type: String,
value: '#3582EE'
value: '#347BFF'
},
isFullScreen: Boolean
},
......
......@@ -80,7 +80,7 @@
.ocrBtn .text {
font-size: 26rpx;
color: #3582EE;
color: #347BFF;
}
.picker {
......@@ -146,7 +146,7 @@
background-color: #ebf2fd;
border-radius: 8rpx;
font-size: 24rpx;
color: #3582EE;
color: #347BFF;
margin-top: 28rpx;
padding: 4rpx 24rpx;
border-radius: 8rpx;
......@@ -165,14 +165,14 @@
text-align: center;
font-size: 32rpx;
color: #FFFFFF;
background: #3582EE;
background: #347BFF;
border-radius: 12rpx;
margin: 0 64rpx 20rpx;
}
.draft-btn {
background: #FFFFFF;
color: #3582EE;
color: #347BFF;
}
.h-40 {
......
......@@ -46,7 +46,7 @@
text-align: center;
font-weight: 600;
font-size: 56rpx;
color: #3582EE;
color: #347BFF;
}
.tipTxt {
......@@ -62,7 +62,7 @@
height: 96rpx;
line-height: 96rpx;
text-align: center;
background: #3582EE;
background: #347BFF;
border-radius: 12rpx;
font-weight: 600;
font-size: 36rpx;
......
......@@ -11,7 +11,7 @@
width: 622rpx;
height: 88rpx;
line-height: 88rpx;
background: #3582EE;
background: #347BFF;
border-radius: 12rpx;
margin: 0 auto;
font-size: 32rpx;
......
......@@ -42,7 +42,7 @@ Page({
title: '温馨提示',
content: '如需下载PDF报告单,请复制下载地址后到手机浏览器中打开。下载地址5分钟内有效',
confirmText: '复制地址',
confirmColor: '#3582EE',
confirmColor: '#347BFF',
success(res) {
if (res.confirm) {
wx.setClipboardData({
......
......@@ -46,7 +46,7 @@ page {
.title {
font-weight: 500;
font-size: 24rpx;
color: #3582EE;
color: #347BFF;
margin-bottom: 16rpx;
}
......
......@@ -158,7 +158,7 @@ Page({
content: message,
showCancel: false,
confirmText: '刷新',
confirmColor: '#3582EE',
confirmColor: '#347BFF',
success(res) {
if (res.confirm) {
_this.getDetail(orderCode)
......
......@@ -58,7 +58,7 @@
height: 48rpx;
align-items: center;
// opacity: 0.12;
// background: #3582EE;
// background: #347BFF;
background-color: #e5f2fd;
border-radius: 32rpx;
padding: 6rpx 20rpx;
......@@ -71,7 +71,7 @@
.text {
font-size: 26rpx;
color: #3582EE;
color: #347BFF;
}
}
}
......@@ -139,7 +139,7 @@
background-color: #ebf2fd;
border-radius: 8rpx;
font-size: 24rpx;
color: #3582EE;
color: #347BFF;
margin-top: 28rpx;
padding: 4rpx 24rpx;
border-radius: 8rpx;
......@@ -158,12 +158,12 @@
text-align: center;
font-size: 32rpx;
color: #FFFFFF;
background: #3582EE;
background: #347BFF;
border-radius: 12rpx;
margin: 0 64rpx 20rpx;
}
.draft-btn {
background: #FFFFFF;
color: #3582EE;
color: #347BFF;
}
\ No newline at end of file
......@@ -62,7 +62,7 @@
/* transform: translateY(-50%); */
}
.item.active{
color: #3582EE;
color: #347BFF;
}
.item.active .icon{
display: block;
......@@ -115,7 +115,7 @@
}
.item .value .price {
/* color: #3582EE; */
/* color: #347BFF; */
font-weight: 500;
font-size: 28rpx;
color: #EB4E4E;
......@@ -130,7 +130,7 @@ color: #EB4E4E;
.item .control .add {
width: 44rpx;
height: 44rpx;
color: #3582EE;
color: #347BFF;
background: #F7F7F7;
border-radius: 6rpx;
display: flex;
......
......@@ -116,7 +116,7 @@
/* .order-popup-content .shortcut-list .shortcut.active {
color: #FFFFFF;
background: #3582EE;
background: #347BFF;
} */
.order-popup-content .input-item {
......@@ -247,7 +247,7 @@
}
.order-popup-content .qr-box .tips {
color: #3582EE;
color: #347BFF;
}
.order-popup-content .order-type-box {
......@@ -268,8 +268,8 @@
.order-popup-content .order-type.active {
background: rgba(53, 130, 238, 0.08);
border-color: #3582EE;
color: #3582EE;
border-color: #347BFF;
color: #347BFF;
}
.order-popup-content .order-type-box .order-type-tips {
......@@ -284,7 +284,7 @@
justify-content: center;
font-size: 14px;
color: #FFFFFF;
background: #3582EE;
background: #347BFF;
border-radius: 12rpx;
margin-bottom: 28rpx;
}
......
......@@ -45,13 +45,13 @@
}
.child.active {
color: #3582ee;
color: #347BFF;
}
.child.title {
color: #282829;
padding-left: 64rpx;
/* color: #3582ee; */
/* color: #347BFF; */
}
.child .icon {
......
......@@ -45,13 +45,13 @@
}
.child.active {
color: #3582ee;
color: #347BFF;
}
.child.title {
color: #282829;
padding-left: 64rpx;
/* color: #3582ee; */
/* color: #347BFF; */
}
.child .icon {
......
......@@ -6,7 +6,7 @@
.draft-btn {
background: #FFFFFF;
color: #3582EE;
color: #347BFF;
}
......@@ -206,7 +206,7 @@
align-items: center;
font-weight: 500;
font-size: 28rpx;
color: #3582EE;
color: #347BFF;
.addIcon {
width: 24.5rpx;
......
......@@ -6,7 +6,7 @@
.draft-btn {
background: #FFFFFF;
color: #3582EE;
color: #347BFF;
}
......@@ -215,7 +215,7 @@
align-items: center;
font-weight: 500;
font-size: 28rpx;
color: #3582EE;
color: #347BFF;
.addIcon {
width: 24.5rpx;
......@@ -332,10 +332,10 @@
width: 300rpx;
height: 60rpx;
display: flex;
border: 2rpx solid #3582EE;
border: 2rpx solid #347BFF;
border-radius: 12rpx;
font-size: 28rpx;
color: #3582EE;
color: #347BFF;
margin-left: auto;
margin-right: -30rpx;
position: relative;
......@@ -346,12 +346,12 @@
/* top: 0; */
top: 50%;
transform: translateY(-50%);
border: 2rpx solid #3582EE;
border: 2rpx solid #347BFF;
left: 0;
width: 50%;
border-radius: 12rpx;
height: 100%;
background: #3582EE;
background: #347BFF;
color: #fff;
transition: all .25s;
}
......
......@@ -378,7 +378,7 @@ Page({
content: '商品已下架或计算规则未配置,请联系客服处理。',
showCancel: false,
confirmText: '确定',
confirmColor: '#3582EE'
confirmColor: '#347BFF'
})
data = data.map(item => {
return {
......
......@@ -449,7 +449,7 @@ Page({
content: '商品已下架或计算规则未配置,请联系客服处理。',
showCancel: false,
confirmText: '确定',
confirmColor: '#3582EE'
confirmColor: '#347BFF'
})
// let { id: appreciation, goodsInfo, upgradeGoodsName: goodsName, upgradeGoodsServiceItemsList } = data[0]
data = data.map(item => {
......
......@@ -83,7 +83,7 @@ page{
background: #EFF5FE;
height: 110rpx;
width: 100%;
color: #3582EE;
color: #347BFF;
font-size: 24rpx;
}
......
......@@ -28,7 +28,7 @@ page {
font-weight: 500;
color: #282829;
transform: rotate(90deg);
color: #3582EE;
color: #347BFF;
background: white;
}
......
......@@ -320,13 +320,13 @@
left: 0;
transform: translateY(-50%);
content: '';
background: #3582EE;
background: #347BFF;
border-radius: 100%;
}
.list .item .goods-list .goods .goods-name {
font-size: 28rpx;
color: #3582EE;
color: #347BFF;
max-width: 430rpx;
}
......@@ -360,7 +360,7 @@
.list .item .goods-more text {
font-size: 28rpx;
color: #3582EE;
color: #347BFF;
margin-right: 20rpx;
}
......@@ -432,16 +432,16 @@
height: 56rpx;
font-size: 28rpx;
color: #FFFFFF;
background: #3582EE;
background: #347BFF;
border-radius: 32rpx;
padding: 8rpx 40rpx;
}
.order-btn.default-btn {
background: #FFFFFF;
border: 2rpx solid #3582EE;
border: 2rpx solid #347BFF;
border-radius: 32rpx;
color: #3582EE;
color: #347BFF;
}
.padding_20 {
......
......@@ -40,7 +40,7 @@ Page({
title: '温馨提示',
content: '如需下载报价单,请复制下载地址后到手机浏览器中打开。下载地址5分钟内有效',
confirmText: '复制地址',
confirmColor: '#3582EE',
confirmColor: '#347BFF',
success(res) {
if (res.confirm) {
wx.setClipboardData({
......
......@@ -40,7 +40,7 @@ page {
font-family: PingFangSC-Medium;
ffont-weight: 500;
font-size: 32rpx;
color: #3582EE;
color: #347BFF;
text-align: center;
.btn {
......
......@@ -167,7 +167,7 @@ Page({
content: result.message,
showCancel: false,
confirmText: '知道了',
confirmColor: '#3582EE'
confirmColor: '#347BFF'
})
}
}
......@@ -247,7 +247,7 @@ Page({
content: `请在${envName == 0 ? '企业微信' : '微信'}中打开`,
showCancel: false,
confirmText: '知道了',
confirmColor: '#3582EE'
confirmColor: '#347BFF'
})
resolve(false)
}
......
......@@ -63,7 +63,7 @@
box-sizing: border-box;
}
.items.active{
border: 6rpx solid #3582EE;
border: 6rpx solid #347BFF;
}
.items .left{
width: 65%;
......@@ -115,8 +115,8 @@
}
/* 区域督导 */
.items .right .midle_3{
color: #3582EE;
/* border: 2rpx solid #3582EE; */
color: #347BFF;
/* border: 2rpx solid #347BFF; */
background-color: #347bff1a;
}
/* 驻店负责人 */
......@@ -162,7 +162,7 @@
height: 80rpx;
line-height: 80rpx;
text-align: center;
background-color: #3582EE;
background-color: #347BFF;
border-radius: 16rpx;
}
.list-not{
......
......@@ -107,7 +107,7 @@ page {
height: 48rpx;
background: rgba(53, 130, 238, .1);
border-radius: 0 24rpx 0 24rpx;
color: #3582EE;
color: #347BFF;
font-size: 24rpx;
font-weight: 600;
display: flex;
......@@ -152,6 +152,6 @@ page {
height: 80rpx;
line-height: 80rpx;
text-align: center;
background-color: #3582EE;
background-color: #347BFF;
border-radius: 16rpx;
}
......@@ -427,7 +427,7 @@ color: #999999;
height: 80rpx;
line-height: 80rpx;
text-align: center;
background-color: #3582EE;
background-color: #347BFF;
border-radius: 16rpx;
}
.list_nothing_img{
......
......@@ -111,7 +111,7 @@ page {
height: 48rpx;
background: rgba(53, 130, 238, .1);
border-radius: 0 24rpx 0 24rpx;
color: #3582EE;
color: #347BFF;
font-size: 24rpx;
font-weight: 600;
display: flex;
......@@ -156,6 +156,6 @@ page {
height: 80rpx;
line-height: 80rpx;
text-align: center;
background-color: #3582EE;
background-color: #347BFF;
border-radius: 16rpx;
}
......@@ -2,11 +2,13 @@
import api from '../api'
const app = getApp()
const TABLIST = ['全部', '已预约', '待预约']
const IMG_URL = 'https://img02.glsx.com.cn/weapp/resource/dj-car-boutique-work-wechat/'
Page({
/**
* 页面的初始数据
*/
data: {
IMG_URL,
tabIndex: 0,
activeIndex: 0,
phoneShow: false,
......@@ -15,7 +17,16 @@ Page({
overdue: 0,
weekInvited: 0
},
tabList: ['全部', '已预约', '待预约'],
tabList: [{
text: '全部',
count: 0
}, {
text: '已预约',
count: 0
}, {
text: '待预约',
count: 0
}],
orderObj: [{
label: '销售顾问',
arr: ['merchantName', 'employeeName']
......@@ -40,31 +51,38 @@ Page({
status: {
1: {
text: '待预约',
color: '#FF7D12'
color: '#FF9D0A',
background: '#FFF5E6'
},
2: {
text: '已预约',
color: '#3582EE'
color: '#35C376',
background: '#EAF9F1'
},
3: {
text: '取消预约',
color: '#FF7D12'
color: '#FF9D0A',
background: '#FFF5E6'
},
5: {
text: '超时未到店',
color: '#FF7D12'
text: '过期到店',
color: '#FF9D0A',
background: '#FFF5E6'
},
6: {
text: '已撤销',
color: '#FF7D12'
color: '#8F959E',
background: '#F3F4F5'
},
4: {
text: '已施工',
color: '#3582EE'
color: '#347BFF',
background: '#EAF1FF'
},
7: {
text: '已支付',
color: '#14CC68'
color: '#35C376',
background: '#EAF9F1'
}
},
searchObj: {},
......@@ -87,7 +105,7 @@ Page({
title: '',
content: '是否取撤销该工单?',
confirmText: '是',
confirmColor: '#3582EE',
confirmColor: '#347BFF',
cancelText: '否',
success(res) {
if (res.confirm) {
......@@ -334,9 +352,9 @@ Page({
data
} = res
this.setData({
['tabList[0]']: TABLIST[0] + '(' + (data.inviteCount || 0) + ')',
['tabList[1]']: TABLIST[1] + '(' + (data.hadInvitedCount || 0) + ')',
['tabList[2]']: TABLIST[2] + '(' + (data.notInvitedCount || 0) + ')'
['tabList[0]']: {text: TABLIST[0], count: data.inviteCount || 0},
['tabList[1]']: {text: TABLIST[1], count: data.hadInvitedCount || 0},
['tabList[2]']: {text: TABLIST[2], count: data.notInvitedCount || 0}
})
})
},
......
/* tabWorkOrder/pages/index/index.wxss */
page {
background-color: rgb(247, 248, 248);
background-color: #FFFFFF;
}
.to-box {
position: sticky;
left: 0;
z-index: 2;
box-shadow: 0 4rpx 20rpx 0 rgba(0, 0, 0, 0.10);
/* box-shadow: 0 4rpx 20rpx 0 rgba(0, 0, 0, 0.10); */
}
......@@ -88,7 +88,7 @@ page {
background: #FFFFFF;
/* box-shadow: 0 4rpx 20rpx 0 rgba(0, 0, 0, 0.10);
border-radius: 16rpx; */
padding: 40rpx 40rpx 30rpx;
padding: 32rpx;
position: relative;
/* width: 100%; */
/* margin: 20rpx; */
......@@ -110,9 +110,11 @@ page {
.list .item .name {
font-size: 32rpx;
color: #292D33;
display: flex;
align-items: center;
margin-bottom: 40rpx;
margin-bottom: 28rpx;
}
.list .item.gray .name {
......@@ -123,8 +125,9 @@ page {
} */
.list .item .name image {
width: 46rpx;
height: 46rpx;
width: 24rpx;
height: 24rpx;
margin-left: 12rpx;
}
.list .item.gray .name image {
......@@ -132,8 +135,7 @@ page {
}
.list .item .name .name-text {
margin-left: 26rpx;
width: 404rpx;
max-width: 404rpx;
}
......@@ -141,11 +143,11 @@ page {
position: absolute;
font-size: 28rpx;
top: 32rpx;
right: 40rpx;
min-width: 100rpx;
height: 56rpx;
right: 32rpx;
height: 44rpx;
background: #F0F0F0;
border-radius: 8rpx;
border-radius: 4rpx;
padding: 4rpx 8rpx;
}
.list .item .status .arc {
......@@ -217,13 +219,13 @@ page {
left: 0;
transform: translateY(-50%);
content: '';
background: #3582EE;
background: #347BFF;
border-radius: 100%;
}
.list .item .goods-list .goods .goods-name {
font-size: 28rpx;
color: #3582EE;
color: #347BFF;
max-width: 430rpx;
}
......@@ -257,7 +259,7 @@ page {
.list .item .goods-more text {
font-size: 28rpx;
color: #3582EE;
color: #347BFF;
margin-right: 20rpx;
}
......@@ -265,11 +267,6 @@ page {
color: #666;
}
.list .item .order-list {
padding: 20rpx 0;
}
.list .item .order {
font-size: 24rpx;
color: #333333;
......@@ -278,17 +275,14 @@ page {
align-items: center;
}
.list .item .order:last-of-type {
margin-bottom: 0;
}
.list .item .order .order-label {
width: 136rpx;
color: #999EA8;
}
.list .item .order .order-value {
width: calc(100% - 136rpx);
color: #888888;
color: #292D33;
display: flex;
align-items: center;
}
......@@ -367,7 +361,7 @@ page {
height: 80rpx;
display: flex;
background: rgba(53, 130, 238, 0.85);
border: 2rpx solid #3582EE;
border: 2rpx solid #347BFF;
border-radius: 40rpx;
box-sizing: border-box;
transform: translateX(-50%);
......@@ -407,11 +401,15 @@ page {
/* width: calc(100% - 40rpx); */
overflow: hidden;
margin: 20rpx;
box-shadow: 0 4rpx 20rpx 0 rgba(0, 0, 0, 0.10);
box-shadow: 0 4rpx 20rpx 0 #0000001a;
border-radius: 16rpx;
/* border-bottom: .5px solid #d8d4d4; */
}
.touch-item:first-child{
margin-top: 4rpx;
}
.del {
width: 72px;
display: flex;
......@@ -472,13 +470,13 @@ page {
height: 60rpx;
line-height: 60rpx;
display: flex;
color: #666666ff;
color: #181A1F;
font-size: 28rpx;
margin: 16rpx 30rpx;
}
.list-bar .txt-blue {
color: #3582EE;
color: #347BFF;
margin-right: 24rpx;
}
......@@ -486,8 +484,8 @@ page {
position: absolute;
top: 0;
right: 0;
width: 60rpx;
height: 60rpx;
width: 48rpx;
height: 48rpx;
}
......@@ -508,7 +506,7 @@ page {
}
.list .item .order-list {
border-bottom: 1rpx solid rgba(195, 195, 195, .3);
border-bottom: 1rpx solid #E4E8EE;
}
......@@ -516,30 +514,28 @@ page {
font-size: 28rpx;
display: flex;
align-items: center;
font-weight: 700;
margin-top: 28rpx;
margin-top: 31rpx;
}
.order-type .label {
color: #333333;
width: 60rpx;
line-height: 36rpx;
margin-right: 40rpx;
color: #999EA8;
width: 136rpx;
font-size: 24rpx;
}
.order-type .time {
color: #F24724;
color: #347BFF;
font-weight: 600;
}
.order-type .time.gray {
color: gray;
color: #BEC1C7;
}
.order-control {
position: absolute;
right: 40rpx;
bottom: 30rpx;
right: 32rpx;
bottom: 20rpx;
display: flex;
align-items: center;
font-size: 24rpx;
......@@ -549,22 +545,22 @@ page {
.control-item {
display: flex;
flex-direction: column;
align-items: center;
margin-left: 60rpx;
}
.control-item image {
margin-bottom: 8rpx;
justify-content: center;
width: 94rpx;
height: 56rpx;
margin-left: 16rpx;
border: 1rpx solid #DEE0E3;
border-radius: 32rpx;
}
.date-icon {
width: 32rpx;
height: 32rpx;
width: 48rpx;
height: 48rpx;
}
.phone-icon {
width: 36rpx;
height: 34rpx;
width: 48rpx;
height: 48rpx;
}
......@@ -32,7 +32,7 @@
<view>今日预约 · <span class="txt-blue">{{inviteObj.dayInvited || 0}}</span></view>
<view>本周预约 · <span class="txt-blue">{{inviteObj.weekInvited || 0}}</span></view>
<view>超时未到店 · <span class="txt-blue">{{inviteObj.overdue || 0}}</span></view>
<image class="icon-cal" src="/images/icon-cal.png" bindtap="jump" data-item="{}" data-recorderId='22' data-name="tabDate.apprManage"/>
<image class="icon-cal" src="{{IMG_URL}}miniProgram/date_icon.png" bindtap="jump" data-item="{}" data-recorderId='22' data-name="tabDate.apprManage"/>
</view>
<block wx:if="{{flag}}">
<scroll-view
......@@ -42,7 +42,7 @@
bindrefresherrefresh="search"
bindscrolltolower="scrollonReachBottom"
class="list"
style="height:calc(100vh - {{navBarHeight + 104}}px);"
style="height:calc(100vh - {{navBarHeight}}px - 300rpx);"
refresher-threshold="104"
refresher-triggered="{{triggered}}"
class="list">
......@@ -69,15 +69,16 @@
data-name="tabDate.detail"
data-recorderId='23'
data-item="{{li}}">
<view class="status" style="color:{{status[li.inviteStatus].color}}">
<view class="status" style="color:{{status[li.inviteStatus].color}};background: {{status[li.inviteStatus].background}};">
<block>{{status[li.inviteStatus].text}}</block>
<block wx:if="{{li.inviteStatus !=4}}">
<!-- <block wx:if="{{li.inviteStatus !=4}}">
<view class="line" style="background-color:{{status[li.inviteStatus].color}};" />
</block>
</block> -->
</view>
<view class="name">
<image src="/images/avatar.png" />
<!-- <image src="/images/avatar.png" /> -->
<view class="name-text text-hide">{{li.customer.customerName || ''}}</view>
<image class="name-sex-icon" src="{{IMG_URL}}{{li.customer.customerSex == 1 ? 'miniProgram/icon-man.png' : 'miniProgram/icon-woman.png'}}" mode=""/>
</view>
<view class="order-list">
<block wx:for="{{orderObj}}" wx:key="index" wx:for-item="i">
......@@ -115,14 +116,12 @@
<view class="order-control">
<block wx:if="{{!userInfo.isSuper && userInfo.merchantType && userInfo.userType == 2 && li.customerCoupon.usedFlag !='Y'&&li.inviteStatus !=4&&li.inviteStatus !=6}}">
<view class="control-item" catchtap="showDateBox" data-item="{{li}}">
<image src="../images/date.png" class="date-icon" />
预约
<image src="{{IMG_URL}}miniProgram/reservation_icon.png" class="date-icon" />
</view>
</block>
<block wx:if="{{li.customer.customerPhone&&!phoneShow}}">
<view class="control-item" data-phone="{{li.customer.customerPhone}}" catchtap="phoneCall">
<image src="../images/phone.png" class="phone-icon" />
拨号
<image src="{{IMG_URL}}miniProgram/phone_icon.png" class="phone-icon" />
</view>
</block>
</view>
......@@ -153,7 +152,7 @@
</block>
</block>
<block wx:else>
<view class="list-not">暂无数据</view>
<empty-data />
</block>
</scroll-view>
</block>
......
<!-- components/orderSwitchPopup/orderSwitchPopup.wxml -->
<view wx:if="{{flag}}" class='container' style=''>
<glsx-privacy appletName="生意助手员工版" bind:agreeClick="agreeClick" bind:disagreeClick="disagreeClick"></glsx-privacy>
<view wx:if="{{flag}}" class='container'>
<!-- bindtap='_close' 取消遮光层关闭事件 -->
<view class='wrap {{wrapAnimate}}' style='background:rgba(0,0,0,{{bgOpacity}});' />
<view class='popup-container {{popupAnimate}}'>
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!