Commit ea32bb5c by 张立顺

fix style:第二轮bug和样式修改

1 parent 8499fafc
Showing 31 changed files with 380 additions and 212 deletions
......@@ -5,7 +5,7 @@
2测试
3生产
*/
const index = 1
const index = 2
const secretKey_items = {
ip: {
......
<view class="layout" style="padding-bottom:{{isFullSucreen?'224rpx':'160rpx'}}">
<view class="title">请选择登录的账号</view>
<view class="list">
<block wx:if="{{flag}}">
<block wx:if="{{loginUserInfoList}}">
<block wx:for="{{loginUserInfoList}}" wx:key="index">
<view class="items {{item.active?'active':''}}" bindtap="chooseAccount" data-index="{{index}}">
<view class="name">{{item.merchantName}}</view>
<view class="icon">
<image src="/images/active-arc.png"></image>
</view>
<view class='radio'></view>
</view>
</block>
</block>
<block wx:else>
<view class="list-not" style="height: calc(100vh - {{isFullSucreen ? '159' :'125'}}px)"
bindtap="getListSelectAccount">点击刷新</view>
</block>
</block>
</view>
<view class="btn-box {{isFullSucreen?'isFullSucreen-btn':''}}">
<view class='btn' bindtap="choiceAccountLogin">确定</view>
</view>
</view>
\ No newline at end of file
<view class="title">请选择登录的账号</view>
<view class="list">
<block wx:if="{{flag}}">
<block wx:if="{{loginUserInfoList}}">
<block wx:for="{{loginUserInfoList}}" wx:key="index">
<view class="items {{item.active?'active':''}}" bindtap="chooseAccount" data-index="{{index}}">
<view class="name">
{{item.merchantName}}{{item.isSuper==true?'(超管)':item.userType==1?'(商户号)':'(员工号)'}}
</view>
<view class="icon">
<image src="/images/active-arc.png" />
</view>
<view class='radio' />
</view>
</block>
</block>
<block wx:else>
<view class="list-not" style="height: calc(100vh - {{isFullSucreen ? '159' :'125'}}px)" bindtap="getListSelectAccount">
点击刷新
</view>
</block>
</block>
</view>
<view class="btn-box {{isFullSucreen?'isFullSucreen-btn':''}}">
<view class='btn' bindtap="choiceAccountLogin">确定</view>
</view>
</view>
......@@ -30,7 +30,6 @@
"disablePlugins": [],
"outputPath": ""
},
"enableEngineNative": false,
"useIsolateContext": false,
"userConfirmedBundleSwitch": false,
"packNpmManually": false,
......@@ -39,7 +38,8 @@
"disableUseStrict": false,
"minifyWXML": true,
"showES6CompileOption": false,
"useCompilerPlugins": false
"useCompilerPlugins": false,
"ignoreUploadUnusedFiles": true
},
"compileType": "miniprogram",
"libVersion": "2.22.1",
......
......@@ -71,7 +71,7 @@ Page({
}
],
tableHeight: (20 + 1) * 96,
tableWidth: 108 * 4 + 124 * 2 + 232
tableWidth: 108 * 5 + 124 * 2 + 256
// tableWidth: 606
},
......
......@@ -337,7 +337,7 @@ page ::-webkit-scrollbar {
background-color: #fff;
box-sizing: border-box;
height: 94rpx;
width: 232rpx;
width: 240rpx;
padding: 20rpx 20rpx;
font-size: 20rpx;
/* line-height: 30rpx; */
......
......@@ -79,6 +79,23 @@ var rateFormatAbs = function (params) {
}
}
var toDecimal2 = function (params) {
// debugger
// console.log(params)
var data = params.toString().split('.')
var num = data[1]
// console.log(data, num)
if (num) {
if (num.length == 1) {
num = '.' + num + '0'
} else {
num = '.' + num
}
} else {
num = '.00'
}
return data[0] + num
}
/*
* 导出
*/
......@@ -90,5 +107,6 @@ module.exports = {
dateFormatSlash: dateFormatSlash,
dateFormatYear: dateFormatYear,
dateFormatMonth: dateFormatMonth,
rateFormatAbs: rateFormatAbs
rateFormatAbs: rateFormatAbs,
toDecimal2: toDecimal2
}
......@@ -11,14 +11,31 @@ Component({
// console.log(n)
this.getUserDayReport(n)
}
}, // 查询日期
refresh: {
type: Boolean,
observer: function (n) {
this.getUserDayReport(n)
this.getUserInfo()
}
} // 刷新列表
} // 查询日期
// refresh: {
// // 刷新列表
// type: Boolean,
// observer: function (n) {
// console.log()
// let {hidden} = this.data
// // 如果在当前页面
// if (!hidden) {
// }
// // this.getUserDayReport(n)
// // this.getUserInfo()
// }
// },
// hidden: {
// // 刷新列表
// type: Boolean,
// observer: function (n) {
// console.log(this.data)
// console.log(n)
// if (n) {
// }
// }
// }
},
/**
......
......@@ -108,7 +108,7 @@
.otherAdd {
height: 122rpx;
padding: 0 20rpx;
// padding: 0 20rpx;
display: flex;
align-items: center;
justify-content: space-between;
......@@ -159,6 +159,7 @@
justify-content: space-between;
width: calc(100% - 40rpx);
overflow: hidden;
background-color: #f1554c;
// border-bottom: 1px solid #d8d4d4;
border-bottom: .5px solid #d8d4d4;
}
......@@ -197,6 +198,39 @@
font-size: 28rpx;
}
.confirm {
/* 定义动画 */
background-color: chocolate;
animation-duration: 1s;
/* 动画时间 */
animation-name: fadein;
/* 关键帧名字 */
// -webkit-transform: translateX(90px);
// transform: translateX(90px);
// -webkit-transition: all 0.4s;
// transition: all 0.4s;
// width: 90px;
// display: flex;
// flex-direction: column;
// align-items: center;
// justify-content: center;
// color: #fff;
// font-size: 28rpx;
}
/* 定义关键帧 */
@keyframes fadein {
0% {
opacity: 0;
transform: translateX(90px);
}
100% {
opacity: 1;
transform: translateX(0px);
}
}
.touch-move-active .content,
.touch-move-active .del {
background-color: #f1554c;
......@@ -204,9 +238,19 @@
transform: translateX(0);
}
// .touch-move-active .content,
// .touch-move-active .confirm {
// background-color: #f1554c;
// -webkit-transform: translateX(0);
// transform: translateX(0);
// }
}
.businessPage>view:nth-last-child(2) {
// .businessPage>view:nth-last-child(2) {
// border-bottom: none;
// }
.cellContainer view:last-child {
border-bottom: none;
}
......@@ -237,7 +281,7 @@
}
.cellContainer {
border-radius: 16px 16px 0 0;
border-radius: 12rpx 12rpx 0 0;
background-color: #fff;
overflow: hidden;
}
\ No newline at end of file
<!-- tabOperating/pages/index/component/business/business.wxml -->
<!-- bindscrolltolower="scrollonReachBottom" -->
<wxs src="../../../index.wxs" module="filter" />
<view class="businessPage">
<scroll-view
hidden="{{hidden}}"
scroll-y
enable-back-to-top
refresher-enabled="{{true}}"
bindrefresherrefresh="restPageNum"
refresher-threshold="104"
style="height:100%;"
class="businessPage list"
refresher-triggered="{{triggered}}">
<view class=" title">
<!-- 还有确定是单园区店 -->
<!-- 还有确定是单园区店 ||userInfo.userType==1 -->
<view
class="addFields"
wx:if="{{ (userInfo.userType != 2||userInfo.isSuper) &&(userInfo.subLoginUser.merchantId != userInfo.merchantId)||userInfo.userType==1}}"
wx:if="{{( (userInfo.userType != 2||userInfo.isSuper) &&(userInfo.subLoginUser.merchantId != userInfo.merchantId))}}"
data-type="add"
bindtap="remarkShow">
<image
......@@ -132,15 +142,24 @@
</view>
<view
wx:else
class="del"
class="del confirm"
data-id="{{item['fieldId']}}"
catchtap="confirmDelBtn"
data-index="{{index}}">
确认删除
</view>
<!-- confirm wx:if="{{!item['confirmIndex']}}" -->
<!-- <view
wx:else
class="del"
data-id="{{item['fieldId']}}"
catchtap="confirmDelBtn"
data-index="{{index}}">
确认删除
</view> -->
</view>
</view>
<view class="bottomTips">到底了~</view>
</view>
</scroll-view>
<!-- placeholder="新数值会覆盖旧数值" -->
.businessPage .title{display:flex;justify-content:space-between;align-items:center;height:80rpx;padding:0 20rpx}.businessPage .title .addFields{font-size:24rpx;color:#333;display:flex;align-items:center}.businessPage .title .addIcon{width:24rpx;height:24rpx;margin-right:6rpx}.businessPage .title .tips{display:flex;margin-left:auto;align-items:center;color:#999;font-size:24rpx}.businessPage .title .tipsIcon{width:24rpx;height:24rpx;margin-left:8rpx}.businessPage .cell{margin:20rpx;padding-bottom:20rpx;font-size:24rpx;background-color:#fff;border-bottom:.5px solid #d8d4d4}.businessPage .cell .todayData{display:flex;justify-content:space-between;margin-bottom:10rpx;font-size:28rpx;color:#333333}.businessPage .cell .todayData .num{font-weight:600;display:flex;align-items:center}.businessPage .cell .todayData .num image{width:10rpx;height:6rpx}.businessPage .cell .monthData{display:flex;justify-content:space-between;color:#999999;font-size:24rpx}.businessPage .cell .monthData .num{display:flex;align-items:center}.businessPage .cell .monthData .num image{width:15rpx;height:9rpx;margin:4rpx 6rpx 0 10rpx}.businessPage .otherCell{display:flex;justify-content:space-between;margin:40rpx 20rpx 0;padding-bottom:40rpx;font-size:28rpx;color:#333;background-color:#fff;border-bottom:.5px solid #d8d4d4}.businessPage .otherCell .num{font-weight:600}.businessPage .otherAdd{height:122rpx;padding:0 20rpx;display:flex;align-items:center;justify-content:space-between;background-color:#fff}.businessPage .otherAdd .otherData{display:flex;align-items:center}.businessPage .otherAdd .label{font-size:28rpx;margin-right:32rpx}.businessPage .otherAdd .check{display:flex;align-items:center;color:#3582EE;font-size:24rpx}.businessPage .otherAdd .check .checkIcon{width:24rpx;height:24rpx;margin-right:8rpx}.businessPage .otherAdd .placeholder{color:#C3C3C3;font-size:28rpx}.businessPage .otherAdd .placeholder.num{font-weight:600;font-size:28rpx;color:#333333}.businessPage .touch-item{margin:0 20rpx;display:flex;justify-content:space-between;width:calc(100% - 40rpx);overflow:hidden;border-bottom:.5px solid #d8d4d4}.businessPage .content{width:100%;margin-right:0;-webkit-transition:all 0.4s;transition:all 0.4s;-webkit-transform:translateX(90px);transform:translateX(90px);margin-left:-90px}.businessPage .content .item{display:flex}.businessPage .touch-item:nth-last-child(1){border-radius:0 0 16rpx 16rpx;border-bottom:0}.businessPage .del{width:90px;display:flex;flex-direction:column;align-items:center;justify-content:center;color:#fff;-webkit-transform:translateX(90px);transform:translateX(90px);-webkit-transition:all 0.4s;transition:all 0.4s;font-size:28rpx}.businessPage .touch-move-active .content,.businessPage .touch-move-active .del{background-color:#f1554c;-webkit-transform:translateX(0);transform:translateX(0)}.businessPage>view:nth-last-child(2){border-bottom:none}.bottomTips{height:92rpx;line-height:92rpx;text-align:center;font-size:20rpx;color:#666666;background:#F8F9F9}.input{text-align:right;font-size:28rpx;max-width:240rpx}.placeholder-class{color:#C3C3C3}.cellContainer{border-radius:16px 16px 0 0;background-color:#fff;overflow:hidden}
.businessPage .title{display:flex;justify-content:space-between;align-items:center;height:80rpx;padding:0 20rpx}.businessPage .title .addFields{font-size:24rpx;color:#333;display:flex;align-items:center}.businessPage .title .addIcon{width:24rpx;height:24rpx;margin-right:6rpx}.businessPage .title .tips{display:flex;margin-left:auto;align-items:center;color:#999;font-size:24rpx}.businessPage .title .tipsIcon{width:24rpx;height:24rpx;margin-left:8rpx}.businessPage .cell{margin:20rpx;padding-bottom:20rpx;font-size:24rpx;background-color:#fff;border-bottom:.5px solid #d8d4d4}.businessPage .cell .todayData{display:flex;justify-content:space-between;margin-bottom:10rpx;font-size:28rpx;color:#333333}.businessPage .cell .todayData .num{font-weight:600;display:flex;align-items:center}.businessPage .cell .todayData .num image{width:10rpx;height:6rpx}.businessPage .cell .monthData{display:flex;justify-content:space-between;color:#999999;font-size:24rpx}.businessPage .cell .monthData .num{display:flex;align-items:center}.businessPage .cell .monthData .num image{width:15rpx;height:9rpx;margin:4rpx 6rpx 0 10rpx}.businessPage .otherCell{display:flex;justify-content:space-between;margin:40rpx 20rpx 0;padding-bottom:40rpx;font-size:28rpx;color:#333;background-color:#fff;border-bottom:.5px solid #d8d4d4}.businessPage .otherCell .num{font-weight:600}.businessPage .otherAdd{height:122rpx;display:flex;align-items:center;justify-content:space-between;background-color:#fff}.businessPage .otherAdd .otherData{display:flex;align-items:center}.businessPage .otherAdd .label{font-size:28rpx;margin-right:32rpx}.businessPage .otherAdd .check{display:flex;align-items:center;color:#3582EE;font-size:24rpx}.businessPage .otherAdd .check .checkIcon{width:24rpx;height:24rpx;margin-right:8rpx}.businessPage .otherAdd .placeholder{color:#C3C3C3;font-size:28rpx}.businessPage .otherAdd .placeholder.num{font-weight:600;font-size:28rpx;color:#333333}.businessPage .touch-item{margin:0 20rpx;display:flex;justify-content:space-between;width:calc(100% - 40rpx);overflow:hidden;background-color:#f1554c;border-bottom:.5px solid #d8d4d4}.businessPage .content{width:100%;margin-right:0;-webkit-transition:all 0.4s;transition:all 0.4s;-webkit-transform:translateX(90px);transform:translateX(90px);margin-left:-90px}.businessPage .content .item{display:flex}.businessPage .touch-item:nth-last-child(1){border-radius:0 0 16rpx 16rpx;border-bottom:0}.businessPage .del{width:90px;display:flex;flex-direction:column;align-items:center;justify-content:center;color:#fff;-webkit-transform:translateX(90px);transform:translateX(90px);-webkit-transition:all 0.4s;transition:all 0.4s;font-size:28rpx}.businessPage .confirm{background-color:chocolate;animation-duration:1s;animation-name:fadein}@keyframes fadein{0%{opacity:0;transform:translateX(90px)}100%{opacity:1;transform:translateX(0px)}}.businessPage .touch-move-active .content,.businessPage .touch-move-active .del{background-color:#f1554c;-webkit-transform:translateX(0);transform:translateX(0)}.cellContainer view:last-child{border-bottom:none}.bottomTips{height:92rpx;line-height:92rpx;text-align:center;font-size:20rpx;color:#666666;background:#F8F9F9}.input{text-align:right;font-size:28rpx;max-width:240rpx}.placeholder-class{color:#C3C3C3}.cellContainer{border-radius:12rpx 12rpx 0 0;background-color:#fff;overflow:hidden}
......@@ -12,7 +12,12 @@ Component({
this.getbusinessList(n)
// if (n) this.getLetter()
}
} // 查询日期
}, // 查询日期
hidden: {
// 刷新列表
type: Boolean,
observer: function (n) {}
}
// date: String
},
......
.todayOrder {
width: 100%;
height: 74rpx;
height: 80rpx;
background: #F8F9F9;
font-size: 24rpx;
line-height: 74rpx;
......@@ -24,9 +24,15 @@
justify-content: space-between;
.status {
font-weight: 600;
color: #F24724;
font-size: 28rpx;
// font-weight: 600;
// color: #F24724;
// font-size: 28rpx;
.failIcon {
width: 106rpx;
height: 106rpx;
}
}
.update {
......@@ -99,7 +105,7 @@
}
.twoText {
max-width: 320rpx;
max-width: 420rpx;
text-overflow: -o-ellipsis-lastline;
overflow: hidden;
text-overflow: ellipsis;
......@@ -243,8 +249,15 @@
}
.noListText {
padding: 40rpx;
// padding: 40rpx;
height: calc(100% - 80rpx);
text-align: center;
// line-height: 100%;
display: flex;
justify-content: center;
background-color: #fff;
align-items: center;
border-radius: 12rpx;
}
.bottomTips {
......
<!-- tabOperating/pages/index/components/conquestCell/conquestCell.wxml -->
<view class="todayOrder">
今日成功升级{{orderObj.upgradeCount}}位,战败{{orderObj.orderCount - orderObj.upgradeCount}}位
</view>
<block wx:if="{{orderObj.list.length}}">
<block
wx:for="{{orderObj.list}}"
wx:for-item='item'
wx:for-index='index'
wx:key="index">
<view class="orderBox">
<view class="header">
<view class="owner">
<view class="name">
{{item.customerName}}
<!-- 客户性别(1男;2女) -->
<image wx:if="{{item.customerSex == 1}}" src="../../../../images/mamIcon.png" />
<image wx:if="{{item.customerSex == 2}}" src="../../../../images/womenIcon.png" />
</view>
<view class="carType" hidden="{{!item.carBrand}}">
{{item.carBrand}}{{item.carChildsBrandName?'- '+item.carChildsBrandName:''}}{{item.carSeriesName?'- '+item.carSeriesName:''}}
<wxs src="../../../index.wxs" module="filter" />
<!-- <view hidden="{{hidden}}"> -->
<scroll-view
hidden="{{hidden}}"
scroll-y
enable-back-to-top
refresher-enabled="{{true}}"
bindrefresherrefresh="restPageNum"
refresher-threshold="104"
style="height:100%;"
class="businessPage list"
refresher-triggered="{{triggered}}">
<view class="todayOrder">
今日成功升级{{orderObj.upgradeCount}}位,战败{{orderObj.orderCount - orderObj.upgradeCount}}位
</view>
<block wx:if="{{orderObj.list.length}}">
<block
wx:for="{{orderObj.list}}"
wx:for-item='item'
wx:for-index='index'
wx:key="index">
<view class="orderBox">
<view class="header">
<view class="owner">
<view class="name">
{{item.customerName}}
<!-- 客户性别(1男;2女) -->
<image wx:if="{{item.customerSex == 1}}" src="../../../../images/mamIcon.png" />
<image wx:if="{{item.customerSex == 2}}" src="../../../../images/womenIcon.png" />
</view>
<view class="carType" hidden="{{!item.carBrand}}">
{{item.carBrand}}{{item.carChildsBrandName?'- '+item.carChildsBrandName:''}}{{item.carSeriesName?'- '+item.carSeriesName:''}}
</view>
</view>
</view>
<view>
<view class="update" wx:if="{{item.upgradeFlag=='Y'}}">
合计
<view class="num">¥{{item.totalPrice}}</view>
<view>
<view class="update" wx:if="{{item.upgradeFlag=='Y'}}">
合计
<view class="num">¥{{filter.toDecimal2(item.totalPrice)}}</view>
</view>
<view class="status" wx:if="{{item.upgradeFlag=='N'}}">
<image
class="failIcon"
src="../../../../images/failIcon.png"
mode=""
binderror=""
bindload="" />
</view>
</view>
<view class="status" wx:if="{{item.upgradeFlag=='N'}}">战败</view>
</view>
</view>
<view class="orderContainer">
<block
wx:for="{{orderItem}}"
wx:key="childrenIndex"
wx:for-item='childrenItem'
wx:for-index='childrenIndex'>
<block wx:if="{{childrenItem.required || (childrenItem.prop == 'refusalReason' &&item['upgradeFlag']=='N')}}">
<view class="item">
<view class="label">{{childrenItem.label}}</view>
<view class=" {{childrenItem.prop != 'refusalReason'?'oneText':'twoText'}}">
<!-- 1111LDCA23542J2015533抵用礼券抵用礼券抵用礼券抵用礼券 -->
{{item[childrenItem.prop]||'-'}}
<view class="orderContainer">
<block
wx:for="{{orderItem}}"
wx:key="childrenIndex"
wx:for-item='childrenItem'
wx:for-index='childrenIndex'>
<block wx:if="{{childrenItem.required || (childrenItem.prop == 'refusalReason' &&item['upgradeFlag']=='N')}}">
<view class="item">
<view class="label">{{childrenItem.label}}</view>
<view class=" {{childrenItem.prop != 'refusalReason'?'oneText':'twoText'}}">
{{item[childrenItem.prop]||'-'}}
<!-- {{orderInfo.couponName || ''}}{{orderInfo.customerCoupon.customerCouponCode ||''}} -->
</view>
</view>
</view>
</block>
<block wx:if="{{ childrenItem.prop == 'subOrders' && item['upgradeFlag']=='Y'}}">
<view class="subOrdersList">
<view class="goodsList">
<view class="label">购买商品</view>
<view class="goodsListItem">
<!-- <block
</block>
<block wx:if="{{ childrenItem.prop == 'subOrders' && item['upgradeFlag']=='Y'}}">
<view class="subOrdersList">
<view class="goodsList">
<view class="label">购买商品</view>
<view class="goodsListItem">
<!-- <block
wx:for="{{item['subOrders']}}"
wx:key="subOrdersIndex"
wx:for-item='subOrdersItem'
......@@ -59,39 +78,39 @@
<view class="price">¥{{subOrdersItem.totalPrice}}</view>
</view>
</block> -->
<block
wx:for="{{item['subOrders']}}"
wx:key="subOrdersIndex"
wx:for-item='subOrdersItem'
wx:for-index='subOrdersIndex'>
<view class="goodsItem">
<view class="name oneText">{{subOrdersItem.upgradeGoodsName}}</view>
<view class="price">¥{{subOrdersItem.totalPrice}}</view>
</view>
</block>
<block
wx:for="{{item['subOrders']}}"
wx:key="subOrdersIndex"
wx:for-item='subOrdersItem'
wx:for-index='subOrdersIndex'>
<view class="goodsItem">
<view class="name oneText">{{subOrdersItem.upgradeGoodsName}}</view>
<view class="price">¥{{filter.toDecimal2 (subOrdersItem.totalPrice)}}</view>
</view>
</block>
</view>
</view>
</view>
<view class="paySelect">
<view class="label">支付方式</view>
<view class="payType">{{payType[item.payType]}}</view>
</view>
<view class="guarantee">
<view class="label">质保时间</view>
<view class="goodsListItem">
<block
wx:for="{{item['subOrders']}}"
wx:key="subOrdersIndex"
wx:for-item='subOrdersItem'
wx:for-index='subOrdersIndex'>
<view class="name oneText">
{{subOrdersItem.upgradeWarrantyPeriod?subOrdersItem.upgradeWarrantyPeriod+'年':'无'}}
</view>
</block>
<view class="paySelect">
<view class="label">支付方式</view>
<view class="payType">{{payType[item.payType]}}</view>
</view>
<view class="guarantee">
<view class="label">质保时间</view>
<view class="goodsListItem">
<block
wx:for="{{item['subOrders']}}"
wx:key="subOrdersIndex"
wx:for-item='subOrdersItem'
wx:for-index='subOrdersIndex'>
<view class="name oneText">
{{subOrdersItem.upgradeWarrantyPeriod?subOrdersItem.upgradeWarrantyPeriod+'年':'无'}}
</view>
</block>
</view>
</view>
</view>
</view>
</block>
<!-- <block wx:if="{{childrenItem.prop=="refusalReason" &&item[childrenItem['refusalReason']] }}">
</block>
<!-- <block wx:if="{{childrenItem.prop=="refusalReason" &&item[childrenItem['refusalReason']] }}">
<view class="item">
<view class="label">{{childrenItem.label}}</view>
<view class=" {{childrenItem.prop != 'refusalReason'?'oneText':'twoText'}}">
......@@ -99,30 +118,32 @@
</view>
</view>
</block> -->
</block>
</view>
<!-- style="height:{{item.active?'58px':0}}" -->
<view class="sellInfo {{item.active?'active':''}}">
<view class="info">
<view class="label">销售顾问</view>
<view class="name oneText">{{item.merchantName}}—{{item.employeeName}}</view>
</block>
</view>
<view class="info">
<view class="label">转化人员</view>
<view class="name oneText">{{item.sellerMerchantName}}—{{item.sellerName}}</view>
<!-- style="height:{{item.active?'58px':0}}" -->
<view class="sellInfo {{item.active?'active':''}}">
<view class="info">
<view class="label">销售顾问</view>
<view class="name oneText">{{item.merchantName}}—{{item.employeeName}}</view>
</view>
<view class="info">
<view class="label">转化人员</view>
<view class="name oneText">{{item.sellerMerchantName}}—{{item.sellerName}}</view>
</view>
</view>
</view>
<view class="btnShow">
<view class="arrowIcon" bindtap="showSellBox" data-index="{{index}}">
<image src="{{item.active?'../../../../images/arrowUp.png':'../../../../images/arrowDown.png'}}" />
<view class="btnShow">
<view class="arrowIcon" bindtap="showSellBox" data-index="{{index}}">
<image src="{{item.active?'../../../../images/arrowUp.png':'../../../../images/arrowDown.png'}}" />
</view>
<view class="orderPrice">结单时间:{{item.installUpgradeTime}}</view>
</view>
<view class="orderPrice">已结单:{{item.installUpgradeTime}}</view>
</view>
</view>
</block>
<view class="bottomTips" wx:if="{{orderObj.list.length>2}}">到底了~</view>
</block>
<block wx:else>
<view class=" noListText">暂无数据</view>
</block>
<view class="bottomTips" wx:if="{{orderObj.length>3}}">到底了~</view>
</block>
<block wx:else>
<view class="orderBox noListText">暂无数据</view>
</block>
<!-- </view> -->
</scroll-view>
.todayOrder{width:100%;height:74rpx;background:#F8F9F9;font-size:24rpx;line-height:74rpx;padding-left:20rpx}.orderBox{box-sizing:border-box;width:100%;background:#FFFFFF;border-radius:16px;padding:0 20rpx 34rpx;font-size:24rpx;margin-bottom:20rpx}.orderBox .header{height:160rpx;box-sizing:border-box;padding:40rpx 20rpx;display:flex;justify-content:space-between}.orderBox .header .status{font-weight:600;color:#F24724;font-size:28rpx}.orderBox .header .update{display:flex;color:#666}.orderBox .header .update .num{margin-left:12rpx;color:#333;font-weight:600;font-size:28rpx;font-weight:500}.orderBox .owner{font-size:24rpx}.orderBox .owner .name{display:flex;align-items:center;margin-bottom:8rpx;font-size:28rpx;font-weight:500}.orderBox .owner .name image{width:24rpx;height:24rpx;margin-left:16rpx}.orderBox .owner .carType{color:#999}.orderBox .orderContainer{display:flex;justify-content:space-between;flex-wrap:wrap}.orderBox .orderContainer .item{width:100%;display:flex;padding:0 20rpx;font-size:24rpx}.orderBox .orderContainer .item .label{width:140rpx;color:#999;margin-bottom:20rpx}.orderBox .orderContainer .item .oneText{max-width:320rpx;white-space:nowrap;text-overflow:ellipsis;overflow:hidden;word-break:break-all}.orderBox .orderContainer .item .twoText{max-width:320rpx;text-overflow:-o-ellipsis-lastline;overflow:hidden;text-overflow:ellipsis;display:-webkit-box;-webkit-line-clamp:2;line-clamp:2;-webkit-box-orient:vertical;white-space:wrap;word-break:normal}.orderBox .label{width:140rpx;color:#999;margin-bottom:20rpx}.orderBox .subOrdersList{display:flex;flex-direction:column;flex-wrap:wrap;padding:0 20rpx;width:100%}.orderBox .subOrdersList .label{width:140rpx;color:#999;margin-bottom:20rpx}.orderBox .subOrdersList .name{width:310px}.orderBox .subOrdersList .goodsList{display:flex}.orderBox .subOrdersList .goodsList .goodsListItem{flex:1;display:flex;flex-direction:column;flex-wrap:wrap}.orderBox .subOrdersList .goodsList .goodsListItem .goodsItem{display:flex;justify-content:space-between;margin-bottom:20rpx}.orderBox .subOrdersList .goodsList .goodsListItem .goodsItem .price{color:#666}.orderBox .subOrdersList .paySelect{display:flex}.orderBox .subOrdersList .guarantee{display:flex}.orderBox .subOrdersList .guarantee .goodsListItem{display:flex;flex-direction:column;flex-wrap:wrap}.orderBox .sellInfo{box-sizing:border-box;height:0;background:#F5F9FE;border-radius:8rpx;margin:40rpx 0 0;transition:all .5s;overflow:hidden}.orderBox .sellInfo.active{height:116rpx;padding:20rpx}.orderBox .sellInfo .info{display:inline-flex;width:100%}.orderBox .sellInfo .info .label{margin-bottom:0;height:40rpx}.orderBox .btnShow{display:flex;justify-content:center;position:relative;margin-top:28rpx}.orderBox .btnShow .arrowIcon image{width:44rpx;height:24rpx}.orderBox .btnShow .orderPrice{position:absolute;right:0;bottom:4rpx;color:#3582EE;font-weight:600}.orderBox .oneText{max-width:320rpx;white-space:nowrap;text-overflow:ellipsis;overflow:hidden;word-break:break-all}.noListText{padding:40rpx;text-align:center}.bottomTips{height:92rpx;line-height:92rpx;text-align:center;font-size:20rpx;color:#666666;background:#F8F9F9}
.todayOrder{width:100%;height:80rpx;background:#F8F9F9;font-size:24rpx;line-height:74rpx;padding-left:20rpx}.orderBox{box-sizing:border-box;width:100%;background:#FFFFFF;border-radius:16px;padding:0 20rpx 34rpx;font-size:24rpx;margin-bottom:20rpx}.orderBox .header{height:160rpx;box-sizing:border-box;padding:40rpx 20rpx;display:flex;justify-content:space-between}.orderBox .header .status .failIcon{width:106rpx;height:106rpx}.orderBox .header .update{display:flex;color:#666}.orderBox .header .update .num{margin-left:12rpx;color:#333;font-weight:600;font-size:28rpx;font-weight:500}.orderBox .owner{font-size:24rpx}.orderBox .owner .name{display:flex;align-items:center;margin-bottom:8rpx;font-size:28rpx;font-weight:500}.orderBox .owner .name image{width:24rpx;height:24rpx;margin-left:16rpx}.orderBox .owner .carType{color:#999}.orderBox .orderContainer{display:flex;justify-content:space-between;flex-wrap:wrap}.orderBox .orderContainer .item{width:100%;display:flex;padding:0 20rpx;font-size:24rpx}.orderBox .orderContainer .item .label{width:140rpx;color:#999;margin-bottom:20rpx}.orderBox .orderContainer .item .oneText{max-width:320rpx;white-space:nowrap;text-overflow:ellipsis;overflow:hidden;word-break:break-all}.orderBox .orderContainer .item .twoText{max-width:420rpx;text-overflow:-o-ellipsis-lastline;overflow:hidden;text-overflow:ellipsis;display:-webkit-box;-webkit-line-clamp:2;line-clamp:2;-webkit-box-orient:vertical;white-space:wrap;word-break:normal}.orderBox .label{width:140rpx;color:#999;margin-bottom:20rpx}.orderBox .subOrdersList{display:flex;flex-direction:column;flex-wrap:wrap;padding:0 20rpx;width:100%}.orderBox .subOrdersList .label{width:140rpx;color:#999;margin-bottom:20rpx}.orderBox .subOrdersList .name{width:310px}.orderBox .subOrdersList .goodsList{display:flex}.orderBox .subOrdersList .goodsList .goodsListItem{flex:1;display:flex;flex-direction:column;flex-wrap:wrap}.orderBox .subOrdersList .goodsList .goodsListItem .goodsItem{display:flex;justify-content:space-between;margin-bottom:20rpx}.orderBox .subOrdersList .goodsList .goodsListItem .goodsItem .price{color:#666}.orderBox .subOrdersList .paySelect{display:flex}.orderBox .subOrdersList .guarantee{display:flex}.orderBox .subOrdersList .guarantee .goodsListItem{display:flex;flex-direction:column;flex-wrap:wrap}.orderBox .sellInfo{box-sizing:border-box;height:0;background:#F5F9FE;border-radius:8rpx;margin:40rpx 0 0;transition:all .5s;overflow:hidden}.orderBox .sellInfo.active{height:116rpx;padding:20rpx}.orderBox .sellInfo .info{display:inline-flex;width:100%}.orderBox .sellInfo .info .label{margin-bottom:0;height:40rpx}.orderBox .btnShow{display:flex;justify-content:center;position:relative;margin-top:28rpx}.orderBox .btnShow .arrowIcon image{width:44rpx;height:24rpx}.orderBox .btnShow .orderPrice{position:absolute;right:0;bottom:4rpx;color:#3582EE;font-weight:600}.orderBox .oneText{max-width:320rpx;white-space:nowrap;text-overflow:ellipsis;overflow:hidden;word-break:break-all}.noListText{height:calc(100% - 80rpx);text-align:center;display:flex;justify-content:center;background-color:#fff;align-items:center;border-radius:12rpx}.bottomTips{height:92rpx;line-height:92rpx;text-align:center;font-size:20rpx;color:#666666;background:#F8F9F9}
......@@ -12,7 +12,12 @@ Component({
this.getStaffDayReport(n)
// if (n) this.getLetter()
}
} // 查询日期
}, // 查询日期
hidden: {
// 刷新列表
type: Boolean,
observer: function (n) {}
}
},
/**
......
......@@ -106,9 +106,13 @@
}
}
.cell.tips {
text-align: center;
padding: 100rpx 0;
.tipsContainer {
display: flex;
align-items: center;
justify-content: center;
background-color: #fff;
height: calc(100% - 80rpx);
border-radius: 12rpx;
}
.tipsShow {
......@@ -130,7 +134,8 @@
}
.boxContainer {
border-radius: 16px 16px 0 0;
// height: 100%;
border-radius: 12rpx 12rpx 0 0;
overflow: hidden;
background-color: #fff;
}
\ No newline at end of file
<!-- tabOperating/pages/index/components/staffCell/staffCell.wxml -->
<view class="header">
<view>累计{{staffList.length}}名在职员工</view>
<view class="tips" bindtap="tipsShowPop">
字段解释
<image src="../../../../images/tipsIcon.png" />
<!-- <view hidden="{{hidden}}"> -->
<scroll-view
hidden="{{hidden}}"
scroll-y
enable-back-to-top
refresher-enabled="{{true}}"
bindrefresherrefresh="restPageNum"
refresher-threshold="104"
style="height:100%;"
class="businessPage list"
refresher-triggered="{{triggered}}">
<view class="header">
<view>累计{{staffList.length}}名在职员工</view>
<view class="tips" bindtap="tipsShowPop">
字段解释
<image src="../../../../images/tipsIcon.png" />
</view>
</view>
</view>
<view class="boxContainer">
<block wx:if="{{staffList.length}}">
<view class="boxContainer" wx:if="{{staffList.length}}">
<block
wx:for="{{staffList}}"
wx:key="index"
......@@ -42,9 +52,8 @@
</view>
</block>
<view class="bottomTips" wx:if="{{staffList.length>2}}">到底了~</view>
</block>
<block wx:else>
<view class="cell tips">暂无数据</view>
</block>
</view>
</view>
<view wx:else class=" tipsContainer">暂无数据</view>
<!-- </view> -->
</scroll-view>
.header{display:flex;justify-content:space-between;height:80rpx;line-height:80rpx;font-size:24rpx;padding:0 20rpx}.header .tips{display:flex;align-items:center;color:#999}.header .tips image{width:24rpx;height:24rpx;margin-left:10rpx}.cell{box-sizing:border-box;margin:20rpx;background-color:#fff}.cell .staffInfo{box-sizing:border-box;display:flex;justify-content:space-between;font-size:24rpx;padding-bottom:20rpx;height:172rpx}.cell .staffInfo .userInfo{display:flex;flex-direction:column;height:100%;justify-content:space-between;width:300rpx}.cell .staffInfo .userInfo .avatars{display:flex;align-items:center}.cell .staffInfo .userInfo .avatars image{width:72rpx;height:72rpx;margin-right:16rpx;border-radius:36rpx}.cell .staffInfo .statistic{width:250rpx;display:flex;flex-wrap:wrap;justify-content:space-between;flex-direction:column}.cell .staffInfo .statistic .item{display:flex;height:34rpx;justify-content:space-between}.cell .total{box-sizing:border-box;height:60rpx;background:#F5F9FE;border-radius:4px;color:#3582EE;font-size:24rpx;padding:12rpx}.cell.tips{text-align:center;padding:100rpx 0}.tipsShow{font-size:28rpx}.tipsShow .item{margin-bottom:20rpx}.bottomTips{height:92rpx;line-height:92rpx;text-align:center;font-size:20rpx;color:#666666;background:#F8F9F9}.boxContainer{border-radius:16px 16px 0 0;overflow:hidden;background-color:#fff}
.header{display:flex;justify-content:space-between;height:80rpx;line-height:80rpx;font-size:24rpx;padding:0 20rpx}.header .tips{display:flex;align-items:center;color:#999}.header .tips image{width:24rpx;height:24rpx;margin-left:10rpx}.cell{box-sizing:border-box;margin:20rpx;background-color:#fff}.cell .staffInfo{box-sizing:border-box;display:flex;justify-content:space-between;font-size:24rpx;padding-bottom:20rpx;height:172rpx}.cell .staffInfo .userInfo{display:flex;flex-direction:column;height:100%;justify-content:space-between;width:300rpx}.cell .staffInfo .userInfo .avatars{display:flex;align-items:center}.cell .staffInfo .userInfo .avatars image{width:72rpx;height:72rpx;margin-right:16rpx;border-radius:36rpx}.cell .staffInfo .statistic{width:250rpx;display:flex;flex-wrap:wrap;justify-content:space-between;flex-direction:column}.cell .staffInfo .statistic .item{display:flex;height:34rpx;justify-content:space-between}.cell .total{box-sizing:border-box;height:60rpx;background:#F5F9FE;border-radius:4px;color:#3582EE;font-size:24rpx;padding:12rpx}.tipsContainer{display:flex;align-items:center;justify-content:center;background-color:#fff;height:calc(100% - 80rpx);border-radius:12rpx}.tipsShow{font-size:28rpx}.tipsShow .item{margin-bottom:20rpx}.bottomTips{height:92rpx;line-height:92rpx;text-align:center;font-size:20rpx;color:#666666;background:#F8F9F9}.boxContainer{border-radius:12rpx 12rpx 0 0;overflow:hidden;background-color:#fff}
......@@ -102,7 +102,7 @@ page {
height: 106rpx;
padding: 0 24rpx;
background-color: #fff;
border-radius: 32rpx 32rpx 0 0;
border-radius: 12rpx;
.date {
height: 100%;
......@@ -124,17 +124,17 @@ page {
justify-content: center;
// padding-left: 25rpx;
// margin-right: 110rpx;
font-size: 24rpx;
font-size: 26rpx;
// color: #333;
color: #000;
// width: 22%;
.arrow {
font-weight: 300;
font-size: 40rpx;
width: 14rpx;
height: 20rpx;
margin-right: 10rpx;
}
// &::before {
// position: absolute;
// left: 25%;
......@@ -179,11 +179,11 @@ page {
// width: 22%;
// color: #333;
color: #000;
font-size: 24rpx;
font-size: 26rpx;
.arrow {
font-weight: 300;
font-size: 40rpx;
width: 14rpx;
height: 20rpx;
margin-left: 10rpx;
}
......@@ -204,6 +204,11 @@ page {
// }
}
.hidden {
visibility: hidden;
}
.item {
// display: inline;
// color: #666;
......@@ -243,6 +248,7 @@ page {
height: 88rpx;
width: 100%;
background-color: #fff;
border-radius: 0 0 12rpx 12rpx;
}
.tabContainer {
......@@ -253,23 +259,23 @@ page {
height: 64rpx;
margin: 0 auto;
background: #F7F7F7;
border-radius: 8px;
border-radius: 8rpx;
.tabItem {
width: 202rpx;
height: 56rpx;
height: 50rpx;
text-align: center;
line-height: 56rpx;
line-height: 50rpx;
font-size: 28rpx;
color: #666;
border: 2px solid #F7F7F7;
// border: 2px solid #F7F7F7;
transition: all .5s;
&.active {
background: #FFFFFF;
font-weight: 600;
box-shadow: 0px 0px 8px 0px rgba(0, 0, 0, 0.06);
border-radius: 4px;
border-radius: 8rpx;
color: #333;
}
}
......@@ -277,7 +283,7 @@ page {
}
.scrollStyle {
.componentContainer {
height: calc(100% - 194rpx);
// background-color: #fff;
......
page{background-color:#F8F9F9;font-size:24rpx}.layout{opacity:0;height:100vh;display:flex;flex-direction:column}.opacity{opacity:1}.move{transform:rotate(-180deg) translateY(0)}.headerContainer{height:306rpx;background-color:#3582EE;width:100%}.headerContainer .businessDataContainer{display:flex;width:100%;height:186rpx;text-align:center;color:#FFFFFF}.headerContainer .businessDataContainer .turnover,.headerContainer .businessDataContainer .bill{flex:1;display:flex;justify-content:center;flex-direction:column}.headerContainer .businessDataContainer .num{margin-bottom:10rpx;font-size:44rpx;font-weight:600}.headerContainer .businessDataContainer .lab{font-size:24rpx}.headerContainer .menu{width:710rpx;margin:0 auto;height:186rpx;background-color:#fff;box-shadow:0px 4px 20px 0px rgba(0,0,0,0.1);border-radius:12rpx;display:grid;align-items:center;grid-template-columns:repeat(4, 1fr);color:#666}.headerContainer .menu .item{display:flex;align-items:center;flex-direction:column;font-size:24rpx}.headerContainer .menu .item image{width:80rpx;height:80rpx;margin-bottom:8rpx}.Container{width:710rpx;flex:1;margin:90rpx auto 75rpx;overflow:hidden}.Container .dateContainer{height:106rpx;padding:0 24rpx;background-color:#fff;border-radius:32rpx 32rpx 0 0}.Container .dateContainer .date{height:100%;width:100%;position:relative;display:flex;align-items:center}.Container .dateContainer .date .onBeforeDay{flex:1;display:flex;position:relative;align-items:center;justify-content:center;font-size:24rpx;color:#000}.Container .dateContainer .date .onBeforeDay .arrow{font-weight:300;font-size:40rpx;margin-right:10rpx}.Container .dateContainer .date .nextDay{flex:1;display:flex;align-items:center;justify-content:center;position:relative;color:#000;font-size:24rpx}.Container .dateContainer .date .nextDay .arrow{font-weight:300;font-size:40rpx;margin-left:10rpx}.Container .dateContainer .date .item .solidArrow{width:14rpx;height:10rpx;margin-left:10rpx;margin-top:5rpx}.Container .dateContainer .date .dateNum{color:#3582EE;padding:12rpx 24rpx;border-radius:8rpx;border:1px solid #3582EE}.Container .componentContainer{height:1000rpx}.Container .cellTab{height:88rpx;width:100%;background-color:#fff}.Container .tabContainer{display:flex;align-items:center;justify-content:space-around;width:670rpx;height:64rpx;margin:0 auto;background:#F7F7F7;border-radius:8px}.Container .tabContainer .tabItem{width:202rpx;height:56rpx;text-align:center;line-height:56rpx;font-size:28rpx;color:#666;border:2px solid #F7F7F7;transition:all .5s}.Container .tabContainer .tabItem.active{background:#FFFFFF;font-weight:600;box-shadow:0px 0px 8px 0px rgba(0,0,0,0.06);border-radius:4px;color:#333}.Container .scrollStyle{height:calc(100% - 194rpx);background:#F8F9F9}.Container ::-webkit-scrollbar{width:0;height:0;color:transparent}.btn-box{position:fixed;bottom:0;left:0;width:100%;background-color:#fff;z-index:2}.btn-box .tips{display:flex;justify-content:center;align-items:center;height:75rpx;color:#3582EE;font-size:24rpx;font-weight:600;background-color:#EFF5FE}.btn-box .contentText{margin:0 20rpx}.tipsIcon,.closeIcon{width:32rpx;height:32rpx}.isFullSucreen-btn{padding-bottom:68rpx}.navigation-title{display:flex;align-items:center;justify-content:center}.navigation-title-text{text-align:center;max-width:calc(100% - 24rpx)}.navigation-title .arrow{width:20rpx;height:16rpx;margin-left:4rpx;transform:translateY(25%);transition:all 0.5s}.navigation-title .move{transform:rotate(-180deg) translateY(0)}.tipsShow .item{font-size:28rpx;margin-bottom:20rpx}
page{background-color:#F8F9F9;font-size:24rpx}.layout{opacity:0;height:100vh;display:flex;flex-direction:column}.opacity{opacity:1}.move{transform:rotate(-180deg) translateY(0)}.headerContainer{height:306rpx;background-color:#3582EE;width:100%}.headerContainer .businessDataContainer{display:flex;width:100%;height:186rpx;text-align:center;color:#FFFFFF}.headerContainer .businessDataContainer .turnover,.headerContainer .businessDataContainer .bill{flex:1;display:flex;justify-content:center;flex-direction:column}.headerContainer .businessDataContainer .num{margin-bottom:10rpx;font-size:44rpx;font-weight:600}.headerContainer .businessDataContainer .lab{font-size:24rpx}.headerContainer .menu{width:710rpx;margin:0 auto;height:186rpx;background-color:#fff;box-shadow:0px 4px 20px 0px rgba(0,0,0,0.1);border-radius:12rpx;display:grid;align-items:center;grid-template-columns:repeat(4, 1fr);color:#666}.headerContainer .menu .item{display:flex;align-items:center;flex-direction:column;font-size:24rpx}.headerContainer .menu .item image{width:80rpx;height:80rpx;margin-bottom:8rpx}.Container{width:710rpx;flex:1;margin:90rpx auto 75rpx;overflow:hidden}.Container .dateContainer{height:106rpx;padding:0 24rpx;background-color:#fff;border-radius:12rpx}.Container .dateContainer .date{height:100%;width:100%;position:relative;display:flex;align-items:center}.Container .dateContainer .date .onBeforeDay{flex:1;display:flex;position:relative;align-items:center;justify-content:center;font-size:26rpx;color:#000}.Container .dateContainer .date .onBeforeDay .arrow{width:14rpx;height:20rpx;margin-right:10rpx}.Container .dateContainer .date .nextDay{flex:1;display:flex;align-items:center;justify-content:center;position:relative;color:#000;font-size:26rpx}.Container .dateContainer .date .nextDay .arrow{width:14rpx;height:20rpx;margin-left:10rpx}.Container .dateContainer .date .hidden{visibility:hidden}.Container .dateContainer .date .item .solidArrow{width:14rpx;height:10rpx;margin-left:10rpx;margin-top:5rpx}.Container .dateContainer .date .dateNum{color:#3582EE;padding:12rpx 24rpx;border-radius:8rpx;border:1px solid #3582EE}.Container .componentContainer{height:1000rpx}.Container .cellTab{height:88rpx;width:100%;background-color:#fff;border-radius:0 0 12rpx 12rpx}.Container .tabContainer{display:flex;align-items:center;justify-content:space-around;width:670rpx;height:64rpx;margin:0 auto;background:#F7F7F7;border-radius:8rpx}.Container .tabContainer .tabItem{width:202rpx;height:50rpx;text-align:center;line-height:50rpx;font-size:28rpx;color:#666;transition:all .5s}.Container .tabContainer .tabItem.active{background:#FFFFFF;font-weight:600;box-shadow:0px 0px 8px 0px rgba(0,0,0,0.06);border-radius:8rpx;color:#333}.Container .componentContainer{height:calc(100% - 194rpx);background:#F8F9F9}.Container ::-webkit-scrollbar{width:0;height:0;color:transparent}.btn-box{position:fixed;bottom:0;left:0;width:100%;background-color:#fff;z-index:2}.btn-box .tips{display:flex;justify-content:center;align-items:center;height:75rpx;color:#3582EE;font-size:24rpx;font-weight:600;background-color:#EFF5FE}.btn-box .contentText{margin:0 20rpx}.tipsIcon,.closeIcon{width:32rpx;height:32rpx}.isFullSucreen-btn{padding-bottom:68rpx}.navigation-title{display:flex;align-items:center;justify-content:center}.navigation-title-text{text-align:center;max-width:calc(100% - 24rpx)}.navigation-title .arrow{width:20rpx;height:16rpx;margin-left:4rpx;transform:translateY(25%);transition:all 0.5s}.navigation-title .move{transform:rotate(-180deg) translateY(0)}.tipsShow .item{font-size:28rpx;margin-bottom:20rpx}
......@@ -90,7 +90,7 @@
box-sizing: border-box;
display: flex;
padding: 20rpx 20rpx 24rpx;
color: #666;
color: #333;
border-bottom: 1rpx solid #C3C3C3;
width: 100%;
......@@ -170,6 +170,7 @@
text-align: center;
max-width: calc(100% - 24rpx);
}
.navigation-title .arrow {
width: 20rpx;
height: 16rpx;
......@@ -177,6 +178,7 @@
transform: translateY(25%);
transition: all 0.5s;
}
.arrow {
width: 10rpx;
height: 6rpx;
......
.layout{opacity:0;height:100vh;display:flex;flex-direction:column}.opacity{opacity:1}.header{box-sizing:border-box;width:100%;height:352rpx;background:#3582EE;padding:40rpx;display:flex;flex-direction:column;justify-content:space-between;color:#fff;font-size:24rpx}.header .dateNum{display:flex;align-items:center;white-space:nowrap;font-size:24rpx}.header .turnover{width:100%;text-align:center}.header .turnover .num{font-size:60rpx;font-weight:600;margin-bottom:10rpx}.header .orderStatistics{display:flex;padding:0 40rpx;justify-content:space-between}.header .orderStatistics .item{display:flex;align-items:flex-end}.header .orderStatistics .item .unit{display:flex;align-items:flex-end;height:100%;margin-bottom:8rpx}.header .orderStatistics .item .num{display:inline;font-size:44rpx;font-weight:600;margin-left:16rpx}.table{height:calc(100vh - 352rpx);box-sizing:border-box;overflow:hidden}.tableContainer{height:100%;overflow:hidden;box-sizing:border-box;padding:20rpx 20rpx 0}.tableContainer .table-header{box-sizing:border-box;display:flex;padding:20rpx 20rpx 24rpx;color:#666;border-bottom:1rpx solid #C3C3C3;width:100%}.tableContainer .table-header .tableHeader-td:nth-child(1){width:200rpx}.tableContainer .table-header .tableHeader-td:nth-child(n+2){flex:1;text-align:center}.tableContainer .list{box-sizing:border-box}.tableContainer .table-body{height:calc(100% - 88rpx);overflow:hidden;display:flex;flex-direction:column}.tableContainer .table-body .table-th{display:flex;padding:16rpx 20rpx;box-sizing:border-box;color:#666}.tableContainer .table-body .table-th .table-td:nth-child(1){width:200rpx}.tableContainer .table-body .table-th .table-td:nth-child(n+2){flex:1;text-align:center}.tableContainer .table-body .tips{margin-top:40rpx;text-align:center;font-size:24rpx}.tips-nothing{width:100%;padding:50rpx 0;text-align:center}::-webkit-scrollbar{width:0;height:0;color:transparent}.navigation-title{display:flex;align-items:center;justify-content:center}.navigation-title-text{text-align:center;max-width:calc(100% - 24rpx)}.navigation-title .arrow{width:20rpx;height:16rpx;margin-left:4rpx;transform:translateY(25%);transition:all 0.5s}.arrow{width:10rpx;height:6rpx;margin-left:12rpx;transform:translateY(25%);transition:all 0.5s}.move{transform:rotate(-180deg) translateY(0)}
.layout{opacity:0;height:100vh;display:flex;flex-direction:column}.opacity{opacity:1}.header{box-sizing:border-box;width:100%;height:352rpx;background:#3582EE;padding:40rpx;display:flex;flex-direction:column;justify-content:space-between;color:#fff;font-size:24rpx}.header .dateNum{display:flex;align-items:center;white-space:nowrap;font-size:24rpx}.header .turnover{width:100%;text-align:center}.header .turnover .num{font-size:60rpx;font-weight:600;margin-bottom:10rpx}.header .orderStatistics{display:flex;padding:0 40rpx;justify-content:space-between}.header .orderStatistics .item{display:flex;align-items:flex-end}.header .orderStatistics .item .unit{display:flex;align-items:flex-end;height:100%;margin-bottom:8rpx}.header .orderStatistics .item .num{display:inline;font-size:44rpx;font-weight:600;margin-left:16rpx}.table{height:calc(100vh - 352rpx);box-sizing:border-box;overflow:hidden}.tableContainer{height:100%;overflow:hidden;box-sizing:border-box;padding:20rpx 20rpx 0}.tableContainer .table-header{box-sizing:border-box;display:flex;padding:20rpx 20rpx 24rpx;color:#333;border-bottom:1rpx solid #C3C3C3;width:100%}.tableContainer .table-header .tableHeader-td:nth-child(1){width:200rpx}.tableContainer .table-header .tableHeader-td:nth-child(n+2){flex:1;text-align:center}.tableContainer .list{box-sizing:border-box}.tableContainer .table-body{height:calc(100% - 88rpx);overflow:hidden;display:flex;flex-direction:column}.tableContainer .table-body .table-th{display:flex;padding:16rpx 20rpx;box-sizing:border-box;color:#666}.tableContainer .table-body .table-th .table-td:nth-child(1){width:200rpx}.tableContainer .table-body .table-th .table-td:nth-child(n+2){flex:1;text-align:center}.tableContainer .table-body .tips{margin-top:40rpx;text-align:center;font-size:24rpx}.tips-nothing{width:100%;padding:50rpx 0;text-align:center}::-webkit-scrollbar{width:0;height:0;color:transparent}.navigation-title{display:flex;align-items:center;justify-content:center}.navigation-title-text{text-align:center;max-width:calc(100% - 24rpx)}.navigation-title .arrow{width:20rpx;height:16rpx;margin-left:4rpx;transform:translateY(25%);transition:all 0.5s}.arrow{width:10rpx;height:6rpx;margin-left:12rpx;transform:translateY(25%);transition:all 0.5s}.move{transform:rotate(-180deg) translateY(0)}
......@@ -220,16 +220,16 @@ Page({
// 获取种草详情
getGrass: function (orderCode) {
let _this = this
api
.getGrassDetail({
orderCode
})
.then(res => {
let data = res.data || {}
data.updatedDateTime = wx.$util.dateFormatter(data.updatedDate)
_this.setData({
grassInfo: data || {}
})
})
// api
// .getGrassDetail({
// orderCode
// })
// .then(res => {
// let data = res.data || {}
// data.updatedDateTime = wx.$util.dateFormatter(data.updatedDate)
// _this.setData({
// grassInfo: data || {}
// })
// })
}
})
......@@ -260,16 +260,16 @@ Page({
// 获取种草详情
getGrass: function (orderCode) {
let _this = this
api
.getGrassDetail({
orderCode
})
.then(res => {
let data = res.data || {}
data.updatedDateTime = wx.$util.dateFormatter(data.updatedDate)
_this.setData({
grassInfo: data || {}
})
})
// api
// .getGrassDetail({
// orderCode
// })
// .then(res => {
// let data = res.data || {}
// data.updatedDateTime = wx.$util.dateFormatter(data.updatedDate)
// _this.setData({
// grassInfo: data || {}
// })
// })
}
})
......@@ -118,7 +118,7 @@ module.exports = {
4: {
text: '已支付',
color: '#14CC68',
background: '#F3F7FC'
background: '#dffbec'
},
6: {
text: '已评价',
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!