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.

70 lines
1.2 KiB

10 months ago
  1. <template>
  2. <view class="main">
  3. <view class="searchBox">
  4. <searchRow placeholder="请输入模版名称/模版内容" />
  5. </view>
  6. <view class="ul">
  7. <view class="total">共3条</view>
  8. <view class="card">
  9. <view class="row">
  10. <view class="lab">模版名称</view>
  11. <view class="val">abc</view>
  12. </view>
  13. <view class="row">
  14. <view class="lab">模版内容</view>
  15. <view class="val">abc</view>
  16. </view>
  17. <view class="row">
  18. <view class="lab">模版描述</view>
  19. <view class="val">abc</view>
  20. </view>
  21. </view>
  22. </view>
  23. </view>
  24. </template>
  25. <script>
  26. </script>
  27. <style lang="scss" scoped>
  28. .searchBox {
  29. padding: 14rpx 30rpx;
  30. background-color: #fff;
  31. }
  32. .ul {
  33. padding: 0rpx 30rpx;
  34. .total {
  35. height: 66rpx;
  36. line-height: 66rpx;
  37. font-size: 24rpx;
  38. color: #999;
  39. text-align: right;
  40. }
  41. }
  42. .card {
  43. padding: 20rpx;
  44. margin-bottom: 20rpx;
  45. background-color: #fff;
  46. &.active {
  47. border: 1px solid $themC;
  48. background-color: #dfeaf5;
  49. .row {
  50. color: $themC;
  51. }
  52. }
  53. .row {
  54. display: flex;
  55. font-size: 24rpx;
  56. color: #333;
  57. padding: 20rpx 0;
  58. .lab {
  59. width: 140rpx;
  60. }
  61. .val {
  62. flex: 1;
  63. width: 0;
  64. text-align: right;
  65. }
  66. }
  67. }
  68. </style>