Commit cd6caa7a by 李伟康

commit 提交

1 parent e07bdee4
...@@ -105,10 +105,6 @@ export default { ...@@ -105,10 +105,6 @@ export default {
name: '', name: '',
data () { data () {
return { return {
sexType: {
'男': 'icon-male',
'女': 'icon-female'
},
dataList: [ dataList: [
{ {
label: '客户接待数', label: '客户接待数',
......
...@@ -147,9 +147,8 @@ export default { ...@@ -147,9 +147,8 @@ export default {
else this.count = null; else this.count = null;
}, 1e3); }, 1e3);
}, },
async login () { login: uni.$throttle(async function () {
const { mobile, code: smsCode, noSignIn, readingStatus } = this; const { mobile, code: smsCode, noSignIn, readingStatus } = this;
try { try {
if (!mobile) throw '请输入手机号' if (!mobile) throw '请输入手机号'
if (!phoneRex.test(mobile)) throw '请输入正确的手机号'; if (!phoneRex.test(mobile)) throw '请输入正确的手机号';
...@@ -180,7 +179,8 @@ export default { ...@@ -180,7 +179,8 @@ export default {
icon: 'none', icon: 'none',
}); });
} }
}, }, 200),
// 获取登录账号下园区店列表 // 获取登录账号下园区店列表
getAccountLoginList (loginUserInfoList) { getAccountLoginList (loginUserInfoList) {
let stepIndex = loginUserInfoList?.length == 1 ? 1 : 0 let stepIndex = loginUserInfoList?.length == 1 ? 1 : 0
......
...@@ -121,8 +121,8 @@ export default { ...@@ -121,8 +121,8 @@ export default {
e.style = { e.style = {
0: 'width:974rpx;', 0: 'width:974rpx;',
1: 'width:652rpx;', 1: 'width:652rpx;',
4: 'width: 1282rpx;height: 272rpx;', 4: 'width: 1282rpx;height: 288rpx;',
5: 'width: 1282rpx;height: 272rpx;', 5: 'width: 1282rpx;height: 288rpx;',
6: 'display:none;' 6: 'display:none;'
}[index] }[index]
} }
...@@ -234,10 +234,16 @@ export default { ...@@ -234,10 +234,16 @@ export default {
<style scoped lang="scss"> <style scoped lang="scss">
.module-box { .module-box {
padding-top: 44rpx; padding-top: 44rpx;
&::after{
content: '';
display: block;
clear: both;
}
.item { .item {
float: left; float: left;
border-radius: 48rpx; border-radius: 48rpx;
overflow: hidden; overflow: hidden;
margin:0 48rpx 48rpx 0;
&-img { &-img {
width: 100%; width: 100%;
height: 100%; height: 100%;
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!