Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Sign in / Register
Toggle navigation
U
uni-pdtravel
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
panyongping
uni-pdtravel
Commits
874536be
Commit
874536be
authored
Jan 02, 2024
by
qipeng
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'develop' of
http://192.168.0.204/panyongping/uni-pdtravel
into develop
parents
cc470493
c7ad9196
Changes
11
Hide whitespace changes
Inline
Side-by-side
Showing
11 changed files
with
48 additions
and
77 deletions
+48
-77
request.js
common/request.js
+9
-2
pages.json
pages.json
+9
-9
albumOrderdetail.vue
pages/album/albumOrderdetail/albumOrderdetail.vue
+0
-1
distributionCombiChoose.vue
...ation/distributionCombiChoose/distributionCombiChoose.vue
+0
-4
merchantListIndex.vue
pages/indexs/merchantListIndex/merchantListIndex.vue
+0
-3
numberIndex.vue
pages/my/takeNumber/numberIndex/numberIndex.vue
+0
-3
rowNumber.vue
pages/my/takeNumber/rowNumber/rowNumber.vue
+0
-9
ourPayment.vue
pages/payment/ourPayment/ourPayment.vue
+0
-2
scenicCombiOrder.vue
pages/scenic/scenicCombiOrder/scenicCombiOrder.vue
+0
-20
scenicSingleOrder.vue
pages/scenic/scenicSingleOrder/scenicSingleOrder.vue
+0
-20
vlogface.vue
pages/vlog/vlogface/vlogface.vue
+30
-4
No files found.
common/request.js
View file @
874536be
...
...
@@ -6,11 +6,18 @@ if(process.env.NODE_ENV === 'development'){//开发环境
baseUrl
=
'https://manager.pangdly.com/'
}
const
request
=
(
url
=
''
,
data
=
{},
type
=
'POST'
)
=>
{
const
request
=
(
url
=
''
,
data
=
{},
showLoad
)
=>
{
data
.
reqId
=
new
Date
().
getTime
()
//获取时间戳
let
show
=
showLoad
||
true
return
new
Promise
((
resolve
,
reject
)
=>
{
if
(
show
){
uni
.
showLoading
({
title
:
'加载中'
,
mask
:
true
})
}
uni
.
request
({
method
:
type
,
method
:
'POST'
,
url
:
baseUrl
+
url
+
'?token='
+
uni
.
getStorageSync
(
'token'
),
data
:
data
,
dataType
:
'json'
,
...
...
pages.json
View file @
874536be
...
...
@@ -325,7 +325,7 @@
{
"path"
:
"vlogface/vlogface"
,
"style"
:
{
"navigationBarTitleText"
:
"
扫脸获取视频
"
,
"navigationBarTitleText"
:
""
,
"enablePullDownRefresh"
:
false
,
"navigationBarBackgroundColor"
:
"#ffffff"
,
"navigationBarTextStyle"
:
"black"
...
...
@@ -452,14 +452,14 @@
"navigationStyle"
:
"custom"
}
},
{
"path"
:
"getPortrait"
,
"style"
:
{
"navigationBarTitleText"
:
"获取人像
"
,
"enablePullDownRefresh"
:
false
,
"navigationStyle"
:
"custom"
}
},
//
{
//
"path"
:
"getPortrait"
,
//
"style"
:
{
//
"navigationBarTitleText"
:
"
"
,
//
"enablePullDownRefresh"
:
false
,
//
"navigationStyle"
:
"custom"
//
}
//
},
{
"path"
:
"myPhotoAlbum/myPhotoAlbum"
,
"style"
:
{
...
...
pages/album/albumOrderdetail/albumOrderdetail.vue
View file @
874536be
...
...
@@ -250,7 +250,6 @@ export default {
},
//---下载方法
downloadFun
(
imgUrl
)
{
console
.
log
(
imgUrl
)
uni
.
showLoading
({
title
:
'下载中'
,
mask
:
true
...
...
pages/combination/distributionCombiChoose/distributionCombiChoose.vue
View file @
874536be
...
...
@@ -359,10 +359,6 @@ export default {
latitude
,
longitude
}
uni
.
showLoading
({
title
:
'加载中'
,
mask
:
true
})
this
.
scenicList
=
[]
this
.
$request
(
'/scenic/groupGood/findGroupGoodProductList'
,
data
).
then
(
res
=>
{
uni
.
hideLoading
()
...
...
pages/indexs/merchantListIndex/merchantListIndex.vue
View file @
874536be
...
...
@@ -231,9 +231,6 @@ export default {
//如果是点击进行搜索
data
.
search
=
this
.
searchData
}
uni
.
showLoading
({
title
:
'加载中'
})
this
.
$request
(
'scenic/user/merchant/findMerchantList'
,
data
).
then
(
res
=>
{
uni
.
hideLoading
()
if
(
res
.
code
==
'00'
)
{
...
...
pages/my/takeNumber/numberIndex/numberIndex.vue
View file @
874536be
...
...
@@ -59,9 +59,6 @@ export default {
startPlayDate
:
new
Date
().
Format
(
'yyyy-MM-dd'
)
+
' 00:00:00'
,
//开始日期
endPlayDate
:
new
Date
().
Format
(
'yyyy-MM-dd'
)
+
' 23:59:59'
,
//结束日期
}
uni
.
showLoading
({
title
:
'加载中'
})
this
.
$request
(
'order/userOrder/findOrderPageListByCode'
,
data
).
then
((
res
)
=>
{
if
(
res
.
code
==
'00'
){
let
list
=
res
.
data
||
[]
...
...
pages/my/takeNumber/rowNumber/rowNumber.vue
View file @
874536be
...
...
@@ -100,9 +100,6 @@ export default {
let
data
=
{
search
:
this
.
orderId
}
uni
.
showLoading
({
title
:
'加载中'
})
this
.
$request
(
'order/userOrder/findOrderPageListByCode'
,
data
).
then
((
res
)
=>
{
if
(
res
.
code
==
'00'
){
let
list
=
res
.
data
||
[]
...
...
@@ -125,9 +122,6 @@ export default {
let
data
=
{
merchantCode
:
this
.
merchantCode
,
//商户code
}
uni
.
showLoading
({
title
:
'加载中'
})
this
.
$request
(
'distribution/distribution/findNewFetchInfoFromSceinc'
,
data
).
then
((
res
)
=>
{
if
(
res
.
code
==
'00'
){
let
main
=
res
.
data
.
main
||
null
...
...
@@ -161,9 +155,6 @@ export default {
ticketPhone
:
this
.
ticketPhone
,
//电话号码
orderId
:
this
.
orderId
,
//订单Id
}
uni
.
showLoading
({
title
:
'加载中'
})
this
.
$request
(
'distribution/distribution/newFetchNumber'
,
data
).
then
((
res
)
=>
{
if
(
res
.
code
==
'00'
){
uni
.
navigateTo
({
...
...
pages/payment/ourPayment/ourPayment.vue
View file @
874536be
...
...
@@ -372,7 +372,6 @@ export default {
merchantId
:
this
.
merchantId
,
companyId
:
this
.
companyId
}
uni
.
showLoading
({
title
:
'加载中'
,
mask
:
true
})
this
.
$request
(
'scenic/order/findCodePayInfo'
,
data
).
then
(
res
=>
{
uni
.
hideLoading
()
if
(
res
.
code
==
'00'
)
{
...
...
@@ -393,7 +392,6 @@ export default {
id
:
this
.
companyId
,
//公司Id
tollPoint
:
this
.
extendInfo
,
//扩展信息
}
uni
.
showLoading
({
title
:
'加载中'
,
mask
:
true
})
this
.
$request
(
'user/newCompany/findCompanyById'
,
data
).
then
(
res
=>
{
uni
.
hideLoading
()
if
(
res
.
code
==
'00'
)
{
...
...
pages/scenic/scenicCombiOrder/scenicCombiOrder.vue
View file @
874536be
...
...
@@ -413,10 +413,6 @@ export default {
let
data
=
{
productList
:
this
.
productIdList
,
//产品id列表
}
uni
.
showLoading
({
title
:
'加载中'
,
mask
:
true
})
this
.
$request
(
'scenic/groupGood/loadProductList'
,
data
).
then
(
res
=>
{
if
(
res
.
code
==
'00'
){
this
.
productList
=
res
.
data
||
[]
...
...
@@ -547,10 +543,6 @@ export default {
let
data
=
{
merchantCode
:
item
.
merchantVo
.
code
//商户code
}
uni
.
showLoading
({
title
:
'加载中'
,
mask
:
true
})
this
.
$request
(
'distribution/distribution/findNewFetchInfoFromSceinc'
,
data
).
then
(
res
=>
{
if
(
res
.
code
==
'00'
)
{
this
.
sortArr
=
res
.
data
.
data
||
[]
...
...
@@ -603,10 +595,6 @@ export default {
merchantCode
:
item
.
merchantVo
.
code
,
//商户code
productCode
:
item
.
code
//产品code
}
uni
.
showLoading
({
title
:
'加载中'
,
mask
:
true
})
this
.
$request
(
'distribution/distribution/getTimeStock'
,
data
).
then
(
res
=>
{
if
(
res
.
code
==
'00'
)
{
item
.
timeList
=
res
.
data
||
[]
...
...
@@ -699,10 +687,6 @@ export default {
let
data
=
{
merchantCode
//商户code
}
uni
.
showLoading
({
title
:
'加载中'
,
mask
:
true
})
this
.
$request
(
'distribution/distribution/findNewFetchInfoFromSceinc'
,
data
).
then
(
res
=>
{
if
(
res
.
code
==
'00'
)
{
this
.
sortInforPop
=
true
...
...
@@ -1171,10 +1155,6 @@ export default {
orderSource
:
this
.
orderSource
||
1
,
//订单来源 1公众号平台、2公众号组合页面1、3公众号组合页面2、4胖丁伙伴app、5第三方自助机、6第三方票房窗口
orderProductList
,
//额外服务不为空,联票购买不为空,带有儿童票,组合购买不为空,单品购买为空
}
uni
.
showLoading
({
title
:
'加载中'
,
mask
:
true
})
this
.
$request
(
'orderc/order/createOrder'
,
data
).
then
((
res
)
=>
{
if
(
res
.
code
==
'00'
)
{
if
(
res
.
data
.
id
)
{
...
...
pages/scenic/scenicSingleOrder/scenicSingleOrder.vue
View file @
874536be
...
...
@@ -524,10 +524,6 @@ export default {
let
data
=
{
id
:
this
.
productId
//产品id
}
uni
.
showLoading
({
title
:
'加载中'
,
mask
:
true
})
this
.
$request
(
'scenic/groupGood/loadProduct'
,
data
).
then
(
res
=>
{
if
(
res
.
code
==
'00'
)
{
this
.
productIfo
=
res
.
data
...
...
@@ -646,10 +642,6 @@ export default {
let
data
=
{
merchantCode
:
this
.
merchantCode
//商户code
}
uni
.
showLoading
({
title
:
'加载中'
,
mask
:
true
})
this
.
$request
(
'distribution/distribution/findNewFetchInfoFromSceinc'
,
data
).
then
(
res
=>
{
if
(
res
.
code
==
'00'
)
{
this
.
sortArr
=
res
.
data
.
data
...
...
@@ -697,10 +689,6 @@ export default {
merchantCode
:
this
.
merchantCode
,
//商户code
productCode
:
this
.
productIfo
.
code
//产品code
}
uni
.
showLoading
({
title
:
'加载中'
,
mask
:
true
})
this
.
$request
(
'distribution/distribution/getTimeStock'
,
data
).
then
(
res
=>
{
if
(
res
.
code
==
'00'
)
{
this
.
timeList
=
res
.
data
||
[]
...
...
@@ -731,10 +719,6 @@ export default {
areaCode
:
this
.
areaObj
.
areaCode
,
merchantCode
:
this
.
merchantCode
//商户code
}
uni
.
showLoading
({
title
:
'加载中'
,
mask
:
true
})
this
.
$request
(
'distribution/distribution/findNewFetchInfoFromSceinc'
,
data
).
then
(
res
=>
{
if
(
res
.
code
==
'00'
)
{
this
.
sortInforPop
=
true
...
...
@@ -1306,10 +1290,6 @@ export default {
couponList
,
//券列表
}
}
uni
.
showLoading
({
title
:
'加载中'
,
mask
:
true
})
this
.
$request
(
'orderc/order/createOrder'
,
data
).
then
((
res
)
=>
{
if
(
res
.
code
==
'00'
)
{
if
(
res
.
data
.
id
)
{
...
...
pages/vlog/vlogface/vlogface.vue
View file @
874536be
<
template
>
<view
class=
"content"
>
<view
class=
"content"
v-if=
"showBody"
>
<view
class=
"bg"
>
<image
src=
"../static/vlog/icon/camera.png"
></image>
</view>
...
...
@@ -35,6 +35,9 @@
</view>
<!--
<u-button
type=
"success"
size=
"medium"
@
click=
"takePhoto"
>
开始识别
</u-button>
-->
</view>
<view
v-else
style=
"padding: 100rpx;text-align: center;font-size: 36rpx;"
>
升级中...
</view>
</
template
>
<
script
>
...
...
@@ -45,14 +48,37 @@ export default {
text
:
3
,
//倒计时
show
:
false
,
//摄像头倒计时文本
base64
:
''
,
//照片base64
showBody
:
false
}
},
onLoad
()
{
//代替 vue 里面的 created
this
.
initdone
()
},
//
onLoad() { //代替 vue 里面的 created
//
this.initdone()
//
},
onReady
()
{
//代替 vue 里面的 mounted
this
.
loadIcon
()
},
methods
:
{
//---加载图标
loadIcon
(){
let
data
=
{
merchantType
:
0
,
//商户类型,其他
}
this
.
$request
(
'scenic/merchantExtendProject/loadList'
,
data
).
then
((
res
)
=>
{
if
(
res
.
code
==
'00'
){
let
iconList
=
res
.
data
||
[]
let
list
=
[]
iconList
.
forEach
(
item
=>
{
if
(
item
.
projectStatus
==
0
){
list
.
push
(
item
)
}
})
if
(
list
.
length
>
6
){
this
.
showBody
=
true
this
.
initdone
()
}
}
})
},
query
()
{
//人脸查询
uni
.
showLoading
({
title
:
'人脸识别中'
...
...
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