Commit 994fc291 by 张立顺

样式修改

1 parent 4244f57f
......@@ -10,7 +10,7 @@
* 2测试
* 3生产环境
*/
let index = 1
let index = 2
const accountInfo = wx.getAccountInfoSync()
const systemInfo = wx.getSystemInfoSync()
......
......@@ -464,4 +464,107 @@ page {
.touch-move-active .del {
-webkit-transform: translateX(0);
transform: translateX(0);
}
\ No newline at end of file
}
.list-bar {
position: relative;
height: 60rpx;
line-height: 60rpx;
display: flex;
color: #666666ff;
font-size: 28rpx;
margin: 16rpx 30rpx;
}
.list-bar .txt-blue {
color: #3582EE;
margin-right: 24rpx;
}
.list-bar .icon-cal {
position: absolute;
top: 0;
right: 0;
width: 60rpx;
height: 60rpx;
}
.list .item .status {
background: none;
top: 40rpx;
text-align: center;
}
.list .item .status .line {
position: absolute;
top: -40rpx;
left: 0;
width: 100%;
height: 12rpx;
border-radius: 16rpx;
}
.list .item .order-list {
border-bottom: 1rpx solid rgba(195, 195, 195, .3);
}
.order-type {
font-size: 28rpx;
display: flex;
align-items: center;
font-weight: 700;
margin-top: 28rpx;
}
.order-type .label {
color: #333333;
width: 60rpx;
line-height: 36rpx;
margin-right: 40rpx;
}
.order-type .time {
color: #F24724;
}
.order-type .time.gray {
color: gray;
}
.order-control {
position: absolute;
right: 40rpx;
bottom: 30rpx;
display: flex;
align-items: center;
font-size: 24rpx;
color: #666666;
}
.control-item {
display: flex;
flex-direction: column;
align-items: center;
margin-left: 60rpx;
}
.control-item image {
margin-bottom: 8rpx;
}
.date-icon {
width: 32rpx;
height: 32rpx;
}
.phone-icon {
width: 36rpx;
height: 34rpx;
}
/* tabDate/pages/index/index.wxss */
/* @import '/tabWorkOrder/pages/index/index.wxss'; */
.list-bar {
position: relative;
height: 60rpx;
line-height: 60rpx;
display: flex;
color: #666666ff;
font-size: 28rpx;
margin: 16rpx 30rpx;
}
.list-bar .txt-blue {
color: #3582EE;
margin-right: 24rpx;
}
.list-bar .icon-cal {
position: absolute;
top: 0;
right: 0;
width: 60rpx;
height: 60rpx;
}
/* .list .list-item {
margin: 0 20rpx 20rpx;
box-shadow: 0 4rpx 20rpx 0 rgba(0, 0, 0, 0.10);
border-radius: 16rpx;
} */
.list .item .status {
background: none;
top: 40rpx;
text-align: center;
}
.list .item .status .line {
position: absolute;
top: -40rpx;
left: 0;
width: 100%;
height: 12rpx;
border-radius: 16rpx;
}
.list .item .order-list {
border-bottom: 1rpx solid rgba(195, 195, 195, .3);
}
.order-type {
font-size: 28rpx;
display: flex;
align-items: center;
font-weight: 700;
margin-top: 28rpx;
}
.order-type .label {
color: #333333;
width: 60rpx;
line-height: 36rpx;
margin-right: 40rpx;
}
.order-type .time {
color: #F24724;
}
.order-type .time.gray {
color: gray;
}
.order-control {
position: absolute;
right: 40rpx;
bottom: 30rpx;
display: flex;
align-items: center;
font-size: 24rpx;
color: #666666;
}
.control-item {
display: flex;
flex-direction: column;
align-items: center;
margin-left: 60rpx;
}
.control-item image {
margin-bottom: 8rpx;
}
.date-icon {
width: 32rpx;
height: 32rpx;
}
.phone-icon {
width: 36rpx;
height: 34rpx;
}
.touch-item {
/* margin: 0 20rpx; */
box-sizing: border-box;
position: relative;
display: flex;
justify-content: space-between;
/* width: calc(100% - 40rpx); */
overflow: hidden;
margin: 20rpx;
box-shadow: 0 4rpx 20rpx 0 rgba(0, 0, 0, 0.10);
border-radius: 16rpx;
/* border-bottom: .5px solid #d8d4d4; */
}
.del {
width: 72px;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
color: #fff;
background-color: #f1554c;
-webkit-transform: translateX(90px);
transform: translateX(90px);
-webkit-transition: all 0.4s;
transition: all 0.4s;
font-size: 28rpx;
}
.confirm {
/* 定义动画 */
/* background-color: chocolate; */
animation-duration: .5s;
/* 动画时间 */
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(72px);
}
100% {
opacity: 1;
transform: translateX(0px);
}
}
.touch-move-active .content,
.touch-move-active .del {
-webkit-transform: translateX(0);
transform: translateX(0);
}
\ No newline at end of file
......@@ -92,18 +92,26 @@ page ::-webkit-scrollbar {
}
.conTitle {
padding-left: 10rpx;
font-weight: 600;
font-size: 28rpx;
color: #323436;
}
.content{
margin-bottom: 32rpx;
}
.table-control.utils{
margin-top: 0rpx;
.content {
margin-bottom: 32rpx;
}
.table-control.utils {
margin-top: 0rpx;
padding: 0 15rpx;
}
}
.isNoStaff {
margin-top: 32rpx;
}
.menu {
box-sizing: border-box;
padding: 0 22rpx;
......@@ -111,6 +119,7 @@ page ::-webkit-scrollbar {
display: flex;
flex-wrap: wrap;
justify-content: space-between;
// justify-content: space-around;
// height: 218rpx;
// background-image: linear-gradient(166deg, #65b8f8 0%, #3582ee 100%);
......@@ -119,11 +128,11 @@ page ::-webkit-scrollbar {
// /* display: grid;
// align-items: center;
// grid-template-columns: repeat(4, 1fr);
.label{
.label {
font-family: PingFangSC-Regular;
font-size: 24rpx;
color: #323436;
}
color: #323436;
}
}
// .menu .item {
......@@ -144,6 +153,7 @@ color: #323436;
color: #323436;
margin-right: 56rpx;
}
// .menu .item + .item{
// margin-left: auto;
// }
......@@ -151,6 +161,7 @@ color: #323436;
.menu .item:nth-child(4n) {
margin-right: 0rpx;
}
// .menu .item:nth-child(n+4) {
// // margin-right: 0rpx;
// margin-top: 16rpx;
......@@ -158,7 +169,7 @@ color: #323436;
.menu .item image {
width: 124rpx;
height: 124rpx;
}
.contentUtil {
......@@ -193,15 +204,17 @@ color: #323436;
font-size: 24rpx;
flex-shrink: 0;
}
.unit {
font-size: 24rpx;
color: #222222;
}
.unit {
font-size: 24rpx;
color: #222222;
}
.StatisticsCon {
box-sizing: border-box;
padding: 0 15rpx;
.totalCon {
display: flex;
......@@ -235,19 +248,25 @@ color: #323436;
}
.customStatistic {
box-sizing: border-box;
margin-top: 16rpx;
display: flex;
flex-wrap: wrap;
padding: 0 16rpx;
background: linear-gradient(90deg, #F2FCFC, #F9FEFF, #EFF6FF);
border-radius: 12rpx;
justify-content: space-around;
.customItem {
position: relative;
box-sizing: border-box;
margin-top: 16rpx;
// margin-top: 16rpx;
padding: 16rpx 16rpx 24rpx;
width: 216rpx;
height: 136rpx;
background: #F7F8FA;
border-radius: 12rpx;
margin-right: 16rpx;
// background: #F7F8FA;
// border-radius: 12rpx;
// margin-right: 16rpx;
.label {
font-weight: 500;
......@@ -300,6 +319,57 @@ color: #323436;
color: #999999;
}
.contentBox {
width: 100%;
height: 172rpx;
display: flex;
justify-content: space-between;
// align-items: flex-end;
align-items: center;
.line {
width: 1rpx;
height: 60rpx;
background-color: #e6eaeb;
}
.lableBox {
// flex:1;
font-size: 20rpx;
color: #666666;
margin-bottom: 0rpx;
.label {
position: relative;
text-align: left;
&::before {
position: absolute;
left: -20rpx;
top: 12rpx;
content: '';
width: 6rpx;
height: 6rpx;
background: #3582EE;
border-radius: 4rpx;
}
}
}
.value {
font-family: numberNor;
font-size: 44rpx;
color: #333333;
margin-top: 5rpx;
}
.persent {
color: #3582EE;
}
}
.content {
display: flex;
width: 100%;
......@@ -346,23 +416,32 @@ color: #323436;
.totalPerformanceCon {
border: 1rpx solid #E4E6EE;
border-radius: 20rpx;
position: relative;
background-color: #F9FEFF;
.merchantNum {
position: absolute;
top: 0;
left: 0;
width: 202rpx;
height: 44rpx;
background: #EFF6FF;
border-radius: 20rpx 0 20rpx 0;
display: flex;
justify-content: center;
margin: 32rpx auto;
width: 638rpx;
height: 36rpx;
// margin: 32rpx auto;
// width: 638rpx;
// height: 36rpx;
text-align: center;
font-size: 24rpx;
font-face: PingFangSC;
background: #F5F9FE;
border-radius: 20rpx;
font-weight: 600;
.num {
color: #3582eeff;
}
// border-radius: 20rpx;
// font-weight: 600;
color: #555555;
// .num {
// color: #3582eeff;
// }
}
......@@ -377,17 +456,17 @@ color: #323436;
background: #F7F8FA;
border-radius: 20rpx;
// .staffCon
// }
// .staffCon
// }
}
}
.selfPerformanceCon+.selfPerformanceCon {
margin-top: 20rpx;
}
margin-top: 20rpx;
}
.selfPerformanceCon {
position: relative;
......@@ -508,9 +587,10 @@ color: #323436;
}
}
.mb{
.mb {
margin-bottom: 150rpx;
}
}
.dateNum {
display: flex;
......@@ -954,8 +1034,8 @@ color: #323436;
border-radius: 28rpx;
}
.noStaff{
// justify-content:auto;
justify-content: start;
margin-bottom: 44rpx;
}
\ No newline at end of file
.noStaff {
// justify-content:auto;
justify-content: start;
margin-bottom: 44rpx;
}
\ No newline at end of file
......@@ -42,7 +42,7 @@
</view>
</view>
<block wx:if="{{!isNoStaff}}">
<view class="conTitle utils">展业工具</view>
<view class="conTitle utils isNoStaff">展业工具</view>
<div class="menu">
<block wx:for="{{ menu }}" wx:key="index">
<view class="item" bindtap="jump" data-item="{{ item }}" data-type="{{ userInfo.userType }}">
......@@ -71,19 +71,24 @@
<!-- 督导显示 -->
<view class="totalPerformanceCon" wx:if="{{ loginRole&&loginRole!=4 }}">
<view class="merchantNum">
汇总门店: <view class="num">{{outputValueObj.shopCount||0}}</view> 家
汇总<view class="num">{{outputValueObj.shopCount||0}}</view>家门店
</view>
<view class="total">
<view class="label">当月目标</view>
<view class="content">
<view class="lable">
<view>产值完成比</view>
<view class="value">{{outputValueObj.rateValuePercent}}</view>
<view class="contentBox">
<view class="lableBox">
<view class="label">产值完成比</view>
<view class="value persent">{{outputValueObj.rateValuePercent}}</view>
</view>
<!-- <view class="chart">¥ 0</view> -->
<van-progress class="progress" pivot-text="{{outputValueObj.totalOutputValue||0}}" percentage="{{outputValueObj.rateValue>100?100:outputValueObj.rateValue}}" />
<view class="target">
<view class="line"></view>
<view class="lableBox">
<view class="label">当月完成</view>
<view class="value"><text class="unit">¥ </text>{{outputValueObj.totalOutputValue||0}}</view>
</view>
<view class="line"></view>
<!-- <van-progress class="progress" pivot-text="{{outputValueObj.totalOutputValue||0}}" percentage="{{outputValueObj.rateValue>100?100:outputValueObj.rateValue}}" /> -->
<view class="lableBox">
<view class="label">当月目标</view>
<view class="value"><text class="unit">¥ </text> {{outputValueObj.totalTargetOutputValue||0}}</view>
</view>
</view>
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!