acdr-ui/dist/dev/mp-weixin/sheep/components/s-auth-modal/s-auth-modal.js.map

1 line
9.0 KiB
Plaintext
Raw Normal View History

2024-09-19 07:20:14 +08:00
{"version":3,"file":"s-auth-modal.js","sources":["../../../../../../src/sheep/components/s-auth-modal/s-auth-modal.vue","../../../../../../uniComponent:/RDovQXBwL1dvcmsvYWRkci9hY2RyLXVpL3NyYy9zaGVlcC9jb21wb25lbnRzL3MtYXV0aC1tb2RhbC9zLWF1dGgtbW9kYWwudnVl"],"sourcesContent":["<template>\r\n <!-- 规格弹窗 -->\r\n <su-popup :show=\"authType !== ''\" round=\"10\" :showClose=\"true\" @close=\"closeAuthModal\">\r\n <view class=\"login-wrap\">\r\n <!-- 1. 账号密码登录 accountLogin -->\r\n <account-login\r\n v-if=\"authType === 'accountLogin'\"\r\n :agreeStatus=\"state.protocol\"\r\n @onConfirm=\"onConfirm\"\r\n />\r\n\r\n <!-- 2. 短信登录 smsLogin -->\r\n <sms-login\r\n v-if=\"authType === 'smsLogin'\"\r\n :agreeStatus=\"state.protocol\"\r\n @onConfirm=\"onConfirm\"\r\n />\r\n\r\n <!-- 3. 忘记密码 resetPassword-->\r\n <reset-password v-if=\"authType === 'resetPassword'\" />\r\n\r\n <!-- 4. 绑定手机号 changeMobile -->\r\n <change-mobile v-if=\"authType === 'changeMobile'\" />\r\n\r\n <!-- 5. 修改密码 changePassword-->\r\n <changePassword v-if=\"authType === 'changePassword'\" />\r\n\r\n <!-- 6. 微信小程序授权 -->\r\n <mp-authorization v-if=\"authType === 'mpAuthorization'\" />\r\n\r\n <!-- 7. 第三方登录 -->\r\n <view\r\n v-if=\"['accountLogin', 'smsLogin'].includes(authType)\"\r\n class=\"auto-login-box ss-flex ss-flex-col ss-row-center ss-col-center\"\r\n >\r\n <!-- 7.1 微信小程序的快捷登录 -->\r\n <view v-if=\"sheep.$platform.name === 'WechatMiniProgram'\" class=\"ss-flex register-box\">\r\n <view class=\"register-title\">还没有账号?</view>\r\n <button\r\n class=\"ss-reset-button login-btn\"\r\n open-type=\"getPhoneNumber\"\r\n @getphonenumber=\"getPhoneNumber\"\r\n >\r\n 快捷登录\r\n </button>\r\n <view class=\"circle\" />\r\n </view>\r\n\r\n <!-- 7.2 微信的公众号、App、小程序的登录基于 openid + code -->\r\n <button\r\n v-if=\"\r\n ['WechatOfficialAccount', 'WechatMiniProgram', 'App'].includes(sheep.$platform.name) &&\r\n sheep.$platform.isWechatInstalled\r\n \"\r\n @tap=\"thirdLogin('wechat')\"\r\n class=\"ss-reset-button auto-login-btn\"\r\n >\r\n <image\r\n class=\"auto-login-img\"\r\n :src=\"sheep.$url.static('/static/img/shop/platform/wechat.png')\"\r\n />\r\n </button>\r\n\r\n <!-- 7.3 iOS 登录 TODO 芋艿:等后面搞 App 再弄 -->\r\n <button\r\n v-if=\"sheep.$platform.os === 'ios' && sheep.$platform.name === 'App'\"\r\n @tap=\"thirdLogin('apple')\"\r\n class=\"ss-reset-button auto-login-btn\"\r\n >\r\n <image\r\n class=\"auto-login-img\"\r\n :src=\"sheep.$url.static('/static/img/shop/platform/apple.png')\"\r\n />\r\n </button>\r\n </view>\r\n\r\n <!-- 用户协议的勾选 -->\r\n <view\r\n v-if=\"['accountLogin', 'smsLogin'].includes(authType)\"\r\n class=\"agreement-box ss-flex ss-row-center\"\r\n :class=\"{ shake: currentProtocol }\"\r\n >\r\n <label class=\"radio ss-flex ss-col-center\" @tap=\"onChange\">\r\n <radio\r\n :checked=\"state.protocol\"\r\n color=\"var(--ui-BG-Main)\"\r\n style=\"transform: scale(0.8)\"\r\n @tap.stop=\"onChange\"\r\n />\r\n <view class=\"agreement-text ss-flex ss-col-center ss-m-l-8\">\r\n 我已阅读并遵守\r\n <view class=\"tcp-text\" @tap.stop=\"onProtocol('用户协议')\">《用户协议》</view>\r\n <view class=\"agreement-text\">与</view>\r\n <view class=\"tcp-text\" @tap.stop=\"onProtocol('隐私协议')\">《隐私协议》</view>\r\n </view>\r\n