猫妈狗爸伴宠师小程序前端代码
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.

79 lines
1.3 KiB

2 months ago
2 months ago
2 months ago
2 months ago
2 months ago
2 months ago
  1. <template>
  2. <!-- <div>服务档案</div> -->
  3. <view class="box box-size">
  4. <view class="container box-size level"
  5. @click="toDetail" :style="{borderRadius:'16rpx'}">
  6. <view class="level">
  7. <view class="img">
  8. <image src="" mode=""></image>
  9. </view>
  10. <view class="text">
  11. 查看猫猫小咪的服务信息
  12. </view>
  13. </view>
  14. <view class="img_">
  15. <image src="/static/images/ydd/right.png" mode=""></image>
  16. </view>
  17. </view>
  18. </view>
  19. </template>
  20. <script setup>
  21. function toDetail() {
  22. uni.navigateTo({
  23. url: "/otherPages/myOrdersManage/service/detail"
  24. })
  25. }
  26. </script>
  27. <style scoped lang="scss">
  28. .box {
  29. width: 100vw;
  30. height: 100vh;
  31. padding: 2% 3%;
  32. }
  33. .box-size {
  34. box-sizing: border-box;
  35. }
  36. .level {
  37. display: flex;
  38. }
  39. .container {
  40. width: 710rpx;
  41. height: 121rpx;
  42. background-color: #fff;
  43. padding: 1% 4% 3% 2%;
  44. justify-content: space-between;
  45. margin-bottom: 20rpx;
  46. }
  47. .img image {
  48. width: 104rpx;
  49. height: 104rpx;
  50. border-radius: 100rpx;
  51. background-color: red;
  52. margin-right: 20rpx;
  53. }
  54. .text {
  55. font-size: 30rpx;
  56. display: grid;
  57. place-items: center;
  58. }
  59. .img_ {
  60. display: grid;
  61. place-items: center;
  62. }
  63. .img_ image {
  64. width: 40rpx;
  65. height: 40rpx;
  66. /* background-color: red; */
  67. }
  68. </style>