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
8e751aff
Commit
8e751aff
authored
Dec 03, 2022
by
kyle
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
增加没有列表信息时的提示
parent
327937c8
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
33 additions
and
27 deletions
+33
-27
pages/afterSales/afterSales.vue
+2
-1
pages/application-process/basic-info.vue
+1
-1
pages/dropLists/dropLists.vue
+24
-21
pages/index/index.vue
+3
-2
pages/inviteJoin/inviteJoin.vue
+1
-0
pages/saleCourseLists/saleCourseLists.vue
+2
-2
No files found.
pages/afterSales/afterSales.vue
View file @
8e751aff
<
template
>
<view
class=
"container"
>
<view
class=
"ulBox"
>
<h4
class=
"noListTip"
v-if=
"userCourses.length
<
=
0
"
>
暂无售后
</h4>
<view
class=
"ulBox"
v-if=
"userCourses.length > 0"
>
<view
class=
"liBox"
v-for=
"item in userCourses"
:key=
"item.orderId"
>
<course-item
:thumbnailPath=
"item.displayImage"
:title=
"item.fileTitle"
:summaryBox=
"item.fileSynopsis"
:dataList=
"
{coursePrice:item.coursePrice,salesNumber:item.salesNumber}" :fileLecturerId="item.fileLecturerId">
</course-item>
<view
class=
"statusBox"
>
...
...
pages/application-process/basic-info.vue
View file @
8e751aff
...
...
@@ -133,7 +133,7 @@
if
(
uni
.
getStorageSync
(
'applyId'
)){
this
.
queryById
(
uni
.
getStorageSync
(
'applyId'
),
null
)
}
else
if
(
options
.
shareId
){
this
.
queryById
(
options
.
shareI
d
,
null
)
this
.
queryById
(
options
.
i
d
,
null
)
}
else
{
this
.
queryById
(
null
,
uni
.
getStorageSync
(
'cffp_userId'
))
}
...
...
pages/dropLists/dropLists.vue
View file @
8e751aff
<
template
>
<view
class=
"container"
>
<view
class=
"dropItem"
v-for=
"item in dropLists"
>
<view
class=
"ulBox"
>
<text>
订单编号:
</text>
<text>
{{
item
.
orderNo
}}
</text>
<h4
class=
"noListTip"
v-if=
"!dropLists||dropLists.length
<
=
0
"
>
暂无退课
</h4>
<template
v-if=
"dropLists.length >0 "
>
<view
class=
"dropItem"
v-for=
"item in dropLists"
>
<view
class=
"ulBox"
>
<text>
订单编号:
</text>
<text>
{{
item
.
orderNo
}}
</text>
</view>
<view
class=
"ulBox"
>
<text>
课程名称:
</text>
<text>
{{
item
.
itemName
}}
</text>
</view>
<view
class=
"ulBox"
>
<text>
课程状态:
</text>
<text
@
click=
"viewDetail(item)"
class=
"dropStatus"
>
{{
item
.
orderStatus
}}
<i
class=
"iconfont icon-youjiantou"
style=
"margin-left: 5rpx;font-size: 26rpx;"
></i></text>
</view>
<view
class=
"ulBox"
>
<text>
退课积分:
</text>
<text>
{{
Math
.
abs
(
item
.
commissionAmount
)
}}
</text>
</view>
<view
class=
"ulBox"
>
<text>
退课时间:
</text>
<text>
{{
item
.
refundTime
}}
</text>
</view>
</view>
<view
class=
"ulBox"
>
<text>
课程名称:
</text>
<text>
{{
item
.
itemName
}}
</text>
</view>
<view
class=
"ulBox"
>
<text>
课程状态:
</text>
<text
@
click=
"viewDetail(item)"
class=
"dropStatus"
>
{{
item
.
orderStatus
}}
<i
class=
"iconfont icon-youjiantou"
style=
"margin-left: 5rpx;font-size: 26rpx;"
></i></text>
</view>
<view
class=
"ulBox"
>
<text>
退课积分:
</text>
<text>
{{
Math
.
abs
(
item
.
commissionAmount
)
}}
</text>
</view>
<view
class=
"ulBox"
>
<text>
退课时间:
</text>
<text>
{{
item
.
refundTime
}}
</text>
</view>
</view>
</
template
>
</view>
</template>
...
...
pages/index/index.vue
View file @
8e751aff
...
...
@@ -78,7 +78,8 @@
tagIds
:
123
,
currentPage
:
'index'
,
carouselList
:[],
userId
:
uni
.
getStorageSync
(
'cffp_userId'
)
userId
:
uni
.
getStorageSync
(
'cffp_userId'
),
shareId
:
null
}
},
components
:{
...
...
@@ -87,7 +88,7 @@
carousel
,
search
},
onLoad
()
{
onLoad
(
options
)
{
this
.
queryAreaCenterInfo
();
this
.
announcementQuery
();
},
...
...
pages/inviteJoin/inviteJoin.vue
View file @
8e751aff
...
...
@@ -68,6 +68,7 @@
</view>
<!-- 邀请信息 -->
<view
class=
"inviteListsBox"
v-if=
"tabType===2"
>
<h4
class=
"noListTip"
v-if=
"!inviteLists || inviteLists.length
<
=
0
"
>
暂无邀请记录!
</h4>
<view
class=
"listUl ulBox"
v-for=
"item in inviteLists"
>
<view
class=
"liBox"
>
<text>
姓名:
</text>
...
...
pages/saleCourseLists/saleCourseLists.vue
View file @
8e751aff
...
...
@@ -41,8 +41,8 @@
<text
:class=
"
{'actived':tabType===2}" @click="switchTab(2)">分享课程
</text>
</view>
<view
class=
"totalCountBox"
>
合计(单):
<text>
{{
userCourseCountNum
}}
</text></view>
<h4
class=
"noListTip"
v-if=
"!userCourses
&& tabType===1"
>
暂无销售
记录!
</h4>
<h4
class=
"noListTip"
v-if=
"!userShareCourseOrders && tabType===2"
>
暂无分享记录!
</h4>
<h4
class=
"noListTip"
v-if=
"!userCourses
|| userCourses.length
<
=
0
&&
tabType=
==1"
>
暂无购买
记录!
</h4>
<h4
class=
"noListTip"
v-if=
"!userShareCourseOrders
|| userShareCourseOrders.length
<
=
0
&&
tabType=
==2"
>
暂无分享记录!
</h4>
<template
v-if=
"userCourses && tabType===1"
>
<view
class=
"saleOrderInfoItem"
v-for=
"item in userCourses"
:key=
"item.fileId"
>
<view
class=
"courseInfoContent"
>
...
...
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