12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182 |
- <template>
- <div id="order_list_container">
- <van-card
- v-for="(order,index) in orders"
- :key="index"
- >
-
- <div slot="title" class="flex justify-between">
- <div>
- <text class="text-gray">订单号 </text>
- <text class>{{ order.sn }}</text>
- </div>
- <div>
- <text class="text-gray">{{ order.create_time }}</text>
- <view class="text-right">
- <template v-if="order.pay_status == 1">
- <text class="text-bold">未付款</text>
- </template>
- <template>
- <text>已付款</text>
- </template>
- </view>
- </div>
- </div>
-
- <div slot="thumb" class="thumb_container">
- <img src="https://img.shuimuai.com/web/icon_dingdan.png" class="order_icon" alt="">
- </div>
-
- <div slot="desc">
- <div>
- <text class="text-gray">消费产品 </text>
- <text>{{ order.goods_name }} x 1</text>
- </div>
- <div class="padding-tb-lg flex justify-between align-center">
- <div>
- <text class="text-gray">付款方式 </text>
- <text class="text-bold">微信支付</text>
- </div>
- <div>
- <text class="text-gray">实付款 </text>
- <text class="text-gray text-xxl">{{ order.price }}</text>
- </div>
- </div>
- </div>
-
- <div slot="price">
-
- <button class="cu-btn" open-type="contact">联系客服</button>
- </div>
- </van-card>
- </div>
- </template>
- <script>
- var $this
- export default {
- name: "order_list",
- props: ['status','orders'],
- data() {
- return {
- }
- },
- methods: {
- },
- mounted() {
- },
- created(){
- $this = this
- }
- }
- </script>
- <style>
- @import "order_list.css";
- </style>
|