Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
G
group-buy-ui
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
ui
group-buy-ui
Commits
92f39003
Commit
92f39003
authored
Oct 01, 2021
by
Xuguangxing
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix
parent
f79fe5cf
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
2 deletions
+4
-2
addressManage.vue
src/views/address/addressManage.vue
+3
-1
index.vue
src/views/goodsDetail/index.vue
+1
-1
No files found.
src/views/address/addressManage.vue
View file @
92f39003
...
...
@@ -13,6 +13,8 @@
v-model=
"address.receiverPhoneNo"
class=
"address-input"
name=
"手机号码"
type=
"tel"
max-length=
"11"
label=
"手机号码"
placeholder=
"请输入收货人手机号码"
/>
...
...
@@ -124,7 +126,7 @@ export default {
this
.
$toast
(
'
请填写收货人姓名
'
);
return
;
}
if
(
!
/
(
^1
[
3|4|5|7|8
][
0-9
]{9}
$
)
/
.
test
(
data
.
receiverPhoneNo
))
{
if
(
!
/
^
[
1
][
0-9
]{10}
$
/
.
test
(
data
.
receiverPhoneNo
))
{
this
.
$toast
(
'
请输入正确的手机号码
'
);
return
;
}
...
...
src/views/goodsDetail/index.vue
View file @
92f39003
...
...
@@ -14,7 +14,7 @@
<div
class=
"goods-carousel"
>
<cr-swipe
class=
"goods-swiper"
@
change=
"onChange"
>
<cr-swipe-item
v-for=
"(item, index) in imgList"
:key=
"index"
class=
"goods-carousel-item"
>
<img
:src=
"item
| Img2Thumb
"
style=
"width: 100%"
/>
<img
:src=
"item"
style=
"width: 100%"
/>
</cr-swipe-item>
<template
#indicator
>
<div
class=
"custom-indicator"
>
{{
swiperCurrent
+
1
}}
/
{{
imgList
.
length
}}
</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