Commit ba454d74 by 张立顺

style fix

1 parent 09b33531
......@@ -13,6 +13,14 @@
font-family: "number";
src: url("https://img02.glsx.com.cn/weapp/resource/saas/business-assistant/font/subset-AlimamaShuHeiTi-Bold.woff");
}
@font-face {
font-family: "ali-medium";
src: url("https://img02.glsx.com.cn/weapp/resource/saas/business-assistant/font/subset-AlibabaPuHuiTi-Medium.woff");
}
@font-face {
font-family: "ali-bold";
src: url("https://img02.glsx.com.cn/weapp/resource/saas/business-assistant/font/subset-AlibabaPuHuiTi-Bold.woff");
}
page {
......@@ -24,10 +32,13 @@ page {
--borderRadius: 8rpx;
--margin: 32rpx;
/* vant 样式覆盖 */
--tabs-bottom-bar-color:#3666FE;
--sidebar-selected-border-color:#3666FE;
--tree-select-nav-background-color:#f6f6f6;
--tabs-bottom-bar-color: #3666FE;
--sidebar-selected-border-color: #3666FE;
--tree-select-nav-background-color: #f6f6f6;
/* 兼容 IOS<11.2 先constant再env */
--constantSafeAreaInsetBottom: constant(safe-area-inset-bottom);
/* 兼容 IOS>11.2 */
--envSafeAreaInsetBottom: env(safe-area-inset-bottom);
}
image {
......
......@@ -8,6 +8,7 @@
}
.log-box {
box-sizing: border-box;
height: calc(100vh - 400rpx);
background: #FFFFFF;
overflow-y: scroll;
......
......@@ -26,7 +26,7 @@
}
.tab .text {
height: 84rpx;
height: 72rpx;
display: flex;
align-items: center;
box-sizing: border-box;
......@@ -58,10 +58,11 @@ color: #323436;
}
.tab .line {
width: 48rpx;
height: var(--borderRadius);
width: 40rpx;
/* height: var(--borderRadius); */
height: 8rpx;
background: var(--btnColor);
border-radius: 2rpx;
border-radius: 4rpx;
margin: 0 auto;
transform: scale(0);
transition: all .25s;
......
......@@ -91,7 +91,7 @@ Component({
zlevel: 0, //一级层叠控制。默认0,每一个不同的zlevel将产生一个独立的canvas,相同zlevel的组件或图标将在同一个canvas上渲染。zlevel越高越靠顶层,canvas对象增多会消耗更多的内存和性能,并不建议设置过多的zlevel,大部分情况可以通过二级层叠控制z实现层叠控制。
z: 6 //二级层叠控制,默认6,同一个canvas(相同zlevel)上z越高约靠顶层。
},
color: ['#5fcf90', '#f56c51', '#5f9cf3', '#ffb13c'],
color: ['#5fcf90','#ffb13c', '#f56c51', '#5f9cf3', ],
tooltip: {
trigger: 'item'
},
......
......@@ -5,7 +5,7 @@
</view>
<view class="ec-canvas">
<!-- force-use-old-canvas="true" -->
<ec-canvas class="echart-box" id="mychart-dom-bar" canvas-id="mychart-bar" ec="{{ ec }}" ></ec-canvas>
<ec-canvas class="echart-box" id="mychart-dom-bar" canvas-id="mychart-bar" ec="{{ ec }}" ></ec-canvas>
</view>
<view class="invalidFlowContainer" wx:if="{{chartData.customerListAll.length}}">
<view class="header">
......
......@@ -27,8 +27,8 @@
.title-tip {
font-weight: 400;
font-size: 20rpx;
color: #999999;
font-size: 24rpx;
color: #333;
}
.title-tip-red {
......
......@@ -6,6 +6,6 @@
<!-- <view class="" id="bar"></view> -->
<view class="ec-canvas">
<!-- force-use-old-canvas="true" -->
<ec-canvas class="echart-box" id="mychart-dom-bar" canvas-id="mychart-bar" ec="{{ ec }}" ></ec-canvas>
<ec-canvas class="echart-box" id="mychart-dom-bar" canvas-id="mychart-bar" ec="{{ ec }}" ></ec-canvas>
</view>
</view>
\ No newline at end of file
......@@ -35,11 +35,13 @@
border-bottom: 0.5rpx solid #e4e6ee;
.label {
line-height: 18rpx;
margin-bottom: 19rpx;
}
.num {
font-weight: 600;
line-height: 22rpx;
font-size: 36rpx;
color: #333333;
}
......
......@@ -47,10 +47,10 @@ var threeNumForTwo = {
}
var filterItemName = function (item,revenueData) {
// console.log(item,revenueData);
console.log(item,revenueData);
var unit = item.name == 'upgradeRateData' ? '%' : ''
if (revenueData && revenueData[item.name]) {
return revenueData[item.name].value || 0 + unit
return (revenueData[item.name].value || 0) + unit
} else{
return 0 + unit
}
......
......@@ -176,7 +176,7 @@ Page({
console.log(res, 'analysisTendency')
this.setData({
lineChart: {
firstOrderDate: res?.firstOrderDate,
firstOrderDate: res?.firstOrderDate?res?.firstOrderDate.replace('年','-').replace('月','-').replace('日',''):'',
diagnosticResults: res.diagnosticResults || '',
diagramList: res.diagramList || []
}
......@@ -200,6 +200,10 @@ Page({
name: '已预约'
},
{
value: notInvitedCount||0,
name: '待预约'
},
{
value: cancelInvitedCount||0,
name: '取消预约'
},
......@@ -207,10 +211,6 @@ Page({
value: expireReachCount||0,
name: '超时未到店'
},
{
value: notInvitedCount||0,
name: '待预约'
}
],
['chartDataPie.total']: hadInvitedCount + cancelInvitedCount + expireReachCount + notInvitedCount
})
......
......@@ -117,7 +117,7 @@
border-radius: 8rpx;
font-family: PingFangSC-Medium;
font-weight: 500;
font-size: 24rpx;
font-size: 26rpx;
color: #333333;
line-height: 52rpx;
text-align: center;
......@@ -125,7 +125,7 @@
margin-right: 20rpx;
&.active {
color: #3582EE;
color: #3666FE;
background: #ebf2fd;
}
}
......@@ -139,7 +139,7 @@
padding: 8rpx 24rpx;
border-radius: 8rpx;
font-weight: 500;
font-size: 24rpx;
font-size: 26rpx;
color: #3582ee;
background-color: rgb(234, 242, 253);
......
......@@ -64,8 +64,8 @@ page {
.headPortrait {
width: 128rpx;
height: 128rpx;
border-radius: 64rpx;
border: 2rpx solid #fff;
// border-radius: 64rpx;
// border: 2rpx solid #fff;
}
.name {
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!