You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
<template> <view class="consultItem"> <view class="top_row"> <view class="tag">咨询</view> <view class="status">待处理</view> </view> <view class="content"> <view class="lab">问题描述</view> <view class="text">能退学费吗?</view> </view> <view class="border_bottom"> <view class="dateBox"> <view class="date">创建时间:2022-01-04</view> <!-- <view class="date">处理时间:2022-01-04</view> --> </view> <view class="close_btn">关闭</view> </view> </view> </template>
<script> export default { methods: { closeFn() { uni.showModal({ content:'确定要关闭吗?', success: function(res) { if (res.confirm) { } else if (res.cancel) { console.log('用户点击取消'); } } }) } } } </script> <style lang="scss" scoped> .consultItem { width: 100%; .top_row { display: flex; width: 100%; height: 116rpx; border-bottom: 2rpx dashed #E8E9EC; justify-content: space-between; align-items: center; .tag { width: 120rpx; height: 60rpx; background: rgba(250,149,25,0.1); border-radius: 8rpx; text-align: center; line-height: 60rpx; font-size: 28rpx; color: #FA7919; } .status { font-size: 28rpx; color: $themC; } } .content { padding: 24rpx 0 50rpx 0; font-size: 28rpx; .lab { color: #ADADAD; margin-bottom: 4rpx; } .text { } } .border_bottom { border-top: 2rpx dashed #E8E9EC; display: flex; align-items: center; justify-content: space-between; padding: 30rpx 0 10rpx 0; .dateBox { .date { font-size: 28rpx; color: #ADADAD; margin-bottom: 16rpx; } } .close_btn { width: 140rpx; height: 60rpx; background: #FFFFFF; border-radius: 8rpx; border: 2rpx solid #E8E9EC; text-align: center; line-height: 60rpx; color: #ADADAD; font-size: 28rpx; } } } </style>
|