Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
M
million
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
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
viitto
million
Commits
1a324dff
Commit
1a324dff
authored
Jul 08, 2020
by
黄奎
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' of
http://gitlab.oytour.com/viitto/million
parents
844ada79
65f632ac
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
257 additions
and
92 deletions
+257
-92
App.vue
src/App.vue
+1
-1
block.vue
src/components/searchdata/block.vue
+2
-2
Search.vue
src/pages/Search.vue
+232
-79
account.vue
src/pages/usercenter/account.vue
+20
-8
register.vue
src/pages/usercenter/register.vue
+2
-2
No files found.
src/App.vue
View file @
1a324dff
...
...
@@ -10,7 +10,7 @@ export default {
};
</
script
>
<
style
>
@import
url("//at.alicdn.com/t/font_1890699_
hdbdh9httvc
.css")
;
@import
url("//at.alicdn.com/t/font_1890699_
t3cp3liyfpg
.css")
;
@font-face
{
font-family
:
"oswald"
;
src
:
url("https://viitto-1301420277.cos.ap-chengdu.myqcloud.com/smallapp/Oswald-Regular.ttf")
;
...
...
src/components/searchdata/block.vue
View file @
1a324dff
<
template
>
<!-- 豆腐块 -->
<div
class=
"Search_center"
>
<ul
class=
"pd-list"
v-for=
"(item,index) in DataList"
>
<li
class=
"pd-box"
:key=
"index"
>
<ul
class=
"pd-list"
>
<li
class=
"pd-box"
v-for=
"(item,index) in DataList"
:key=
"index"
>
<a
class=
"pd-link"
>
<div
class=
"pd-img"
:style=
"
{backgroundImage:`url('${item.newCoverImg}')`}">
...
...
src/pages/Search.vue
View file @
1a324dff
This diff is collapsed.
Click to expand it.
src/pages/usercenter/account.vue
View file @
1a324dff
...
...
@@ -75,6 +75,10 @@
</div>
</div>
<div
class=
"row q-col-gutter-x-xs q-col-gutter-y-lg"
>
<div
class=
"account-group col-6"
>
<div
class=
"account_labelName"
>
手機
</div>
<q-input
outlined
v-model=
"accountMsg.Mobile"
class=
"bg-grey-1"
/>
</div>
<div
class=
"account-group col-6"
>
<div
class=
"account_labelName"
><span
class=
"regisStar"
>
*
</span>
生日
</div>
<q-input
filled
v-model=
"accountMsg.Birthday"
mask=
"date"
>
...
...
@@ -87,10 +91,6 @@
</
template
>
</q-input>
</div>
<div
class=
"account-group col-6"
>
<div
class=
"account_labelName"
>
手機
</div>
<q-input
outlined
v-model=
"accountMsg.Mobile"
class=
"bg-grey-1"
/>
</div>
</div>
<div
class=
"account-group"
>
<div
class=
"account_labelName"
>
地址
</div>
...
...
@@ -212,13 +212,19 @@
})
return
;
}
this
.
$q
.
loading
.
show
()
this
.
apipost
(
"b2b_post_SetCustomerAccountService"
,
this
.
accountMsg
,
res
=>
{
this
.
$q
.
loading
.
hide
()
if
(
res
.
data
.
resultCode
==
1
)
{
this
.
getAccountInfo
();
this
.
$q
.
notify
({
type
:
'positive'
,
message
:
'保存成功'
,
position
:
'top'
,
timeout
:
2000
,
// 以毫秒为单位; 0意味着没有超时
})
// var jsonData = JSON.stringify(res.data.data);
// window.localStorage.setItem("b2bUser", jsonData);
...
...
@@ -265,12 +271,18 @@
})
return
;
}
this
.
$q
.
loading
.
show
()
this
.
apipost
(
"b2b_post_ModifyAccountPassowrd"
,
this
.
updateMsg
,
res
=>
{
console
.
log
(
"res"
,
res
.
data
);
this
.
$q
.
loading
.
hide
()
if
(
res
.
data
.
resultCode
==
1
)
{
this
.
$q
.
notify
({
type
:
'positive'
,
message
:
'保存成功'
,
position
:
'top'
,
timeout
:
2000
,
// 以毫秒为单位; 0意味着没有超时
})
}
},
err
=>
{}
...
...
src/pages/usercenter/register.vue
View file @
1a324dff
...
...
@@ -69,11 +69,11 @@
</div>
<div
class=
"registform-group"
>
<div
class=
"login_labelName"
><span
class=
"regisStar"
>
*
</span>
設定密碼
</div>
<q-input
outlined
v-model=
"registerMsg.Password"
class=
"bg-grey-1"
/>
<q-input
outlined
v-model=
"registerMsg.Password"
type=
"password"
class=
"bg-grey-1"
/>
</div>
<div
class=
"registform-group"
>
<div
class=
"login_labelName"
><span
class=
"regisStar"
>
*
</span>
再輸入一次密碼
</div>
<q-input
outlined
v-model=
"registerMsg.SurePwd"
class=
"bg-grey-1"
/>
<q-input
outlined
v-model=
"registerMsg.SurePwd"
type=
"password"
class=
"bg-grey-1"
/>
</div>
<div
class=
"registform-group"
>
<div
class=
"login_labelName"
>
性別
</div>
...
...
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