Skip to content
项目
群组
代码片段
帮助
正在加载...
帮助
Support
提交反馈
为 GitLab 提交贡献
登录/注册
切换导航
M
mcep-h5
项目
项目
详情
动态
版本
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
计划
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
统计图
创建新议题
作业
提交
议题看板
打开侧边栏
jiangzaicheng
mcep-h5
提交
447e6c8e
提交
447e6c8e
编写于
7月 25, 2022
作者:
donghuawangliang0612
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
兑换记录,合作企业页面开发
上级
460e46a9
变更
9
隐藏空白字符变更
内嵌
并排
正在显示
9 个修改的文件
包含
266 行增加
和
9 行删除
+266
-9
qyimage.png
src/assets/images/qyimage.png
+0
-0
Tatle.vue
src/components/common/Tatle.vue
+2
-1
index.ts
src/router/index.ts
+1
-0
workbench.routing.ts
src/router/workbench.routing.ts
+15
-3
component-vue.service.ts
src/services/component-vue.service.ts
+4
-3
MyPage.vue
src/views/MyView/MyPage.vue
+12
-2
CompanyCard.vue
src/views/workbench/CompanyCard.vue
+83
-0
CooperationBusiness.vue
src/views/workbench/CooperationBusiness.vue
+39
-0
ExchangeRecord.vue
src/views/workbench/ExchangeRecord.vue
+110
-0
未找到文件。
src/assets/images/qyimage.png
0 → 100644
浏览文件 @
447e6c8e
320.7 KB
src/components/common/Tatle.vue
浏览文件 @
447e6c8e
...
...
@@ -13,7 +13,8 @@
<van-row
>
<van-col
span=
"9"
v-if=
"tatleflag"
><van-icon
name=
"arrow-left"
@
click=
"retyen()"
/></van-col>
<van-col
span=
"15"
>
{{
tatle
}}
</van-col>
</van-row>
<slot></slot>
</van-row>
</div>
</
template
>
...
...
src/router/index.ts
浏览文件 @
447e6c8e
...
...
@@ -31,6 +31,7 @@ const routes: Array<RouteConfig> = [
{
path
:
"
/login
"
,
component
:
()
=>
import
(
/* webpackChunkName: "login" */
"
@/views/authentication/LoginView.vue
"
),
//component: () => import(/* webpackChunkName: "login" */ "@/components/common/Tool.vue"),
meta
:
{
keepAlive
:
true
,
requiresAuth
:
true
},
},
//...mainRoutes,
...
...
src/router/workbench.routing.ts
浏览文件 @
447e6c8e
...
...
@@ -24,8 +24,20 @@ const workbenchRoutes = [
component
:
()
=>
import
(
/* webpackChunkName: "customer-mgt" */
"
@/views/workbench/Accommodation.vue
"
),
props
:
propsConvert
,
meta
:
{
keepAlive
:
false
,
requiresAuth
:
true
,
name
:
"
贷款信息
"
},
}
},
{
path
:
`/CooperationBusiness`
,
name
:
'
CooperationBusiness
'
,
component
:
()
=>
import
(
/* webpackChunkName: "customer-mgt" */
"
@/views/workbench/CooperationBusiness.vue
"
),
props
:
propsConvert
,
meta
:
{
keepAlive
:
false
,
requiresAuth
:
true
,
name
:
"
合作企业
"
},
},
{
path
:
`/ExchangeRecord`
,
name
:
'
ExchangeRecord
'
,
component
:
()
=>
import
(
/* webpackChunkName: "customer-mgt" */
"
@/views/workbench/ExchangeRecord.vue
"
),
props
:
propsConvert
,
meta
:
{
keepAlive
:
false
,
requiresAuth
:
true
,
name
:
"
兑换记录
"
},
},
];
export
default
workbenchRoutes
;
src/services/component-vue.service.ts
浏览文件 @
447e6c8e
...
...
@@ -32,10 +32,11 @@ import CardUnLogin from "@/components/common/CardUnLogin.vue";
import
ProductDetail
from
"
@/components/common/ProductDetail.vue
"
;
import
PicketAcced
from
"
@/components/common/PicketAcced.vue
"
;
import
ProductCard
from
"
@/components/common/ProductCard.vue
"
;
import
CompanyCard
from
"
@/views/workbench/CompanyCard.vue
"
;
ProductCard
//
ProductCard
declare
module
"
vue/types/vue
"
{
interface
Vue
{
$message
:
any
;
...
...
@@ -99,7 +100,7 @@ class ComponentVueService {
Vue
.
component
(
"
base-list
"
,
BaseList
);
Vue
.
component
(
"
anchor-nav
"
,
AnchorNav
);
Vue
.
component
(
"
tatle-bar
"
,
Tatle
);
Vue
.
component
(
"
picket-bar
"
,
picket
);
Tool
Vue
.
component
(
"
picket-bar
"
,
picket
);
Vue
.
component
(
"
tools-bar
"
,
Tool
);
Vue
.
component
(
"
bottom-bar
"
,
Bottom
);
Vue
.
component
(
"
person-bar
"
,
Person
);
...
...
@@ -109,7 +110,7 @@ class ComponentVueService {
Vue
.
component
(
"
product-detail
"
,
ProductDetail
);
Vue
.
component
(
"
product-card
"
,
ProductCard
);
Vue
.
component
(
"
picket-acced
"
,
PicketAcced
);
Vue
.
component
(
"
company-card
"
,
CompanyCard
);
}
}
const
componentService
=
new
ComponentVueService
();
...
...
src/views/MyView/MyPage.vue
浏览文件 @
447e6c8e
...
...
@@ -66,12 +66,14 @@ export default class MyPage extends Vue {
{
productname
:
"
兑换记录
"
,
//图片信息
img
:
"
#icon-a-duihuanjilu16x16px
"
img
:
"
#icon-a-duihuanjilu16x16px
"
,
flag
:
"
ExchangeRecord
"
,
},
{
productname
:
"
合作企业
"
,
//图片信息
img
:
"
#icon-a-hezuoqiye16x16px
"
img
:
"
#icon-a-hezuoqiye16x16px
"
,
flag
:
"
CooperationBusiness
"
,
}]
//点击事件
...
...
@@ -87,6 +89,14 @@ export default class MyPage extends Vue {
name
:
"
Accommodation
"
//参数
})
}
else
if
(
item
.
flag
===
"
ExchangeRecord
"
)
{
this
.
$router
.
push
({
name
:
"
ExchangeRecord
"
})
}
else
if
(
item
.
flag
===
"
CooperationBusiness
"
)
{
this
.
$router
.
push
({
name
:
"
CooperationBusiness
"
})
}
}
}
...
...
src/views/workbench/CompanyCard.vue
0 → 100644
浏览文件 @
447e6c8e
<
template
>
<div
class=
"d-page backage-color-body"
>
<scroller-view>
<div
class=
"roolsolt"
v-for=
"(item , index) in params"
:key=
"index"
>
<div
class=
"body"
>
<van-row
type=
"flex"
class=
"title"
>
<van-col
span=
"24"
style=
"margin-top: 10px;"
>
{{
item
.
title
}}
</van-col>
</van-row>
<div
class=
"d-flex mb-3 "
>
<div
class=
"p-2 "
>
<img
:src =
"item.image"
style=
"width: 100px;height: 100px;"
/>
</div>
<div
class=
"p-2 "
>
<div
class=
"d-flex flex-column"
>
<div
class=
"p-2 "
><span
style=
"color: #666666;"
>
合作企业:
</span><span>
{{
item
.
commpay
}}
</span></div>
<div
class=
"p-2 "
><span
style=
"color: #666666;"
>
联系电话:
</span><span>
{{
item
.
phone
}}
</span></div>
</div>
</div>
</div>
</div>
</div>
</scroller-view>
</div>
</
template
>
<
script
lang=
"ts"
>
/*export default {
name: "CompanyCard"
}*/
import
{
Component
,
Prop
,
Vue
}
from
"
vue-property-decorator
"
;
import
{
ProductData
}
from
'
@/model/entity/ProductData
'
@
Component
({
name
:
"
CompanyCard
"
,
})
export
default
class
CompanyCard
extends
Vue
{
@
Prop
({
default
:
""
})
params
:
any
|
[];
image
:
any
=
require
(
'
@/assets/images/qyimage.png
'
);
}
</
script
>
<
style
scoped
lang=
"scss"
>
.roolsolt
{
width
:
96%
;
margin
:
-4%
auto
;
}
.title
{
font-size
:
25px
;
text-align
:
left
;
font-family
:
'Arial Normal'
,
'Arial'
,
sans-serif
;
font-weight
:
bold
;
font-style
:
inherit
;
color
:
black
;
margin-left
:
2%
;
margin-top
:
6%
;
}
.mumMoney
{
margin
:
5%
auto
;
}
.backage-color-body
{
background-color
:
#e4e7ed
;
}
.body
{
width
:
100%
;
height
:
100%
;
background-color
:
#ffffff
;
border-radius
:
6px
;
}
.moneytitle
{
color
:
#FFA121
;
text-align
:
left
;
font-size
:
14px
;
font-family
:
'Arial Normal'
,
'Arial'
,
sans-serif
;
font-style
:
normal
;
margin-top
:
5%
;
}
</
style
>
src/views/workbench/CooperationBusiness.vue
0 → 100644
浏览文件 @
447e6c8e
<
template
>
<div
class=
"body d-page"
>
<div
class=
"rarle"
>
<tatle-bar
:tatle=
"tatleName"
></tatle-bar>
</div>
<div>
<company-card
:params=
"params"
></company-card>
</div>
</div>
</
template
>
<
script
lang=
"ts"
>
import
{
Component
,
Vue
}
from
"
vue-property-decorator
"
;
@
Component
({
name
:
"
CooperationBusiness
"
,
components
:
{
},
})
export
default
class
CooperationBusiness
extends
Vue
{
tatleName
=
"
合作企业
"
;
params
:
any
=
[
{
title
:
"
上海滑索
"
,
image
:
require
(
'
@/assets/images/qyimage.png
'
),
commpay
:
"
上海市松江区华硕大道330号
"
,
phone
:
"
15879213419
"
},
{
title
:
"
黑龙江中泰
"
,
image
:
require
(
'
@/assets/images/qyimage.png
'
),
commpay
:
"
上海市松江区华硕大道330号
"
,
phone
:
"
15879213419
"
},
{
title
:
"
黑龙江华夏
"
,
image
:
require
(
'
@/assets/images/qyimage.png
'
),
commpay
:
"
上海市松江区华硕大道330号
"
,
phone
:
"
15879213419
"
},
{
title
:
"
黑龙江深重集团
"
,
image
:
require
(
'
@/assets/images/qyimage.png
'
),
commpay
:
"
上海市松江区华硕大道330号
"
,
phone
:
"
15879213419
"
},
];
}
</
script
>
<
style
scoped
>
.body
{
width
:
100%
;
height
:
100%
;
background-color
:
#ebeef5
;
}
</
style
>
src/views/workbench/ExchangeRecord.vue
0 → 100644
浏览文件 @
447e6c8e
<
template
>
<div>
<div
class=
"rarle"
>
<!--上部分-->
<div
style=
"width:100%;height: calc(35vh);background: linear-gradient(90deg, #76befa 0%, #3672f1 99%);"
>
<tatle-bar
:tatle=
"titleName"
:tatleflag=
"titleflag"
>
<van-col
span=
"15"
class=
"jfNumber"
>
2134
</van-col>
</tatle-bar>
</div>
<!--下部分-->
<div
style=
"width:100%;height: calc(100vh);background-color: #ebeef5;"
>
<van-tabs
v-model:active=
"active"
class=
"tab"
>
<van-tab
title=
"积分收支明细"
>
<!--按钮部分-->
<!--
<van-row>
<van-col
span=
"8"
>
全部
</van-col>
<van-col
span=
"8"
>
已获取
</van-col>
<van-col
span=
"8"
>
已消耗
</van-col>
</van-row>
-->
<van-row
gutter=
"20"
class=
"brn-DIV"
>
<van-col
span=
"8"
>
全部
</van-col>
<van-col
span=
"8"
>
已获取
</van-col>
<van-col
span=
"8"
>
已消耗
</van-col>
</van-row>
<van-row
class=
"ms-style"
>
<van-col
span=
"8"
style=
"width: 90%;background-color: #ffffff;text-align: revert;"
>
本月获取积分3842 已消耗3400
</van-col>
</van-row>
<div
style=
"width: 100%;height: 100%;"
>
<van-row>
<van-col
span=
"4"
>
存款积分奖励
</van-col>
<van-col
span=
"10"
offset=
"4"
>
3211
</van-col>
</van-row>
<van-row>
<van-col
span=
"4"
style=
"margin-left: 6%;"
>
2022-07-24 15:38
</van-col>
</van-row>
</div>
<div
style=
"width: 100%;height:1px;border: 1px solid #f5f2f0;"
></div>
</van-tab>
<van-tab
title=
"积分兑换记录"
>
<div>
</div>
</van-tab>
</van-tabs>
</div>
</div>
</div>
</
template
>
<
script
lang=
"ts"
>
import
{
Component
,
Vue
}
from
"
vue-property-decorator
"
;
@
Component
({
name
:
"
ExchangeRecord
"
,
})
export
default
class
ExchangeRecord
extends
Vue
{
titleName
=
"
积分收支明细
"
;
titleflag
=
true
;
}
</
script
>
<
style
scoped
lang=
"scss"
>
.body
{
width
:
96%
;
background-color
:
#02a7f0
;
border-radius
:
6px
;
margin-left
:
2%
;
z-index
:
10
;
}
.jfNumber
{
font-size
:
24px
;
color
:
#ffffff
;
font-weight
:
900
;
margin-left
:
2%
;
margin-top
:
18%
;
}
.tab
{
position
:
fixed
;
top
:
24vh
;
left
:
auto
;
left
:
2%
;
width
:
96%
;
height
:
100%
;
/* border-radius: 108px; */
margin
:
0px
auto
;
text-align
:
center
;
background-color
:
#ffffff
;
}
.van-col--8
{
width
:
20%
;
margin-top
:
10px
;
background-color
:
#1989fa
;
/* border: 1px solid;*/
margin
:
7px
;
border-radius
:
5px
;
text-align
:
center
;
}
.ms-style
{
width
:
90%
;
text-align
:
initial
;
background-color
:
#ffffff
;
}
.van-col--4
{
width
:
40%
;
}
</
style
>
编辑
预览
Markdown
格式
0%
请重试
or
添加新附件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
先完成此消息的编辑!
取消
想要评论请
注册
或
登录