| 12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788 |
- <template>
- <div class="border-box-style box-content-style" :style="borderBox">
- <div class="justify-style">
- <div class="justify-style-left">
- <div class="icon"></div>
- <div class="title inline-left">{{$t(title)}}</div>
- <slot name="operation"></slot>
- </div>
- <div class="detail-title justify-style-right">
- <div>{{$t(detailTitle)}}</div>
- <div style="margin-left: 0.260vw"> > </div>
- </div>
- </div>
- <slot name="content"></slot>
- </div>
- </template>
- <script>
- export default {
- name: "borderTemplate",
- props:["borderBox","title","detailTitle"],
- mounted() {
- // autofit.init({
- // dh: 1135,
- // dw: 1920,
- // el:"body",
- // resize: true
- // })
- }
- }
- </script>
- <style scoped>
- .border-box-style{
- background: linear-gradient( 180deg, #00244D 0%, #001E41 100%);
- box-shadow: 0.000vw 0.104vw 0.208vw 0.052vw rgba(0,0,0,0.15);
- border-radius: 0.208vw 0.208vw 0.208vw 0.208vw;
- border: 0.104vw solid #3D73BA;
- opacity: 0.8;
- }
- .justify-style-left{
- display: flex;
- justify-content: left;
- }
- .justify-style-right{
- display: flex;
- justify-content: right;
- }
- .justify-style{
- display: flex;
- justify-content: space-between;
- }
- .inline-left{
- margin-left: 20px;
- }
- .box-content-style{
- padding: 1.042vw;
- }
- .box-content-style .icon {
- width: 0.313vw;
- height: 0.938vw;
- background: #E6F4FF;
- border-radius: 0.104vw 0.104vw 0.104vw 0.104vw;
- }
- .box-content-style .title{
- width: 6.250vw;
- height: 1.615vw;
- font-family: Microsoft YaHei, Microsoft YaHei;
- font-weight: bold;
- font-size: 1.250vw;
- color: #E6F4FF;
- text-align: left;
- line-height: 0.9vw;
- vertical-align: middle;
- }
- .box-content-style .detail-title{
- width: 6.333vw;
- height: 1.094vw;
- font-family: Microsoft YaHei, Microsoft YaHei;
- font-weight: 400;
- font-size: 0.833vw;
- color: #CFDCE5;
- line-height: 0.9vw;
- text-align: left;
- font-style: normal;
- text-transform: none;
- }
- </style>
|