diff --git a/api/entry.js b/api/entry.js new file mode 100644 index 0000000..2c9bcc4 --- /dev/null +++ b/api/entry.js @@ -0,0 +1,41 @@ +/** + * 入驻类相关api + */ + +import { http, Method } from "@/utils/request.js"; + +// 获取当前用户的代理入驻详情 +export function getCompanyDetail(params) { + return http.request({ + url: "/store/store/apply", + method: Method.GET, + params, + }); +} + +// 申请店铺第一步-填写企业信息 +export function applyFirst(params) { + return http.request({ + url: "/store/store/apply/first", + method: Method.PUT, + params, + }); +} + +// 申请店铺第二步-填写银行 +export function applySecond(params) { + return http.request({ + url: "/store/store/apply/second", + method: Method.PUT, + params, + }); +} + +// 申请店铺第三步-填写银行 +export function applyThird(params) { + return http.request({ + url: "/store/store/apply/third", + method: Method.PUT, + params, + }); +} diff --git a/pages/mine/address/uniMap.vue b/components/uniMap.vue similarity index 100% rename from pages/mine/address/uniMap.vue rename to components/uniMap.vue diff --git a/pages.json b/pages.json index 21dc83e..c4a68d0 100644 --- a/pages.json +++ b/pages.json @@ -483,6 +483,21 @@ } } }, + + { + "path": "entry/seller/index", + "style": { + "navigationBarTitleText": "店铺入驻", + "navigationStyle": "custom" + } + }, + { + "path": "entry/seller/control", + "style": { + "navigationBarTitleText": "", + "navigationStyle": "custom" + } + }, { "path": "article", "style": { diff --git a/pages/mine/address/add.vue b/pages/mine/address/add.vue index a491dc4..bd33c57 100644 --- a/pages/mine/address/add.vue +++ b/pages/mine/address/add.vue @@ -40,7 +40,7 @@ + + diff --git a/pages/passport/entry/seller/entry.scss b/pages/passport/entry/seller/entry.scss new file mode 100644 index 0000000..01d8c6c --- /dev/null +++ b/pages/passport/entry/seller/entry.scss @@ -0,0 +1,18 @@ +.flag-title { + font-size: 42rpx; + font-weight: bold; +} +.submit, +.notice { + font-weight: bold; + font-size: 28rpx; + + height: 92rpx; + text-align: center; + letter-spacing: 4rpx; + line-height: 92rpx; + border-radius: 20rpx; +} +.wrapper { + padding:16rpx; +} \ No newline at end of file diff --git a/pages/passport/entry/seller/index.vue b/pages/passport/entry/seller/index.vue new file mode 100644 index 0000000..a8d549e --- /dev/null +++ b/pages/passport/entry/seller/index.vue @@ -0,0 +1,162 @@ + + + + + diff --git a/pages/passport/entry/seller/step1.vue b/pages/passport/entry/seller/step1.vue new file mode 100644 index 0000000..e2392a2 --- /dev/null +++ b/pages/passport/entry/seller/step1.vue @@ -0,0 +1,392 @@ + + + + + diff --git a/pages/passport/entry/seller/step2.vue b/pages/passport/entry/seller/step2.vue new file mode 100644 index 0000000..65ccc9c --- /dev/null +++ b/pages/passport/entry/seller/step2.vue @@ -0,0 +1,144 @@ + + + + + diff --git a/pages/passport/entry/seller/step3.vue b/pages/passport/entry/seller/step3.vue new file mode 100644 index 0000000..adf6149 --- /dev/null +++ b/pages/passport/entry/seller/step3.vue @@ -0,0 +1,369 @@ + + + + + diff --git a/pages/passport/wechatMPLogin.vue b/pages/passport/wechatMPLogin.vue index 0d26346..b58c991 100644 --- a/pages/passport/wechatMPLogin.vue +++ b/pages/passport/wechatMPLogin.vue @@ -232,14 +232,14 @@ text.shop { width: 92%; margin: 0 auto 40rpx; border-radius: 100px; - animation: mymove 5s infinite; - -webkit-animation: mymove 5s infinite; /*Safari and Chrome*/ - animation-direction: alternate; /*轮流反向播放动画。*/ - animation-timing-function: ease-in-out; /*动画的速度曲线*/ - /* Safari 和 Chrome */ - -webkit-animation: mymove 5s infinite; - -webkit-animation-direction: alternate; /*轮流反向播放动画。*/ - -webkit-animation-timing-function: ease-in-out; /*动画的速度曲线*/ + // animation: mymove 5s infinite; + // -webkit-animation: mymove 5s infinite; /*Safari and Chrome*/ + // animation-direction: alternate; /*轮流反向播放动画。*/ + // animation-timing-function: ease-in-out; /*动画的速度曲线*/ + // /* Safari 和 Chrome */ + // -webkit-animation: mymove 5s infinite; + // -webkit-animation-direction: alternate; /*轮流反向播放动画。*/ + // -webkit-animation-timing-function: ease-in-out; /*动画的速度曲线*/ } .btn-callback { text-align: center; diff --git a/utils/RegExp.js b/utils/RegExp.js index 3afaced..9ee1537 100644 --- a/utils/RegExp.js +++ b/utils/RegExp.js @@ -44,4 +44,8 @@ export const URL = /^(https?|ftp):\/\/([a-zA-Z0-9.-]+(:[a-zA-Z0-9.&%$-]+)*@)*((25[0-5]|2[0-4][0-9]|1[0-9]{2}|[1-9][0-9]?)(\.(25[0-5]|2[0-4][0-9]|1[0-9]{2}|[1-9]?[0-9])){3}|([a-zA-Z0-9-]+\.)*[a-zA-Z0-9-]+\.(com|edu|gov|int|mil|net|org|biz|arpa|info|name|pro|aero|coop|museum|[a-zA-Z]{2}))(:[0-9]+)*(\/($|[a-zA-Z0-9.,?'\\+&%$#=~_-]+))*$/ // 固话 -export const TEL = /0\d{2,3}-\d{7,8}/ +export const TEL = /0\d{2,3}-\d{7,8}/ + + +// 营业执照号 +export const licenseNum = /(^(?:(?![IOZSV])[\dA-Z]){2}\d{6}(?:(?![IOZSV])[\dA-Z]){10}$)|(^\d{15}$)/; diff --git a/utils/filters.js b/utils/filters.js index bb75189..63996ab 100644 --- a/utils/filters.js +++ b/utils/filters.js @@ -454,6 +454,10 @@ export function navigateToLogin (type = "navigateTo") { * 微信小程序跳转到微信小程序登录页面 * H5/App跳转到普通登录页面 */ + uni[type]({ + url: "/pages/passport/login", + }); + return // #ifdef MP-WEIXIN uni[type]({ url: "/pages/passport/wechatMPLogin",