123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110 |
- <template>
- <view>
- <view class="navbar-c">
- <view class="back" @click="backMine">
- <u-icon name="arrow-left" color="#101010" size="36"></u-icon>
- </view>
- <view class="title">
- 消息 (1)
- <image class="img" src="@/assets/img/riLine-brush-2-line.svg"></image>
- </view>
- </view>
- <view class="message-item" v-for="item in 2">
- <view class="item-icon">
- <image class="img" src="@/assets/img/riFill-clipboard-fill.svg" mode=""></image>
- </view>
- <view class="message-infos">
- <view class="infos-top">
- <view class="title">
- 工单提醒
- </view>
- <view class="date">
- 01-02 12:00
- </view>
- </view>
- <view class="details">
- [编号No123456]荆鹏软件园01设备温度异常,请尽快处理,处理人郭群...
- </view>
- </view>
- </view>
- </view>
- </template>
- <script>
- export default {
- data() {
- return {
- }
- },
- methods: {
- backMine() {
- uni.navigateBack()
- }
- }
- }
- </script>
- <style lang="scss" scoped>
- .back {
- z-index: 999;
- width: 200rpx;
- }
-
- .message-item {
- border-radius: 8px;
- background-color: rgba(255, 255, 255, 1);
- margin: 20rpx 32rpx;
- padding: 24rpx 32rpx;
- display: flex;
- align-items: center;
- .item-icon {
- display: flex;
- align-items: center;
- justify-content: center;
- width: 96rpx;
- height: 96rpx;
- border-radius: 12px;
- background: linear-gradient(180.29deg, rgba(255, 214, 125, 1) 0.9%, rgba(255, 150, 0, 1) 100.4%);
- .img {
- width: 56rpx;
- height: 56rpx;
- }
- }
- .message-infos {
- flex: 1;
- margin-left: 24rpx;
- .infos-top {
- display: flex;
- align-items: center;
- justify-content: space-between;
- .title {
- color: rgba(16, 16, 16, 1);
- font-size: 32rpx;
- }
- .date {
- color: rgb(140, 140, 140);
- font-size: 24rpx;
- }
- }
- .details {
- color: rgba(119, 119, 119, 1);
- font-size: 24rpx;
- margin-top: 16rpx;
- }
- }
- }
- </style>
|