Skip to content
项目
群组
代码片段
帮助
正在加载...
帮助
为 GitLab 提交贡献
登录
切换导航
S
shop-new
项目
项目
详情
活动
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
分枝图
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
计划
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
分枝图
统计图
创建新议题
作业
提交
议题看板
打开侧边栏
王天霸
shop-new
Commits
40d393ed
提交
40d393ed
authored
3月 10, 2022
作者:
yuanyufei
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
统计图表格图标的显示
上级
5a54b655
隐藏空白字符变更
内嵌
并排
正在显示
5 个修改的文件
包含
58 行增加
和
13 行删除
+58
-13
all-shop1.png
src/assets/image/all-shop1.png
+0
-0
blaimg.png
src/assets/image/blaimg.png
+0
-0
yelimg.png
src/assets/image/yelimg.png
+0
-0
index.vue
src/views/index.vue
+54
-8
index.vue
src/views/system/order/index.vue
+4
-5
没有找到文件。
src/assets/image/all-shop1.png
0 → 100644
浏览文件 @
40d393ed
614 Bytes
src/assets/image/blaimg.png
0 → 100644
浏览文件 @
40d393ed
467 Bytes
src/assets/image/yelimg.png
0 → 100644
浏览文件 @
40d393ed
558 Bytes
src/views/index.vue
浏览文件 @
40d393ed
...
...
@@ -276,28 +276,45 @@
type=
"index"
label=
"排名"
align=
"center"
width=
"200"
>
width=
"300"
>
<template
slot-scope=
"scope"
>
<div
:class=
"scope.$index==0?'foot-index':'foot-indexone'"
>
<img
src=
"@/assets/image/yelimg.png"
alt=
""
v-if=
"(scope.$index==0)"
>
<img
src=
"@/assets/image/blaimg.png"
alt=
""
v-if=
"(scope.$index!==0)"
>
<span
class=
"foot-table-text"
>
{{
scope
.
$index
+
1
}}
</span>
</div>
</
template
>
</el-table-column>
<el-table-column
prop=
"category_name"
label=
"品类"
align=
"center"
align=
"left"
width=
"250"
>
<!--
<template
slot-scope=
"scope"
>
<img
src=
"@/assets/image/all-shop.png"
alt=
""
>
</
template
>
-->
</el-table-column>
<el-table-column
prop=
"num"
label=
"商品总数"
align=
"center"
>
width=
'300'
>
<
template
slot-scope=
"scope"
>
<div
class=
"foot-table"
>
<img
src=
"@/assets/image/all-shop.png"
alt=
""
class=
"foot-table-img"
>
<span
class=
"foot-table-text"
>
{{
scope
.
row
.
num
}}
</span>
</div>
</
template
>
</el-table-column>
<el-table-column
prop=
"sale"
align=
"center"
label=
"交易量"
>
<
template
slot-scope=
"scope"
>
<div
class=
"foot-table"
>
<img
src=
"@/assets/image/all-shop1.png"
alt=
""
class=
"foot-table-imgone"
>
<span
class=
"foot-table-text"
>
{{
scope
.
row
.
sale
}}
</span>
</div>
</
template
>
</el-table-column>
<!-- <el-table-column
prop="category_id"
...
...
@@ -427,7 +444,7 @@
},
//跳转到订单列表
goovertime
(){
this
.
$router
.
push
({
path
:
'/system/order/index'
,
query
:{
userId
:
123
}})
this
.
$router
.
push
({
path
:
'/system/order/index'
,
query
:{
timeout
:
24
}})
},
//获取默认数据
async
GetDefaultData
(){
...
...
@@ -517,7 +534,7 @@
//修改表格样式
changeCellStyle
(
row
,
column
,
rowIndex
,
columnIndex
){
if
(
row
.
column
.
label
===
'品类'
){
return
'color: #000000;font:
400 14px AlibabaPuHuiTi-Regular
'
return
'color: #000000;font:
500 14px AlibabaPuHuiTi-Regular;margin-left:50px;
'
}
else
{
return
''
}
...
...
@@ -804,11 +821,40 @@
display
:
inline-block
;
margin-left
:
15px
;
}
.foot-table-img
{
position
:
absolute
;
vertical-align
:
middle
;
left
:
36%
;
top
:
14%
;
}
.foot-table-imgone
{
position
:
absolute
;
vertical-align
:
middle
;
left
:
41%
;
top
:
14%
;
}
.foot-table
{
position
:
relative
;
}
.dia-text
{
text-align
:
center
;
font
:
600
24px
FZZhengHeiS-B-GB
;
color
:
#000000
;
}
.foot-index
{
margin
:
auto
;
width
:
48px
;
height
:
19px
;
background
:
#FEEEE5
;
border-radius
:
10px
;
}
.foot-indexone
{
margin
:
auto
;
width
:
48px
;
height
:
19px
;
background
:
#F5F7FA
;
border-radius
:
10px
;
}
ul
,
li
{
padding
:
0
;
margin
:
0
;
...
...
src/views/system/order/index.vue
浏览文件 @
40d393ed
...
...
@@ -598,16 +598,16 @@
},
// 获取订单列表
getListOrder
()
{
console
.
log
(
this
.
$route
,
'看看路由跳的是哪个?'
)
this
.
tableDataList
=
[]
let
params
=
{
page
:
this
.
currentPage
,
limit
:
this
.
pageSize
,
seller_id
:
this
.
sellerId
,
status
:
this
.
goodsStatus
,
// is_time_out:true
}
if
(
this
.
$route
.
query
.
timeout
==
24
){
params
.
is_time_out
=
true
}
if
(
this
.
form
.
order_sn
!=
''
)
{
params
[
'order_sn'
]
=
this
.
form
.
order_sn
}
...
...
@@ -642,7 +642,6 @@
params
[
'send_start_time'
]
=
new
Date
(
this
.
form
.
sendTime
[
0
]).
getTime
()
/
1000
;
params
[
'send_end_time'
]
=
new
Date
(
this
.
form
.
sendTime
[
1
]).
getTime
()
/
1000
;
}
listOrder
(
params
).
then
(
res
=>
{
if
(
res
.
code
==
1
)
{
// 获取 订单 状态对应数量
...
...
@@ -962,7 +961,7 @@
// }
//
// },
}
}
,
};
</
script
>
...
...
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论