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
df96d80a
Commit
df96d80a
authored
Jul 12, 2022
by
潘永坪
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
无效文件删除
parent
b52df2e5
Changes
9
Hide whitespace changes
Inline
Side-by-side
Showing
9 changed files
with
88 additions
and
303 deletions
+88
-303
pages.json
pages.json
+2
-65
dingzhi.vue
pages/dingzhi/dingzhi.vue
+0
-21
hotel.vue
pages/hotel/hotel.vue
+0
-22
nearby.vue
pages/nearby/nearby.vue
+0
-22
restaurant.vue
pages/restaurant/restaurant.vue
+0
-22
special.vue
pages/special/special.vue
+0
-21
travelOne.vue
pages/travelOne/travelOne.vue
+0
-22
travelTwo.vue
pages/travelTwo/travelTwo.vue
+0
-22
vlogface.vue
pages/vlog/vlogface/vlogface.vue
+86
-86
No files found.
pages.json
View file @
df96d80a
...
...
@@ -61,71 +61,8 @@
"enablePullDownRefresh"
:
false
}
}
,{
"path"
:
"pages/hotel/hotel"
,
"style"
:
{
"navigationBarTitleText"
:
""
,
"enablePullDownRefresh"
:
false
}
}
,{
"path"
:
"pages/restaurant/restaurant"
,
"style"
:
{
"navigationBarTitleText"
:
""
,
"enablePullDownRefresh"
:
false
}
}
,{
"path"
:
"pages/nearby/nearby"
,
"style"
:
{
"navigationBarTitleText"
:
""
,
"enablePullDownRefresh"
:
false
}
}
,{
"path"
:
"pages/travelOne/travelOne"
,
"style"
:
{
"navigationBarTitleText"
:
""
,
"enablePullDownRefresh"
:
false
}
}
,{
"path"
:
"pages/travelTwo/travelTwo"
,
"style"
:
{
"navigationBarTitleText"
:
""
,
"enablePullDownRefresh"
:
false
}
}
,{
"path"
:
"pages/special/special"
,
"style"
:
{
"navigationBarTitleText"
:
""
,
"enablePullDownRefresh"
:
false
}
}
,{
"path"
:
"pages/dingzhi/dingzhi"
,
"style"
:
{
"navigationBarTitleText"
:
""
,
"enablePullDownRefresh"
:
false
}
}
,{
},
{
"path"
:
"pages/combination/combiChoose/combiChoose"
,
"style"
:
{
...
...
pages/dingzhi/dingzhi.vue
deleted
100644 → 0
View file @
b52df2e5
<
template
>
<view>
米尔基于多年的行业深耕,在基于ARM/FPGA内核处理器的嵌入式软、硬件开发上,积累了丰富的产品技术和项目开发经验。在推出稳定可靠、高性价比的ARM/FPGA核心板及配套参考设计板的同时,也针对客户个性化的需求,提供专业,高效的定制服务。
</view>
</
template
>
<
script
>
export
default
{
data
()
{
return
{
}
},
methods
:
{
}
}
</
script
>
<
style
>
</
style
>
pages/hotel/hotel.vue
deleted
100644 → 0
View file @
b52df2e5
<
template
>
<view>
酒店拥有不同类型的客房270间套,有标准间、高级间、豪华间、行政套间及阳光会所等各种不同风格的房型,配备宽带网端口,无线WIFI覆盖,国际/国内长途电话、电视等设施齐全,用品精良。中餐厅以精品粤菜、家常菜为主,面对大众消费,提供多元化饮食服务。自助餐厅为您提供精美西式零点菜肴、中西式精美自助餐。时尚的健身中心和休闲娱乐项目,令宾客在运动和娱乐中倍感享受。酒店提供多种类型会议室,配备同声传译等完善的会议设施,是您举办商务会议、婚宴庆典及高档宴会的理想场所,为您提供全方位的贴心服务!
</view>
</
template
>
<
script
>
export
default
{
data
()
{
return
{
}
},
methods
:
{
}
}
</
script
>
<
style
>
</
style
>
pages/nearby/nearby.vue
deleted
100644 → 0
View file @
b52df2e5
<
template
>
<view>
主理闽、川等菜系以及金牌健康素食和传统客家菜,专注于原汁原味以及均衡营养,装修精致典雅,拥有宴会厅、客饭厅、零点厅、教工餐厅及17个包厢,可容纳700人同时用餐,配有中央和分体式空调、有线电视、无线网络等完善设施。
</view>
</
template
>
<
script
>
export
default
{
data
()
{
return
{
}
},
methods
:
{
}
}
</
script
>
<
style
>
</
style
>
pages/restaurant/restaurant.vue
deleted
100644 → 0
View file @
b52df2e5
<
template
>
<view>
主理闽、川等菜系以及金牌健康素食和传统客家菜,专注于原汁原味以及均衡营养,装修精致典雅,拥有宴会厅、客饭厅、零点厅、教工餐厅及17个包厢,可容纳700人同时用餐,配有中央和分体式空调、有线电视、无线网络等完善设施。
</view>
</
template
>
<
script
>
export
default
{
data
()
{
return
{
}
},
methods
:
{
}
}
</
script
>
<
style
>
</
style
>
pages/special/special.vue
deleted
100644 → 0
View file @
b52df2e5
<
template
>
<view>
海口永兴镇是世界黄皮原产地之一,其野生黄皮林生长年代久远,是世界黄皮种质资源基因库之一。永兴大力发展黄皮产业,从野生黄皮林中精选优良品种进行嫁接改良、驯化培育,不断提升无核黄皮、大小鸡心黄皮质量,逐步扩大种植规模,更是培育出了世界独有的本地黄皮品种,真正造就了海口永兴黄皮的“人无我有,独一无二”
</view>
</
template
>
<
script
>
export
default
{
data
()
{
return
{
}
},
methods
:
{
}
}
</
script
>
<
style
>
</
style
>
pages/travelOne/travelOne.vue
deleted
100644 → 0
View file @
b52df2e5
<
template
>
<view>
主理闽、川等菜系以及金牌健康素食和传统客家菜,专注于原汁原味以及均衡营养,装修精致典雅,拥有宴会厅、客饭厅、零点厅、教工餐厅及17个包厢,可容纳700人同时用餐,配有中央和分体式空调、有线电视、无线网络等完善设施。
</view>
</
template
>
<
script
>
export
default
{
data
()
{
return
{
}
},
methods
:
{
}
}
</
script
>
<
style
>
</
style
>
pages/travelTwo/travelTwo.vue
deleted
100644 → 0
View file @
b52df2e5
<
template
>
<view>
主理闽、川等菜系以及金牌健康素食和传统客家菜,专注于原汁原味以及均衡营养,装修精致典雅,拥有宴会厅、客饭厅、零点厅、教工餐厅及17个包厢,可容纳700人同时用餐,配有中央和分体式空调、有线电视、无线网络等完善设施。
</view>
</
template
>
<
script
>
export
default
{
data
()
{
return
{
}
},
methods
:
{
}
}
</
script
>
<
style
>
</
style
>
pages/vlog/vlogface/vlogface.vue
View file @
df96d80a
...
...
@@ -37,98 +37,98 @@
</
template
>
<
script
>
export
default
{
data
()
{
return
{
src
:
""
,
//照片
text
:
3
,
//倒计时
show
:
false
,
//摄像头倒计时文本
base64
:
""
,
//照片base64
}
},
onLoad
()
{
//代替 vue 里面的 created
},
onReady
()
{
//代替 vue 里面的 mounted
},
methods
:
{
query
()
{
//人脸查询
uni
.
showLoading
({
title
:
'人脸识别中'
});
let
data
=
{
caseId
:
"a124Jj6IYiSzCjVV"
,
//景区id
userId
:
uni
.
getStorageSync
(
"openid"
),
//用户id
faceImgData
:
this
.
base64
,
//人脸图片base64编码
optimalFramesNum
:
3
,
//最优帧数量(默认填3就行)
enableImgBeauty
:
true
//默认填true
}
this
.
$request
(
"distribution/vlog/createVlog"
,
data
).
then
(
res
=>
{
//创建任务
var
that
=
this
if
(
res
.
code
===
"00"
)
{
uni
.
showModal
({
export
default
{
data
()
{
return
{
src
:
''
,
//照片
text
:
3
,
//倒计时
show
:
false
,
//摄像头倒计时文本
base64
:
''
,
//照片base64
}
},
onLoad
()
{
//代替 vue 里面的 created
},
onReady
()
{
//代替 vue 里面的 mounted
},
methods
:
{
query
()
{
//人脸查询
uni
.
showLoading
({
title
:
'人脸识别中'
})
let
data
=
{
caseId
:
'a124Jj6IYiSzCjVV'
,
//景区id
userId
:
uni
.
getStorageSync
(
'openid'
),
//用户id
faceImgData
:
this
.
base64
,
//人脸图片base64编码
optimalFramesNum
:
3
,
//最优帧数量(默认填3就行)
enableImgBeauty
:
true
//默认填true
}
this
.
$request
(
'distribution/vlog/createVlog'
,
data
).
then
(
res
=>
{
//创建任务
var
that
=
this
if
(
res
.
code
===
'00'
)
{
uni
.
showModal
({
title
:
'提示'
,
content
:
'视频合成中,请在1~2分钟后在我的VLOG视频集中查看'
,
showCancel
:
false
,
success
()
{
uni
.
navigateTo
({
url
:
"../vlogIndex/vlogIndex"
})
}
});
}
else
{
uni
.
showModal
({
showCancel
:
false
,
success
()
{
uni
.
navigateTo
({
url
:
'../vlogIndex/vlogIndex'
})
}
})
}
else
{
uni
.
showModal
({
title
:
'提示'
,
content
:
'请先在打卡点录制素材'
,
showCancel
:
false
,
success
()
{
uni
.
navigateTo
({
url
:
"../vlogIndex/vlogIndex"
})
}
});
}
})
},
takePhoto
()
{
//扫脸
this
.
buttonShow
=
false
this
.
src
=
""
;
this
.
text
=
3
;
this
.
show
=
true
;
var
test
=
setInterval
(()
=>
{
this
.
text
=
this
.
text
-
1
;
if
(
this
.
text
===
-
1
)
{
clearTimeout
(
test
)
this
.
show
=
false
const
ctx
=
uni
.
createCameraContext
();
ctx
.
takePhoto
({
quality
:
'high'
,
success
:
(
res
)
=>
{
this
.
src
=
res
.
tempImagePath
uni
.
getFileSystemManager
().
readFile
({
//图片转base64
filePath
:
res
.
tempImagePath
,
//选择图片返回的相对路径
encoding
:
'base64'
,
//编码格式
success
:
res
=>
{
//成功的回调
this
.
base64
=
"data:image/jpeg;base64,"
+
res
.
data
this
.
query
()
}
})
}
});
}
},
1000
)
},
initdone
(){
//相机初始化完成自动开始拍照
this
.
takePhoto
()
},
error
(
e
)
{
//相机报错
uni
.
showModal
({
showCancel
:
false
,
success
()
{
uni
.
navigateTo
({
url
:
'../vlogIndex/vlogIndex'
})
}
})
}
})
},
takePhoto
()
{
//扫脸
this
.
buttonShow
=
false
this
.
src
=
''
this
.
text
=
3
this
.
show
=
true
var
test
=
setInterval
(()
=>
{
this
.
text
=
this
.
text
-
1
if
(
this
.
text
===
-
1
)
{
clearTimeout
(
test
)
this
.
show
=
false
const
ctx
=
uni
.
createCameraContext
()
ctx
.
takePhoto
({
quality
:
'high'
,
success
:
(
res
)
=>
{
this
.
src
=
res
.
tempImagePath
uni
.
getFileSystemManager
().
readFile
({
//图片转base64
filePath
:
res
.
tempImagePath
,
//选择图片返回的相对路径
encoding
:
'base64'
,
//编码格式
success
:
res
=>
{
//成功的回调
this
.
base64
=
'data:image/jpeg;base64,'
+
res
.
data
this
.
query
()
}
})
}
})
}
},
1000
)
},
initdone
(){
//相机初始化完成自动开始拍照
this
.
takePhoto
()
},
error
(
e
)
{
//相机报错
uni
.
showModal
({
title
:
'提示'
,
content
:
e
.
detail
,
showCancel
:
false
});
},
}
}
showCancel
:
false
})
},
}
}
</
script
>
<
style
lang=
"scss"
scoped
>
...
...
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