Commit 92f39003 authored by Xuguangxing's avatar Xuguangxing

fix

parent f79fe5cf
......@@ -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;
}
......
......@@ -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>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment