Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
saas_plus
/
business-assistant
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit ba454d74
authored
Aug 28, 2023
by
张立顺
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
style fix
1 parent
09b33531
Hide whitespace changes
Inline
Side-by-side
Showing
12 changed files
with
40 additions
and
25 deletions
app.wxss
packageMine/pages/log/log.scss
packagesList/packageOutput/components/Tab/Tab.wxss
packagesList/packageOutput/components/echart-pie/echart.js
packagesList/packageOutput/components/echart-pie/echart.wxml
packagesList/packageOutput/components/echart/echart.scss
packagesList/packageOutput/components/echart/echart.wxml
packagesList/packageOutput/components/outputEchart/outputEchart.scss
packagesList/packageOutput/index.wxs
packagesList/packageOutput/pages/newSummary/newSummary.js
packagesList/packageOutput/pages/newSummary/newSummary.scss
pages/tab/mine/mine.scss
app.wxss
View file @
ba454d7
...
...
@@ -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 {
...
...
packageMine/pages/log/log.scss
View file @
ba454d7
...
...
@@ -8,6 +8,7 @@
}
.log-box
{
box-sizing
:
border-box
;
height
:
calc
(
100vh
-
400rpx
);
background
:
#FFFFFF
;
overflow-y
:
scroll
;
...
...
packagesList/packageOutput/components/Tab/Tab.wxss
View file @
ba454d7
...
...
@@ -26,7 +26,7 @@
}
.tab .text {
height:
84
rpx;
height:
72
rpx;
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:
2
rpx;
border-radius:
4
rpx;
margin: 0 auto;
transform: scale(0);
transition: all .25s;
...
...
packagesList/packageOutput/components/echart-pie/echart.js
View file @
ba454d7
...
...
@@ -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'
},
...
...
packagesList/packageOutput/components/echart-pie/echart.wxml
View file @
ba454d7
...
...
@@ -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">
...
...
packagesList/packageOutput/components/echart/echart.scss
View file @
ba454d7
...
...
@@ -27,8 +27,8 @@
.title-tip
{
font-weight
:
400
;
font-size
:
2
0
rpx
;
color
:
#
999999
;
font-size
:
2
4
rpx
;
color
:
#
333
;
}
.title-tip-red
{
...
...
packagesList/packageOutput/components/echart/echart.wxml
View file @
ba454d7
...
...
@@ -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
packagesList/packageOutput/components/outputEchart/outputEchart.scss
View file @
ba454d7
...
...
@@ -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
;
}
...
...
packagesList/packageOutput/index.wxs
View file @
ba454d7
...
...
@@ -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
}
...
...
packagesList/packageOutput/pages/newSummary/newSummary.js
View file @
ba454d7
...
...
@@ -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
})
...
...
packagesList/packageOutput/pages/newSummary/newSummary.scss
View file @
ba454d7
...
...
@@ -117,7 +117,7 @@
border-radius
:
8rpx
;
font-family
:
PingFangSC-Medium
;
font-weight
:
500
;
font-size
:
2
4
rpx
;
font-size
:
2
6
rpx
;
color
:
#333333
;
line-height
:
52rpx
;
text-align
:
center
;
...
...
@@ -125,7 +125,7 @@
margin-right
:
20rpx
;
&
.active
{
color
:
#3
582E
E
;
color
:
#3
666F
E
;
background
:
#ebf2fd
;
}
}
...
...
@@ -139,7 +139,7 @@
padding
:
8rpx
24rpx
;
border-radius
:
8rpx
;
font-weight
:
500
;
font-size
:
2
4
rpx
;
font-size
:
2
6
rpx
;
color
:
#3582ee
;
background-color
:
rgb
(
234
,
242
,
253
);
...
...
pages/tab/mine/mine.scss
View file @
ba454d7
...
...
@@ -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
{
...
...
Write
Preview
Markdown
is supported
Attach a file
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to post a comment