Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
glsx
/
gl_tape
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
3
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit d61add80
authored
Apr 10, 2024
by
李伟康
Browse Files
Options
Browse Files
Tag
Download
Plain Diff
Merge branch 'v1.0.1' of
http://192.168.3.233:8090/glsx/gl_tape
into v1.0.1
2 parents
1ad52ea8
a904a0aa
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
48 additions
and
10 deletions
pages/detail/components/Media_6.vue
pages/home/home.vue
pages/informationEntry/informationEntry.vue
pages/detail/components/Media_6.vue
View file @
d61add8
...
@@ -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=
"
i
sEnd"
>
我是一个有底线的人
</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
72
rpx
;
margin
:
0
72
rpx
;
display
:
grid
;
display
:
grid
;
grid-template-columns
:
repeat
(
3
,
664
rpx
);
grid-template-columns
:
repeat
(
3
,
664
rpx
);
justify-content
:
center
;
justify-content
:
center
;
grid-gap
:
32
rpx
;
grid-gap
:
32
rpx
;
min-height
:
calc
(
100vh
-
380
rpx
);
.card-item
{
.card-item
{
margin
:
16
rpx
auto
;
margin
:
16
rpx
auto
;
padding
:
24
rpx
40
rpx
;
padding
:
24
rpx
40
rpx
;
...
@@ -218,4 +233,21 @@ export default {
...
@@ -218,4 +233,21 @@ export default {
text-align
:
center
;
text-align
:
center
;
margin
:
50
rpx
0
;
margin
:
50
rpx
0
;
}
}
.no-data
{
position
:
absolute
;
left
:
50%
;
top
:
50%
;
transform
:
translate
(
-50%
,
-50%
);
&-img
{
width
:
640
rpx
;
height
:
272
rpx
;
}
&
-text
{
font-size
:
32
rpx
;
color
:
#999999
;
text-align
:
center
;
margin-top
:
24
rpx
;
}
}
</
style
>
</
style
>
pages/home/home.vue
View file @
d61add8
...
@@ -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:2
7
* @LastEditTime: 2024-04-10
15:32:0
7
-->
-->
<
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>
...
...
pages/informationEntry/informationEntry.vue
View file @
d61add8
...
@@ -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 1
4:00:05
* @LastEditTime: 2024-04-10 1
6: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
{
...
...
Write
Preview
Markdown
is supported
Attach a file
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to post a comment