image.png

    1. <template>
    2. <view>
    3. <uni-nav-bar :title="`订单详情-${form.actionTitle}`" leftText='返回' leftIcon="back" @clickLeft="goBack" fixed />
    4. <uni-card class="action-form">
    5. <uni-row>
    6. <uni-col class="col" :span="12"><text class="col-left">日期:</text><text
    7. class="col-right">{{form.date}}</text>
    8. </uni-col>
    9. <uni-col class="col" :span="24"><text class="col-left">店铺:</text><text
    10. class="col-right">长江路店</text></uni-col>
    11. <uni-col class="col" :span="24"><text class="col-left">商品名称:</text><text
    12. class="col-right">xxx商品</text>
    13. </uni-col>
    14. <uni-col class="col" :span="12"><text class="col-left">状态:</text>
    15. <uni-tag text="完成" type="success" />
    16. </uni-col>
    17. <uni-col class="col" :span="12"><text class="col-left">已付:</text>
    18. <uni-tag v-if="form.ispay===1" text="是" type="success" />
    19. <uni-tag v-if="form.ispay===0" text="否" />
    20. </uni-col>
    21. <uni-col class="col" :span="24"><text class="col-left">会员名:</text><text
    22. class="col-right">开心yyds</text>
    23. </uni-col>
    24. <uni-col class="col" :span="24"><text class="col-left">姓名:</text><text
    25. class="col-right">张三</text>
    26. </uni-col>
    27. <uni-col class="col" :span="12"><text class="col-left">付款金额:</text><text
    28. class="col-right">{{form.goodPrice}} 元</text>
    29. </uni-col>
    30. <uni-col class="col" :span="24"><text class="col-left">备注:</text><text
    31. class="col-right">这里是备注信息</text>
    32. </uni-col>
    33. </uni-row>
    34. </uni-card>
    35. </view>
    36. </template>
    37. <script>
    38. import {
    39. commonForm
    40. } from '@/mixin'
    41. export default {
    42. mixins: [commonForm],
    43. data() {
    44. return {
    45. };
    46. }
    47. }
    48. </script>
    49. <style lang="scss">
    50. .action-form {
    51. .col {
    52. padding: 2px 0;
    53. }
    54. .col-left {
    55. font-weight: bold;
    56. }
    57. }
    58. </style>