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