Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Sign in
Toggle navigation
X
xzf_uniapp-wechat-web
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
李智书
xzf_uniapp-wechat-web
Commits
cd8260a2
Commit
cd8260a2
authored
May 17, 2022
by
aifen@azjy1.onexmail.com
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'V1.6.9_feature' into develop
parents
0969cdda
b830be2d
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
56 additions
and
21 deletions
+56
-21
src/pages/SchoolReport/SchoolReport.vue
src/pages/SchoolReport/SchoolReport.vue
+56
-21
No files found.
src/pages/SchoolReport/SchoolReport.vue
View file @
cd8260a2
...
@@ -143,7 +143,7 @@
...
@@ -143,7 +143,7 @@
</view>
</view>
<view
class=
"school-report-context-card-two-calendar"
>
<view
class=
"school-report-context-card-two-calendar"
>
<van-calendar
:formatter=
"formatter"
:min-date=
"minDate"
:max-date=
"maxDate"
<van-calendar
:formatter=
"formatter"
:min-date=
"minDate"
:max-date=
"maxDate"
:default-date=
"minDate"
:row-height=
"44"
:show-title=
"false"
:show-subtitle=
"false"
:default-date=
"minDate"
:show-title=
"false"
:show-subtitle=
"false"
:show-mark=
"false"
:poppable=
"false"
:show-confirm=
"false"
:style=
"
{ height: '575rpx' }"
:show-mark=
"false"
:poppable=
"false"
:show-confirm=
"false"
:style=
"
{ height: '575rpx' }"
@select="dateSelect" />
@select="dateSelect" />
</view>
</view>
...
@@ -450,15 +450,15 @@
...
@@ -450,15 +450,15 @@
}
}
},
},
mounted
()
{
mounted
()
{
// if(new Date().getTime()
<=
new
Date
(
'
2022/06/30
'
).
getTime
()){
if
(
new
Date
().
getTime
()
<=
new
Date
(
'
2022/06/30
'
).
getTime
()){
// this.isOpen=true;
this
.
isOpen
=
true
;
// this.memberInfo.invalidDateStr='2022年6月30日';
this
.
memberInfo
.
invalidDateStr
=
'
2022年6月30日
'
;
// this.memberInfo.differDay=dayjs('2022/06/30').diff(dayjs(),'day');
this
.
memberInfo
.
differDay
=
dayjs
(
'
2022/06/30
'
).
diff
(
dayjs
(),
'
day
'
);
// this.containerHeight = 4200;
this
.
containerHeight
=
4200
;
// }else{
}
else
{
// this.queryIsDredgeMember();
// }
this
.
queryIsDredgeMember
();
this
.
queryIsDredgeMember
();
}
// this.queryIsDredgeMember();
let
tmpArr
=
[]
let
tmpArr
=
[]
// 获取时间
// 获取时间
for
(
let
i
=
0
;
i
<=
11
;
i
++
)
{
for
(
let
i
=
0
;
i
<=
11
;
i
++
)
{
...
@@ -617,7 +617,7 @@
...
@@ -617,7 +617,7 @@
dateSelect
(
date
)
{
dateSelect
(
date
)
{
this
.
diningSituations
.
diningSituationsDate
=
this
.
formatDate
(
date
);
this
.
diningSituations
.
diningSituationsDate
=
this
.
formatDate
(
date
);
var
dateStr
=
var
dateStr
=
`
${
date
.
getFullYear
()}
-
${
date
.
getMonth
()
<
9
?
'
0
'
+
(
date
.
getMonth
()
+
1
):
date
.
getMonth
()
+
1
}
-
${
date
.
getDate
()
<
10
?
'
0
'
+
date
.
getDate
():
date
.
getDate
()}
`
;
;
`
${
date
.
getFullYear
()}
-
${
date
.
getMonth
()
<
9
?
'
0
'
+
(
date
.
getMonth
()
+
1
):
date
.
getMonth
()
+
1
}
-
${
date
.
getDate
()
<
10
?
'
0
'
+
date
.
getDate
():
date
.
getDate
()}
`
;
this
.
queryNotRepastDetails
(
dateStr
,
dateStr
,
1
);
this
.
queryNotRepastDetails
(
dateStr
,
dateStr
,
1
);
},
},
piechart
:
function
()
{
piechart
:
function
()
{
...
@@ -676,8 +676,8 @@
...
@@ -676,8 +676,8 @@
},
},
linechart
:
function
(
num
)
{
linechart
:
function
(
num
)
{
var
mySize
=
document
.
getElementById
(
'
consumer-trend-line
'
);
var
mySize
=
document
.
getElementById
(
'
consumer-trend-line
'
);
mySize
.
style
.
width
=
window
.
innerWidth
-
2
0
+
'
px
'
;
mySize
.
style
.
width
=
36
0
+
'
px
'
;
mySize
.
style
.
height
=
window
.
innerHeight
-
50
0
+
'
px
'
;
mySize
.
style
.
height
=
26
0
+
'
px
'
;
var
myChart
=
echarts
.
init
(
mySize
);
var
myChart
=
echarts
.
init
(
mySize
);
var
xdata
=
this
.
lineDatas
.
map
(
v
=>
v
.
name
);
var
xdata
=
this
.
lineDatas
.
map
(
v
=>
v
.
name
);
var
year
=
this
.
dataRangeArr
[
this
.
dataRangeIndex
].
startDate
.
slice
(
0
,
4
);
var
year
=
this
.
dataRangeArr
[
this
.
dataRangeIndex
].
startDate
.
slice
(
0
,
4
);
...
@@ -1117,7 +1117,7 @@
...
@@ -1117,7 +1117,7 @@
},
},
equityPay
:
function
()
{
equityPay
:
function
()
{
jWeixin
.
miniProgram
.
switchTab
({
jWeixin
.
miniProgram
.
switchTab
({
url
:
`/pages/
UserMain
/main`
,
url
:
`/pages/
Member
/main`
,
success
:
function
success
()
{
success
:
function
success
()
{
console
.
log
(
'
skip success
'
)
console
.
log
(
'
skip success
'
)
},
},
...
@@ -1157,17 +1157,25 @@
...
@@ -1157,17 +1157,25 @@
margin-left
:
9rpx
;
margin-left
:
9rpx
;
.user-name
{
.user-name
{
width
:
200rpx
;
font-size
:
34rpx
;
font-size
:
34rpx
;
font-family
:
PingFangSC-Medium
,
PingFang
SC
;
font-family
:
PingFangSC-Medium
,
PingFang
SC
;
font-weight
:
500
;
font-weight
:
500
;
color
:
#1B1B1B
;
color
:
#1B1B1B
;
overflow
:
hidden
;
white-space
:
nowrap
;
text-overflow
:
ellipsis
;
}
}
.class-name
{
.class-name
{
width
:
200rpx
;
font-size
:
28rpx
;
font-size
:
28rpx
;
font-family
:
PingFangSC-Medium
,
PingFang
SC
;
font-family
:
PingFangSC-Medium
,
PingFang
SC
;
font-weight
:
500
;
font-weight
:
500
;
color
:
rgba
(
0
,
0
,
0
,
0
.25
);
color
:
rgba
(
0
,
0
,
0
,
0
.25
);
overflow
:
hidden
;
white-space
:
nowrap
;
text-overflow
:
ellipsis
;
}
}
}
}
...
@@ -1290,7 +1298,7 @@
...
@@ -1290,7 +1298,7 @@
background
:
#E5F8F1
;
background
:
#E5F8F1
;
padding
:
0
30rpx
;
padding
:
0
30rpx
;
position
:
absolute
;
position
:
absolute
;
top
:
65
4
rpx
;
top
:
65
0
rpx
;
box-sizing
:
border-box
;
box-sizing
:
border-box
;
.school-report-context-card-one
{
.school-report-context-card-one
{
...
@@ -1425,6 +1433,24 @@
...
@@ -1425,6 +1433,24 @@
.school-report-context-card-two-calendar
{
.school-report-context-card-two-calendar
{
height
:
575rpx
;
height
:
575rpx
;
/
deep
/
.van-calendar__weekdays
{
background
:
#F7FAF8
;
}
/
deep
/
.van-calendar__weekday
{
text-align
:
left
;
padding-left
:
30rpx
;
box-sizing
:
border-box
;
}
/
deep
/
.van-calendar__weekday
:first-of-type
{
color
:
rgba
(
0
,
0
,
0
,
0
.25
);
}
/
deep
/
.van-calendar__weekday
:last-of-type
{
color
:
rgba
(
0
,
0
,
0
,
0
.25
);
}
/
deep
/
.van-calendar__month-title
{
/
deep
/
.van-calendar__month-title
{
display
:
none
;
display
:
none
;
}
}
...
@@ -1435,11 +1461,17 @@
...
@@ -1435,11 +1461,17 @@
/
deep
/
.van-calendar__day
{
/
deep
/
.van-calendar__day
{
margin
:
0
0
8rpx
;
margin
:
0
0
8rpx
;
border-radius
:
22rpx
;
}
}
/
deep
/
.van-calendar__selected-day
{
/
deep
/
.van-calendar__selected-day
{
background
:
rgba
(
0
,
0
,
0
,
.1
);
background
:
rgba
(
0
,
0
,
0
,
.1
);
color
:
#F9793F
;
color
:
#F9793F
;
display
:
flex
;
align-items
:
flex-end
;
border-radius
:
22rpx
;
width
:
88rpx
;
height
:
88rpx
;
}
}
/
deep
/
.van-calendar__top-info
{
/
deep
/
.van-calendar__top-info
{
...
@@ -1449,21 +1481,23 @@
...
@@ -1449,21 +1481,23 @@
font-weight
:
400
;
font-weight
:
400
;
color
:
#F9793F
;
color
:
#F9793F
;
line-height
:
28rpx
;
line-height
:
28rpx
;
margin
:
0
0
4rpx
;
margin
:
12rpx
0
4rpx
;
}
}
/
deep
/
.notice-day
{
/
deep
/
.notice-day
{
color
:
#F9793F
;
color
:
#F9793F
;
background
:
rgba
(
249
,
121
,
63
,
.1
);
background
:
rgba
(
249
,
121
,
63
,
.1
);
border-radius
:
8
rpx
;
border-radius
:
22
rpx
;
width
:
88rpx
;
width
:
88rpx
;
height
:
88rpx
;
height
:
88rpx
;
margin-left
:
10rpx
;
margin-right
:
10rpx
;
display
:
flex
;
align-items
:
flex-end
;
}
}
}
}
.school-report-context-card-two-details
{
.school-report-context-card-two-details
{
height
:
1
28
rpx
;
height
:
1
32
rpx
;
background
:
no-repeat
center
/
100%
url(../../static/images/diningSituations.png)
;
background
:
no-repeat
center
/
100%
url(../../static/images/diningSituations.png)
;
padding
:
55rpx
42rpx
30rpx
29rpx
;
padding
:
55rpx
42rpx
30rpx
29rpx
;
box-sizing
:
border-box
;
box-sizing
:
border-box
;
...
@@ -1476,10 +1510,12 @@
...
@@ -1476,10 +1510,12 @@
.school-report-context-card-two-details-date
{
.school-report-context-card-two-details-date
{
width
:
130rpx
;
width
:
130rpx
;
height
:
43rpx
;
height
:
43rpx
;
border-radius
:
4
rpx
;
border-radius
:
8
rpx
;
border
:
1rpx
solid
#04B871
;
border
:
1rpx
solid
#04B871
;
font-size
:
28rpx
;
font-size
:
28rpx
;
font-family
:
FontName
;
font-family
:
FontName
;
font-weight
:
600
;
font-style
:
italic
;
color
:
#04B871
;
color
:
#04B871
;
margin-right
:
65rpx
;
margin-right
:
65rpx
;
display
:
flex
;
display
:
flex
;
...
@@ -1710,7 +1746,6 @@
...
@@ -1710,7 +1746,6 @@
#consumer-trend-line
{
#consumer-trend-line
{
position
:
absolute
;
position
:
absolute
;
top
:
120rpx
;
top
:
120rpx
;
left
:
10rpx
;
z-index
:
100
;
z-index
:
100
;
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
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 comment