登录弹窗

This commit is contained in:
18631081161 2025-10-14 19:55:41 +08:00
parent ddb5369a26
commit f0286d54cb

View File

@ -10,7 +10,7 @@
<u-image width="48rpx" height="48rpx" :src="shopLogo"></u-image> <u-image width="48rpx" height="48rpx" :src="shopLogo"></u-image>
</view> </view>
<text class="shopName"> <text class="shopName">
{{ shopName || '用户登录' }} 用户登录
</text> </text>
</view> </view>
<view class="title3">请输入您的账号密码</view> <view class="title3">请输入您的账号密码</view>
@ -52,14 +52,23 @@
</template> </template>
<script> <script>
/** /**
* 登录提示页 * 登录提示页
* @property {Boolean} value=showLoginTip - 由v-model控制显示隐藏 * @property {Boolean} value=showLoginTip - 由v-model控制显示隐藏
* @property {Boolean} forceOauth - 小程序端特制的全屏登录提示 * @property {Boolean} forceOauth - 小程序端特制的全屏登录提示
*/ */
import { mapMutations, mapActions, mapState } from 'vuex'; import {
import { goods, articles, commonUse, tools } from '@/common/mixins/mixinsHelper.js' mapMutations,
export default { mapActions,
mapState
} from 'vuex';
import {
goods,
articles,
commonUse,
tools
} from '@/common/mixins/mixinsHelper.js'
export default {
mixins: [goods, articles, commonUse, tools], mixins: [goods, articles, commonUse, tools],
name: 'coreshopLoginModal', name: 'coreshopLoginModal',
components: {}, components: {},
@ -133,7 +142,7 @@ export default {
doToken() { doToken() {
const _this = this const _this = this
console.log("重新获取用户数据"); console.log("重新获取用户数据");
_this.getCode(function (code) { _this.getCode(function(code) {
var data = { var data = {
code: code code: code
} }
@ -256,11 +265,11 @@ export default {
}); });
} }
} }
}; };
</script> </script>
<style lang="scss"> <style lang="scss">
.modal-box { .modal-box {
width: 610rpx; width: 610rpx;
border-radius: 20rpx; border-radius: 20rpx;
background: #fff; background: #fff;
@ -325,9 +334,9 @@ export default {
margin-bottom: 30rpx; margin-bottom: 30rpx;
} }
} }
} }
.shopDesc { .shopDesc {
padding: 30rpx 0rpx 0rpx 0rpx; padding: 30rpx 0rpx 0rpx 0rpx;
text-align: left; text-align: left;
@ -340,9 +349,9 @@ export default {
margin-left: 20rpx; margin-left: 20rpx;
line-height: 40rpx; line-height: 40rpx;
} }
} }
.agreement-checked-view { .agreement-checked-view {
position: relative; position: relative;
padding: 18.18rpx 0rpx 18.18rpx 30rpx; padding: 18.18rpx 0rpx 18.18rpx 30rpx;
display: flex; display: flex;
@ -353,9 +362,9 @@ export default {
.coreshop-checked { .coreshop-checked {
transform: scale(0.7); transform: scale(0.7);
} }
} }
.login-form { .login-form {
padding: 20rpx 30rpx; padding: 20rpx 30rpx;
.form-item { .form-item {
@ -365,5 +374,5 @@ export default {
margin-bottom: 0; margin-bottom: 0;
} }
} }
} }
</style> </style>