MerchantRelationGroundingReadonly.vue
1.81 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
<template>
<div v-loading="loading" class="merchant-relation-grounding-readonly">
<div class="section grounding-section-traffic">
<div class="section-title">
流量方信息
</div>
<MerchantGroundingTrafficProviderInformation :data="trafficProviderData"
:is-view-mode="true"
:show-edit-toolbar="false"
:show-other-service-providers="true" />
</div>
</div>
</template>
<script>
import MerchantGroundingTrafficProviderInformation from "./components/MerchantGroundingTrafficProviderInformation.vue";
export default {
name: "MerchantRelationGroundingReadonly",
components: {
MerchantGroundingTrafficProviderInformation,
},
provide() {
return {
size: "mini",
GET_BASE_SCENE_CODE: () => this.baseSceneCode,
};
},
props: {
trafficProviderData: {
type: Object,
default: () => ({}),
},
businessForm: {
type: Object,
default: () => ({}),
},
productDetails: {
type: Array,
default: () => [],
},
loading: {
type: Boolean,
default: false,
},
baseSceneCode: {
type: String,
default: "",
},
},
};
</script>
<style scoped lang="scss">
.merchant-relation-grounding-readonly {
background: #f5f7fa;
padding: 12px 0 16px;
box-sizing: border-box;
.section {
margin-bottom: 12px;
background: #fff;
}
.section-title {
height: 48px;
line-height: 48px;
margin: 0;
padding: 0 20px;
box-sizing: border-box;
font-size: 14px;
font-weight: 600;
color: #333333;
background: #fff;
border-bottom: 1px solid #ebeef5;
}
.section-sales-category {
margin-bottom: 0;
}
::v-deep .grounding-section-traffic .traffic-provider-information-btns {
display: none !important;
}
}
</style>