| 1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889 |
- <template>
- <div class="otherAppeal" >
- <div class="title">
- {{ otherAppeal.title }}
- </div>
- <div v-if="!isOther">
- <img
- src="/static/appeal/waited.svg"
- class="state"
- v-if="otherAppeal.process === 2"
- />
- <img src="/static/appeal/waiting.svg" class="state" v-else />
- </div>
- <div class="details" v-if="otherAppeal.process === '2'">
- <img src="/static/appeal/avator.png" class="icon" />
- <p class="msg">
- <span class="name">{{ otherAppeal.department_name }}</span
- >:
- <span class="msg_body">{{ otherAppeal.reply }}</span>
- </p>
- </div>
- <div class="details" v-else>
- <p class="msg">
- <span class="msg_body_waiting">正在处理中……</span>
- </p>
- </div>
- <!-- <div class="details" v-else>
- <img src="/static/appeal/avator.png" class="icon" />
- <p class="msg">
- <span class="name">{{ otherAppeal.department_name }}</span
- >:
- <span class="msg_body">{{ otherAppeal.reply }}</span>
- </p>
- </div> -->
- </div>
- </template>
- <script>
- export default {
- props: ["otherAppeal", "isOther"],
- };
- </script>
- <style lang="scss" scoped>
- .otherAppeal {
- margin: 5% 8%;
- position: relative;
- height: 200rpx;
- .title {
- margin-bottom: 5%;
- font-size: 30rpx;
- font-weight: 600;
- }
- .state {
- position: absolute;
- right: 0;
- top: 0;
- transform: translateY(-30%);
- width: 94rpx;
- height: 74rpx;
- }
- .details {
- position: relative;
- .name {
- font-size: 26rpx;
- color: red;
- }
- .msg {
- font-size: 26rpx;
- overflow: hidden;
- text-overflow: ellipsis;
- display: -webkit-box;
- -webkit-box-orient: vertical;
- -webkit-line-clamp: 3;
- word-wrap: break-word;
- word-break: break-all;
- line-height: 40rpx;
- letter-spacing: 2rpx;
- .msg_body_waiting {
- color: #aaa;
- }
- }
- .icon {
- width: 50rpx;
- height: 50rpx;
- position: absolute;
- transform: translateX(-100%);
- }
- }
- }
- </style>
|