123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108 |
- <template>
- <view class="main">
- <view class="list_item u-margin-top-30 margin-lr-sm" v-for="(item,index) in listItem" :key="index">
- <view class="order-num flex justify-between align-center u-font-28 u-padding-bottom-10 u-border-bottom"
- style="color:#909399;">
- <text class="u-font-24">订单号:123123123123123123</text>
- <text class="u-font-24">联系电话:15178742141</text>
- </view>
- <view class="order-num u-margin-top-15 flex align-center u-padding-bottom-10 u-border-bottom">
- <u-avatar src="" size="100"></u-avatar>
- <view class="u-margin-left-20 flex-sub" style="color: #505559;">
- <view class="u-font-28">
- 评估类型:企业信用问题咨询
- </view>
- <view class="u-font-28">
- 评估用户:吴某小额贷款公司
- </view>
- </view>
- </view>
- <view class="u-margin-top-15">
- <view class="">
- 用户评价:
- </view>
- <view class="u-padding-15"
- style="width: 100%;border:2rpx solid rgba(136,136,136,.3);height: 118rpx;border-radius: 16rpx;">
- <scroll-view scroll-y="true" style="height: 100%;" show-scrollbar="true">
- <view style="color: rgba(136,136,136,.7);font-size: 22rpx;">
- 这里是用户评价这里是用户评价这里是用户评价这里是用户评价这里是用户评价这里是用户评价这里是用户评价这里是用户评价这里是用户评价这里是用户评价这里是用户评价这里是用户评价这里是用户评价这里是用户评价这里是用户评价这里是用户评价这里是用户评价这里是用户评价这里是用户评价这里是用户评价这里是用户评价这里是用户评价
- </view>
- </scroll-view>
- </view>
- </view>
- </view>
- <uni-load-more :loadingType="loadingType" :contentText="contentText" />
- <!-- <view class="cu-tabbar-height"></view> -->
- <!-- <view class="cu-tabbar-height"></view> -->
- </view>
- </template>
- <script>
- import uniLoadMore from '@/components/uni-load-more/uni-load-more.vue';
- export default {
- components:{
- uniLoadMore
- },
- data() {
- return {
- loadingType: 0,
- contentText: {
- contentdown: '上拉显示更多',
- contentrefresh: '正在加载...',
- contentnomore: '没有更多数据了'
- },
- indexPage: 1,
- listItem: []
- }
- },
- onLoad() {
- this.getEvaluateItem()
- },
- onReachBottom() {
- if (this.loadingType !== 0) {
- return;
- }
- this.loadingType = 1;
- this.getEvaluateItem();
- },
- methods: {
- async getEvaluateItem() {
- let res = await this.$u.post("manager/evaluate", {
- page: this.indexPage,
- })
- if (res.code == 200) {
- this.listItem = this.listItem.concat(res.data.data)
- this.indexPage++
- if (res.data.current_page == res.data.last_page) {
- this.loadingType = 2;
- } else {
- this.loadingType = 0;
- }
- } else {
- uni.showToast({
- icon: 'none',
- title: res.message
- });
- this.loadingType = 0;
- }
- }
- }
- }
- </script>
- <style>
- .list_item {
- padding: 20rpx;
- border-radius: 16rpx;
- box-shadow: 6rpx 6rpx 10rpx rgba(122, 122, 122, 0.2);
- background: #fff;
- }
- .order-num::after {
- border-color: #bbb;
- }
- button::after {
- display: none;
- }
- </style>
|