Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
glsx
/
gl_tape
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
3
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit 0b70c78e
authored
Sep 06, 2024
by
前端
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
pdf埋点
1 parent
31c7db49
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
23 additions
and
40 deletions
manifest.json
pages/common/customerDetail.vue
pages/common/webview.vue
manifest.json
View file @
0b70c78
...
...
@@ -22,7 +22,8 @@
"modules"
:
{
"Camera"
:
{},
"Record"
:
{},
"VideoPlayer"
:
{}
"VideoPlayer"
:
{},
"AudioPlayer"
:
{}
},
/*
应用发布信息
*/
"distribute"
:
{
...
...
pages/common/customerDetail.vue
View file @
0b70c78
<
template
>
<view
class=
"detail-box"
>
<view
class=
"nav-bar"
>
<view
class=
"back"
@
click=
"back"
>
<uni-icons
type=
"left"
:size=
"20"
color=
"#000"
></uni-icons>
<view
class=
"back"
@
click=
"back"
>
<uni-icons
type=
"left"
:size=
"20"
color=
"#000"
></uni-icons>
</view>
车主详情
</view>
...
...
@@ -17,10 +10,7 @@
<view
class=
"title"
>
车主信息
</view>
<view
class=
"customer-info"
>
<template
v-for=
"(item, index) in customerForm"
>
<view
class=
"item flex"
:key=
"index"
>
<view
class=
"item flex"
:key=
"index"
>
<view
class=
"label"
>
{{
item
.
label
}}
</view>
<view
class=
"value text-hide"
>
{{
customerInfo
[
item
.
key
]
}}
</view>
</view>
...
...
@@ -29,32 +19,18 @@
</view>
<view
class=
"case-box box"
>
<view
class=
"title flex"
>
推荐套餐
</view>
<scroll-view
class=
"case-scroll-box"
scroll-y
@
scrolltolower=
"pageonReachBottom"
>
<scroll-view
class=
"case-scroll-box"
scroll-y
@
scrolltolower=
"pageonReachBottom"
>
<view
class=
"case-list"
>
<
template
v-if=
"flag"
>
<template
v-if=
"list.length && list[0] && list[0].length"
>
<template
v-for=
"i in list"
>
<template
v-for=
"item in i"
>
<view
class=
"case-item"
:key=
"item.id"
@
click=
"jumpDetail(item)"
>
<image
class=
"img"
:src=
"item.cover"
></image>
<view
class=
"case-item"
:key=
"item.id"
@
click=
"jumpDetail(item)"
>
<image
class=
"img"
:src=
"item.cover"
></image>
<view
class=
"case-info"
>
<view
class=
"case-name text-hide"
>
{{
item
.
title
}}
</view>
<template
v-for=
"(j, ind) in caseInfo"
>
<view
class=
"case-text flex"
:key=
"ind"
>
<view
class=
"case-text flex"
:key=
"ind"
>
<view
class=
"case-label"
>
{{
j
.
label
}}
:
</view>
<view
:class=
"['case-value', j.class]"
>
<template
v-if=
"j.format"
>
...
...
@@ -73,10 +49,7 @@
</template>
<
template
v-else
>
<view
class=
"nothing flex"
>
<image
class=
"icon"
src=
"@/assets/images/home/nothing.webp"
/>
<image
class=
"icon"
src=
"@/assets/images/home/nothing.webp"
/>
暂无推荐套餐
</view>
</
template
>
...
...
@@ -277,7 +250,7 @@ export default {
if
(
item
.
type
==
1
||
item
.
type
==
0
)
url
=
`/pages/boutique/preview?tabName=
${
item
.
title
}
&sourceType=
${
item
.
type
==
1
?
2
:
1
}
&detailUrl=
${
fileUrl
}
&id=
${
item
.
id
}
&visitsId=
${
this
.
visitsId
}
`
}
uni
.
navigateTo
({
url
:
`
${
url
}
`
url
:
`
${
url
}
&id=
${
item
.
id
}
&visitsId=
${
this
.
visitsId
}
`
})
},
pageonReachBottom
()
{
...
...
pages/common/webview.vue
View file @
0b70c78
<!--
* @Author: 前端 qianduan01@didihu.com.cn
* @Date: 2024-04-28 18:19:19
* @LastEditors: 前端 qianduan01@didihu.com.cn
* @LastEditTime: 2024-09-06 14:42:32
* @FilePath: \gl-tape\pages\common\webview.vue
* @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
-->
<
template
>
<web-view
:src=
"url"
></web-view>
</
template
>
<
script
type=
'text/ecmascript-6'
>
<
script
type=
"text/ecmascript-6"
>
import
report
from
"@/mixin/report.js"
;
export
default
{
name
:
''
,
mixins
:[
report
],
data
()
{
return
{
url
:
''
,
...
...
@@ -25,5 +35,4 @@ export default {
}
</
script
>
<
style
scoped
lang=
'scss'
>
</
style
>
\ No newline at end of file
<
style
scoped
lang=
"scss"
></
style
>
Write
Preview
Markdown
is supported
Attach a file
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 post a comment