Commit d61add80 by 李伟康

Merge branch 'v1.0.1' of http://192.168.3.233:8090/glsx/gl_tape into v1.0.1

2 parents 1ad52ea8 a904a0aa
......@@ -9,8 +9,7 @@
<Tabs :list="list" @tabclick="tabclick" />
</template>
<view class="card-list">
<!-- <uni-grid :column="3" :show-border="false" :square="false">
<uni-grid-item v-for="item in historyList" :key="item.id"> -->
<template v-if="historyList.length > 0">
<view class="card-item" v-for="item in historyList" :key="item.id">
<view class="name">{{ nameHide(item.customerName) }}</view>
<view class="goods-name">{{ item.goodsName }}</view>
......@@ -37,10 +36,24 @@
><view class="price">¥{{ item.equityPrice }}</view></view
>
</view>
</template>
<template>
<view class="no-data">
<glsx-image
class="no-data-img"
src="media/no-data.png"
mode="scaleToFill"
/>
<view class="no-data-text">暂无数据</view>
</view>
</template>
<!-- <uni-grid :column="3" :show-border="false" :square="false">
<uni-grid-item v-for="item in historyList" :key="item.id"> -->
<!-- </uni-grid-item>
</uni-grid> -->
</view>
<view class="end-text" v-if="isEnd">我是一个有底线的人</view>
<view class="end-text" v-if="historyList.length > 0 && sEnd">我是一个有底线的人</view>
</view>
</view>
</template>
......@@ -167,11 +180,13 @@ export default {
text-align: center;
}
.card-list {
position: relative;
margin: 0 72rpx;
display: grid;
grid-template-columns: repeat(3, 664rpx);
justify-content: center;
grid-gap: 32rpx;
min-height: calc(100vh - 380rpx);
.card-item {
margin: 16rpx auto;
padding: 24rpx 40rpx;
......@@ -218,4 +233,21 @@ export default {
text-align: center;
margin: 50rpx 0;
}
.no-data {
position: absolute;
left: 50%;
top: 50%;
transform: translate(-50%, -50%);
&-img {
width: 640rpx;
height: 272rpx;
}
&-text {
font-size: 32rpx;
color: #999999;
text-align: center;
margin-top: 24rpx;
}
}
</style>
......@@ -3,7 +3,7 @@
* @Author: huyue
* @Date: 2024-04-07 14:39:40
* @LastEditors: huyue
* @LastEditTime: 2024-04-10 09:38:27
* @LastEditTime: 2024-04-10 15:32:07
-->
<template>
<view class="container" @click="handleTouchStart()">
......@@ -65,6 +65,7 @@
ref="previewRef"
@cancel="cancel"
@confirm="preview"
:popupW="704"
content="直接点击素材可进行预览,若面向车辆主展示,请点击页面下方的「开始接待」"
confirmBtnText="预览素材"
></MessageBox>
......
......@@ -3,7 +3,7 @@
* @Author: huyue
* @Date: 2024-04-07 14:54:28
* @LastEditors: huyue
* @LastEditTime: 2024-04-10 14:00:05
* @LastEditTime: 2024-04-10 16:22:38
-->
<template>
<view class="information-entry">
......@@ -20,15 +20,20 @@
<image
class="img"
:src="item.imgUrl"
mode="top"
mode="aspectFill"
@click="preview(index)"
/>
<uni-icons
<glsx-image
class="upload-close"
src="detail/icon-close.png"
mode="scaleToFill"
/>
<!-- <uni-icons
class="upload-close"
type="clear"
:size="20"
@click="close(index)"
></uni-icons>
></uni-icons> -->
</view>
<view v-else class="icon" @tap="choose(index)">
<image
......@@ -429,9 +434,9 @@ export default {
// display: flex;
// align-items: center;
// justify-content: center;
// background-color: #3D3D3D;
// background-color: #fff;
// border-radius: 50%;
// color: #fff;
// padding: 0;
}
}
.information-title {
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!