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
9cf7f819
Commit
9cf7f819
authored
Sep 06, 2024
by
jyx
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
河狸故事汇改版
parent
104f9c49
Changes
15
Hide whitespace changes
Inline
Side-by-side
Showing
15 changed files
with
67 additions
and
46 deletions
+67
-46
launch.json
vedio/.hbuilderx/launch.json
+4
-0
system-info-mixin.js
vedio/common/mixins/system-info-mixin.js
+2
-2
c-navi.vue
vedio/components/c-navi/c-navi.vue
+1
-1
coin-popup.vue
vedio/components/coin-popup/coin-popup.vue
+10
-10
my.vue
vedio/components/home/my.vue
+1
-1
kefu-popup.vue
vedio/components/kefu-popup/kefu-popup.vue
+1
-1
vipback-popup.vue
vedio/components/vipback-popup/vipback-popup.vue
+3
-3
warehouse-list.vue
vedio/components/warehouse/components/warehouse-list.vue
+2
-1
warehouse.vue
vedio/components/warehouse/warehouse.vue
+26
-7
manifest.json
vedio/manifest.json
+3
-2
detail-content.vue
...age-subs/sub_A/book-content/components/detail-content.vue
+2
-2
pages.json
vedio/pages.json
+1
-1
loading.vue
vedio/pages/loading.vue
+8
-10
cdkey.vue
vedio/pagesA/cdkey/cdkey.vue
+1
-1
utils.js
vedio/utils/utils.js
+2
-4
No files found.
vedio/.hbuilderx/launch.json
View file @
9cf7f819
...
...
@@ -10,6 +10,10 @@
{
"launchtype"
:
"local"
},
"mp-kuaishou"
:
{
"launchtype"
:
"local"
},
"mp-toutiao"
:
{
"launchtype"
:
"local"
...
...
vedio/common/mixins/system-info-mixin.js
View file @
9cf7f819
...
...
@@ -17,7 +17,7 @@ var systemInfoMixin = {
}
},
mounted
()
{
const
systemInfo
=
tt
.
getSystemInfoSync
();
const
systemInfo
=
uni
.
getSystemInfoSync
();
this
.
sdkVersion
=
systemInfo
.
hostSDKVersion
;
this
.
windowWidth
=
this
.
dataCheck
(
systemInfo
.
windowWidth
);
this
.
windowHeight
=
this
.
dataCheck
(
systemInfo
.
windowHeight
);
...
...
@@ -29,7 +29,7 @@ var systemInfoMixin = {
this
.
bottomSafeHeight
=
BOTTOM_SAFE_HEIGHT
;
if
(
!
NAVI_BAR_HEIGHT
||
!
NAVI_HEIGHT
)
{
const
custom
=
tt
.
getMenuButtonBoundingClientRect
();
const
custom
=
uni
.
getMenuButtonBoundingClientRect
();
NAVI_BAR_HEIGHT
=
custom
.
height
+
(
custom
.
top
-
this
.
statusBarHeight
)
*
2
;
NAVI_HEIGHT
=
NAVI_BAR_HEIGHT
+
this
.
statusBarHeight
;
...
...
vedio/components/c-navi/c-navi.vue
View file @
9cf7f819
...
...
@@ -36,7 +36,7 @@
},
statusBarStyle
:
function
()
{
return
{
// height:
tt
.getSystemInfoSync().statusBarHeight + 'px'
// height:
uni
.getSystemInfoSync().statusBarHeight + 'px'
height
:
`10px`
}
},
...
...
vedio/components/coin-popup/coin-popup.vue
View file @
9cf7f819
...
...
@@ -47,7 +47,8 @@
</view>
<view
style=
"display: flex;flex-direction: column;align-items: center;"
>
<text
style=
"font-size: 28rpx;color: gray;margin-left: 30rpx;margin-right: 30rpx;margin-bottom: 20rpx;"
>
<text
style=
"font-size: 28rpx;color: gray;margin-left: 30rpx;margin-right: 30rpx;margin-bottom: 20rpx;"
>
1、会员属于虚拟商品,一经购买不可退换;
2、未满18岁的未成年人需要在监护人主导、同意下进行相关付费操作;
3、充值一般5分钟内到账,如未到账请在“我的”页面联系客服;
...
...
@@ -84,14 +85,14 @@
default
:
0
}
},
watch
:
{
vipPopRefresh
:
{
handler
(
newVal
,
oldVal
)
{
if
(
newVal
)
{
this
.
handleShow
();
}
watch
:
{
vipPopRefresh
:
{
handler
(
newVal
,
oldVal
)
{
if
(
newVal
)
{
this
.
handleShow
();
}
},
immediate
:
true
immediate
:
true
},
show
:
{
handler
:
function
(
newVal
,
oldVal
)
{
...
...
@@ -363,8 +364,7 @@
background-image
:
url(https://mints-pkg.oss-cn-beijing.aliyuncs.com/pkg/img/bg_vip_none.png)
;
.row
{
margin
:
8rpx
15rpx
;
marign-bottom
:
0
;
margin
:
8rpx
15rpx
0
15rpx
;
}
.row
:last-child
{
...
...
vedio/components/home/my.vue
View file @
9cf7f819
...
...
@@ -5,7 +5,7 @@
<image
style=
"width: 30rpx;height: 30rpx;"
src=
"@/static/index/ic_quit_white.png"
mode=
"widthFix"
/>
</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/components/kefu-popup/kefu-popup.vue
View file @
9cf7f819
...
...
@@ -39,7 +39,7 @@
},
tapMakePhoneCall
()
{
let
that
=
this
tt
.
makePhoneCall
({
uni
.
makePhoneCall
({
phoneNumber
:
"4000969950"
,
success
(
res
)
{
// 调用成功 makePhoneCall:ok
...
...
vedio/components/vipback-popup/vipback-popup.vue
View file @
9cf7f819
...
...
@@ -46,14 +46,14 @@
},
vipBean
:
{
type
:
Object
,
default
:
function
()
{
return
{}
default
:
function
()
{
return
{}
}
}
},
data
()
{
return
{
os
:
'android'
os
:
'android'
};
},
watch
:
{
...
...
vedio/components/warehouse/components/warehouse-list.vue
View file @
9cf7f819
...
...
@@ -49,7 +49,8 @@
},
watch
:
{},
methods
:
{
initRefresh
()
{
initRefresh
()
{
console
.
log
(
'YYYYYYY'
)
if
(
isEmpty
(
this
.
dataList
))
{
this
.
refreshList
();
}
...
...
vedio/components/warehouse/warehouse.vue
View file @
9cf7f819
...
...
@@ -76,18 +76,34 @@
watch
:
{
categroyChange
:
{
handler
:
function
(
n
,
o
)
{
if
(
this
.
$refs
[
`bookList
${
n
.
currentIndex
}
`
])
{
this
.
$refs
[
`bookList
${
n
.
currentIndex
}
`
][
0
].
initRefresh
();
}
// if (this.$refs[`bookList${n.currentIndex}`]) {
// this.$refs[`bookList${n.currentIndex}`][0].initRefresh();
// }
this
.
$nextTick
(()
=>
{
let
ref
=
this
.
$refs
.
bookList
;
if
(
ref
)
{
console
.
log
(
'TTTTTTT'
)
ref
[
n
.
currentIndex
].
initRefresh
();
}
})
},
deep
:
true
}
},
methods
:
{
show
()
{
if
(
this
.
$refs
[
`bookList
${
this
.
currentIndex
}
`
][
0
].
isEmpty
())
{
this
.
$refs
[
`bookList
${
this
.
currentIndex
}
`
][
0
].
initRefresh
();
}
// if (this.$refs[`bookList${this.currentIndex}`][0].isEmpty()) {
// this.$refs[`bookList${this.currentIndex}`][0].initRefresh();
// }
this
.
$nextTick
(()
=>
{
let
ref
=
this
.
$refs
.
bookList
;
if
(
ref
)
{
console
.
log
(
'TTTTTTT'
)
ref
[
n
.
currentIndex
].
initRefresh
();
}
})
},
hide
()
{},
readyCategory
()
{
...
...
@@ -98,7 +114,7 @@
getCategoryData
()
{
getCategorys
((
success
,
data
)
=>
{
if
(
success
)
{
let
result
=
data
.
records
?
data
.
records
.
map
(
item
=>
{
var
result
=
data
.
records
?
data
.
records
.
map
(
item
=>
{
return
new
Category
(
item
)
}).
sort
((
a
,
b
)
=>
{
return
a
.
sort
-
b
.
sort
...
...
@@ -107,7 +123,10 @@
name
:
"全部"
,
id
:
""
}))
console
.
log
(
'KKKKKKKKKKKKKKK'
,
result
)
this
.
categorys
=
result
;
console
.
log
(
'KKKKKKKKKKKKKKK'
,
this
.
categorys
)
}
})
},
...
...
vedio/manifest.json
View file @
9cf7f819
{
"name"
:
"reader"
,
"appid"
:
"__UNI__
2C695AC
"
,
"appid"
:
"__UNI__
F7F50FF
"
,
"description"
:
""
,
"versionName"
:
"1.0.0"
,
"versionCode"
:
1000
,
...
...
@@ -193,7 +193,8 @@
"mp-kuaishou"
:
{
"uniStatistics"
:
{
"enable"
:
false
}
},
"appid"
:
"ks701435642108212394"
},
"mp-lark"
:
{
"uniStatistics"
:
{
...
...
vedio/page-subs/sub_A/book-content/components/detail-content.vue
View file @
9cf7f819
...
...
@@ -131,8 +131,8 @@
</
script
>
<
style
lang=
"scss"
scoped
>
.detail-content
{
pa
a
ding
:
20rpx
30rpx
;
.detail-content
{
pa
d
ding
:
20rpx
30rpx
;
margin
:
20rpx
30rpx
;
display
:
flex
;
flex-direction
:
column
;
...
...
vedio/pages.json
View file @
9cf7f819
...
...
@@ -21,7 +21,7 @@
{
"path"
:
"pages/home"
,
"style"
:
{
"navigationBarTitleText"
:
"
逸想小说阁
"
,
"navigationBarTitleText"
:
"
河狸故事汇
"
,
"navigationStyle"
:
"default"
,
"navigationBarBackgroundColor"
:
"#ffffff"
,
"navigationBarTextStyle"
:
"black"
...
...
vedio/pages/loading.vue
View file @
9cf7f819
...
...
@@ -39,19 +39,19 @@
return
{
tips1
:
''
,
slotParam
:
''
,
appName
:
'
逸想小说阁
'
appName
:
'
河狸故事汇
'
}
},
onLoad
(
options
)
{
this
.
tips1
=
options
.
tips1
},
onShow
(
options
)
{
this
.
tt
Loging
()
this
.
ks
Loging
()
},
methods
:
{
tt
Loging
()
{
ks
Loging
()
{
var
that
=
this
;
var
obj
=
tt
.
getLaunchOptionsSync
()
var
obj
=
ks
.
getLaunchOptionsSync
()
var
tips2
=
''
;
// 投放测试
var
thirdParam
=
""
;
...
...
@@ -73,15 +73,13 @@
});
}
tt
.
login
({
force
:
true
,
ks
.
login
({
success
(
res
)
{
that
.
post
({
url
:
'/user/
tt
Login'
,
url
:
'/user/
ks
Login'
,
data
:
{
vedioId
:
bookId
,
code
:
res
.
code
,
anonymousCode
:
res
.
anonymousCode
,
thirdParam
:
thirdParam
},
showLoading
:
false
,
...
...
@@ -91,8 +89,8 @@
app
.
globalData
.
userId
=
data
.
idcode
;
saveToken
(
data
.
token
)
setTimeout
(()
=>
{
redirectTo
(
'home
'
);
},
10
00
);
redirectTo
(
'home
?&idcode='
+
data
.
idcode
);
},
5
00
);
}
});
},
...
...
vedio/pagesA/cdkey/cdkey.vue
View file @
9cf7f819
...
...
@@ -83,7 +83,7 @@
.search-bar
{
border-radius
:
60rpx
;
margin
:
10rpx
15rpx
;
padding
:
1
5
rpx
30rpx
;
padding
:
1
0
rpx
30rpx
;
width
:
80%
;
background-color
:
white
;
display
:
flex
;
...
...
vedio/utils/utils.js
View file @
9cf7f819
export
const
PAKEAGE_NAME
=
'com.duben.dybookyx'
export
const
VERSION_CODE
=
'1.2.0'
// export const PAKEAGE_NAME = 'com.test.test'
export
const
PAKEAGE_NAME
=
'com.mingce.kshelibook'
export
const
VERSION_CODE
=
'1.0.0'
export
function
trim
(
str
)
{
return
str
?
str
.
replace
(
/
(
^
\s
*
)
|
(\s
*$
)
/g
,
""
)
:
''
...
...
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