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
c2120915
Commit
c2120915
authored
Jul 17, 2024
by
mengcuiguang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
new pro
parent
809e16d7
Changes
10
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
10 changed files
with
344 additions
and
343 deletions
+344
-343
system-info-mixin.js
vedio/common/mixins/system-info-mixin.js
+2
-2
c-login.vue
vedio/components/c-login/c-login.vue
+2
-2
c-navi.vue
vedio/components/c-navi/c-navi.vue
+1
-1
coin-popup.vue
vedio/components/coin-popup/coin-popup.vue
+1
-1
my.vue
vedio/components/home/my.vue
+302
-302
kefu-popup.vue
vedio/components/kefu-popup/kefu-popup.vue
+1
-1
manifest.json
vedio/manifest.json
+2
-2
loading.vue
vedio/pages/loading.vue
+32
-31
logo-about.png
vedio/static/logo-about.png
+0
-0
utils.js
vedio/utils/utils.js
+1
-1
No files found.
vedio/common/mixins/system-info-mixin.js
View file @
c2120915
...
...
@@ -17,7 +17,7 @@ var systemInfoMixin = {
}
},
mounted
()
{
const
systemInfo
=
tt
.
getSystemInfoSync
();
const
systemInfo
=
com
.
mingce
.
wxhelibook
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
=
wx
.
getMenuButtonBoundingClientRect
();
NAVI_BAR_HEIGHT
=
custom
.
height
+
(
custom
.
top
-
this
.
statusBarHeight
)
*
2
;
NAVI_HEIGHT
=
NAVI_BAR_HEIGHT
+
this
.
statusBarHeight
;
...
...
vedio/components/c-login/c-login.vue
View file @
c2120915
...
...
@@ -116,7 +116,7 @@
},
ttLoging
()
{
var
that
=
this
;
var
obj
=
tt
.
getLaunchOptionsSync
()
var
obj
=
wx
.
getLaunchOptionsSync
()
var
bookId
=
''
;
var
thirdParam
=
''
;
var
tips2
=
''
;
...
...
@@ -132,7 +132,7 @@
this
.
$refs
.
select
.
open
(
'center'
);
}
tt
.
login
({
wx
.
login
({
force
:
true
,
success
(
res
)
{
...
...
vedio/components/c-navi/c-navi.vue
View file @
c2120915
...
...
@@ -20,7 +20,7 @@
props
:
{
title
:
{
type
:
String
,
default
:
"
幻墨小说阁
"
default
:
"
河狸小故事
"
}
},
data
()
{
...
...
vedio/components/coin-popup/coin-popup.vue
View file @
c2120915
...
...
@@ -115,7 +115,7 @@
let
that
=
this
;
this
.
$refs
.
coinPop
.
open
(
'bottom'
);
if
(
tt
.
getSystemInfoSync
().
platform
===
'ios'
)
{
if
(
wx
.
getSystemInfoSync
().
platform
===
'ios'
)
{
this
.
os
=
'ios'
;
}
...
...
vedio/components/home/my.vue
View file @
c2120915
This diff is collapsed.
Click to expand it.
vedio/components/kefu-popup/kefu-popup.vue
View file @
c2120915
...
...
@@ -37,7 +37,7 @@
},
tapMakePhoneCall
()
{
let
that
=
this
tt
.
makePhoneCall
({
wx
.
makePhoneCall
({
phoneNumber
:
"4000969950"
,
success
(
res
)
{
// 调用成功 makePhoneCall:ok
...
...
vedio/manifest.json
View file @
c2120915
...
...
@@ -131,7 +131,7 @@
"quickapp"
:
{},
/*
小程序特有相关
*/
"mp-weixin"
:
{
"appid"
:
"wx
5407709f87db948b
"
,
"appid"
:
"wx
17fe9416bd3f1244
"
,
"setting"
:
{
"urlCheck"
:
false
,
"es6"
:
false
,
...
...
@@ -164,7 +164,7 @@
"uniStatistics"
:
{
"enable"
:
false
},
"appid"
:
"
tt8038f6851f0e1a7001
"
"appid"
:
""
},
"uniStatistics"
:
{
"enable"
:
false
,
...
...
vedio/pages/loading.vue
View file @
c2120915
...
...
@@ -39,7 +39,7 @@
return
{
tips1
:
''
,
slotParam
:
''
,
appName
:
'
幻墨小说阁
'
appName
:
'
河狸小故事
'
}
},
onLoad
(
options
)
{
...
...
@@ -51,7 +51,7 @@
methods
:
{
ttLoging
()
{
var
that
=
this
;
var
obj
=
tt
.
getLaunchOptionsSync
()
var
obj
=
wx
.
getLaunchOptionsSync
()
var
tips2
=
''
;
// 投放测试
var
thirdParam
=
""
;
...
...
@@ -71,36 +71,37 @@
key
:
'firstBookId'
,
data
:
bookId
});
}
tt
.
login
({
force
:
true
,
success
(
res
)
{
that
.
post
({
url
:
'/user/ttLogin'
,
data
:
{
vedioId
:
bookId
,
code
:
res
.
code
,
anonymousCode
:
res
.
anonymousCode
,
thirdParam
:
thirdParam
},
showLoading
:
false
,
success
:
({
data
})
=>
{
app
.
globalData
.
userId
=
data
.
idcode
;
saveToken
(
data
.
token
)
setTimeout
(()
=>
{
redirectTo
(
'home'
);
},
1000
);
}
});
},
fail
(
res
)
{
console
.
log
(
`login 调用失败`
);
},
}
uni
.
login
({
provider
:
'weixin'
,
success
:
function
(
loginRes
)
{
that
.
post
({
url
:
'/user/wechatlogin'
,
data
:
{
vedioId
:
bookId
,
code
:
loginRes
.
code
,
thirdParam
:
thirdParam
},
showLoading
:
false
,
success
:
({
data
})
=>
{
app
.
globalData
.
userId
=
data
.
idcode
;
saveToken
(
data
.
token
)
setTimeout
(()
=>
{
redirectTo
(
'home'
);
},
1000
);
}
});
},
fail
:
function
(
err
)
{
// 登录授权失败
uni
.
navigateTo
({
url
:
`/pages/warehouse/warehousetemp`
,
})
}
});
}
}
};
...
...
vedio/static/logo-about.png
View replaced file @
809e16d7
View file @
c2120915
19.4 KB
|
W:
|
H:
13.9 KB
|
W:
|
H:
2-up
Swipe
Onion skin
vedio/utils/utils.js
View file @
c2120915
export
const
PAKEAGE_NAME
=
'com.
duben.dybookhm
'
export
const
PAKEAGE_NAME
=
'com.
mingce.wxhelibook
'
export
const
VERSION_CODE
=
'1.0.2'
// export const PAKEAGE_NAME = 'com.test.test'
...
...
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