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
dd4daf8e
Commit
dd4daf8e
authored
Dec 13, 2024
by
jyx
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
灵思小说阁
parent
5c0bea3f
Changes
11
Hide whitespace changes
Inline
Side-by-side
Showing
11 changed files
with
30 additions
and
136 deletions
+30
-136
App.vue
vedio/App.vue
+1
-20
androidPrivacy.json
vedio/androidPrivacy.json
+0
-27
coin-popup.vue
vedio/components/coin-popup/coin-popup.vue
+15
-15
my.vue
vedio/components/home/my.vue
+1
-1
manifest.json
vedio/manifest.json
+1
-1
common.js
vedio/mixins/common.js
+2
-65
detail-new-buy.vue
...age-subs/sub_A/book-content/components/detail-new-buy.vue
+1
-1
pages.json
vedio/pages.json
+1
-1
loading.vue
vedio/pages/loading.vue
+5
-2
logo-about.png
vedio/static/logo-about.png
+0
-0
utils.js
vedio/utils/utils.js
+3
-3
No files found.
vedio/App.vue
View file @
dd4daf8e
...
@@ -54,22 +54,6 @@
...
@@ -54,22 +54,6 @@
}
}
// checkUpdate(this);
// checkUpdate(this);
// #ifdef H5
if
(
window
.
location
.
host
===
'www.baosheji.cn'
)
{
var
icp
=
document
.
createElement
(
'div'
);
icp
.
innerText
=
'京ICP备18032652号'
;
icp
.
style
.
color
=
'white'
;
icp
.
style
.
textAlign
=
'center'
;
icp
.
style
.
position
=
'fixed'
;
icp
.
style
.
bottom
=
'0'
;
icp
.
style
.
left
=
'0'
;
icp
.
style
.
right
=
'0'
;
icp
.
style
.
zIndex
=
'100'
;
document
.
body
.
appendChild
(
icp
);
}
// #endif
},
},
onShow
:
function
(
options
)
{
onShow
:
function
(
options
)
{
this
.
globalData
.
resetLogin
=
true
this
.
globalData
.
resetLogin
=
true
...
@@ -77,9 +61,7 @@
...
@@ -77,9 +61,7 @@
onHide
:
function
()
{
onHide
:
function
()
{
this
.
globalData
.
resetLogin
=
false
this
.
globalData
.
resetLogin
=
false
},
},
methods
:
{
methods
:
{},
},
globalData
:
{
globalData
:
{
resetLogin
:
false
,
resetLogin
:
false
,
statusBarHeight
:
0
,
statusBarHeight
:
0
,
...
@@ -89,7 +71,6 @@
...
@@ -89,7 +71,6 @@
bottomSafePadding
:
12
,
bottomSafePadding
:
12
,
h5Url
:
'https://api.mints-id.com/index.html'
,
h5Url
:
'https://api.mints-id.com/index.html'
,
baseUrl
:
'https://dx.mints-tech.cn/minip-api/miniApi'
,
baseUrl
:
'https://dx.mints-tech.cn/minip-api/miniApi'
,
// baseUrl: 'http://192.168.110.141:8303/miniApi',
titleButtonWidth
:
38
,
titleButtonWidth
:
38
,
token
:
''
,
token
:
''
,
userId
:
0
,
userId
:
0
,
...
...
vedio/androidPrivacy.json
deleted
100644 → 0
View file @
5c0bea3f
{
"version"
:
"1"
,
"prompt"
:
"template"
,
"title"
:
"服务协议和隐私政策"
,
"message"
:
"请你务必审慎阅读、充分理解“服务协议”和“隐私政策”各条款,包括但不限于:为了更好的向你提供服务,我们需要收集你的设备标识、操作日志等信息用于分析、优化应用性能。<br/> 你可阅读<a href=
\"
https://shimo.im/docs/dPkpKL1EVNIBbXqO
\"
>《用户协议》</a>和<a href=
\"
https://shimo.im/docs/aBAYVY4mNXfgLm3j
\"
>《隐私政策》</a>了解详细信息。如果你同意,请点击下面按钮开始接受我们的服务。"
,
"buttonAccept"
:
"同意并接受"
,
"buttonRefuse"
:
"暂不同意"
,
"second"
:
{
"title"
:
"确认提示"
,
"message"
:
"进入应用前,你需先同意<a href=
\"
https://shimo.im/docs/dPkpKL1EVNIBbXqO
\"
>《用户协议》</a>和<a href=
\"
https://shimo.im/docs/aBAYVY4mNXfgLm3j
\"
>《隐私政策》</a>,否则将退出应用。"
,
"buttonAccept"
:
"同意并继续"
,
"buttonRefuse"
:
"退出应用"
},
"styles"
:
{
"backgroundColor"
:
"#ffffff"
,
"borderRadius"
:
"5px"
,
"title"
:
{
"color"
:
"#008cfb"
},
"buttonAccept"
:
{
"color"
:
"#008cfb"
},
"buttonRefuse"
:
{
"color"
:
"#c0c0c0"
}
}
}
vedio/components/coin-popup/coin-popup.vue
View file @
dd4daf8e
...
@@ -138,7 +138,7 @@
...
@@ -138,7 +138,7 @@
this
.
backvipBean
=
null
;
this
.
backvipBean
=
null
;
}
}
if
(
tt
.
getSystemInfoSync
().
platform
===
'ios'
)
{
if
(
ks
.
getSystemInfoSync
().
platform
===
'ios'
)
{
this
.
os
=
'ios'
;
this
.
os
=
'ios'
;
}
}
...
@@ -232,17 +232,17 @@
...
@@ -232,17 +232,17 @@
});
});
},
},
ttPrePay
(
ttData
,
largeType
)
{
ttPrePay
(
ttData
,
largeType
)
{
if
(
!
tt
.
canIUse
(
'requestOrder'
))
{
// if (!ks
.canIUse('requestOrder')) {
message
.
notify
(
'请升级抖音APP版本.'
);
//
message.notify('请升级抖音APP版本.');
return
//
return
}
//
}
uni
.
showLoading
({
uni
.
showLoading
({
title
:
'加载中...'
title
:
'加载中...'
});
});
let
that
=
this
;
let
that
=
this
;
tt
.
requestOrder
({
ks
.
requestOrder
({
data
:
ttData
.
params
.
data
,
data
:
ttData
.
params
.
data
,
byteAuthorization
:
ttData
.
params
.
byteAuthorization
,
byteAuthorization
:
ttData
.
params
.
byteAuthorization
,
success
(
res
)
{
success
(
res
)
{
...
@@ -258,19 +258,19 @@
...
@@ -258,19 +258,19 @@
ttPay
(
largeType
,
oid
,
ttData
)
{
ttPay
(
largeType
,
oid
,
ttData
)
{
uni
.
hideLoading
();
uni
.
hideLoading
();
if
(
!
tt
.
canIUse
(
'getOrderPayment'
))
{
// if (!ks
.canIUse('getOrderPayment')) {
message
.
notify
(
'请升级抖音APP版本!'
);
//
message.notify('请升级抖音APP版本!');
return
//
return
}
//
}
let
that
=
this
;
let
that
=
this
;
if
(
this
.
os
==
'ios'
)
{
if
(
this
.
os
==
'ios'
)
{
if
(
!
tt
.
canIUse
(
'getOrderPayment.object.imId'
))
{
// if (!ks
.canIUse('getOrderPayment.object.imId')) {
message
.
notify
(
'请升级抖音APP版本~'
);
//
message.notify('请升级抖音APP版本~');
return
//
return
}
//
}
tt
.
getOrderPayment
({
ks
.
getOrderPayment
({
orderId
:
oid
,
orderId
:
oid
,
imId
:
ttData
.
imId
,
imId
:
ttData
.
imId
,
success
(
res
)
{
success
(
res
)
{
...
...
vedio/components/home/my.vue
View file @
dd4daf8e
...
@@ -5,7 +5,7 @@
...
@@ -5,7 +5,7 @@
<image
style=
"width: 30rpx;height: 30rpx;"
src=
"@/static/index/ic_quit_white.png"
mode=
"widthFix"
/>
<image
style=
"width: 30rpx;height: 30rpx;"
src=
"@/static/index/ic_quit_white.png"
mode=
"widthFix"
/>
</view>
</view>
<text
class=
"mt-10"
style=
"font-size: 46rpx;"
>
如何继续使用?
</text>
<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
class=
"mt-30"
mode=
"widthFix"
:src=
"maskImage1"
></image>
<image
:src=
"maskImage2"
mode=
"widthFix"
></image>
<image
:src=
"maskImage2"
mode=
"widthFix"
></image>
...
...
vedio/manifest.json
View file @
dd4daf8e
...
@@ -194,7 +194,7 @@
...
@@ -194,7 +194,7 @@
"uniStatistics"
:
{
"uniStatistics"
:
{
"enable"
:
false
"enable"
:
false
},
},
"appid"
:
"ks7
01435642108212394
"
"appid"
:
"ks7
14102018542969360
"
},
},
"mp-lark"
:
{
"mp-lark"
:
{
"uniStatistics"
:
{
"uniStatistics"
:
{
...
...
vedio/mixins/common.js
View file @
dd4daf8e
import
{
import
{
navigateTo
,
redirectTo
,
loading
,
loading
,
message
,
message
,
confirm
,
alert
}
from
'../utils/fun.js'
;
}
from
'../utils/fun.js'
;
import
{
import
{
apiPOST
apiPOST
}
from
'../common/utils/apiRequest.js'
}
from
'../common/utils/apiRequest.js'
const
app
=
getApp
();
export
default
{
export
default
{
data
()
{
data
()
{
return
{
return
{
xhrPool
:
new
Set
(),
xhrPool
:
new
Set
(),
bottomSafePadding
:
app
.
globalData
.
bottomSafePadding
,
options
:
{},
options
:
{},
auth
:
false
,
// 登录验证
auth
:
false
,
// 登录验证
paying
:
false
,
// 支付按钮状态
};
};
},
},
onLoad
(
options
)
{
onLoad
(
options
)
{
this
.
options
=
options
;
this
.
options
=
options
;
},
onShow
()
{
this
.
loadData
();
},
},
onHide
()
{
onHide
()
{
if
(
this
.
xhrPool
.
size
)
{
if
(
this
.
xhrPool
&&
this
.
xhrPool
.
size
)
{
this
.
xhrPool
.
forEach
((
requestTask
)
=>
{
this
.
xhrPool
.
forEach
((
requestTask
)
=>
{
requestTask
.
abort
();
requestTask
.
abort
();
})
})
}
}
},
},
methods
:
{
methods
:
{
authTo
(
url
)
{
//登录校验
},
authToNs
(
url
)
{
//登录校验不保留当前页面
},
loadData
()
{},
startPay
()
{
loading
.
show
();
this
.
paying
=
true
;
},
stopPay
()
{
loading
.
hide
();
this
.
paying
=
false
;
},
/**
* @param {Object} url 接口请求地址
* @param {Object} method 接口请求方式
* @param {Object} data 接口请求参数
*/
$http
(
url
,
method
,
data
=
{},
showLoading
=
false
)
{
return
new
Promise
((
resolve
,
reject
)
=>
{
this
[
method
.
toLowerCase
()]({
url
:
url
,
data
:
data
,
showLoading
:
showLoading
,
success
:
(
res
)
=>
{
resolve
(
res
)
},
fail
:
(
e
)
=>
{
reject
(
e
)
}
});
})
},
login
()
{
// navigateTo('user/login');
// let redirect = this.$scope.$page.fullPath.replace('/pages', '');
// console.log(redirect)
// navigateTo('user/login?redirect=' + encodeURIComponent(redirect));
},
logout
()
{
},
post
(
options
)
{
post
(
options
)
{
options
=
Object
.
assign
({
options
=
Object
.
assign
({
showLoading
:
true
showLoading
:
true
...
@@ -89,14 +34,6 @@ export default {
...
@@ -89,14 +34,6 @@ export default {
})
})
this
.
req
(
options
);
this
.
req
(
options
);
},
},
// get(options) {
// options = Object.assign({
// showLoading: false
// }, options, {
// method: 'GET'
// })
// this.req(options);
// },
req
(
options
)
{
req
(
options
)
{
let
{
let
{
showLoading
,
showLoading
,
...
@@ -123,7 +60,7 @@ export default {
...
@@ -123,7 +60,7 @@ export default {
})
})
}
else
{
}
else
{
fail
(
_data
)
fail
(
_data
)
message
.
notify
(
res
.
data
.
message
);
message
.
notify
(
_data
);
}
}
}
}
})
})
...
...
vedio/page-subs/sub_A/book-content/components/detail-new-buy.vue
View file @
dd4daf8e
...
@@ -29,7 +29,7 @@
...
@@ -29,7 +29,7 @@
},
},
methods
:
{
methods
:
{
tapVip
()
{
tapVip
()
{
let
isIOS
=
tt
.
getSystemInfoSync
().
platform
;
let
isIOS
=
ks
.
getSystemInfoSync
().
platform
;
if
(
isIOS
===
'ios'
)
{
if
(
isIOS
===
'ios'
)
{
uni
.
showToast
({
uni
.
showToast
({
title
:
'暂不支持IOS系统'
,
title
:
'暂不支持IOS系统'
,
...
...
vedio/pages.json
View file @
dd4daf8e
...
@@ -21,7 +21,7 @@
...
@@ -21,7 +21,7 @@
{
{
"path"
:
"pages/home"
,
"path"
:
"pages/home"
,
"style"
:
{
"style"
:
{
"navigationBarTitleText"
:
"
河狸故事汇
"
,
"navigationBarTitleText"
:
"
灵思小说阁
"
,
"navigationStyle"
:
"default"
,
"navigationStyle"
:
"default"
,
"navigationBarBackgroundColor"
:
"#ffffff"
,
"navigationBarBackgroundColor"
:
"#ffffff"
,
"navigationBarTextStyle"
:
"black"
"navigationBarTextStyle"
:
"black"
...
...
vedio/pages/loading.vue
View file @
dd4daf8e
...
@@ -39,7 +39,7 @@
...
@@ -39,7 +39,7 @@
return
{
return
{
tips1
:
''
,
tips1
:
''
,
slotParam
:
''
,
slotParam
:
''
,
appName
:
'
河狸故事汇
'
appName
:
'
灵思小说阁
'
}
}
},
},
onLoad
(
options
)
{
onLoad
(
options
)
{
...
@@ -91,6 +91,9 @@
...
@@ -91,6 +91,9 @@
setTimeout
(()
=>
{
setTimeout
(()
=>
{
redirectTo
(
'home?&idcode='
+
data
.
idcode
);
redirectTo
(
'home?&idcode='
+
data
.
idcode
);
},
500
);
},
500
);
},
fail
(
data
)
{
console
.
log
(
`login 调用失败`
);
}
}
});
});
},
},
...
@@ -103,7 +106,7 @@
...
@@ -103,7 +106,7 @@
}
}
};
};
</
script
>
</
script
>
<
style
lang=
"scss"
>
<
style
lang=
"scss"
>
.body
{
.body
{
background-color
:
white
;
background-color
:
white
;
...
...
vedio/static/logo-about.png
View replaced file @
5c0bea3f
View file @
dd4daf8e
16.4 KB
|
W:
|
H:
25.2 KB
|
W:
|
H:
2-up
Swipe
Onion skin
vedio/utils/utils.js
View file @
dd4daf8e
export
const
PAKEAGE_NAME
=
'com.
mingce.kshelibook'
export
const
PAKEAGE_NAME
=
'com.
judong.kslingsi'
export
const
VERSION_CODE
=
'1.0.0'
export
const
VERSION_CODE
=
'1.0.0'
export
function
trim
(
str
)
{
export
function
trim
(
str
)
{
return
str
?
str
.
replace
(
/
(
^
\s
*
)
|
(\s
*$
)
/g
,
""
)
:
''
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