6
0
Fork 0
jiqu-library-miniprogram/src/pageB/user_order/index.vue

38 lines
917 B
Vue
Raw Blame History

This file contains ambiguous Unicode characters!

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

<template>
<view>
<!-- 搜索框 -->
<view class="flex items-center px-40rpx text-32rpx bg-white py-30rpx">
<view class="mr-15rpx">手机号</view>
<u-search class="flex-1" placeholder="用户手机号" v-model="searchText" :show-action="false"></u-search>
</view>
<view class="pt-base">
<block v-for="(item,index) in dataList" :key="index">
<view class="mb-24rpx">
<order-item @Parent=Parent :item="item" />
</view>
</block>
</view>
</view>
</template>
<script>
import OrderItem from './conponents/order-item.vue';
export default {
components: {
OrderItem,
},
data() {
return {
searchText:'',
dataList:[{products:[{}]},{products:[{},{}]},{products:[{},{},{}]}]
};
},
methods: {
},
};
</script>
<style lang="scss" scoped>
.badge {
@apply bg-badge;
}
</style>