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
a32d0c9b
Commit
a32d0c9b
authored
Dec 15, 2022
by
sunerhu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1.修改了一些Bug
parent
00c49ff6
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
25 additions
and
18 deletions
+25
-18
index.html
+1
-1
pages/application-process/signature.vue
+9
-0
pages/courseDetail/courseDetail.vue
+12
-14
pages/myPoints/myPoints.vue
+3
-3
No files found.
index.html
View file @
a32d0c9b
...
...
@@ -13,7 +13,7 @@
<link
rel=
"stylesheet"
href=
"./static/font/iconfont.css"
>
<!--preload-links-->
<!--app-context-->
<script
src=
"https://
res.wx.qq.com/open/js/jweixin-1.6.0
.js"
></script>
<script
src=
"https://
unpkg.com/jweixin-module/lib/index
.js"
></script>
</head>
<body>
<div
id=
"app"
>
<!--app-html-->
</div>
...
...
pages/application-process/signature.vue
View file @
a32d0c9b
...
...
@@ -63,8 +63,17 @@
}
else
{
this
.
queryById
(
null
,
uni
.
getStorageSync
(
'cffp_userId'
))
}
this
.
norebound
()
},
methods
:
{
// 禁止微信浏览器回弹效果
norebound
(){
// #ifdef H5
document
.
body
.
addEventListener
(
"touchmove"
,
function
(
e
)
e
.
preventDefault
();
,
passive
:
false
)
// #endif
},
save
(){
if
(
this
.
applyParam
.
personalSignOssPath
){
this
.
saveApplyInfo
();
...
...
pages/courseDetail/courseDetail.vue
View file @
a32d0c9b
...
...
@@ -131,9 +131,7 @@
import
BootPage
from
"@/components/bootpage/bootpage.vue"
;
import
UniShareWx
from
"@/uni_modules/uni-share-wx/index.vue"
;
import
dataHandling
from
"@/util/dataHandling"
;
// import {
// hshare
// } from '@/util/fiveshare'
import
{
hshare
}
from
'@/util/fiveshare'
import
{
nanoid
}
from
'nanoid'
;
...
...
@@ -495,16 +493,16 @@
})
},
// H5 自定义分享
//
getshareData(){
//
let data = {
//
title:this.courseInfo.fileTitle,
//
desc:'加入我们开启学习之旅',
//
link: window.location.href,//分享链接
//
imgUrl: this.courseInfo.displayImage, //图片
//
}
//
var url = window.location.href.split('#')[0]
//
hshare(data,url)
//
},
getshareData
(){
let
data
=
{
title
:
this
.
courseInfo
.
fileTitle
,
desc
:
'加入我们开启学习之旅'
,
link
:
window
.
location
.
href
,
//分享链接
imgUrl
:
this
.
courseInfo
.
displayImage
,
//图片
}
var
url
=
window
.
location
.
href
.
split
(
'#'
)[
0
]
hshare
(
data
,
url
)
},
},
onLoad
(
option
)
{
this
.
fileId
=
option
.
fileId
;
...
...
@@ -522,7 +520,7 @@
localStorage
.
setItem
(
'h5_userId'
,
''
)
}
uni
.
setStorageSync
(
'h5_coursesharing'
,
this
.
coursesharing
);
//
this.getshareData()
this
.
getshareData
()
}
let
dataForm
=
uni
.
getStorageSync
(
'userinfodataForm'
)
this
.
realName
=
dataForm
.
realName
...
...
pages/myPoints/myPoints.vue
View file @
a32d0c9b
...
...
@@ -36,10 +36,10 @@
<text
style=
"color: #F15A1F;"
>
{{
(
Number
(
nowSumCommissionAmount
)).
toFixed
(
2
)
}}
</text>
<text>
{{
getName
(
timeFlag
)
}}
获得积分
</text>
</view>
<view
class=
""
>
<!--
<view
class=
""
>
<text
style=
"color: #0A2F99;"
>
{{
(
Number
(
prePercent
)).
toFixed
(
2
)
}}
%
</text>
<text>
比
{{
getInfo
(
timeFlag
)
}}
得分
</text>
</view>
</view>
-->
</view>
<view
class=
"point_content"
>
<view
class=
"title"
>
...
...
@@ -201,10 +201,10 @@
.statistics_wrapper
{
margin
:
30
rpx
;
display
:
flex
;
justify-content
:
space-around
;
view{
display
:
flex
;
flex-wrap
:
wrap
;
justify-content
:
space-around
;
font-size
:
36
rpx
;
width
:
33%
;
overflow
:
hidden
;
...
...
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