yujialong 3 months ago
parent c65b5b8314
commit b10ac742a8
  1. 2
      course/courseDetail/courseDetail.vue
  2. 2
      user/email/email.vue
  3. 6
      user/phone/phone.vue

@ -33,6 +33,8 @@
<cover-image v-else-if="section.fileType === 'mp4'" class="ext" src="https://eduvessel.com/images/occupationlab/exts/video.png" alt="" mode="widthFix" />
<cover-image v-else-if="section.fileType === 'doc' || section.fileType === 'docx'" class="ext"
src="https://eduvessel.com/images/occupationlab/exts/word.png" alt="" mode="widthFix" />
<cover-image v-else-if="section.fileType === 'xlsx' || section.fileType === 'xls'" class="ext"
src="https://eduvessel.com/images/occupationlab/exts/excel.png" alt="" />
<cover-image v-else-if="section.fileType === 'txt'" class="ext" src="https://eduvessel.com/images/occupationlab/exts/txt.png" alt="" mode="widthFix" />
<cover-image v-else-if="section.fileType === 'pdf'" class="ext" src="https://eduvessel.com/images/occupationlab/exts/pdf.png" alt="" mode="widthFix" />
<cover-image v-else class="ext" src="https://eduvessel.com/images/occupationlab/exts/pic.png" alt="" mode="widthFix" />

@ -2,7 +2,7 @@
<view class="page">
<view class="line">
<view class="label">邮箱</view>
<input type="text" v-model.trim="form.email" placeholder="请填写你的邮箱" />
<input type="text" v-model.trim="form.email" placeholder="请填写你要绑定的邮箱" />
</view>
<view class="line code-wrap not-bd">
<view class="label">验证码</view>

@ -1,8 +1,8 @@
<template>
<view class="page">
<view class="line">
<view class="label">手机号</view>
<input type="number" v-model.trim="form.phone" placeholder="请填写手机号" maxlength="11" />
<view class="label">手机号</view>
<input type="number" v-model.trim="form.phone" placeholder="请填写你要绑定的手机号" maxlength="11" />
</view>
<view class="line code-wrap not-bd">
<view class="label">验证码</view>
@ -36,7 +36,7 @@
//
sendCode() {
const { phone } = this.form
if (!phone) return this.$util.errMsg('请输入手机号')
if (!phone) return this.$util.errMsg('请输入手机号')
if (!/^1[3456789]\d{9}$/.test(phone) && !/^([a-zA-Z]|[0-9])(\w|\-)+@[a-zA-Z0-9]+\.([a-zA-Z]{2,4})$/.test(phone)) return this.$util.errMsg('请输入正确的手机号')
//
sendPhoneOrEmailCode({

Loading…
Cancel
Save