message.vue 1.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  1. <template>
  2. <view class="main">
  3. <view class="padding-lr">
  4. <view v-for="(item,index) in 4" :key="index" class="padding-lr-sm padding-tb-sm bg-white margin-top-sm" style="border-radius: 16rpx;box-shadow: 0 0 50rpx 0 rgba(0, 0, 0, 0.1);">
  5. <view class="flex justify-start align-center">
  6. <u-icon name="order"></u-icon>
  7. <text class="text-lg margin-left-xs">订单通知</text>
  8. <text class="flex-sub text-right">10:10</text>
  9. </view>
  10. <view class="margin-top-sm">
  11. 您接到一个新的图文咨询订单,请尽快确认 (点击查看订单详情)
  12. </view>
  13. <view class="text-right" style="position: relative">
  14. <u-badge size="mini" :absolute="false" type="error" :is-dot="true"></u-badge><text class="margin-left-xs">未读</text>
  15. </view>
  16. </view>
  17. </view>
  18. <view class="cu-tabbar-height"></view>
  19. <view class="cu-tabbar-height"></view>
  20. </view>
  21. </template>
  22. <script>
  23. export default {
  24. onLoad(options) {
  25. },
  26. mounted() {
  27. },
  28. data() {
  29. return {
  30. }
  31. },
  32. methods: {
  33. getMessage:async function(){
  34. let res = await this.$request.post("")
  35. }
  36. }
  37. };
  38. </script>
  39. <style scoped lang="scss">
  40. .main {}
  41. </style>