Commit 613caa0c by 张晓玮

Merge branch 'dev_v4.31.0_1031' into 'develop'

Dev v4.31.0 1031

See merge request !184
2 parents 6dc84173 244046cf
Showing 221 changed files with 896 additions and 447 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,
artificerList: wx.$util.deepClone(copyArtificerList),
selectedTechnicianId: artificerSelectObj?.technicianId,
searchValue: ''
})
}
......@@ -27,6 +27,7 @@ Component({
},
title: String,
orderInfo: Object,
artificerSelectObj: Object,
copyArtificerList: Array
},
......@@ -73,24 +74,19 @@ Component({
},
changeItem(e) {
let { target } = e.currentTarget.dataset
let { artificerList, copyArtificerList } = this.data
artificerList.map(i => {
i.active = false
if (i.id == target?.id) {
i.active = true
}
return i
let { artificerList } = this.data
let { copyArtificerList } = wx.$util.deepClone(this.data)
artificerList.forEach(i => {
if (i.id != target?.id) i.active = false
if (i.id == target?.id) i.active = !i.active
})
copyArtificerList.map(i => {
i.active = false
if (i.id == target?.id) {
i.active = true
}
return i
copyArtificerList.forEach(i => {
if (i.id != target?.id) i.active = false
if (i.id == target?.id) i.active = !i.active
})
this.setData({
artificerList: artificerList,
copyArtificerList: copyArtificerList,
artificerList,
copyArtificerList,
selectedTechnicianId: target.id
})
},
......@@ -100,16 +96,32 @@ Component({
artificerSelectPopup: false
})
},
// 打开生意助手小程序
goMiniprogram() {
wx.navigateToMiniProgram({
appId: 'wx2c28337db96364d2'
})
},
async confirm() {
let { copyArtificerList, orderInfo } = this.data
let { copyArtificerList, orderInfo, artificerSelectObj, selectedTechnicianId } = this.data
let arr = copyArtificerList?.filter(v => v.active) || []
if (!arr.length) {
return wx.$util.showToast('请选择技师')
// return wx.$util.showToast('请选择技师')
// 未选技师 将selectedTechnicianId清除
this.setData({
selectedTechnicianId: ''
})
}
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', orderInfo)
// 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,13 +41,13 @@ Component({
}
}
},
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)
}
}
......@@ -54,7 +55,8 @@ Component({
returnFun: Boolean,
pageName: {
type: String
}
},
filmOrder: String // 下单类型
},
lifetimes: {
attached() {}
......@@ -71,6 +73,54 @@ Component({
* 组件的方法列表
*/
methods: {
customerPhoneBlur() {
const phoneRex = /^[1]([3-9])[0-9]{9}$/
let { merchantId, customerPhone } = this.data
if (phoneRex.test(customerPhone)) {
let thisPage = wx.$router.getPageInstance()
let {
orderObj
} = thisPage.data
let params = {
phone: customerPhone,
merchantId: merchantId
}
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 || orderObj?.customer.customerSex,
plateNumber: data.plateNumber,
experienceFlag: orderObj?.customer.experienceFlag || 'Y' // 默认是体验
},
couponName: data.couponName,
customerCouponCode: data.customerCouponCode,
customerCouponId: data.customerCouponId
}
thisPage.setData({
orderObj: obj,
returnFun: true
})
}
} else {
wx.$util.showToast(message)
}
this.getCustomerCouponList(customerPhone)
this.getCouponList(this.data.merchantId, !(data && Object.keys(data)?.length))
})
}
},
getCustomerCouponList(customerPhone) {
// statusList 客户券状态 0待使用 1使用中 2已回收 3已使用
let params = {
......@@ -106,9 +156,10 @@ Component({
}
})
},
getCouponList(merchantId, refresh) {
getCouponList(merchantId, setCoupon) {
let {
yqMerchantId
yqMerchantId,
filmOrder
} = this.data
// console.log(merchantId, yqMerchantId, 'yqMerchantId');
// 解决 yqMerchantId 为0 请求空数据的问题
......@@ -127,7 +178,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 +196,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)
}
})
},
......@@ -270,7 +355,7 @@ Component({
if (e.id == orderObj.customerCouponId) {
e.active = true
couponName = e.couponName
id = e.couponInfo.id
id = e.id
key = 'customerCouponId'
}
})
......
......@@ -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;
......
......@@ -67,10 +67,10 @@ Component({
},
async getMerchantList() {
let {
userInfo,
type,
singleSeller
} = this.data
let userInfo = wx.$util.getUserInfo()
// console.log('type', type)
let thisPage = wx.$router.getPageInstance()
// console.log(thisPage.data)
......
......@@ -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;
}
......
......@@ -199,9 +199,20 @@ Component({
})
},
confirm(e) {
let { orderType, outTradeNo, payVoucherList, textareaValue, orderTypeList } = this.data
let { orderType, outTradeNo, payVoucherList, textareaValue, orderTypeList, confirmStatus } = this.data
// debugger
console.log(wx.$router)
// console.log(wx.$router)
// 做防抖
if (confirmStatus) return
this.setData({
confirmStatus: true
})
setTimeout(()=>{
this.setData({
confirmStatus: false
})
},1000)
console.log(thisPage,'thisPage');
let thisPage = wx.$router.getPageInstance()
if (orderType == 2) {
if (payVoucherList.length && outTradeNo) {
......
......@@ -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
<!--packageCrowdFunding/pages/activityList/activityList.wxml-->
<glsx-privacy appletName="生意助手员工版" bind:agreeClick="agreeClick" bind:disagreeClick="disagreeClick"></glsx-privacy>
<navigation-bar class="navigation-header" bindnavbarReady="navbarReady" showBack="{{true}}" bindback="back">
<view class="navigation-title" bindtap="showActivityPicker">
<view class="navigation-title-text text-hide">{{activityName}}</view>
......
......@@ -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,23 +439,23 @@
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 {
font-size: 24rpx;
color: #333333;
color: #292D33;
margin-bottom: 20rpx;
display: flex;
align-items: center;
......@@ -440,12 +470,12 @@
}
.list .item .order .order-label {
width: 165rpx;
color: #9B9B9E;
width: 138rpx;
color: #999EA8;
}
.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,33 +44,33 @@
</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">
<view class="activity-pay">
<view class="havePaid">已支付·
<view class="havePaid">已支付 ·
<view class="havePaidSum">{{item.payedCount}}</view>
</view>
<view class="unpaid">待支付·
<view class="unpaid">待支付 ·
<view class="unpaidNum">{{item.notPayedCount}}</view>
</view>
</view>
......@@ -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 {
......@@ -269,6 +285,7 @@
.activity-box .activity-list .activity-pay .havePaid .havePaidSum {
color: #FF9D0A;
padding-left: 8rpx;
}
.activity-box .activity-list .activity-pay .unpaid {
......@@ -278,6 +295,7 @@
.activity-box .activity-list .activity-pay .unpaid .unpaidNum {
color: #EB4E4E;
padding-left: 8rpx;
}
.no-data {
......
......@@ -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;
}
......
......@@ -36,7 +36,7 @@ Page({
type: 2,
typeText: '补录订单'
},
tabIndex: 0,
tabIndex: 1,
pageShow: [true, false, false, false],
navBarHeight: 0,
showPicker: false,
......@@ -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 = {}
......@@ -323,7 +323,7 @@ Page({
},
onRoute(options) {
// console.log(options,'options');
console.log(options,'options');
if (options&&options.tabIndex) {
this.changeTabBar({detail:options.tabIndex})
}
......@@ -331,7 +331,9 @@ Page({
/**
* 生命周期函数--监听页面加载
*/
onLoad(options) {},
onLoad(options) {
console.log(options,'onLoad');
},
/**
* 生命周期函数--监听页面初次渲染完成
......
......@@ -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
......
// packageEquity/pages/carEquity/components/EquityList/EquityList.js
import carLifeApi from '../../../../carEquityApi'
import constantData from '../constant/data'
const TABLIST = ['全部', '待补单', '提单失败', '已完成']
Component({
/**
* 组件的属性列表
......@@ -15,11 +16,15 @@ Component({
observer(val) {
console.log(val)
if (val == 1) {
let { list } = this.data
let {
list
} = this.data
setTimeout(() => {
// 解决商品内容提早请求,导致不计算问题
this.setData({
list: { ...list }
list: {
...list
}
})
}, 10)
}
......@@ -32,8 +37,7 @@ Component({
*/
data: {
storeInfo: {},
orderObj: [
{
orderObj: [{
label: '车架号',
key: 'vin'
},
......@@ -117,7 +121,9 @@ Component({
})
},
getTotal() {
let { storeInfo } = this.data
let {
storeInfo
} = this.data
carLifeApi
.equityStatistics({
merchantId: storeInfo?.merchantId
......@@ -125,8 +131,17 @@ Component({
.then(res => {
console.log(res, '统计---')
if (res.code == '0') {
let {
data
} = res
this.setData({
statisticsObj: data || {}
})
this.setData({
statisticsObj: res.data || {}
['tabList[0]']: TABLIST[0] + '(' + (data.totalOder || 0) + ')',
['tabList[1]']: TABLIST[1] + '(' + (data.ladingOder || 0) + ')',
['tabList[2]']: TABLIST[2] + '(' + (data.failed || 0) + ')',
['tabList[3]']: TABLIST[3] + '(' + (data.success || 0) + ')'
})
} else {
wx.$util.showToast(res.message || '接口异常')
......@@ -134,7 +149,14 @@ Component({
})
},
getList(isReset = false) {
let { pageSize, pageNum, tabList, tabIndex, customerName, storeInfo } = this.data
let {
pageSize,
pageNum,
tabList,
tabIndex,
customerName,
storeInfo
} = this.data
if (this.data.nothing) {
return
}
......@@ -142,12 +164,16 @@ Component({
pageSize,
pageNum,
customerName,
orderStatus: constantData.equityStatusList.find(item => item.confName == tabList[tabIndex])?.confId || '',
// item.confName ==
orderStatus: constantData.equityStatusList.find(item => tabList[tabIndex].includes(item.confName))?.confId || '',
merchantId: storeInfo?.merchantId
}
carLifeApi.equityPage(params).then(res => {
if (res.code == '0') {
let { data, count } = res.data
let {
data,
count
} = res.data
let tempList = isReset ? data || [] : this.data.list.concat(data || [])
this.setData({
list: tempList,
......@@ -187,14 +213,18 @@ Component({
this.search()
},
input(e) {
let { value } = e.detail
let {
value
} = e.detail
this.setData({
customerName: value
})
},
// 首次进入会触发该方法,因此不需要在attached调getList
tabClick(e) {
let { searchObj } = this.data
let {
searchObj
} = this.data
delete searchObj.statusList
this.setData({
tabIndex: e.detail,
......@@ -204,7 +234,9 @@ Component({
},
// 录单/重新录单
handleRecordOrder(e) {
let { target } = e.currentTarget.dataset
let {
target
} = e.currentTarget.dataset
console.log(target)
wx.$router.go('serviceInfo', {
contractNo: target.contractNo,
......@@ -213,14 +245,22 @@ Component({
},
// 查看/下载合同
async handlePreviewContract(e) {
let { target, type } = e.currentTarget.dataset
let {
target,
type
} = e.currentTarget.dataset
wx.$util.showLoading('加载中...')
let params = {
contractNo: target.contractNo
// contractNo: 'car679883190869172224' //开发测试用
}
let result = await carLifeApi.equityOrderList({ orderId: target.orderId })
let { code, data } = result
let result = await carLifeApi.equityOrderList({
orderId: target.orderId
})
let {
code,
data
} = result
if (code == 0) {
if (data.length == 1) {
carLifeApi.printContract(params).then(res => {
......@@ -239,7 +279,9 @@ Component({
}
})
} else {
wx.$router.go('previewList', { list: data })
wx.$router.go('previewList', {
list: data
})
}
}
console.log(result, 'result')
......@@ -256,7 +298,7 @@ Component({
title: '温馨提示',
content: '如需下载PDF报告单,请复制下载地址后到手机浏览器中打开。下载地址5分钟内有效',
confirmText: '复制地址',
confirmColor: '#3582EE',
confirmColor: '#347BFF',
success(res) {
if (res.confirm) {
wx.setClipboardData({
......@@ -268,7 +310,9 @@ Component({
},
handleDownload() {
let { url } = this.data
let {
url
} = this.data
let _this = this
if (!url) {
wx.$util.showToast('没有合同')
......@@ -302,4 +346,4 @@ Component({
})
}
}
})
})
\ No newline at end of file
<glsx-privacy appletName="生意助手员工版" bind:agreeClick="agreeClick" bind:disagreeClick="disagreeClick"></glsx-privacy>
<view class="headerBar">
<!-- <view class="headerBar">
<view class="totalCount">
<view class="item">
<image src="/packageEquity/images/order-dbd.png" class="total-icon" />
......@@ -17,7 +17,7 @@
<view class="num">{{statisticsObj.success || 0}}</view>
</view>
</view>
</view>
</view> -->
<!-- style="margin-top:{{navBarHeight}}px" -->
<view class="main">
<view class="to-box">
......@@ -42,14 +42,14 @@
</view>
<tab-bar tabList="{{tabList}}" bindclick="tabClick" />
</view>
<view class="total-box">
<!-- <view class="total-box">
总订单 ·
<text>{{statisticsObj.totalOder}}</text>
待补单 ·
<text style="color: #E7AA47;">{{statisticsObj.ladingOder}}</text>
提单失败 ·
<text style="color: #D26F6B;">{{statisticsObj.failed}}</text>
</view>
</view> -->
<view wx:if="{{tabIndex != 3 && list.length && isShowTips}}" class="tips-box">
<tips-bottom
custom-class="tips-custom"
......@@ -57,7 +57,7 @@
tipsProps="{{tipsProps}}"
bind:closeTips="closeTips" />
</view>
<view wx:if="{{flag}}" class="order-box" style="height: calc(100% - 104rpx - 104rpx - 80rpx - {{isShowTips ? 48 : 0}}rpx);">
<view wx:if="{{flag}}" class="order-box" style="height: calc(100% - 104rpx - 104rpx - {{isShowTips ? 48 : 0}}rpx);">
<scroll-view
scroll-y
enable-back-to-top
......
......@@ -90,11 +90,12 @@
}
.main {
margin-top: -20rpx;
/* margin-top: -20rpx; */
background: #FFFFFF;
border-radius: 48rpx 48rpx 0 0;
overflow: hidden;
height: calc(100% - 192rpx);
/* height: calc(100% - 192rpx); */
height: 100% ;
}
.to-box {
......@@ -107,7 +108,7 @@
.search-box {
width: 100%;
padding: 32rpx 32rpx 0;
padding: 12rpx 32rpx 0;
display: flex;
background-color: #fff;
position: sticky;
......@@ -194,7 +195,7 @@
.tips-box {
box-sizing: border-box;
width: 100%;
padding: 0 32rpx;
padding: 20rpx 32rpx 0;
}
.tips-custom {
......@@ -210,7 +211,7 @@
.list {
box-sizing: border-box;
width: 100%;
padding: 20rpx;
padding: 20rpx 20rpx 0;
}
.list .item {
......@@ -316,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;
}
......@@ -356,7 +357,7 @@
.list .item .goods-more text {
font-size: 28rpx;
color: #3582EE;
color: #347BFF;
margin-right: 20rpx;
}
......@@ -403,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;
}
......
......@@ -7,6 +7,7 @@ import {
} from '../../../api'
import data from '../constant/data'
import constantData from '../constant/data'
import { ImgUrl } from '~/config'
Component({
/**
* 组件的属性列表
......@@ -25,6 +26,7 @@ Component({
* 组件的初始数据
*/
data: {
ImgUrl,
orderObj: [{
label: '车架号',
key: 'carVin'
......
......@@ -76,9 +76,9 @@
<!-- == '3' -->
<view wx:if="{{ item.orderStatus == '3'||item.orderStatus =='5'}}">
<span class="green-txt">{{orderStatusObj[item.orderStatus]}}</span>
<span class="header-price">¥ {{item.quotedPriceUpdate || ''}}</span>
<!-- <span class="header-price">¥ {{item.quotedPriceUpdate || ''}}</span> -->
</view>
<view wx:else class="{{item.orderStatus == '-1' ? 'red-txt' : '' }}">
<view wx:else class="{{item.orderStatus == '-1' ? 'red-txt' : 'default-txt' }}">
{{orderStatusObj[item.orderStatus] || '--'}}
</view>
</view>
......@@ -99,7 +99,8 @@
<block>{{item[i.key] || ''}}</block>
</view>
</view>
<view class="order" wx:if="{{i.key == 'createdTime' &&( item.orderStatus == '3'||item.orderStatus =='5')}}">
<!-- &&( item.orderStatus == '3'||item.orderStatus =='5') -->
<view class="order" wx:if="{{i.key == 'createdTime' }}">
<view class="order-label">{{i.label}}</view>
<view class="order-value">
<block>{{item[i.key] || ''}}</block>
......@@ -132,17 +133,19 @@
</view>
<!-- footer -->
<view class="item-footer">
<view>
<view wx:if="{{(item.orderStatus == '3' && item.equityOrderStatus == '0') || (item.orderStatus == '5' && item.equityOrderStatus == '0')}}" class="orange-txt">
<view class="pricePay" wx:if="{{item.orderStatus != '-1' && item.quotedPriceUpdate}}">
<view class="order-label">支付金额</view>
<view class="header-price"><text class="unit">¥</text> {{item.quotedPriceUpdate || ''}}</view>
<!-- 已录单未签名 -->
<!-- <view wx:if="{{(item.orderStatus == '3' && item.equityOrderStatus == '0') || (item.orderStatus == '5' && item.equityOrderStatus == '0')}}" class="orange-txt">
<image class="icon-info" src="/packageEquity/images/icon-info.png"></image>
订单已支付,未录入权益合同
</view>
<!-- 已录单未签名 -->
<view wx:elif="{{item.orderStatus == '3' && item.equityOrderStatus == '2'}}" class="orange-txt">
<image class="icon-info" src="/packageEquity/images/icon-info.png"></image>
订单已支付,尚未签名确认
</view>
<view wx:else>创建时间:{{item.createdTime}}</view>
</view> -->
<!-- <view wx:else>创建时间:{{item.createdTime}}</view> -->
</view>
<!-- 超管isSuper/商户类型 userType 1账号不可操作 -->
<block wx:if="{{!userInfo.isSuper && userInfo.userType == 2}}">
......@@ -172,6 +175,17 @@
</view>
</block>
</view>
<!-- <view class="tipsCon"> -->
<view wx:if="{{(item.orderStatus == '3' && item.equityOrderStatus == '0') || (item.orderStatus == '5' && item.equityOrderStatus == '0')}}" class="orange-txt tipsCon">
<image class="icon-info" src="/packageEquity/images/icon-info.png"></image>
订单已支付,未录入权益合同
</view>
<!-- 已录单未签名 -->
<view wx:elif="{{item.orderStatus == '3' && item.equityOrderStatus == '2'}}" class="orange-txt tipsCon">
<image class="icon-info" src="/packageEquity/images/icon-info.png"></image>
订单已支付,尚未签名确认
</view>
<!-- </view> -->
</view>
<block wx:if="{{nothing}}">
<view class="list-nothing">到底了~</view>
......@@ -184,6 +198,9 @@
</scroll-view>
</view>
<!-- 超管isSuper/商户类型 userType 1账号不可操作 -->
<image data-target="addOrder" wx:if="{{!userInfo.isSuper && userInfo.userType == 2&&mode!=-1}}" bind:tap="handleClickOrderBtn" class="addOrder" src="/packageEquity/images/addOrder.png" mode="scaleToFill|aspectFit|aspectFill|widthFix" binderror="" bindload="" />
<view class="addOrderBtn" wx:if="{{!userInfo.isSuper && userInfo.userType == 2&&mode!=-1}}">
<image data-target="addOrder" bind:tap="handleClickOrderBtn" class="addOrder" src="{{ImgUrl}}/miniProgram/crateOrder.png" mode="scaleToFill|aspectFit|aspectFill|widthFix" binderror="" bindload="" />
<view class="label">新增提单</view>
</view>
</view>
<remark-popup wx:if="{{showRemark}}" title="战败原因" show="{{showRemark}}" required="{{true}}" bindcancel="remarkCancel" bindconfirm="remarkConfirm" placeholder="请填写战败原因" maxlength="15" value="{{sufferReason}}" />
......@@ -89,7 +89,7 @@
border-radius: 48rpx 48rpx 0 0;
overflow: hidden;
/* height: calc(100% - 260rpx); */
height: calc(100% );
height: calc(100%);
}
.to-box {
......@@ -209,6 +209,7 @@
box-shadow: 0 6rpx 16rpx 0 rgba(205, 205, 209, 0.5);
border-radius: 16rpx;
margin: 0 6rpx 20rpx;
padding-bottom: 20rpx;
}
.list .item:first-child {
......@@ -240,7 +241,6 @@
.list .header-status {
font-weight: 500;
font-size: 28rpx;
color: #FF9D0A;
}
.header-price {
......@@ -250,10 +250,23 @@
.green-txt {
color: #4AC18E;
background: #EAF9F1;
padding: 4rpx 8rpx;
border-radius: 4rpx;
}
.red-txt {
color: #EB4E4E;
background: #FDECE9;
padding: 4rpx 8rpx;
border-radius: 4rpx;
}
.default-txt {
color: #FF9D0A;
background: #FFF5E6;
padding: 4rpx 8rpx;
border-radius: 4rpx;
}
.list .content {
......@@ -320,13 +333,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 +373,7 @@
.list .item .goods-more text {
font-size: 28rpx;
color: #3582EE;
color: #347BFF;
margin-right: 20rpx;
}
......@@ -408,7 +421,26 @@
font-size: 24rpx;
color: #9B9B9E;
border-top: 1rpx solid #EDEDED;
padding: 20rpx 32rpx;
padding: 20rpx 32rpx 0;
}
.pricePay {
display: flex;
align-items: center;
}
.pricePay .unit {
font-size: 28rpx;
}
.pricePay .order-label {
width: 136rpx;
color: #9B9B9E;
}
.pricePay .header-price {
font-family: 'numberBold';
font-weight: 700;
font-size: 36rpx;
color: #347BFF;
}
.orange-txt {
......@@ -425,6 +457,7 @@
.btn_class {
display: flex;
gap: 20rpx;
margin-left: auto;
}
.order-btn {
......@@ -432,16 +465,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 {
......@@ -528,12 +561,15 @@
height: 64rpx;
}
.addOrder {
width: 112rpx;
height: 112rpx;
position: fixed;
right: 32rpx;
bottom: 250rpx;
.tipsCon {
box-sizing: border-box;
width: 646rpx;
height: 56rpx;
margin: 20rpx auto 0;
line-height: 56rpx;
padding: 0rpx 12rpx;
background: #FFF5E6;
border-radius: 8rpx;
}
.no-data {
......@@ -549,4 +585,36 @@
.list-nothing,
.list-not {
text-align: center;
}
.addOrderBtn {
position: fixed;
right: 32rpx;
bottom: 250rpx;
display: flex;
align-items: center;
justify-content: center;
flex-direction: column;
width: 104rpx;
height: 172rpx;
background: #ffffffe6;
border: 2rpx solid #EFF0F2;
box-shadow: 0 4rpx 20rpx 0 #0000001a;
border-radius: 52rpx;
font-family: PingFangSC-Regular;
font-weight: 400;
font-size: 20rpx;
color: #757980;
}
.addOrder {
width: 96rpx;
height: 96rpx;
margin-top: -16rpx;
}
.addOrderBtn .label {
margin-top: -10rpx;
}
\ No newline at end of file
......@@ -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;
}
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!