Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
J
jiedao-web-master
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
lanbaoming
jiedao-web-master
Commits
676bdd46
Commit
676bdd46
authored
Aug 19, 2024
by
chenwei
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
router for details page
parent
9410aad4
Changes
6
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
263 additions
and
155 deletions
+263
-155
jiedao.js
src/router/modules/jiedao.js
+12
-0
dict.js
src/utils/dict.js
+161
-151
detailsActivity.vue
src/views/jiedao/profile/detailsActivity.vue
+3
-0
exchangeOperate.vue
src/views/jiedao/profile/exchangeOperate.vue
+78
-0
setting.vue
src/views/jiedao/profile/setting.vue
+4
-2
my_info.vue
src/views/my_info/my_info.vue
+5
-2
No files found.
src/router/modules/jiedao.js
View file @
676bdd46
...
@@ -106,6 +106,18 @@ const jiedaoRouter = {
...
@@ -106,6 +106,18 @@ const jiedaoRouter = {
name
:
"
ExchangeLog
"
,
name
:
"
ExchangeLog
"
,
meta
:
{
title
:
"
Exchangelog
"
},
meta
:
{
title
:
"
Exchangelog
"
},
},
},
{
path
:
"
jd-exchange-operate
"
,
component
:
()
=>
import
(
"
@/views/jiedao/profile/exchangeOperate
"
),
name
:
"
ExchangeLog
"
,
meta
:
{
title
:
"
ExchangeOperate
"
},
},
{
path
:
"
jd-details-activity
"
,
component
:
()
=>
import
(
"
@/views/jiedao/profile/detailsActivity
"
),
name
:
"
DetailsActivity
"
,
meta
:
{
title
:
"
DetailsActivity
"
},
},
{
{
path
:
"
jd-customer
"
,
path
:
"
jd-customer
"
,
component
:
()
=>
import
(
"
@/views/jiedao/profile/customer
"
),
component
:
()
=>
import
(
"
@/views/jiedao/profile/customer
"
),
...
...
src/utils/dict.js
View file @
676bdd46
This diff is collapsed.
Click to expand it.
src/views/jiedao/profile/detailsActivity.vue
0 → 100644
View file @
676bdd46
<
template
>
<div
class=
"app-container"
>
details activity
</div>
</
template
>
src/views/jiedao/profile/exchangeOperate.vue
0 → 100644
View file @
676bdd46
<
template
>
<div
class=
"app-container"
>
<el-tabs
class=
"headerTab"
:stretch=
"true"
v-model=
"activeName"
>
<el-tab-pane
v-for=
"item in getDictDatas(DICT_TYPE.WAY_OF_RECEIVING)"
:name=
"item.value"
:key=
"item.value"
>
<span
slot=
"label"
>
{{
isChinese
?
item
.
label
:
item
.
labelEn
}}
</span>
<div
class=
"adressBox"
>
<i
class=
"el-icon-location-information adress-icon iconColor"
></i>
<div
class=
"adressInfo"
>
<div
class=
"adress_detail"
></div>
<div
class=
"adress_personal"
>
<span><i
class=
"el-icon-star-off"
></i>
</span>
<span></span>
</div>
</div>
<i
class=
"el-icon-arrow-right adress-icon"
></i>
</div>
<el-divider></el-divider>
<div
class=
"giftBox"
>
<div
class=
"giftImg"
>
<span></span>
<img
src=
""
alt=
""
/>
<span></span>
</div>
<div
class=
"giftText"
>
<div
class=
"title"
></div>
div.
</div>
</div>
</el-tab-pane>
</el-tabs>
</div>
</
template
>
<
script
>
import
{
getDictData
,
getDictDatas
}
from
"
@/utils/dict
"
;
export
default
{
data
()
{
return
{
activeName
:
"
1
"
,
};
},
computed
:
{
isChinese
()
{
return
this
.
$i18n
.
locale
===
"
zh_CN
"
;
},
},
methods
:
{},
};
</
script
>
<
style
lang=
"scss"
scoped
>
::v-deep
.headerTab
.el-tabs__nav-scroll
{
height
:
100px
;
background
:
#d3e6ff
;
.el-tabs__item
{
height
:
100px
;
line-height
:
100px
;
text-align
:
center
;
}
}
.adressBox
{
padding
:
0
40px
;
display
:
flex
;
flex
:
1
;
justify-content
:
space-between
;
}
.iconColor
{
color
:
#409eff
;
}
.adress-icon
{
height
:
100px
;
font-size
:
40px
;
line-height
:
100px
;
}
</
style
>
src/views/jiedao/profile/setting.vue
View file @
676bdd46
...
@@ -416,9 +416,10 @@
...
@@ -416,9 +416,10 @@
:placeholder=
"$t('notices.country')"
:placeholder=
"$t('notices.country')"
>
>
<el-option
<el-option
v-for=
"
(item, index)
in countrySelectList"
v-for=
"
item
in countrySelectList"
:label=
"language == 'zh_CN' ? item.titleZh : item.titleEn"
:label=
"language == 'zh_CN' ? item.titleZh : item.titleEn"
:value=
"item.id"
:value=
"item.id"
:key=
"item.id"
></el-option>
></el-option>
</el-select>
</el-select>
...
@@ -450,7 +451,8 @@
...
@@ -450,7 +451,8 @@
:placeholder=
"$t('notices.country')"
:placeholder=
"$t('notices.country')"
>
>
<el-option
<el-option
v-for=
"(item, index) in cityList"
v-for=
"item in cityList"
:key=
"item.id"
:label=
"language == 'zh_CN' ? item.titleZh : item.titleEn"
:label=
"language == 'zh_CN' ? item.titleZh : item.titleEn"
:value=
"item.id"
:value=
"item.id"
></el-option>
></el-option>
...
...
src/views/my_info/my_info.vue
View file @
676bdd46
...
@@ -47,6 +47,7 @@
...
@@ -47,6 +47,7 @@
>
>
<el-option
<el-option
v-for=
"(item, index) in genderData"
v-for=
"(item, index) in genderData"
:key=
"item.value"
:label=
"item.label"
:label=
"item.label"
:value=
"item.value"
:value=
"item.value"
></el-option>
></el-option>
...
@@ -85,8 +86,9 @@
...
@@ -85,8 +86,9 @@
:placeholder=
"$t('notices.country')"
:placeholder=
"$t('notices.country')"
>
>
<el-option
<el-option
v-for=
"
(item, index)
in countryList"
v-for=
"
item
in countryList"
:label=
"language == 'zh_CN' ? item.titleZh : item.titleEn"
:label=
"language == 'zh_CN' ? item.titleZh : item.titleEn"
:key=
"item.id"
:value=
"item.id"
:value=
"item.id"
></el-option>
></el-option>
</el-select>
</el-select>
...
@@ -94,7 +96,8 @@
...
@@ -94,7 +96,8 @@
<el-form-item
prop=
"city"
:label=
"$t('myInfo.city')"
>
<el-form-item
prop=
"city"
:label=
"$t('myInfo.city')"
>
<el-select
v-model=
"params.city"
:placeholder=
"$t('notices.city')"
>
<el-select
v-model=
"params.city"
:placeholder=
"$t('notices.city')"
>
<el-option
<el-option
v-for=
"(item, index) in cityList"
v-for=
"item in cityList"
:key=
"item.id"
:label=
"language == 'zh_CN' ? item.titleZh : item.titleEn"
:label=
"language == 'zh_CN' ? item.titleZh : item.titleEn"
:value=
"item.id"
:value=
"item.id"
></el-option>
></el-option>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
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 comment