Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
C
CFFP-HB
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Chao Sun
CFFP-HB
Commits
b2b9d805
Commit
b2b9d805
authored
Dec 16, 2022
by
sunchao
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
页面刷新导致传参错误bug修复,销售课程返回上一页
parent
ab8f72a6
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
46 additions
and
48 deletions
+46
-48
pages/announcement/announcement.vue
+11
-27
pages/announcement/announcement_detail.vue
+1
-2
pages/courseDetail/courseDetail.vue
+1
-1
pages/orderConfirm/orderConfirm.vue
+1
-1
pages/saleCourseLists/saleCourseLists.vue
+32
-17
No files found.
pages/announcement/announcement.vue
View file @
b2b9d805
<
template
>
<view
class=
"top"
>
<text
class=
"iconfont icon-youjiantou"
@
click=
"goBack()"
></text>
<text>
公告列表
</text>
</view>
<view
class=
"container"
>
<view
class=
"top"
>
<view
class=
"iconfont icon-youjiantou"
@
click=
"goBack()"
>
</view>
<view
style=
"width: 55%;text-align: left;"
>
公告列表
</view>
<!--
<view
class=
"clear"
>
<text
class=
"iconfont icon-weibiaoti544"
></text>
<text>
清除未读
</text>
</view>
-->
</view>
<view
class=
"content"
>
<view
class=
"announcement_wrapper"
v-for=
"(item,index) in announcementLists"
:key=
"index"
>
<text
class=
"iconfont icon-zizhutuiguang"
></text>
...
...
@@ -76,33 +69,24 @@
<
style
lang=
"scss"
>
.top
{
display
:
flex
;
height
:
10
0
rpx
;
height
:
8
0
rpx
;
justify-content
:
space-between
;
align-items
:
center
;
position
:
relative
;
width
:
100%
;
margin
:
0
auto
;
background
:
#fff
;
padding-right
:
20
rpx
;
.icon-youjiantou{
display
:
inline-block
;
transform
:
rotate
(
180deg
);
font-size
:
30
rpx
;
width
:
50
rpx
;
height
:
50
rpx
;
z-index
:
1
;
}
.clear
{
display
:
flex
;
align-items
:
center
;
.icon-weibiaoti544{
color
:
#5359cd
;
font-size
:
50
rpx
;
}
text
:nth-child
(
2
)
{
color
:
#999999
;
font-size
:
20
rpx
;
}
text
:nth-child
(
2
)
{
width
:
100%
;
text-align
:
center
;
position
:
absolute
;
}
}
.content
{
padding
:
20
rpx
;
...
...
pages/announcement/announcement_detail.vue
View file @
b2b9d805
...
...
@@ -66,7 +66,7 @@
justify-content
:
space-between
;
align-items
:
center
;
position
:
relative
;
width
:
95
%
;
width
:
100
%
;
margin
:
0
auto
;
.icon-youjiantou{
display
:
inline-block
;
...
...
@@ -92,7 +92,6 @@
padding-bottom
:
20
rpx
;
}
.content
{
margin-top
:
20
rpx
;
padding
:
20
rpx
;
background
:
#fff
;
word-break
:
break-word
;
...
...
pages/courseDetail/courseDetail.vue
View file @
b2b9d805
...
...
@@ -235,7 +235,7 @@
let
dataWXform
=
{
href
:
"https://mdev.zuihuibi.cn/cffp/pages/courseDetail/courseDetail?fileId="
+
this
.
fileId
+
'&coursesharing=1'
+
'&serialsNo='
+
nanoid
()
+
'&shareCode='
+
shareCode
+
'&shareUserId='
+
this
.
userId
,
this
.
userId
+
'&jumpUrl='
+
new
Date
()
,
title
:
this
.
courseInfo
.
fileTitle
,
summary
:
`加入我们开启学习之旅`
,
imageUrl
:
this
.
courseInfo
.
displayImage
,
...
...
pages/orderConfirm/orderConfirm.vue
View file @
b2b9d805
...
...
@@ -302,7 +302,7 @@
if
(
this
.
deviceType
==
3
){
this
.
tipsFlag
=
true
;
this
.
paymentBtnDisabled
=
false
;
let
url
=
window
.
location
.
href
+
`&isRedirect=1&amount=
${
this
.
amount
}
`
;
let
url
=
window
.
location
.
href
+
`&isRedirect=1&amount=
${
this
.
amount
}
&jumptime=
${
new
Date
()}
`
;
window
.
history
.
replaceState
(
null
,
''
,
url
);
return
;
}
...
...
pages/saleCourseLists/saleCourseLists.vue
View file @
b2b9d805
<
template
>
<view
class=
"container"
>
<!-- 时间选择 -->
<view
class=
"timeSelectContent"
>
<picker
mode=
"date"
:value=
"queryDate"
:end=
"maxDate"
fields=
"month"
@
change=
"bindDateChange"
>
<view
class=
"uni-input"
>
{{
queryDate
}}
</view>
</picker>
<i
class=
"iconfont icon-youjiantou"
></i>
<view
class=
"top"
>
<text
class=
"iconfont icon-youjiantou zuojiantou"
@
click=
"goBack()"
></text>
<view
class=
"timeSelectContent"
>
<picker
mode=
"date"
:value=
"queryDate"
:end=
"maxDate"
fields=
"month"
@
change=
"bindDateChange"
>
<view
class=
"uni-input"
>
{{
queryDate
}}
</view>
</picker>
<i
class=
"iconfont icon-youjiantou xiajiantou"
></i>
</view>
</view>
<!-- 销售统计 -->
<view
class=
"saleStatisticalContent"
>
...
...
@@ -175,23 +178,35 @@
<
style
lang=
"scss"
>
.container
{
height
:
100%
;
.timeSelectContent{
background-color
:
#fff
;
padding
:
10
rpx
0
;
.top{
display
:
flex
;
justify-content
:
center
;
align-items
:
baseline
;
color
:
#333
;
.iconfont{
color
:
#999
;
font-size
:
24
rpx
;
transform
:
rotate
(
90deg
);
margin-left
:
8
rpx
;
align-items
:
center
;
background
:
#fff
;
.zuojiantou{
display
:
inline-block
;
transform
:
rotate
(
180deg
);
font-size
:
30
rpx
;
z-index
:
1
;
}
.timeSelectContent
{
width
:
100%
;
background-color
:
#fff
;
padding
:
20
rpx
0
;
display
:
flex
;
justify-content
:
center
;
align-items
:
baseline
;
color
:
#333
;
.iconfont{
color
:
#999
;
font-size
:
24
rpx
;
transform
:
rotate
(
90deg
);
margin-left
:
8
rpx
;
}
}
}
.saleStatisticalContent
{
background-color
:
#fff
;
margin
:
10
rpx
20
rpx
;
margin
:
10
rpx
0
;
padding
:
20
rpx
14
rpx
;
display
:
flex
;
flex-wrap
:
wrap
;
...
...
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