From ebc96a1cf0424c04dceacbc42f9ad2a897223be9 Mon Sep 17 00:00:00 2001
From: liukangdong <898885815@qq.com>
Date: 星期二, 25 六月 2024 14:42:04 +0800
Subject: [PATCH] css
---
h5/packagesMine/notificationDetails/notificationDetails.vue | 118 +++++++++++++++++++++++++++++-----------------------------
1 files changed, 59 insertions(+), 59 deletions(-)
diff --git a/h5/packagesMine/notificationDetails/notificationDetails.vue b/h5/packagesMine/notificationDetails/notificationDetails.vue
index f6d06a4..6e46d01 100644
--- a/h5/packagesMine/notificationDetails/notificationDetails.vue
+++ b/h5/packagesMine/notificationDetails/notificationDetails.vue
@@ -1,62 +1,62 @@
-<template>
- <view class="details">
- <view class="details_head">
- <text>{{info.title}}</text>
- <text>{{info.createDate}}</text>
- </view>
- <u-parse :content="content"></u-parse>
- </view>
-</template>
-
-<script>
- export default {
- data() {
- return {
- info: {},
- content: ''
- };
- },
- onLoad(option) {
- this.$u.api.getNoticeDetail({ id: option.content })
- .then(res => {
- this.content = res.data.content
- this.info = res.data
- })
- }
- }
-</script>
+<template>
+ <view class="details">
+ <view class="details_head">
+ <text>{{ info.title }}</text>
+ <text>{{ info.createDate }}</text>
+ </view>
+ <u-parse :content="content"></u-parse>
+ </view>
+</template>
+
+<script>
+export default {
+ data() {
+ return {
+ info: {},
+ content: ''
+ }
+ },
+ onLoad(option) {
+ this.$u.api.getNoticeDetail({ id: option.content })
+ .then(res => {
+ this.content = res.data.content
+ this.info = res.data
+ })
+ }
+}
+</script>
<style>
- page {
- background-color: #ffffff;
- }
+page {
+ background-color: #ffffff;
+}
</style>
-
-<style lang="scss">
- .details {
- width: 100%;
- padding: 30rpx;
- box-sizing: border-box;
- .details_head {
- width: 100%;
- display: flex;
- flex-direction: column;
- margin-bottom: 38rpx;
- text {
- &:first-child {
- font-size: 40rpx;
- font-family: PingFangSC-Medium, PingFang SC;
- font-weight: 500;
- color: #222222;
- }
- &:last-child {
- font-size: 26rpx;
- font-family: PingFangSC-Regular, PingFang SC;
- font-weight: 400;
- color: #999999;
- margin-top: 30rpx;
- }
- }
- }
- }
-</style>
+
+<style lang="scss">
+.details {
+ width: 100%;
+ padding: 30rpx;
+ box-sizing: border-box;
+ .details_head {
+ width: 100%;
+ display: flex;
+ flex-direction: column;
+ margin-bottom: 38rpx;
+ text {
+ &:first-child {
+ font-size: 40rpx;
+ font-family: PingFangSC-Medium, PingFang SC;
+ font-weight: 600;
+ color: #222222;
+ }
+ &:last-child {
+ font-size: 26rpx;
+ font-family: PingFangSC-Regular, PingFang SC;
+ font-weight: 400;
+ color: #999999;
+ margin-top: 30rpx;
+ }
+ }
+ }
+}
+</style>
--
Gitblit v1.9.3