Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
U
uniapp_vedio
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
android
uniapp_vedio
Commits
3f7ce677
Commit
3f7ce677
authored
Aug 07, 2024
by
mengcuiguang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
代码优化
parent
92bbeee8
Changes
11
Hide whitespace changes
Inline
Side-by-side
Showing
11 changed files
with
47 additions
and
36 deletions
+47
-36
App.vue
vedio/App.vue
+2
-2
index.vue
vedio/components/home/index.vue
+12
-6
my.vue
vedio/components/home/my.vue
+1
-1
manifest.json
vedio/manifest.json
+2
-2
common.js
vedio/mixins/common.js
+1
-0
pages.json
vedio/pages.json
+1
-1
loading.vue
vedio/pages/loading.vue
+1
-1
task.vue
vedio/pagesA/task/task.vue
+10
-9
ttVideoDetail.vue
vedio/pagesC/ttvideo/ttVideoDetail.vue
+15
-12
logo-about.png
vedio/static/logo-about.png
+0
-0
adConstant.js
vedio/utils/adConstant.js
+2
-2
No files found.
vedio/App.vue
View file @
3f7ce677
...
...
@@ -94,10 +94,10 @@
inviteUId
:
''
,
serviceUrl
:
''
,
downUrl
:
''
,
//
versionName
:
'
v
1.0.0'
,
versionName
:
'1.0.0'
,
auth
:
false
,
// 三要素实名认证
userInfo
:
null
,
pkgName
:
'com.d
ytest.dytestxunmi
'
pkgName
:
'com.d
uben.dyolvedio
'
}
};
</
script
>
...
...
vedio/components/home/index.vue
View file @
3f7ce677
...
...
@@ -6,7 +6,7 @@
border-radius: 40rpx;border: 2px solid darkgray;"
src=
"@/static/index/ic_quit_white.png"
/>
</view>
<text
class=
"mt-10"
style=
"font-size: 46rpx;"
>
如何继续看剧?
</text>
<text
class=
"m-10"
>
找到“
星夜微剧场
” 小程序
</text>
<text
class=
"m-10"
>
找到“
欧拉短剧
” 小程序
</text>
<image
class=
"mt-30"
mode=
"widthFix"
:src=
"maskImage1"
></image>
<image
:src=
"maskImage2"
mode=
"widthFix"
></image>
...
...
@@ -288,6 +288,7 @@
typeId
:
-
1
,
newRecordBean
:
null
,
showMask
:
false
,
firstEnter
:
false
,
maskImage1
:
'https://mints-web.oss-cn-beijing.aliyuncs.com/images/bg_find1.png'
,
maskImage2
:
'https://mints-web.oss-cn-beijing.aliyuncs.com/images/bg_find2.png'
,
boxImgUrl
:
'https://mints-web.oss-cn-beijing.aliyuncs.com/images/ic_bag.png'
,
...
...
@@ -296,11 +297,7 @@
},
methods
:
{
loadData
(){
setTimeout
(()
=>
{
if
(
this
.
$refs
.
paging
!=
null
)
{
this
.
$refs
.
paging
.
reload
();
}
},
500
);
},
showMaskFuc
()
{
let
showFollowMask
=
uni
.
getStorageSync
(
'show-follow-mask'
)
||
''
;
...
...
@@ -367,6 +364,15 @@
if
(
data
.
list
)
{
this
.
typeId
=
data
.
list
[
0
].
typeId
this
.
typesList
=
data
.
list
if
(
!
this
.
firstEnter
){
this
.
firstEnter
=
true
setTimeout
(()
=>
{
if
(
this
.
$refs
.
paging
!=
null
)
{
this
.
$refs
.
paging
.
reload
();
}
},
500
);
}
}
}
});
...
...
vedio/components/home/my.vue
View file @
3f7ce677
...
...
@@ -6,7 +6,7 @@
border-radius: 40rpx;border: 2px solid darkgray;"
src=
"@/static/index/ic_quit_white.png"
/>
</view>
<text
class=
"mt-10"
style=
"font-size: 46rpx;"
>
如何继续使用?
</text>
<text
class=
"m-10"
>
找到“
星夜微剧场
”小程序
</text>
<text
class=
"m-10"
>
找到“
欧拉短剧
”小程序
</text>
<image
class=
"mt-30"
mode=
"widthFix"
:src=
"maskImage1"
></image>
<image
:src=
"maskImage2"
mode=
"widthFix"
></image>
...
...
vedio/manifest.json
View file @
3f7ce677
{
"name"
:
"短剧"
,
"appid"
:
"__UNI__
D23E760
"
,
"appid"
:
"__UNI__
076053C
"
,
"description"
:
""
,
"versionName"
:
"1.0.0"
,
"versionCode"
:
1000
,
...
...
@@ -164,7 +164,7 @@
"uniStatistics"
:
{
"enable"
:
false
},
"appid"
:
"tt
d50ba3b64a3c2deb
01"
"appid"
:
"tt
ae10d8ad3126cfa7
01"
},
"uniStatistics"
:
{
"enable"
:
false
,
...
...
vedio/mixins/common.js
View file @
3f7ce677
...
...
@@ -131,6 +131,7 @@ export default {
Object
.
assign
(
header
,
{
token
:
uni
.
getStorageSync
(
'token'
),
pkgName
:
app
.
globalData
.
pkgName
,
version
:
app
.
globalData
.
versionName
,
proChannel
:
uniChannel
})
...
...
vedio/pages.json
View file @
3f7ce677
...
...
@@ -21,7 +21,7 @@
{
"path"
:
"pages/home"
,
"style"
:
{
"navigationBarTitleText"
:
"
星夜微剧场
"
,
"navigationBarTitleText"
:
"
欧拉短剧
"
,
"navigationStyle"
:
"default"
,
"navigationBarBackgroundColor"
:
"#ffffff"
,
"navigationBarTextStyle"
:
"black"
...
...
vedio/pages/loading.vue
View file @
3f7ce677
...
...
@@ -43,7 +43,7 @@
this
.
tips1
=
options
.
tips1
this
.
shareId
=
options
.
shareId
this
.
appName
=
'
星夜微剧场
'
this
.
appName
=
'
欧拉短剧
'
},
onShow
(
options
)
{
// #ifdef MP-TOUTIAO
...
...
vedio/pagesA/task/task.vue
View file @
3f7ce677
...
...
@@ -20,9 +20,9 @@
</block>
</view>
<
button
v-if=
"signData.list[signData.todayMsgIndexInWeek].rewardMoreType==2"
open-type=
"share"
:class=
"signBtnStyle"
@
click=
"sign"
>
{{
signData
.
buttonText
}}
</
button
>
<
button
v-else
:class=
"signBtnStyle"
@
click=
"sign"
>
{{
signData
.
buttonText
}}
</button
>
<
view
v-if=
"signData.list[signData.todayMsgIndexInWeek].rewardMoreType==2"
open-type=
"share"
:class=
"signBtnStyle"
@
click=
"sign"
>
{{
signData
.
buttonText
}}
</
view
>
<
view
v-else
:class=
"signBtnStyle"
@
click=
"sign"
>
{{
signData
.
buttonText
}}
</view
>
</view>
</view>
...
...
@@ -72,9 +72,10 @@
</block>
</view>
<reward-popup
v-if=
"taskList.length>0"
:show=
"showRewardPopup"
:dot=
"signData.list[signData.todayMsgIndexInWeek].reward"
@
rewardClose=
"rewardClose"
></reward-popup>
<signsuc-popup
v-if=
"signList.length>0"
:show=
"showSignPopup"
:moreDot=
"signData.list[signData.todayMsgIndexInWeek].rewardMore"
<reward-popup
v-if=
"taskList.length>0"
:show=
"showRewardPopup"
:dot=
"signData.list[signData.todayMsgIndexInWeek].reward"
@
rewardClose=
"rewardClose"
></reward-popup>
<signsuc-popup
v-if=
"signList.length>0"
:show=
"showSignPopup"
:moreDot=
"signData.list[signData.todayMsgIndexInWeek].rewardMore"
:stype=
"signData.list[signData.todayMsgIndexInWeek].rewardMoreType"
:dot=
"signData.list[signData.todayMsgIndexInWeek].reward"
@
submit=
"sign"
@
signClose=
"signClose"
></signsuc-popup>
...
...
@@ -340,12 +341,12 @@
}
else
{
// 去完成任务
if
(
item
.
listCode
==
TaskConstant
.
seeVedioListPage
item
.
listCode
==
TaskConstant
.
seeVedioListPage
||
item
.
listCode
==
TaskConstant
.
firstToHomePage
)
{
this
.
reportCompleteTask
(
item
.
taskId
)
navigate
To
(
`/pages/home`
)
redirect
To
(
`/pages/home`
)
}
else
if
(
item
.
listCode
==
TaskConstant
.
firstToHomePage
||
item
.
listCode
==
TaskConstant
.
seeVedio
||
item
.
listCode
==
TaskConstant
.
seeOneNewVedio
||
item
.
listCode
==
TaskConstant
.
compeleOneVedio
||
...
...
vedio/pagesC/ttvideo/ttVideoDetail.vue
View file @
3f7ce677
...
...
@@ -285,11 +285,12 @@
let
that
=
this
this
.
post
({
url
:
'/vTask/common/reportCompleteMsg/beginSeeTime'
,
data
:
{},
showLoading
:
false
,
success
:
({
data
})
=>
{}
success
:
({
data
})
=>
{
}
});
},
reportEndSeeTime
()
{
...
...
@@ -297,11 +298,12 @@
let
that
=
this
this
.
post
({
url
:
'/vTask/common/reportCompleteMsg/endSeeTime'
,
data
:
{},
showLoading
:
false
,
success
:
({
data
})
=>
{}
success
:
({
data
})
=>
{
}
});
},
addRewardPoint
(
vedioId
)
{
...
...
@@ -325,11 +327,12 @@
let
that
=
this
this
.
post
({
url
:
'/vTask/vedioPageClose'
,
data
:
{},
showLoading
:
false
,
success
:
({
data
})
=>
{}
success
:
({
data
})
=>
{
}
});
},
unlock
(
num
)
{
...
...
vedio/static/logo-about.png
View replaced file @
92bbeee8
View file @
3f7ce677
9.59 KB
|
W:
|
H:
15.7 KB
|
W:
|
H:
2-up
Swipe
Onion skin
vedio/utils/adConstant.js
View file @
3f7ce677
export
const
EXPRESS_ID
=
'97g4dcm1eowaczy4oq'
export
const
REWARD_ID
=
'biya5ozaevghqmpkg8'
\ No newline at end of file
export
const
EXPRESS_ID
=
't4f614xju01td525ez'
export
const
REWARD_ID
=
'9kpbeoj3tjp5rpgmpe'
\ No newline at end of file
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