Commit 0b70c78e by 前端

pdf埋点

1 parent 31c7db49
...@@ -22,7 +22,8 @@ ...@@ -22,7 +22,8 @@
"modules" : { "modules" : {
"Camera" : {}, "Camera" : {},
"Record" : {}, "Record" : {},
"VideoPlayer" : {} "VideoPlayer" : {},
"AudioPlayer" : {}
}, },
/* 应用发布信息 */ /* 应用发布信息 */
"distribute" : { "distribute" : {
......
<template> <template>
<view class="detail-box"> <view class="detail-box">
<view class="nav-bar"> <view class="nav-bar">
<view <view class="back" @click="back">
class="back" <uni-icons type="left" :size="20" color="#000"></uni-icons>
@click="back"
>
<uni-icons
type="left"
:size="20"
color="#000"
></uni-icons>
</view> </view>
车主详情 车主详情
</view> </view>
...@@ -17,10 +10,7 @@ ...@@ -17,10 +10,7 @@
<view class="title">车主信息</view> <view class="title">车主信息</view>
<view class="customer-info"> <view class="customer-info">
<template v-for="(item, index) in customerForm"> <template v-for="(item, index) in customerForm">
<view <view class="item flex" :key="index">
class="item flex"
:key="index"
>
<view class="label">{{ item.label }}</view> <view class="label">{{ item.label }}</view>
<view class="value text-hide">{{ customerInfo[item.key] }}</view> <view class="value text-hide">{{ customerInfo[item.key] }}</view>
</view> </view>
...@@ -29,32 +19,18 @@ ...@@ -29,32 +19,18 @@
</view> </view>
<view class="case-box box"> <view class="case-box box">
<view class="title flex">推荐套餐</view> <view class="title flex">推荐套餐</view>
<scroll-view <scroll-view class="case-scroll-box" scroll-y @scrolltolower="pageonReachBottom">
class="case-scroll-box"
scroll-y
@scrolltolower="pageonReachBottom"
>
<view class="case-list"> <view class="case-list">
<template v-if="flag"> <template v-if="flag">
<template v-if="list.length && list[0] && list[0].length"> <template v-if="list.length && list[0] && list[0].length">
<template v-for="i in list"> <template v-for="i in list">
<template v-for="item in i"> <template v-for="item in i">
<view <view class="case-item" :key="item.id" @click="jumpDetail(item)">
class="case-item" <image class="img" :src="item.cover"></image>
:key="item.id"
@click="jumpDetail(item)"
>
<image
class="img"
:src="item.cover"
></image>
<view class="case-info"> <view class="case-info">
<view class="case-name text-hide">{{ item.title }}</view> <view class="case-name text-hide">{{ item.title }}</view>
<template v-for="(j, ind) in caseInfo"> <template v-for="(j, ind) in caseInfo">
<view <view class="case-text flex" :key="ind">
class="case-text flex"
:key="ind"
>
<view class="case-label">{{ j.label }}:</view> <view class="case-label">{{ j.label }}:</view>
<view :class="['case-value', j.class]"> <view :class="['case-value', j.class]">
<template v-if="j.format"> <template v-if="j.format">
...@@ -73,10 +49,7 @@ ...@@ -73,10 +49,7 @@
</template> </template>
<template v-else> <template v-else>
<view class="nothing flex"> <view class="nothing flex">
<image <image class="icon" src="@/assets/images/home/nothing.webp" />
class="icon"
src="@/assets/images/home/nothing.webp"
/>
暂无推荐套餐 暂无推荐套餐
</view> </view>
</template> </template>
...@@ -277,7 +250,7 @@ export default { ...@@ -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}` 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({ uni.navigateTo({
url: `${url}` url: `${url}&id=${item.id}&visitsId=${this.visitsId}`
}) })
}, },
pageonReachBottom () { pageonReachBottom () {
......
<!--
* @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> <template>
<web-view :src="url"></web-view> <web-view :src="url"></web-view>
</template> </template>
<script type='text/ecmascript-6'> <script type="text/ecmascript-6">
import report from "@/mixin/report.js";
export default { export default {
name: '', name: '',
mixins:[report],
data () { data () {
return { return {
url: '', url: '',
...@@ -25,5 +35,4 @@ export default { ...@@ -25,5 +35,4 @@ export default {
} }
</script> </script>
<style scoped lang='scss'>
</style>
\ No newline at end of file \ No newline at end of file
<style scoped lang="scss"></style>
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!