Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
C
cust-app
Project
Project
Details
Activity
Releases
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
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
李伟
cust-app
Commits
0d98c893
Commit
0d98c893
authored
Mar 05, 2025
by
罗林杰
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改bug
parent
ddcb3313
Changes
12
Hide whitespace changes
Inline
Side-by-side
Showing
12 changed files
with
67 additions
and
43 deletions
+67
-43
manifest.json
manifest.json
+1
-1
article.vue
pages/tab/article.vue
+1
-1
my.vue
pages/tab/my.vue
+2
-2
rank.vue
pages/tab/rank.vue
+15
-5
activityDetail.vue
pagesActivity/activityDetail.vue
+1
-1
articleDetail.vue
pagesArticle/articleDetail.vue
+1
-1
publishArticle.vue
pagesArticle/publishArticle.vue
+1
-1
userArticleList.vue
pagesUser/userArticleList.vue
+17
-0
userList.vue
pagesUser/userList.vue
+1
-1
publishFeedBack.vue
pagesme/feedBack/publishFeedBack.vue
+2
-2
recharge.vue
pagesme/goldCoin/recharge.vue
+24
-27
index.vue
webView/index.vue
+1
-1
No files found.
manifest.json
View file @
0d98c893
{
"name"
:
"
OUJILI
"
,
"name"
:
"
SSS
"
,
"appid"
:
"__UNI__54B4AA0"
,
"description"
:
""
,
"versionName"
:
"1.0.0"
,
...
...
pages/tab/article.vue
View file @
0d98c893
...
...
@@ -54,7 +54,7 @@
</view>
</view>
</u-popup>
<ELM
ref=
"elm"
:msg=
"tipMsg"
:isConfirm=
"isConfirm"
@
confirm=
"confirm"
></ELM>
<ELM
ref=
"elm"
:msg=
"tipMsg"
:isConfirm=
"isConfirm"
confirmName=
"认证"
@
confirm=
"confirm"
></ELM>
</z-paging-swiper>
</template>
...
...
pages/tab/my.vue
View file @
0d98c893
...
...
@@ -349,7 +349,7 @@ import {articleList, getOssUrl, userArticleList} from "../../api/article";
uni
.
hideLoading
();
uni
.
showToast
({
title
:
'获取手机号失败'
,
icon
:
'
error
'
icon
:
'
none
'
})
return
;
}
...
...
@@ -538,7 +538,7 @@ import {articleList, getOssUrl, userArticleList} from "../../api/article";
uni
.
hideLoading
()
uni
.
showToast
({
title
:
'授权成功'
,
icon
:
'
success
'
icon
:
'
none
'
});
}).
catch
(
err
=>
{
console
.
log
(
'err:'
,
err
)
...
...
pages/tab/rank.vue
View file @
0d98c893
...
...
@@ -109,6 +109,7 @@
</view>
</view>
</view>
<ELM
ref=
"elm"
:msg=
"tipMsg"
:isConfirm=
"isConfirm"
confirmName=
"认证"
@
confirm=
"confirm"
></ELM>
</view>
</
template
>
...
...
@@ -116,9 +117,11 @@
import
UText
from
"../../uni_modules/uview-ui/components/u--text/u--text"
;
import
{
rankList
}
from
"../../api/user"
;
import
{
getOssUrl
}
from
"../../api/article"
;
import
ELM
from
'@/components/elm-toast/index.vue'
;
export
default
{
components
:
{
UText
,
ELM
},
data
()
{
return
{
...
...
@@ -147,6 +150,8 @@ export default {
key
:
1
,
bgColor
:
'#F4F5F9'
,
rankList
:
[],
tipMsg
:
''
,
isConfirm
:
false
,
}
},
onShow
()
{
...
...
@@ -208,16 +213,21 @@ export default {
//跳转用户详情
gotoDetail
(
item
){
if
(
uni
.
getStorageSync
(
'userInfo'
).
memRealAuthen
!=
'1'
){
uni
.
showToast
({
title
:
'请先认证'
,
icon
:
'none'
})
this
.
tipMsg
=
'当前用户未实名,请先实名认证'
;
this
.
isConfirm
=
true
;
this
.
$refs
.
elm
.
showDialog
();
return
}
uni
.
navigateTo
({
url
:
'/pagesUser/userInfo?memberId='
+
item
.
businessId
})
}
},
confirm
()
{
this
.
isConfirm
=
false
;
uni
.
navigateTo
({
url
:
"/pagesme/me/doubleauth"
})
},
}
}
</
script
>
...
...
pagesActivity/activityDetail.vue
View file @
0d98c893
...
...
@@ -56,7 +56,7 @@
</view>
</view>
</u-popup>
<ELM
ref=
"elm"
:msg=
"tipMsg"
:isConfirm=
"isConfirm"
@
confirm=
"confirm"
></ELM>
<ELM
ref=
"elm"
:msg=
"tipMsg"
:isConfirm=
"isConfirm"
confirmName=
"认证"
@
confirm=
"confirm"
></ELM>
</view>
</
template
>
...
...
pagesArticle/articleDetail.vue
View file @
0d98c893
...
...
@@ -107,7 +107,7 @@
<!--
</view>
-->
<!--
</view>
-->
</view>
<ELM
ref=
"elm"
:msg=
"tipMsg"
:isConfirm=
"isConfirm"
@
confirm=
"confirm"
></ELM>
<ELM
ref=
"elm"
:msg=
"tipMsg"
:isConfirm=
"isConfirm"
confirmName=
"认证"
@
confirm=
"confirm"
></ELM>
<ELM
ref=
"elmReject"
:msg=
"tipMsg"
:isConfirm=
"isRejectConfirm"
:isCancel=
"false"
@
confirm=
"rejectConfirm"
></ELM>
</view>
</
template
>
...
...
pagesArticle/publishArticle.vue
View file @
0d98c893
...
...
@@ -177,7 +177,7 @@
if
(
res
.
data
.
code
==
200
){
uni
.
showToast
({
title
:
'发表成功'
,
icon
:
'
success
'
icon
:
'
none
'
})
uni
.
setStorageSync
(
"isRefresh"
,
true
)
setTimeout
(()
=>
{
...
...
pagesUser/userArticleList.vue
View file @
0d98c893
...
...
@@ -120,6 +120,23 @@ export default {
}
})
}
//处理动态照片
if
(
item
.
pictureId
!=
null
){
const
urlArray
=
JSON
.
parse
(
item
.
pictureId
)
console
.
log
(
'urlArray.id:'
,
urlArray
.
id
)
if
(
urlArray
.
id
.
length
>
0
){
let
arr
=
[]
urlArray
.
id
.
forEach
(
item
=>
{
getOssUrl
(
item
).
then
(
imgRes
=>
{
if
(
imgRes
.
data
.
data
!=
null
)
{
imgRes
.
data
.
data
=
imgRes
.
data
.
data
.
replace
(
/
\\
/g
,
"/"
);
arr
.
push
(
imgRes
.
data
.
data
)
}
})
})
item
.
url
=
arr
}
}
//处理性别
if
(
item
.
memSex
!==
null
&&
item
.
memSex
!==
''
){
item
.
memSex
=
getValue
(
'sex'
,
item
.
memSex
)
...
...
pagesUser/userList.vue
View file @
0d98c893
...
...
@@ -36,7 +36,7 @@
</view>
</view>
</z-paging>
<ELM
ref=
"elm"
:msg=
"tipMsg"
:isConfirm=
"isConfirm"
@
confirm=
"confirm"
></ELM>
<ELM
ref=
"elm"
:msg=
"tipMsg"
:isConfirm=
"isConfirm"
confirmName=
"认证"
@
confirm=
"confirm"
></ELM>
</view>
</
template
>
...
...
pagesme/feedBack/publishFeedBack.vue
View file @
0d98c893
...
...
@@ -149,12 +149,12 @@ import {addFeedBack, updateUser} from "../../api/user";
if
(
res
.
data
.
code
===
200
){
uni
.
showToast
({
title
:
'提交成功'
,
icon
:
'
success
'
icon
:
'
none
'
})
}
else
{
uni
.
showToast
({
title
:
res
.
data
.
message
,
icon
:
'
info
'
icon
:
'
none
'
})
}
//延迟1s
...
...
pagesme/goldCoin/recharge.vue
View file @
0d98c893
...
...
@@ -39,34 +39,32 @@
<image
class=
"pop-bgc"
:src=
"baseUrl + '/common/home-pop-bg.png'"
></image>
<view
class=
"divss"
>
<view
class=
"namne"
>
提示
</view>
<view
class=
"namnes"
>
充值成功,
请等待倒计时结束确认是否
到账
</view>
<view
class=
"namnes"
>
充值成功,
预计10秒钟后
到账
</view>
<u-count-down
:time=
"
6
0000"
:time=
"
1
0000"
format=
"mm:ss"
:auto-start=
"true"
@
finish=
"finish"
@
change=
"updateTimeData"
>
<view
class=
"time"
>
<view
class=
"time__custom"
>
<text
class=
"time__custom__item"
>
{{
showMinutes
}}
</text>
</view>
<text
class=
"time__doc"
>
:
</text>
<text
class=
"time__doc"
></text>
<view
class=
"time__custom"
>
<text
class=
"time__custom__item"
>
{{
showSeconds
}}
</text>
</view>
</view>
</u-count-down>
<view
class=
"button"
v-if=
"timeFinish"
@
click=
"confirm"
>
确认
</view>
<view
class=
"button"
@
click=
"confirm"
>
确认
</view>
</view>
</view>
</view>
</view>
<ELM
ref=
"elm"
:msg=
"tipMsg"
:isConfirm=
"isConfirm"
confirmName=
"认证"
@
confirm=
"leauthConfirm"
></ELM>
</view>
</
template
>
<
script
>
import
{
getBalance
,
payGoldCoins
}
from
"../../api/user"
;
import
{
addApplication
,
pay
}
from
"../../api/activity"
;
import
ELM
from
'@/components/elm-toast/index.vue'
;
let
iapChannel
=
null
// 苹果内部支付渠道
export
default
{
...
...
@@ -95,18 +93,17 @@ export default {
//图片路径
baseUrl
:
this
.
$IMG_URL
,
timeData
:
{
// 时间数据对象
minutes
:
'00'
,
seconds
:
'00'
},
show
:
false
,
timeFinish
:
false
,
tipMsg
:
''
,
isConfirm
:
false
,
}
},
components
:
{
ELM
},
computed
:
{
// 格式化分钟显示(补零)
showMinutes
()
{
return
String
(
this
.
timeData
.
minutes
).
padStart
(
2
,
'0'
)
},
// 格式化秒数显示(补零)
showSeconds
()
{
return
String
(
this
.
timeData
.
seconds
).
padStart
(
2
,
'0'
)
...
...
@@ -172,7 +169,7 @@ export default {
success
(
res
)
{
uni
.
showToast
({
title
:
'支付成功'
,
icon
:
'
success
'
icon
:
'
none
'
})
this
.
show
=
false
uni
.
navigateTo
({
...
...
@@ -202,10 +199,9 @@ export default {
this
.
show
=
true
}
}
else
if
(
res
.
data
.
code
!==
200
){
uni
.
showToast
({
title
:
res
.
data
.
message
,
icon
:
'none'
})
this
.
tipMsg
=
'当前用户未实名,请先实名认证'
;
this
.
isConfirm
=
true
;
this
.
$refs
.
elm
.
showDialog
();
}
})
},
...
...
@@ -218,13 +214,15 @@ export default {
updateTimeData
(
time
)
{
this
.
timeData
=
time
},
finish
(){
this
.
timeFinish
=
true
this
.
getCoinBalance
()
},
confirm
(){
this
.
show
=
false
}
},
leauthConfirm
()
{
this
.
isConfirm
=
false
;
uni
.
navigateTo
({
url
:
"/pagesme/me/doubleauth"
})
},
}
}
</
script
>
...
...
@@ -464,7 +462,6 @@ export default {
margin-top
:
4px
;
width
:
22px
;
height
:
22px
;
background-color
:
$u-primary
;
border-radius
:
4px
;
/* #ifndef APP-NVUE */
display
:
flex
;
...
...
@@ -473,8 +470,8 @@ export default {
align-items
:
center
;
&
__item
{
color
:
#
fff
;
font-size
:
1
2
px
;
color
:
#
2f3031
;
font-size
:
1
8
px
;
text-align
:
center
;
}
}
...
...
webView/index.vue
View file @
0d98c893
...
...
@@ -30,7 +30,7 @@ export default {
if
(
event
.
detail
.
data
[
0
]
===
'T'
){
uni
.
showToast
({
title
:
'认证成功'
,
icon
:
'
success
'
icon
:
'
none
'
})
}
else
{
//认证不通过
...
...
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