| 12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788 |
- <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: 28rpx;
- }
- .state {
- position: absolute;
- right: 0;
- top: 0;
- transform: translateY(-30%);
- width: 94rpx;
- height: 74rpx;
- }
- .details {
- position: relative;
- .name {
- font-size: 25rpx;
- color: red;
- }
- .msg {
- font-size: 25rpx;
- 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>
|