|
@@ -0,0 +1,82 @@
|
|
|
+<template>
|
|
|
+ <div class="contract-card-container">
|
|
|
+ <div class="contract-card-title">
|
|
|
+ <span class="title">联系客服,立享1V1管家式服务</span>
|
|
|
+ </div>
|
|
|
+ <div class="contract-card-content">
|
|
|
+ <CallPhone class="call-phone" @handle="handle" />
|
|
|
+ <QrCode type="1" @handle="handle" />
|
|
|
+ </div>
|
|
|
+ <LeaveCommon class="static-footer" />
|
|
|
+ </div>
|
|
|
+</template>
|
|
|
+
|
|
|
+<script>
|
|
|
+import CallPhone from './CallPhone.vue'
|
|
|
+import QrCode from './QrCode.vue'
|
|
|
+import LeaveCommon from './footer.vue'
|
|
|
+
|
|
|
+export default {
|
|
|
+ name: 'ContractCard',
|
|
|
+ components: {
|
|
|
+ CallPhone,
|
|
|
+ QrCode,
|
|
|
+ LeaveCommon
|
|
|
+ },
|
|
|
+ methods: {
|
|
|
+ handle() {
|
|
|
+ this.$emit('handle')
|
|
|
+ }
|
|
|
+ }
|
|
|
+}
|
|
|
+</script>
|
|
|
+
|
|
|
+<style lang="scss" scoped>
|
|
|
+.contract-card-container {
|
|
|
+ background: #FFFFFF;
|
|
|
+
|
|
|
+ .contract-card-title {
|
|
|
+ display: flex;
|
|
|
+ flex-direction: column;
|
|
|
+ align-items: flex-start;
|
|
|
+ padding: 12px 20px 0;
|
|
|
+ .title {
|
|
|
+ font-size: 18px;
|
|
|
+ line-height: 28px;
|
|
|
+ color: #1D1D1D;
|
|
|
+ }
|
|
|
+ .subtitle {
|
|
|
+ margin-top: 4px;
|
|
|
+ font-size: 16px;
|
|
|
+ line-height: 24px;
|
|
|
+ color: #686868;
|
|
|
+ }
|
|
|
+ }
|
|
|
+ .contract-card-content {
|
|
|
+ display: flex;
|
|
|
+ justify-content: center;
|
|
|
+ margin: 8px 0 16px;
|
|
|
+ height: 154px;
|
|
|
+ ::v-deep {
|
|
|
+ .qr-code-container::after {
|
|
|
+ display: none;
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+ .static-footer {
|
|
|
+ height: 136px;
|
|
|
+ background: linear-gradient(to bottom, rgba(237, 253, 255, 1), rgba(237, 253, 255, 0));
|
|
|
+ ::v-deep {
|
|
|
+ .leave-common-footer-content {
|
|
|
+ padding: 10px 0 3px 20px;
|
|
|
+ }
|
|
|
+ .leave-common-footer-list {
|
|
|
+ margin-top: 8px;
|
|
|
+ }
|
|
|
+ .leave-common-footer-item {
|
|
|
+ margin-bottom: 10px;
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+}
|
|
|
+</style>
|