1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889 |
- <template>
- <div class="no_format_text">
- <div class="name">{{ name }}</div>
- <div class="content" v-html="text"></div>
- <div class="bottom-time bottom-time-top">
- <div class="bottom-time-list">
- <span class="bottom-time-bold">医生签名:</span>
- <span>{{ data.doctor_name }}</span>
- </div>
- </div>
- <div class="bottom-time bottom-time-top">
- <div class="bottom-time-list" v-if="data.CJSJ">
- <span class="bottom-time-bold">创建时间:</span>
- <span>{{ data.CJSJ }}</span>
- </div>
- <div class="bottom-time-list" v-if="data.ZXSJ">
- <span class="bottom-time-bold">首次签名时间:</span>
- <span>{{ data.ZXSJ }}</span>
- </div>
- </div>
- <div class="bottom-time bottom-time-botom" v-if="data.WCSJ">
- <div class="bottom-time-list">
- <span class="bottom-time-bold">末次修改时间:</span>
- <span>{{ data.WCSJ }}</span>
- </div>
- </div>
- </div>
- </template>
- <script>
- export default {
- props: {
- text: {
- type: String,
- default() {
- return '';
- },
- },
- name: {
- type: String,
- default() {
- return '';
- },
- },
- data: {
- type: Object,
- default() {
- return {};
- },
- },
- },
- };
- </script>
- <style lang="scss" scoped>
- .no_format_text {
- line-height: 1.5;
- padding-bottom: 100px;
- .name {
- font-size: 24px;
- font-weight: bold;
- color: #2c3240;
- text-align: center;
- margin: 20px;
- }
- .content {
- padding: 20px;
- }
- }
- .bottom-time-top {
- margin-top: 30px;
- }
- .bottom-time-botom {
- margin-bottom: 30px;
- }
- .bottom-time {
- width: 100%;
- display: flex;
- justify-content: flex-start;
- align-items: center;
- margin-bottom: 10px;
- .bottom-time-bold {
- font-weight: bold;
- }
- .bottom-time-list {
- width: 50%;
- }
- }
- </style>
|