123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114 |
- <template>
- <view style="background-color: rgb(242,245,252);">
- <view class="customer-view clearfix">
- <view class="title">
-
- {{list.title}}
- </view>
- <view class="time">
- 系统公告 {{$u.timeFormat(list.createTime, 'yyyy-mm-dd hh:MM:ss')}}
- </view>
- <view style="font-size: 28rpx;">
- <view>
-
- <view class="content">
-
- {{list.content}}
- </view>
- </view>
- </view>
-
- </view>
- </view>
- </template>
- <script>
- export default {
- data() {
- return {
- id: '',
- list: []
- };
- },
- onLoad(options) {
- this.id = options.id
- this.getAnnouncementInfo()
- },
- methods: {
- getAnnouncementInfo() {
- this.$u.api.getAnnouncementInfo(this.id).then(res => {
- this.list = res.data
- })
- }
- }
- }
- </script>
- <style lang="scss" scoped>
- .customer-view {
- width: 100%;
- padding: 30rpx;
- background-color: #ffffff;
- .title {
- font-size: 36rpx;
- font-weight: bold;
- }
- .time {
- font-size: 24rpx;
- color: #999;
- margin-top: 10rpx;
- }
- .header {
- margin-top: 30rpx;
- }
- .content {
- text-indent: 2em;
- line-height: 50rpx;
- }
- .explain {
- margin-top: 60rpx;
- font-size: 28rpx;
- line-height: 50rpx;
- }
- .signature {
- float: right;
- margin-top: 90rpx;
- font-size: 28rpx;
- }
- }
- </style>
|