12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485 |
- <template>
- <div>
- <div :class="'mainTopBg' + skinId"></div>
- <div :class="'mainBox' + skinId">
- <div class="mainTitle">{{newsDetail.con_title}}</div>
- <div v-html=" newsDetail.content"></div>
- </div>
- <div :class="'mainBottomBg' + skinId"></div>
- </div>
- </template>
- <script setup>
- const props = defineProps({
- newsDetail: Object,//新闻详情
- skinId: Number,//皮肤id
- });
- </script>
- <style lang="less" scoped>
- //样式1
- .mainBox1 {
- box-sizing: border-box;
- padding:27px 80px;
- .mainTitle {
- font-size: 26px;
- color:#333;
- height: 65px;
- font-weight: bold;
- text-align: center;
- border-bottom: 1px solid #D9D9D9;
- margin-bottom: 40px;
- }
- div {
- text-indent: 2em;
- font-size: 20px;
- line-height: 36px;
- color:#333;
- }
- background:url('http://img.bjzxtw.org.cn/pre/image/png/20250624/1750754885628516.png') repeat-y;
- }
- .mainTopBg1 {
- width: 1200px;
- height: 7px;
- background: url('http://img.bjzxtw.org.cn/pre/image/png/20250624/1750754872561241.png') no-repeat;
- margin-top: 28px;
- }
- .mainBottomBg1 {
- width: 1200px;
- height: 7px;
- background: url('http://img.bjzxtw.org.cn/pre/image/png/20250624/1750754893326585.png') no-repeat center center;
- }
- //样式2
- .mainBox2 {
- box-sizing: border-box;
- padding:27px 80px;
- .mainTitle {
- font-size: 26px;
- color:#333;
- height: 65px;
- font-weight: bold;
- text-align: center;
- border-bottom: 1px solid #D9D9D9;
- margin-bottom: 40px;
- }
- div {
- text-indent: 2em;
- font-size: 20px;
- line-height: 36px;
- color:#333;
- }
- background:url('http://img.bjzxtw.org.cn/pre/image/png/20250723/1753239637376332.png') repeat-y;
- }
- .mainTopBg2 {
- width: 1200px;
- height: 7px;
- background: url('http://img.bjzxtw.org.cn/pre/image/png/20250723/1753239184498080.png') no-repeat;
- margin-top: 28px;
- }
- .mainBottomBg2 {
- width: 1200px;
- height: 7px;
- background: url('http://img.bjzxtw.org.cn/pre/image/png/20250723/1753239195441541.png') no-repeat center center;
- }
- </style>
|