50f8e57f by simon

默认提交

1 parent d9b4cc32
1
2 export default { 1 export default {
3 props: { 2 props: {
4 // 是否显示组件 3 // 是否显示组件
...@@ -30,6 +29,10 @@ export default { ...@@ -30,6 +29,10 @@ export default {
30 target: { 29 target: {
31 type: String, 30 type: String,
32 default: "", 31 default: "",
32 },
33 align: {
34 type: String,
35 default: "",
33 } 36 }
34 }, 37 },
35 data() { 38 data() {
...@@ -61,8 +64,8 @@ export default { ...@@ -61,8 +64,8 @@ export default {
61 this.$emit("targetCallbak", this.target1); 64 this.$emit("targetCallbak", this.target1);
62 } 65 }
63 }, 66 },
64 initData() { } 67 initData() {}
65 }, 68 },
66 mounted() { }, 69 mounted() {},
67 created() { } 70 created() {}
68 } 71 }
......
...@@ -59,8 +59,6 @@ ...@@ -59,8 +59,6 @@
59 display: inline-block; 59 display: inline-block;
60 height: 100%; 60 height: 100%;
61 min-width: 100px; 61 min-width: 100px;
62 text-align: justify;
63 text-align-last: left;
64 62
65 .target { 63 .target {
66 cursor: pointer; 64 cursor: pointer;
......
...@@ -9,9 +9,9 @@ ...@@ -9,9 +9,9 @@
9 <div class="info-icon"> 9 <div class="info-icon">
10 <img src="@/assets/images/clarms/info.png"> 10 <img src="@/assets/images/clarms/info.png">
11 </div> 11 </div>
12 <div class="message" :class="{'lsp':locale != 'en'}"> 12 <div class="message" :class="{'lsp':locale != 'en','text-c':align=='center','text-jtf':align !='center'}">
13 <span v-html="content"> 13 <span v-html="content">
14 {{content}} 14 {{content}}
15 </span> 15 </span>
16 <span class="target" v-if="target" @click="toTarget">{{target}}</span> 16 <span class="target" v-if="target" @click="toTarget">{{target}}</span>
17 </div> 17 </div>
......
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
2 <template> 2 <template>
3 <div class="comp" v-if="policyDetail && showPolicy"> 3 <div class="comp" v-if="policyDetail && showPolicy">
4 <modal2-comp :visible="showSuccessTip" :close="()=>{showSuccessTip = false}" :content="$t('vhis.tip6')" :target="$t('vhis.tip7')" @targetCallbak="toTarget"></modal2-comp> 4 <modal2-comp :visible="showSuccessTip" :close="()=>{showSuccessTip = false}" :content="$t('vhis.tip6')" :target="$t('vhis.tip7')" @targetCallbak="toTarget"></modal2-comp>
5 <modal2-comp :visible="showDownloadError" :close="()=>{showDownloadError = false}" :content="$t('glbalTips.sysError')"></modal2-comp> 5 <modal2-comp :visible="showDownloadError" :close="()=>{showDownloadError = false}" :content="$t('glbalTips.sysError')" :align="'center'"></modal2-comp>
6 <div @click="handleIgnorePolicy" class="overlay"></div> 6 <div @click="handleIgnorePolicy" class="overlay"></div>
7 <div class="border"> 7 <div class="border">
8 <div class="close" @click="onOverLayHandler()"><img src="@/assets/images/vhis/close.png"></div> 8 <div class="close" @click="onOverLayHandler()"><img src="@/assets/images/vhis/close.png"></div>
......
...@@ -34,7 +34,7 @@ ...@@ -34,7 +34,7 @@
34 34
35 </div> 35 </div>
36 <!-- 理赔/产品页模态窗 样式 --> 36 <!-- 理赔/产品页模态窗 样式 -->
37 <!-- <modal2-comp :visible="modalVisiable" :close="()=>{modalVisiable = false}" :content="''"></modal2-comp> --> 37 <!-- <modal2-comp :visible="modalVisiable" :close="()=>{modalVisiable = false}" :content="'An error occurred,<br>please try again later.'" :align="'center'"></modal2-comp> -->
38 </div> 38 </div>
39 39
40 </template> 40 </template>
......
1 <template> 1 <template>
2 <div class="list-container"> 2 <div class="list-container">
3 <modal2-comp :visible="showDownloadError" :close="()=>{showDownloadError = false}" :content="$t('glbalTips.sysError')"></modal2-comp> 3 <modal2-comp :visible="showDownloadError" :close="()=>{showDownloadError = false}" :content="$t('glbalTips.sysError')" :align="'center'"></modal2-comp>
4 <div class="cell-group"> 4 <div class="cell-group">
5 <div class="table-contaner"> 5 <div class="table-contaner">
6 <div class="table-header orange"> 6 <div class="table-header orange">
......