Skip to content
项目
群组
代码片段
帮助
正在加载...
帮助
为 GitLab 提交贡献
登录/注册
切换导航
G
garden_merchant
项目
项目
详情
活动
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
分枝图
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
计划
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
分枝图
统计图
创建新议题
作业
提交
议题看板
打开侧边栏
黄旭新
garden_merchant
Commits
29a418e6
提交
29a418e6
authored
8月 27, 2021
作者:
彭涛
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
修复样式
上级
a925b5d8
全部展开
隐藏空白字符变更
内嵌
并排
正在显示
13 个修改的文件
包含
242 行增加
和
158 行删除
+242
-158
changepassword.vue
pages/changepassword/changepassword.vue
+106
-75
login.vue
pages/login/login.vue
+86
-53
shopdetail.vue
pages/shopdetail/shopdetail.vue
+41
-17
api.js
static/util/api.js
+2
-4
index.html
unpackage/dist/build/h5/index.html
+1
-1
index.0eaea549.js
unpackage/dist/build/h5/static/js/index.0eaea549.js
+1
-1
pages-changepassword-changepassword.72f570fb.js
...static/js/pages-changepassword-changepassword.72f570fb.js
+0
-1
pages-changepassword-changepassword.7d0ac4d1.js
...static/js/pages-changepassword-changepassword.7d0ac4d1.js
+1
-0
pages-login-login.718848e4.js
...age/dist/build/h5/static/js/pages-login-login.718848e4.js
+0
-1
pages-login-login.a29a1b77.js
...age/dist/build/h5/static/js/pages-login-login.a29a1b77.js
+1
-0
pages-shopdetail-shopdetail.90cf6b6a.js
...uild/h5/static/js/pages-shopdetail-shopdetail.90cf6b6a.js
+1
-0
pages-shopdetail-shopdetail.d1d569cf.js
...uild/h5/static/js/pages-shopdetail-shopdetail.d1d569cf.js
+0
-1
api.js
unpackage/dist/build/h5/static/util/api.js
+2
-4
没有找到文件。
pages/changepassword/changepassword.vue
浏览文件 @
29a418e6
...
@@ -3,25 +3,40 @@
...
@@ -3,25 +3,40 @@
<view
class=
"login_head"
>
修改登录密码
</view>
<view
class=
"login_head"
>
修改登录密码
</view>
<view
class=
"logo_input"
>
<view
class=
"logo_input"
>
<view
class=
"logo_input_list"
>
<view
class=
"logo_input_list"
>
<input
v-if=
"isoriginalpassword"
type=
"password"
value=
""
v-model=
"originalpassword"
placeholder=
"请输入原密码"
placeholder-class=
"placeholder"
/>
<input
v-if=
"isoriginalpassword"
type=
"password"
v-model=
"originalpassword"
<input
v-else
type=
"text"
value=
""
v-model=
"originalpassword"
placeholder=
"请输入原密码"
placeholder-class=
"placeholder"
/>
placeholder=
"请输入原密码"
placeholder-class=
"placeholder"
/>
<image
@
click=
"originalpassword=''"
v-if=
"originalpassword"
src=
"../../static/images/close.png"
mode=
"widthFix"
class=
"close"
></image>
<input
v-else
type=
"text"
v-model=
"originalpassword"
placeholder=
"请输入原密码"
<image
@
click=
"isoriginalpassword=false"
v-if=
"isoriginalpassword"
src=
"../../static/images/Invisible.png"
mode=
"widthFix"
class=
"show_icon"
></image>
placeholder-class=
"placeholder"
/>
<image
@
click=
"isoriginalpassword=true"
v-if=
"!isoriginalpassword"
src=
"../../static/images/iVisual.png"
mode=
"widthFix"
class=
"hide_icon"
></image>
<image
@
click=
"originalpassword=''"
v-if=
"originalpassword"
src=
"../../static/images/close.png"
mode=
"widthFix"
class=
"close"
></image>
<image
@
click=
"isoriginalpassword=false"
v-if=
"isoriginalpassword"
src=
"../../static/images/Invisible.png"
mode=
"widthFix"
class=
"show_icon"
></image>
<image
@
click=
"isoriginalpassword=true"
v-if=
"!isoriginalpassword"
src=
"../../static/images/iVisual.png"
mode=
"widthFix"
class=
"hide_icon"
></image>
</view>
</view>
<view
class=
"logo_input_list"
>
<view
class=
"logo_input_list"
>
<input
v-if=
"isnewpassword"
type=
"password"
value=
""
v-model=
"newpassword"
placeholder=
"请输入新密码"
placeholder-class=
"placeholder"
/>
<input
v-if=
"isnewpassword"
type=
"password"
v-model=
"newpassword"
placeholder=
"请输入新密码"
<input
v-else
type=
"text"
value=
""
v-model=
"newpassword"
placeholder=
"请输入新密码"
placeholder-class=
"placeholder"
/>
placeholder-class=
"placeholder"
/>
<image
@
click=
"newpassword=''"
v-if=
"newpassword"
src=
"../../static/images/close.png"
mode=
"widthFix"
class=
"close"
></image>
<input
v-else
type=
"text"
v-model=
"newpassword"
placeholder=
"请输入新密码"
<image
@
click=
"isnewpassword=false"
v-if=
"isnewpassword"
src=
"../../static/images/Invisible.png"
mode=
"widthFix"
class=
"show_icon"
></image>
placeholder-class=
"placeholder"
/>
<image
@
click=
"isnewpassword=true"
v-if=
"!isnewpassword"
src=
"../../static/images/iVisual.png"
mode=
"widthFix"
class=
"hide_icon"
></image>
<image
@
click=
"newpassword=''"
v-if=
"newpassword"
src=
"../../static/images/close.png"
mode=
"widthFix"
class=
"close"
></image>
<image
@
click=
"isnewpassword=false"
v-if=
"isnewpassword"
src=
"../../static/images/Invisible.png"
mode=
"widthFix"
class=
"show_icon"
></image>
<image
@
click=
"isnewpassword=true"
v-if=
"!isnewpassword"
src=
"../../static/images/iVisual.png"
mode=
"widthFix"
class=
"hide_icon"
></image>
</view>
</view>
<view
class=
"logo_input_list"
>
<view
class=
"logo_input_list"
>
<input
v-if=
"isaffirmpassword"
type=
"password"
value=
""
v-model=
"affirmpassword"
placeholder=
"再次输入新密码"
placeholder-class=
"placeholder"
/>
<input
v-if=
"isaffirmpassword"
type=
"password"
v-model=
"affirmpassword"
placeholder=
"再次输入新密码"
<input
v-else
type=
"text"
value=
""
v-model=
"affirmpassword"
placeholder=
"再次输入新密码"
placeholder-class=
"placeholder"
/>
placeholder-class=
"placeholder"
/>
<image
@
click=
"affirmpassword=''"
v-if=
"affirmpassword"
src=
"../../static/images/close.png"
mode=
"widthFix"
class=
"close"
></image>
<input
v-else
type=
"text"
v-model=
"affirmpassword"
placeholder=
"再次输入新密码"
<image
@
click=
"isaffirmpassword=false"
v-if=
"isaffirmpassword"
src=
"../../static/images/Invisible.png"
mode=
"widthFix"
class=
"show_icon"
></image>
placeholder-class=
"placeholder"
/>
<image
@
click=
"isaffirmpassword=true"
v-if=
"!isaffirmpassword"
src=
"../../static/images/iVisual.png"
mode=
"widthFix"
class=
"hide_icon"
></image>
<image
@
click=
"affirmpassword=''"
v-if=
"affirmpassword"
src=
"../../static/images/close.png"
mode=
"widthFix"
class=
"close"
></image>
<image
@
click=
"isaffirmpassword=false"
v-if=
"isaffirmpassword"
src=
"../../static/images/Invisible.png"
mode=
"widthFix"
class=
"show_icon"
></image>
<image
@
click=
"isaffirmpassword=true"
v-if=
"!isaffirmpassword"
src=
"../../static/images/iVisual.png"
mode=
"widthFix"
class=
"hide_icon"
></image>
</view>
</view>
<view
class=
"submit_btn"
@
click=
"submit"
>
确定
</view>
<view
class=
"submit_btn"
@
click=
"submit"
>
确定
</view>
</view>
</view>
...
@@ -30,71 +45,74 @@
...
@@ -30,71 +45,74 @@
<
script
>
<
script
>
import
api
from
'@/static/util/api.js'
import
api
from
'@/static/util/api.js'
import
{
post
,
get
}
from
'@/static/util/fun.js'
import
{
post
,
get
}
from
'@/static/util/fun.js'
export
default
{
export
default
{
data
()
{
data
()
{
return
{
return
{
account
:
''
,
account
:
''
,
originalpassword
:
''
,
//原密码
originalpassword
:
''
,
//原密码
newpassword
:
''
,
//新密码
newpassword
:
''
,
//新密码
affirmpassword
:
''
,
//确认密码
affirmpassword
:
''
,
//确认密码
isaffirmpassword
:
true
,
isaffirmpassword
:
true
,
isnewpassword
:
true
,
isnewpassword
:
true
,
isoriginalpassword
:
true
,
isoriginalpassword
:
true
,
userdata
:
''
,
//商家数据
userdata
:
''
,
//商家数据
}
}
},
},
created
()
{
created
()
{
let
that
=
this
let
that
=
this
that
.
userdata
=
uni
.
getStorageSync
(
'userdata'
);
that
.
userdata
=
uni
.
getStorageSync
(
'userdata'
);
},
},
onLoad
()
{
onLoad
()
{
},
},
methods
:
{
methods
:
{
submit
(){
submit
()
{
let
that
=
this
let
that
=
this
if
(
that
.
originalpassword
==
''
)
{
if
(
that
.
originalpassword
==
''
)
{
uni
.
showToast
({
uni
.
showToast
({
title
:
'请输入原密码'
,
title
:
'请输入原密码'
,
icon
:
'none'
icon
:
'none'
})
})
}
else
if
(
that
.
newpassword
==
''
)
{
}
else
if
(
that
.
newpassword
==
''
)
{
uni
.
showToast
({
uni
.
showToast
({
title
:
'请输入新密码'
,
title
:
'请输入新密码'
,
icon
:
'none'
icon
:
'none'
})
})
}
else
if
(
that
.
affirmpassword
==
''
)
{
}
else
if
(
that
.
affirmpassword
==
''
)
{
uni
.
showToast
({
uni
.
showToast
({
title
:
'再次输入新密码'
,
title
:
'再次输入新密码'
,
icon
:
'none'
icon
:
'none'
})
})
}
else
if
(
that
.
affirmpassword
!=
that
.
newpassword
)
{
}
else
if
(
that
.
affirmpassword
!=
that
.
newpassword
)
{
uni
.
showToast
({
uni
.
showToast
({
title
:
'新密码与确认密码不一致'
,
title
:
'新密码与确认密码不一致'
,
icon
:
'none'
icon
:
'none'
})
})
}
else
{
}
else
{
post
(
api
.
reSetPassword
,{
post
(
api
.
reSetPassword
,
{
oldPassword
:
that
.
originalpassword
,
oldPassword
:
that
.
originalpassword
,
newPassword
:
that
.
newpassword
,
newPassword
:
that
.
newpassword
,
userId
:
that
.
userdata
.
tMerchant
.
id
,
userId
:
that
.
userdata
.
tMerchant
.
id
,
}).
then
(
res
=>
{
}).
then
(
res
=>
{
if
(
res
.
code
==
200
)
{
if
(
res
.
code
==
200
)
{
uni
.
showToast
({
uni
.
showToast
({
title
:
'修改成功!'
,
title
:
'修改成功!'
,
icon
:
'success'
icon
:
'success'
})
})
let
retime
=
setTimeout
(
function
()
{
let
retime
=
setTimeout
(
function
()
{
uni
.
navigateBack
({
uni
.
navigateBack
({
delta
:
1
delta
:
1
});
});
clearTimeout
(
retime
)
clearTimeout
(
retime
)
},
2000
)
},
2000
)
}
else
{
}
else
{
uni
.
showToast
({
uni
.
showToast
({
title
:
res
.
msg
,
title
:
res
.
msg
,
icon
:
'none'
icon
:
'none'
})
})
}
}
})
})
...
@@ -106,31 +124,35 @@
...
@@ -106,31 +124,35 @@
</
script
>
</
script
>
<
style
lang=
"scss"
>
<
style
lang=
"scss"
>
.login
{
.login
{
width
:
100%
;
width
:
100%
;
height
:
100%
;
height
:
100%
;
padding-top
:
88rpx
;
padding-top
:
88rpx
;
.login_head
{
.login_head
{
width
:
100%
;
width
:
100%
;
height
:
88rpx
;
height
:
88rpx
;
text-align
:
center
;
text-align
:
center
;
line-height
:
88rpx
;
line-height
:
88rpx
;
border-bottom
:
1px
solid
#F4F5F8
;
border-bottom
:
1px
solid
#F4F5F8
;
font-weight
:
bold
;
font-weight
:
bold
;
font-size
:
3
2
rpx
;
font-size
:
3
4
rpx
;
color
:
#000
;
color
:
#000
;
margin-bottom
:
18rpx
;
margin-bottom
:
18rpx
;
}
}
.login_img
{
.login_img
{
width
:
100%
;
width
:
100%
;
image
{
image
{
width
:
196rpx
;
width
:
196rpx
;
height
:
196rpx
;
height
:
196rpx
;
display
:
block
;
display
:
block
;
margin
:
auto
;
margin
:
auto
;
}
}
}
}
.logo_text
{
.logo_text
{
width
:
100%
;
width
:
100%
;
text-align
:
center
;
text-align
:
center
;
margin-top
:
22rpx
;
margin-top
:
22rpx
;
...
@@ -138,47 +160,55 @@
...
@@ -138,47 +160,55 @@
color
:
#565656
;
color
:
#565656
;
font-weight
:
500
;
font-weight
:
500
;
}
}
.logo_input
{
.logo_input
{
width
:
78%
;
width
:
78%
;
margin-left
:
11%
;
margin-left
:
11%
;
.logo_input_list
{
.logo_input_list
{
width
:
100%
;
width
:
100%
;
height
:
124rpx
;
height
:
124rpx
;
border-bottom
:
1px
solid
#9C9B9E
;
border-bottom
:
1px
solid
#9C9B9E
;
color
:
#030303
;
color
:
#030303
;
font-size
:
34rpx
;
font-weight
:
800
;
//
font-weight: 800;
position
:
relative
;
position
:
relative
;
.placeholder
{
.placeholder
{
color
:
#9C9B9E
;
color
:
#9C9B9E
;
font-weight
:
500
;
font-weight
:
500
;
}
}
input
{
width
:
74%
;
input
{
width
:
74%
;
background-color
:
transparent
;
background-color
:
transparent
;
border
:
none
;
border
:
none
;
outline
:
none
;
outline
:
none
;
height
:
104rpx
;
height
:
104rpx
;
line-height
:
104rpx
;
line-height
:
104rpx
;
font-size
:
28rpx
;
position
:
absolute
;
position
:
absolute
;
left
:
0
;
left
:
0
;
bottom
:
0
;
bottom
:
0
;
}
}
.close
{
.close
{
width
:
40rpx
;
width
:
40rpx
;
height
:
40rpx
;
height
:
40rpx
;
position
:
absolute
;
position
:
absolute
;
bottom
:
32rpx
;
bottom
:
32rpx
;
right
:
64rpx
;
right
:
64rpx
;
}
}
.show_icon
{
.show_icon
{
position
:
absolute
;
position
:
absolute
;
right
:
0
;
right
:
0
;
bottom
:
32rpx
;
bottom
:
32rpx
;
width
:
40rpx
;
width
:
40rpx
;
height
:
40rpx
;
height
:
40rpx
;
}
}
.hide_icon
{
.hide_icon
{
position
:
absolute
;
position
:
absolute
;
right
:
0
;
right
:
0
;
bottom
:
32rpx
;
bottom
:
32rpx
;
...
@@ -186,7 +216,8 @@
...
@@ -186,7 +216,8 @@
height
:
40rpx
;
height
:
40rpx
;
}
}
}
}
.submit_btn
{
.submit_btn
{
width
:
100%
;
width
:
100%
;
height
:
96rpx
;
height
:
96rpx
;
margin-top
:
60rpx
;
margin-top
:
60rpx
;
...
...
pages/login/login.vue
浏览文件 @
29a418e6
<
template
>
<
template
>
<view
class=
"login"
>
<view
class=
"login"
>
<view
class=
"login_head"
>
登录
</view>
<view
class=
"login_img"
>
<view
class=
"login_img"
><image
src=
"../../static/images/logo.png"
mode=
"widthFix"
></image></view>
<image
src=
"../../static/images/logo.png"
mode=
"widthFix"
></image>
</view>
<view
class=
"logo_text"
>
商家端
</view>
<view
class=
"logo_text"
>
商家端
</view>
<view
class=
"logo_input"
>
<view
class=
"logo_input"
>
<view
class=
"logo_input_list"
>
<view
class=
"logo_input_list"
>
<input
type=
"
text"
value=
""
v-model=
"account"
placeholder=
"请输入登录账号"
placeholder-class=
"placeholder"
/>
<input
type=
"
number"
v-model=
"account"
placeholder=
"请输入登录账号"
placeholder-class=
"placeholder"
/>
</view>
</view>
<view
class=
"logo_input_list"
>
<view
class=
"logo_input_list"
>
<input
v-if=
"ispassword"
type=
"password"
value=
""
v-model=
"password"
placeholder=
"请输入登录密码"
placeholder-class=
"placeholder"
/>
<input
v-if=
"ispassword"
type=
"password"
v-model=
"password"
placeholder=
"请输入登录密码"
<input
v-else
type=
"text"
value=
""
v-model=
"password"
placeholder=
"请输入登录密码"
placeholder-class=
"placeholder"
/>
placeholder-class=
"placeholder"
/>
<image
@
click=
"password=''"
v-if=
"password"
src=
"../../static/images/close.png"
mode=
"widthFix"
class=
"close"
></image>
<input
v-else
type=
"text"
v-model=
"password"
placeholder=
"请输入登录密码"
placeholder-class=
"placeholder"
/>
<image
@
click=
"ispassword=false"
v-if=
"ispassword"
src=
"../../static/images/Invisible.png"
mode=
"widthFix"
class=
"show_icon"
></image>
<image
@
click=
"password=''"
v-if=
"password"
src=
"../../static/images/close.png"
mode=
"widthFix"
<image
@
click=
"ispassword=true"
v-if=
"!ispassword"
src=
"../../static/images/iVisual.png"
mode=
"widthFix"
class=
"hide_icon"
></image>
class=
"close"
></image>
<image
@
click=
"ispassword=false"
v-if=
"ispassword"
src=
"../../static/images/Invisible.png"
mode=
"widthFix"
class=
"show_icon"
></image>
<image
@
click=
"ispassword=true"
v-if=
"!ispassword"
src=
"../../static/images/iVisual.png"
mode=
"widthFix"
class=
"hide_icon"
></image>
</view>
</view>
<view
class=
"submit_btn"
@
click=
"submit"
>
登录
</view>
<view
class=
"submit_btn"
@
click=
"submit"
>
登录
</view>
</view>
</view>
...
@@ -21,61 +26,77 @@
...
@@ -21,61 +26,77 @@
<
script
>
<
script
>
import
api
from
'@/static/util/api.js'
import
api
from
'@/static/util/api.js'
import
{
post
,
get
}
from
'@/static/util/fun.js'
import
{
post
,
get
}
from
'@/static/util/fun.js'
export
default
{
export
default
{
data
()
{
data
()
{
return
{
return
{
account
:
''
,
account
:
''
,
password
:
''
,
password
:
''
,
ispassword
:
true
,
ispassword
:
true
,
}
}
},
},
onLoad
()
{
onLoad
()
{
let
nowTime
=
new
Date
().
getTime
();
let
localTime
=
uni
.
getStorageSync
(
'timeStemp'
)
let
intervalDay
=
(
nowTime
-
localTime
)
/
(
1000
*
3600
*
24
)
if
(
intervalDay
<
3
)
{
this
.
account
=
uni
.
getStorageSync
(
'account'
)
this
.
password
=
uni
.
getStorageSync
(
'password'
)
}
else
{
this
.
account
=
''
this
.
password
=
''
}
},
},
methods
:
{
methods
:
{
submit
(){
submit
()
{
let
that
=
this
let
that
=
this
if
(
that
.
account
==
''
)
{
if
(
that
.
account
==
''
)
{
uni
.
showToast
({
uni
.
showToast
({
title
:
'请输入登录账号'
,
title
:
'请输入登录账号'
,
icon
:
'none'
icon
:
'none'
})
})
}
else
if
(
that
.
password
==
''
)
{
}
else
if
(
that
.
password
==
''
)
{
uni
.
showToast
({
uni
.
showToast
({
title
:
'请输入登录密码'
,
title
:
'请输入登录密码'
,
icon
:
'none'
icon
:
'none'
})
})
}
else
{
}
else
{
post
(
api
.
login
,{
post
(
api
.
login
,
{
phone
:
that
.
account
,
phone
:
that
.
account
,
password
:
that
.
password
,
password
:
that
.
password
,
}).
then
(
res
=>
{
}).
then
(
res
=>
{
if
(
res
.
code
==
200
){
if
(
res
.
code
==
200
)
{
uni
.
setStorageSync
(
'userdata'
,
res
.
data
);
uni
.
setStorageSync
(
'userdata'
,
res
.
data
);
let
timeStemp
=
new
Date
().
getTime
();
uni
.
setStorageSync
(
'timeStemp'
,
timeStemp
)
uni
.
setStorageSync
(
'account'
,
that
.
account
)
uni
.
setStorageSync
(
'password'
,
that
.
password
)
uni
.
navigateTo
({
uni
.
navigateTo
({
url
:
'/pages/shopdetail/shopdetail'
url
:
'/pages/shopdetail/shopdetail'
})
})
}
else
{
}
else
{
uni
.
showToast
({
uni
.
showToast
({
title
:
res
.
msg
,
title
:
res
.
msg
,
icon
:
'none'
icon
:
'none'
})
})
}
}
})
})
}
}
}
}
// 登录end
}
}
}
}
</
script
>
</
script
>
<
style
lang=
"scss"
>
<
style
lang=
"scss"
>
.login
{
.login
{
width
:
100%
;
width
:
100%
;
height
:
100%
;
height
:
100%
;
padding-top
:
88rpx
;
padding-top
:
88rpx
;
.login_head
{
.login_head
{
width
:
100%
;
width
:
100%
;
height
:
88rpx
;
height
:
88rpx
;
text-align
:
center
;
text-align
:
center
;
...
@@ -83,68 +104,79 @@
...
@@ -83,68 +104,79 @@
border-bottom
:
1px
solid
#F4F5F8
;
border-bottom
:
1px
solid
#F4F5F8
;
font-weight
:
bold
;
font-weight
:
bold
;
font-size
:
32rpx
;
font-size
:
32rpx
;
// font-weight: bold;
color
:
#000
;
color
:
#000
;
margin-bottom
:
70rpx
;
margin-bottom
:
70rpx
;
}
}
.login_img
{
.login_img
{
width
:
100%
;
width
:
100%
;
image
{
image
{
width
:
196rpx
;
width
:
196rpx
;
height
:
196rpx
;
height
:
196rpx
;
display
:
block
;
display
:
block
;
margin
:
auto
;
margin
:
auto
;
}
}
}
}
.logo_text
{
.logo_text
{
width
:
100%
;
width
:
100%
;
text-align
:
center
;
text-align
:
center
;
margin-top
:
22rpx
;
margin-top
:
22rpx
;
font-size
:
30rpx
;
font-size
:
32rpx
;
font-weight
:
bold
;
letter-spacing
:
4rpx
;
color
:
#565656
;
color
:
#565656
;
font-weight
:
500
;
}
}
.logo_input
{
.logo_input
{
width
:
78%
;
width
:
78%
;
margin-left
:
11%
;
margin-left
:
11%
;
margin-top
:
76rpx
;
margin-top
:
76rpx
;
.logo_input_list
{
.logo_input_list
{
width
:
100%
;
width
:
100%
;
height
:
124rpx
;
height
:
124rpx
;
border-bottom
:
1px
solid
#9C9B9E
;
border-bottom
:
1px
solid
#9C9B9E
;
color
:
#030303
;
color
:
#030303
;
font-size
:
34rpx
;
font-weight
:
400
;
font-weight
:
800
;
position
:
relative
;
position
:
relative
;
.placeholder
{
.placeholder
{
color
:
#9C9B9E
;
color
:
#9C9B9E
;
font-weight
:
500
;
}
}
input
{
width
:
74%
;
input
{
width
:
74%
;
background-color
:
transparent
;
background-color
:
transparent
;
border
:
none
;
border
:
none
;
outline
:
none
;
outline
:
none
;
height
:
104rpx
;
height
:
104rpx
;
line-height
:
104rpx
;
line-height
:
104rpx
;
font-size
:
28rpx
;
position
:
absolute
;
position
:
absolute
;
left
:
0
;
left
:
0
;
bottom
:
0
;
bottom
:
0
;
}
}
.close
{
.close
{
width
:
40rpx
;
width
:
40rpx
;
height
:
40rpx
;
height
:
40rpx
;
position
:
absolute
;
position
:
absolute
;
bottom
:
32rpx
;
bottom
:
32rpx
;
right
:
64rpx
;
right
:
64rpx
;
}
}
.show_icon
{
.show_icon
{
position
:
absolute
;
position
:
absolute
;
right
:
0
;
right
:
0
;
bottom
:
32rpx
;
bottom
:
32rpx
;
width
:
40rpx
;
width
:
40rpx
;
height
:
40rpx
;
height
:
40rpx
;
}
}
.hide_icon
{
.hide_icon
{
position
:
absolute
;
position
:
absolute
;
right
:
0
;
right
:
0
;
bottom
:
32rpx
;
bottom
:
32rpx
;
...
@@ -152,7 +184,8 @@
...
@@ -152,7 +184,8 @@
height
:
40rpx
;
height
:
40rpx
;
}
}
}
}
.submit_btn
{
.submit_btn
{
width
:
100%
;
width
:
100%
;
height
:
96rpx
;
height
:
96rpx
;
margin-top
:
60rpx
;
margin-top
:
60rpx
;
...
...
pages/shopdetail/shopdetail.vue
浏览文件 @
29a418e6
...
@@ -47,7 +47,7 @@
...
@@ -47,7 +47,7 @@
<view
class=
"earnings_box"
v-if=
"tabindex==0"
>
<view
class=
"earnings_box"
v-if=
"tabindex==0"
>
<view
class=
"Filter"
>
<view
class=
"Filter"
>
<view
class=
"Filter_box"
@
click=
"monthall=!monthall"
>
<view
class=
"Filter_box"
@
click=
"monthall=!monthall"
>
<text>
{{
select_month
}}
</text>
<text
class=
"filter_month"
>
{{
select_month
}}
</text>
<view
class=
"jiantou"
:class=
"
{'isroate':monthall}">
</view>
<view
class=
"jiantou"
:class=
"
{'isroate':monthall}">
</view>
</view>
</view>
<view
class=
"select_month"
v-if=
"monthall"
>
<view
class=
"select_month"
v-if=
"monthall"
>
...
@@ -75,9 +75,9 @@
...
@@ -75,9 +75,9 @@
<view
class=
"statistics_box"
v-if=
"tabindex==1"
>
<view
class=
"statistics_box"
v-if=
"tabindex==1"
>
<view
class=
"Filter"
>
<view
class=
"Filter"
>
<view
class=
"Filter_box"
>
<view
class=
"Filter_box"
>
<text
@
click=
"changesign(1)"
>
年/
</text>
<text
:class=
"['filter_text',
{'text_active': sign == 1}]" @click="changesign(1)">年
</text>
<text
@
click=
"changesign(2)"
>
月/
</text>
<text
:class=
"['filter_text',
{'text_active': sign == 2}]" @click="changesign(2)">月
</text>
<text
@
click=
"changesign(3)"
>
日
</text>
<text
:class=
"['filter_text',
{'text_active': sign == 3}]"
@click="changesign(3)">日
</text>
</view>
</view>
</view>
</view>
<view
class=
"income_list"
>
<view
class=
"income_list"
>
...
@@ -177,12 +177,21 @@
...
@@ -177,12 +177,21 @@
//查询收入统计
//查询收入统计
getstatistics
()
{
getstatistics
()
{
let
that
=
this
let
that
=
this
get
(
api
.
getIncome
Detail
,
{
get
(
api
.
getIncome
Statistics
,
{
userId
:
that
.
userdata
.
tMerchant
.
id
,
userId
:
that
.
userdata
.
tMerchant
.
id
,
sign
:
that
.
sign
,
sign
:
that
.
sign
,
}).
then
(
res
=>
{
}).
then
(
res
=>
{
if
(
res
.
code
==
200
)
{
if
(
res
.
code
==
200
)
{
that
.
statisticslist
=
res
.
data
that
.
statisticslist
=
res
.
data
that
.
statisticslist
.
map
(
item
=>
{
if
(
that
.
sign
==
1
)
{
item
.
createTime
=
item
.
createTime
.
slice
(
0
,
4
)
}
else
if
(
that
.
sign
==
2
)
{
item
.
createTime
=
item
.
createTime
.
slice
(
0
,
7
)
}
else
{
item
.
createTime
=
item
.
createTime
.
slice
(
0
,
10
)
}
})
}
else
{
}
else
{
uni
.
showToast
({
uni
.
showToast
({
title
:
res
.
msg
,
title
:
res
.
msg
,
...
@@ -332,16 +341,19 @@
...
@@ -332,16 +341,19 @@
.Filter_box
{
.Filter_box
{
width
:
180rpx
;
width
:
180rpx
;
height
:
58
rpx
;
height
:
60
rpx
;
line-height
:
58
rpx
;
line-height
:
60
rpx
;
background
:
#F5F5F5
;
background
:
#F5F5F5
;
border-radius
:
30rpx
;
border-radius
:
30rpx
;
color
:
#2D2D2D
;
color
:
#666
;
font-size
:
32rpx
;
font-size
:
28rpx
;
font-weight
:
bold
;
// font-weight: bold;
text-indent
:
20rpx
;
position
:
relative
;
position
:
relative
;
.filter_month
{
padding-left
:
60rpx
;
}
.jiantou
{
.jiantou
{
width
:
20rpx
;
width
:
20rpx
;
height
:
20rpx
;
height
:
20rpx
;
...
@@ -359,6 +371,18 @@
...
@@ -359,6 +371,18 @@
transform
:
rotate
(
135deg
);
transform
:
rotate
(
135deg
);
top
:
24rpx
;
top
:
24rpx
;
}
}
.filter_text
{
display
:
inline-block
;
width
:
33%
;
font-weight
:
400
;
text-align
:
center
;
}
.text_active
{
color
:
#2d2d2d
;
font-weight
:
bold
;
}
}
}
}
}
...
@@ -495,24 +519,24 @@
...
@@ -495,24 +519,24 @@
font-weight
:
bold
;
font-weight
:
bold
;
position
:
absolute
;
position
:
absolute
;
left
:
0
;
left
:
0
;
top
:
114
rpx
;
top
:
80
rpx
;
.change_passworld
{
.change_passworld
{
text-align
:
right
;
text-align
:
right
;
font-size
:
26rpx
;
font-size
:
26rpx
;
position
:
absolute
;
position
:
absolute
;
right
:
0
;
right
:
20rpx
;
bottom
:
0
;
bottom
:
0
;
}
}
}
}
.gathering_code
{
.gathering_code
{
width
:
154
rpx
;
width
:
200
rpx
;
height
:
154
rpx
;
height
:
200
rpx
;
position
:
absolute
;
position
:
absolute
;
left
:
50%
;
left
:
50%
;
margin-left
:
-76
rpx
;
top
:
200
rpx
;
t
op
:
228rpx
;
t
ransform
:
translate
(
-50%
,
0
)
;
image
{
image
{
width
:
100%
;
width
:
100%
;
...
...
static/util/api.js
浏览文件 @
29a418e6
const
erp
=
erp
||
{};
const
erp
=
erp
||
{};
//const DOMAIN = 'https://dev.diaosaas.com/car/';
// const DOMAIN='https://diaosaas.com/car/'
// const DOMAIN='https://dev.diaosaas.com/partyHistory/'//测试
const
DOMAIN
=
'https://faces.diaosaas.com/garden/'
//正式
const
DOMAIN
=
'https://faces.diaosaas.com/garden/'
//正式
// const DOMAIN = 'http://192.168.1.1
98:9095
/';
// const DOMAIN = 'http://192.168.1.1
79:9101
/';
//const DOMAIN = 'http://192.168.1.163:8089/';
//const DOMAIN = 'http://192.168.1.163:8089/';
//const DOMAIN ='http://47.110.68.2/car/'
//const DOMAIN ='http://47.110.68.2/car/'
//const HOST = '/api' + 'api/';
//const HOST = '/api' + 'api/';
...
...
unpackage/dist/build/h5/index.html
浏览文件 @
29a418e6
<!DOCTYPE html>
<html
lang=
zh-CN
><head><meta
charset=
utf-8
><meta
http-equiv=
X-UA-Compatible
content=
"IE=edge"
><title>
腾冲 · 花缘商家
</title><script>
var
coverSupport
=
'CSS'
in
window
&&
typeof
CSS
.
supports
===
'function'
&&
(
CSS
.
supports
(
'top: env(a)'
)
||
CSS
.
supports
(
'top: constant(a)'
))
<!DOCTYPE html>
<html
lang=
zh-CN
><head><meta
charset=
utf-8
><meta
http-equiv=
X-UA-Compatible
content=
"IE=edge"
><title>
腾冲 · 花缘商家
</title><script>
var
coverSupport
=
'CSS'
in
window
&&
typeof
CSS
.
supports
===
'function'
&&
(
CSS
.
supports
(
'top: env(a)'
)
||
CSS
.
supports
(
'top: constant(a)'
))
document
.
write
(
'<meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0'
+
(
coverSupport
?
', viewport-fit=cover'
:
''
)
+
'" />'
)
</script><link
rel=
stylesheet
href=
./static/index.f4fc78fe.css
></head><body><noscript><strong>
Please enable JavaScript to continue.
</strong></noscript><div
id=
app
></div><script
src=
./static/js/chunk-vendors.d2b2168a.js
></script><script
src=
./static/js/index.62c03daf.js
></script></body></html>
document
.
write
(
'<meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0'
+
(
coverSupport
?
', viewport-fit=cover'
:
''
)
+
'" />'
)
</script><link
rel=
stylesheet
href=
./static/index.f4fc78fe.css
></head><body><noscript><strong>
Please enable JavaScript to continue.
</strong></noscript><div
id=
app
></div><script
src=
./static/js/chunk-vendors.d2b2168a.js
></script><script
src=
./static/js/index.0eaea549.js
></script></body></html>
\ No newline at end of file
\ No newline at end of file
unpackage/dist/build/h5/static/js/index.
62c03daf
.js
→
unpackage/dist/build/h5/static/js/index.
0eaea549
.js
浏览文件 @
29a418e6
差异被折叠。
点击展开。
unpackage/dist/build/h5/static/js/pages-changepassword-changepassword.72f570fb.js
deleted
100644 → 0
浏览文件 @
a925b5d8
差异被折叠。
点击展开。
unpackage/dist/build/h5/static/js/pages-changepassword-changepassword.7d0ac4d1.js
0 → 100644
浏览文件 @
29a418e6
差异被折叠。
点击展开。
unpackage/dist/build/h5/static/js/pages-login-login.718848e4.js
deleted
100644 → 0
浏览文件 @
a925b5d8
(
window
[
"webpackJsonp"
]
=
window
[
"webpackJsonp"
]
||
[]).
push
([[
"pages-login-login"
],{
"1de5"
:
function
(
t
,
n
,
i
){
"use strict"
;
t
.
exports
=
function
(
t
,
n
){
return
n
||
(
n
=
{}),
t
=
t
&&
t
.
__esModule
?
t
.
default
:
t
,
"string"
!==
typeof
t
?
t
:(
/^
[
'"
]
.*
[
'"
]
$/
.
test
(
t
)
&&
(
t
=
t
.
slice
(
1
,
-
1
)),
n
.
hash
&&
(
t
+=
n
.
hash
),
/
[
"'()
\t\n]
/
.
test
(
t
)
||
n
.
needQuotes
?
'"'
.
concat
(
t
.
replace
(
/"/g
,
'
\\
"'
).
replace
(
/
\n
/g
,
"
\
\n
"
),
'"'
):
t
)}},
"38f1"
:
function
(
t
,
n
,
i
){
t
.
exports
=
i
.
p
+
"static/img/btn_bg.76fda38d.png"
},
4701
:
function
(
t
,
n
,
i
){
"use strict"
;
i
.
r
(
n
);
var
o
=
i
(
"74ee"
),
a
=
i
(
"5b80"
);
for
(
var
e
in
a
)
"default"
!==
e
&&
function
(
t
){
i
.
d
(
n
,
t
,(
function
(){
return
a
[
t
]}))}(
e
);
i
(
"ad74"
);
var
s
,
l
=
i
(
"f0c5"
),
r
=
Object
(
l
[
"a"
])(
a
[
"default"
],
o
[
"b"
],
o
[
"c"
],
!
1
,
null
,
"7ba9d321"
,
null
,
!
1
,
o
[
"a"
],
s
);
n
[
"default"
]
=
r
.
exports
},
"5b80"
:
function
(
t
,
n
,
i
){
"use strict"
;
i
.
r
(
n
);
var
o
=
i
(
"fe6b"
),
a
=
i
.
n
(
o
);
for
(
var
e
in
o
)
"default"
!==
e
&&
function
(
t
){
i
.
d
(
n
,
t
,(
function
(){
return
o
[
t
]}))}(
e
);
n
[
"default"
]
=
a
.
a
},
"64c3"
:
function
(
t
,
n
){
t
.
exports
=
"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABQAAAAUCAYAAACNiR0NAAABL0lEQVQ4T+2UvUoDQRSFzxnQp7DSNxAEfYTYhEB2d6xtxEo7g7Vop5XYWDv7A2JjHkFB8A20ylMozJHdZMMaF3chW2a6mTn3m3vvuQzR8WLHPKyA045KYpIkPQAHJHcBbEgCyQmAF0kuiqJxLl304E8PnXM7xpg7ANsNhr1774+stW9V3S+gc+6Y5A3JtZbuf3nvT621t6V+DkyS5AzAZQ3oGcDh7PwewP6CRpLOoygqYgtgmqZ9SY/lvhpgjNkaDoef+VmWZZve+4+aR+W9H1hrnwqgc65vjFkKSHIQBMEUmK84jkckL2qybCo5Dx+FYXg1L7mE5qYYY64BrLcxRdK3pJNaUyrQ7samkhXjOO6RtAD28sGe3U0kvQJ4CMNwTLJ5sNuU+p9m9dss20HgByxjdxUR+WUsAAAAAElFTkSuQmCC"
},
"74ee"
:
function
(
t
,
n
,
i
){
"use strict"
;
var
o
;
i
.
d
(
n
,
"b"
,(
function
(){
return
a
})),
i
.
d
(
n
,
"c"
,(
function
(){
return
e
})),
i
.
d
(
n
,
"a"
,(
function
(){
return
o
}));
var
a
=
function
(){
var
t
=
this
,
n
=
t
.
$createElement
,
o
=
t
.
_self
.
_c
||
n
;
return
o
(
"v-uni-view"
,{
staticClass
:
"login"
},[
o
(
"v-uni-view"
,{
staticClass
:
"login_head"
},[
t
.
_v
(
"登录"
)]),
o
(
"v-uni-view"
,{
staticClass
:
"login_img"
},[
o
(
"v-uni-image"
,{
attrs
:{
src
:
i
(
"ccd4"
),
mode
:
"widthFix"
}})],
1
),
o
(
"v-uni-view"
,{
staticClass
:
"logo_text"
},[
t
.
_v
(
"商家端"
)]),
o
(
"v-uni-view"
,{
staticClass
:
"logo_input"
},[
o
(
"v-uni-view"
,{
staticClass
:
"logo_input_list"
},[
o
(
"v-uni-input"
,{
attrs
:{
type
:
"text"
,
value
:
""
,
placeholder
:
"请输入登录账号"
,
"placeholder-class"
:
"placeholder"
},
model
:{
value
:
t
.
account
,
callback
:
function
(
n
){
t
.
account
=
n
},
expression
:
"account"
}})],
1
),
o
(
"v-uni-view"
,{
staticClass
:
"logo_input_list"
},[
t
.
ispassword
?
o
(
"v-uni-input"
,{
attrs
:{
type
:
"password"
,
value
:
""
,
placeholder
:
"请输入登录密码"
,
"placeholder-class"
:
"placeholder"
},
model
:{
value
:
t
.
password
,
callback
:
function
(
n
){
t
.
password
=
n
},
expression
:
"password"
}}):
o
(
"v-uni-input"
,{
attrs
:{
type
:
"text"
,
value
:
""
,
placeholder
:
"请输入登录密码"
,
"placeholder-class"
:
"placeholder"
},
model
:{
value
:
t
.
password
,
callback
:
function
(
n
){
t
.
password
=
n
},
expression
:
"password"
}}),
t
.
password
?
o
(
"v-uni-image"
,{
staticClass
:
"close"
,
attrs
:{
src
:
i
(
"cca2"
),
mode
:
"widthFix"
},
on
:{
click
:
function
(
n
){
arguments
[
0
]
=
n
=
t
.
$handleEvent
(
n
),
t
.
password
=
""
}}}):
t
.
_e
(),
t
.
ispassword
?
o
(
"v-uni-image"
,{
staticClass
:
"show_icon"
,
attrs
:{
src
:
i
(
"e8c7"
),
mode
:
"widthFix"
},
on
:{
click
:
function
(
n
){
arguments
[
0
]
=
n
=
t
.
$handleEvent
(
n
),
t
.
ispassword
=!
1
}}}):
t
.
_e
(),
t
.
ispassword
?
t
.
_e
():
o
(
"v-uni-image"
,{
staticClass
:
"hide_icon"
,
attrs
:{
src
:
i
(
"64c3"
),
mode
:
"widthFix"
},
on
:{
click
:
function
(
n
){
arguments
[
0
]
=
n
=
t
.
$handleEvent
(
n
),
t
.
ispassword
=!
0
}}})],
1
),
o
(
"v-uni-view"
,{
staticClass
:
"submit_btn"
,
on
:{
click
:
function
(
n
){
arguments
[
0
]
=
n
=
t
.
$handleEvent
(
n
),
t
.
submit
.
apply
(
void
0
,
arguments
)}}},[
t
.
_v
(
"登录"
)])],
1
)],
1
)},
e
=
[]},
9470
:
function
(
t
,
n
,
i
){
var
o
=
i
(
"a621"
);
"string"
===
typeof
o
&&
(
o
=
[[
t
.
i
,
o
,
""
]]),
o
.
locals
&&
(
t
.
exports
=
o
.
locals
);
var
a
=
i
(
"4f06"
).
default
;
a
(
"49fdfec6"
,
o
,
!
0
,{
sourceMap
:
!
1
,
shadowMode
:
!
1
})},
a621
:
function
(
t
,
n
,
i
){
var
o
=
i
(
"24fb"
),
a
=
i
(
"1de5"
),
e
=
i
(
"38f1"
);
n
=
o
(
!
1
);
var
s
=
a
(
e
);
n
.
push
([
t
.
i
,
'@charset "UTF-8";
\
r
\
n/**
\
r
\
n * 这里是uni-app内置的常用样式变量
\
r
\
n *
\
r
\
n * uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量
\
r
\
n * 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App
\
r
\
n *
\
r
\
n */
\
r
\
n/**
\
r
\
n * 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能
\
r
\
n *
\
r
\
n * 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件
\
r
\
n */
\
r
\
n/* 颜色变量 */
\
r
\
n/* 行为相关颜色 */
\
r
\
n/* 文字基本颜色 */
\
r
\
n/* 背景颜色 */
\
r
\
n/* 边框颜色 */
\
r
\
n/* 尺寸变量 */
\
r
\
n/* 文字尺寸 */
\
r
\
n/* 图片尺寸 */
\
r
\
n/* Border Radius */
\
r
\
n/* 水平间距 */
\
r
\
n/* 垂直间距 */
\
r
\
n/* 透明度 */
\
r
\
n/* 文章场景相关 */.login[data-v-7ba9d321]{width:100%;height:100%;padding-top:%?88?%}.login .login_head[data-v-7ba9d321]{width:100%;height:%?88?%;text-align:center;line-height:%?88?%;border-bottom:1px solid #f4f5f8;font-weight:700;font-size:%?32?%;color:#000;margin-bottom:%?70?%}.login .login_img[data-v-7ba9d321]{width:100%}.login .login_img uni-image[data-v-7ba9d321]{width:%?196?%;height:%?196?%;display:block;margin:auto}.login .logo_text[data-v-7ba9d321]{width:100%;text-align:center;margin-top:%?22?%;font-size:%?30?%;color:#565656;font-weight:500}.login .logo_input[data-v-7ba9d321]{width:78%;margin-left:11%;margin-top:%?76?%}.login .logo_input .logo_input_list[data-v-7ba9d321]{width:100%;height:%?124?%;border-bottom:1px solid #9c9b9e;color:#030303;font-size:%?34?%;font-weight:800;position:relative}.login .logo_input .logo_input_list .placeholder[data-v-7ba9d321]{color:#9c9b9e;font-weight:500}.login .logo_input .logo_input_list uni-input[data-v-7ba9d321]{width:74%;background-color:initial;border:none;outline:none;height:%?104?%;line-height:%?104?%;position:absolute;left:0;bottom:0}.login .logo_input .logo_input_list .close[data-v-7ba9d321]{width:%?40?%;height:%?40?%;position:absolute;bottom:%?32?%;right:%?64?%}.login .logo_input .logo_input_list .show_icon[data-v-7ba9d321]{position:absolute;right:0;bottom:%?32?%;width:%?40?%;height:%?40?%}.login .logo_input .logo_input_list .hide_icon[data-v-7ba9d321]{position:absolute;right:0;bottom:%?32?%;width:%?40?%;height:%?40?%}.login .logo_input .submit_btn[data-v-7ba9d321]{width:100%;height:%?96?%;margin-top:%?60?%;background-image:url('
+
s
+
");background-repeat:no-repeat;background-size:100% 100%;font-weight:500;color:#fff;font-size:%?34?%;text-align:center;line-height:%?96?%}"
,
""
]),
t
.
exports
=
n
},
ad74
:
function
(
t
,
n
,
i
){
"use strict"
;
var
o
=
i
(
"9470"
),
a
=
i
.
n
(
o
);
a
.
a
},
cca2
:
function
(
t
,
n
){
t
.
exports
=
"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABQAAAAUCAYAAACNiR0NAAABk0lEQVQ4T62UP0vEQBDF3xznn8pvIBYq+A1EKzvttMkupFC4XhQrUewEK/8cCFZ6aBHI7jV22ll52FoJauU3SKNCuJENm7gXE+/EpJ23P+a9mQyh4o/KeGEYLgLwiWgewLjVvTHzPYBASnlb9PYHMAiCmXq9fgFgrk/znTiOG77vP7m6HqDWeoGZrwGMDZhERETLnufdpfoMaDt7+AMsZURxHM+mnWZApZTJpp/NssY7QgiTNRKgGQAR3bhqZlYAXoloO9WZOjO3iCgCsJHTL5lBJUCt9SUzr+YEB1LKHa31JjMfWeipEGI9DMMGEZ3n9FdSyrUEqJR6BjCV88NEtOV53omFThpYu91e6Xa7IYDhnP5FCDGdAj8AjBQElEFN7ReYKX8KIUb7AY0wsWmdmNyO3UydJnqARZYzmO1sQgjRzGXqmvq2XDKUlpSy4dgcSjNVSu0C2C8dStHaAGgy8yMRnTkDYAB7AN4BHJaujc2nusU2wMp/Pbvg1R2HNI9Kz5cbshlUrVbzmfl/B3bAO1gq+wJ7TfAVaeML5QAAAABJRU5ErkJggg=="
},
ccd4
:
function
(
t
,
n
,
i
){
t
.
exports
=
i
.
p
+
"static/img/logo.4583c100.png"
},
e8c7
:
function
(
t
,
n
){
t
.
exports
=
"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABQAAAAUCAYAAACNiR0NAAABeElEQVQ4T+3Tr0tDURQH8PN9m8JY2bAYRMRk0OY/ICJGDb4Djw3WXNElwxBRBBGDSQ0ujY3BY/cZNIrBf0AQwSBoEDFYxFdkwc2vPJlDJ/5eUPC2++tz7z3nXEiLG1rsyT/484j+kRh6njdNMqqqK995tDEmC+DWtu31xycbY5YAzJLMqOrGV1BjzBSANZLLqjr3BIZIbgEYI7ni+/5COp2+ew/O5XJtsVhsEUCW5A6ACVWtNZISLIjH48HtJkXkRERWK5XKdiqVun4OFwqFjkgkMi4iMyLSRzLv+3766QINkCQ8z9usgxci0k3yHsC5iFzV0U6SPQAsETkTkd7g8FqtlnQc5zBY0wCNMQMAjkRkybbtedd1B8Ph8AjJfhEZrYO7AI6r1eqe4zgHrusOW5aVB3CqqsMvwKBTKpW6ksnkZXPsjDH7wZiqDjXPFYvFaCgUak8kEjevwLeS8B7YvOdTP6VcLmcsy2JQZx+V1KfAj5Dn878ffADtwY0V691XKAAAAABJRU5ErkJggg=="
},
fe6b
:
function
(
t
,
n
,
i
){
"use strict"
;
var
o
=
i
(
"4ea4"
);
Object
.
defineProperty
(
n
,
"__esModule"
,{
value
:
!
0
}),
n
.
default
=
void
0
;
var
a
=
o
(
i
(
"e1fa"
)),
e
=
i
(
"6eb9"
),
s
=
{
data
:
function
(){
return
{
account
:
""
,
password
:
""
,
ispassword
:
!
0
}},
onLoad
:
function
(){},
methods
:{
submit
:
function
(){
var
t
=
this
;
""
==
t
.
account
?
uni
.
showToast
({
title
:
"请输入登录账号"
,
icon
:
"none"
}):
""
==
t
.
password
?
uni
.
showToast
({
title
:
"请输入登录密码"
,
icon
:
"none"
}):(
0
,
e
.
post
)(
a
.
default
.
login
,{
phone
:
t
.
account
,
password
:
t
.
password
}).
then
((
function
(
t
){
200
==
t
.
code
?(
uni
.
setStorageSync
(
"userdata"
,
t
.
data
),
uni
.
navigateTo
({
url
:
"/pages/shopdetail/shopdetail"
})):
uni
.
showToast
({
title
:
t
.
msg
,
icon
:
"none"
})}))}}};
n
.
default
=
s
}}]);
\ No newline at end of file
unpackage/dist/build/h5/static/js/pages-login-login.a29a1b77.js
0 → 100644
浏览文件 @
29a418e6
(
window
[
"webpackJsonp"
]
=
window
[
"webpackJsonp"
]
||
[]).
push
([[
"pages-login-login"
],{
"1de5"
:
function
(
t
,
n
,
o
){
"use strict"
;
t
.
exports
=
function
(
t
,
n
){
return
n
||
(
n
=
{}),
t
=
t
&&
t
.
__esModule
?
t
.
default
:
t
,
"string"
!==
typeof
t
?
t
:(
/^
[
'"
]
.*
[
'"
]
$/
.
test
(
t
)
&&
(
t
=
t
.
slice
(
1
,
-
1
)),
n
.
hash
&&
(
t
+=
n
.
hash
),
/
[
"'()
\t\n]
/
.
test
(
t
)
||
n
.
needQuotes
?
'"'
.
concat
(
t
.
replace
(
/"/g
,
'
\\
"'
).
replace
(
/
\n
/g
,
"
\
\n
"
),
'"'
):
t
)}},
"2b7c"
:
function
(
t
,
n
,
o
){
var
i
=
o
(
"24fb"
),
e
=
o
(
"1de5"
),
a
=
o
(
"38f1"
);
n
=
i
(
!
1
);
var
s
=
e
(
a
);
n
.
push
([
t
.
i
,
'@charset "UTF-8";
\
r
\
n/**
\
r
\
n * 这里是uni-app内置的常用样式变量
\
r
\
n *
\
r
\
n * uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量
\
r
\
n * 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App
\
r
\
n *
\
r
\
n */
\
r
\
n/**
\
r
\
n * 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能
\
r
\
n *
\
r
\
n * 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件
\
r
\
n */
\
r
\
n/* 颜色变量 */
\
r
\
n/* 行为相关颜色 */
\
r
\
n/* 文字基本颜色 */
\
r
\
n/* 背景颜色 */
\
r
\
n/* 边框颜色 */
\
r
\
n/* 尺寸变量 */
\
r
\
n/* 文字尺寸 */
\
r
\
n/* 图片尺寸 */
\
r
\
n/* Border Radius */
\
r
\
n/* 水平间距 */
\
r
\
n/* 垂直间距 */
\
r
\
n/* 透明度 */
\
r
\
n/* 文章场景相关 */.login[data-v-68a2610c]{width:100%;height:100%;padding-top:%?88?%}.login .login_head[data-v-68a2610c]{width:100%;height:%?88?%;text-align:center;line-height:%?88?%;border-bottom:1px solid #f4f5f8;font-weight:700;font-size:%?32?%;color:#000;margin-bottom:%?70?%}.login .login_img[data-v-68a2610c]{width:100%}.login .login_img uni-image[data-v-68a2610c]{width:%?196?%;height:%?196?%;display:block;margin:auto}.login .logo_text[data-v-68a2610c]{width:100%;text-align:center;margin-top:%?22?%;font-size:%?32?%;font-weight:700;letter-spacing:%?4?%;color:#565656}.login .logo_input[data-v-68a2610c]{width:78%;margin-left:11%;margin-top:%?76?%}.login .logo_input .logo_input_list[data-v-68a2610c]{width:100%;height:%?124?%;border-bottom:1px solid #9c9b9e;color:#030303;font-weight:400;position:relative}.login .logo_input .logo_input_list .placeholder[data-v-68a2610c]{color:#9c9b9e}.login .logo_input .logo_input_list uni-input[data-v-68a2610c]{width:74%;background-color:initial;border:none;outline:none;height:%?104?%;line-height:%?104?%;font-size:%?28?%;position:absolute;left:0;bottom:0}.login .logo_input .logo_input_list .close[data-v-68a2610c]{width:%?40?%;height:%?40?%;position:absolute;bottom:%?32?%;right:%?64?%}.login .logo_input .logo_input_list .show_icon[data-v-68a2610c]{position:absolute;right:0;bottom:%?32?%;width:%?40?%;height:%?40?%}.login .logo_input .logo_input_list .hide_icon[data-v-68a2610c]{position:absolute;right:0;bottom:%?32?%;width:%?40?%;height:%?40?%}.login .logo_input .submit_btn[data-v-68a2610c]{width:100%;height:%?96?%;margin-top:%?60?%;background-image:url('
+
s
+
");background-repeat:no-repeat;background-size:100% 100%;font-weight:500;color:#fff;font-size:%?34?%;text-align:center;line-height:%?96?%}"
,
""
]),
t
.
exports
=
n
},
"38f1"
:
function
(
t
,
n
,
o
){
t
.
exports
=
o
.
p
+
"static/img/btn_bg.76fda38d.png"
},
4701
:
function
(
t
,
n
,
o
){
"use strict"
;
o
.
r
(
n
);
var
i
=
o
(
"8d41"
),
e
=
o
(
"5b80"
);
for
(
var
a
in
e
)
"default"
!==
a
&&
function
(
t
){
o
.
d
(
n
,
t
,(
function
(){
return
e
[
t
]}))}(
a
);
o
(
"820e"
);
var
s
,
c
=
o
(
"f0c5"
),
r
=
Object
(
c
[
"a"
])(
e
[
"default"
],
i
[
"b"
],
i
[
"c"
],
!
1
,
null
,
"68a2610c"
,
null
,
!
1
,
i
[
"a"
],
s
);
n
[
"default"
]
=
r
.
exports
},
"5b80"
:
function
(
t
,
n
,
o
){
"use strict"
;
o
.
r
(
n
);
var
i
=
o
(
"fe6b"
),
e
=
o
.
n
(
i
);
for
(
var
a
in
i
)
"default"
!==
a
&&
function
(
t
){
o
.
d
(
n
,
t
,(
function
(){
return
i
[
t
]}))}(
a
);
n
[
"default"
]
=
e
.
a
},
"64c3"
:
function
(
t
,
n
){
t
.
exports
=
"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABQAAAAUCAYAAACNiR0NAAABL0lEQVQ4T+2UvUoDQRSFzxnQp7DSNxAEfYTYhEB2d6xtxEo7g7Vop5XYWDv7A2JjHkFB8A20ylMozJHdZMMaF3chW2a6mTn3m3vvuQzR8WLHPKyA045KYpIkPQAHJHcBbEgCyQmAF0kuiqJxLl304E8PnXM7xpg7ANsNhr1774+stW9V3S+gc+6Y5A3JtZbuf3nvT621t6V+DkyS5AzAZQ3oGcDh7PwewP6CRpLOoygqYgtgmqZ9SY/lvhpgjNkaDoef+VmWZZve+4+aR+W9H1hrnwqgc65vjFkKSHIQBMEUmK84jkckL2qybCo5Dx+FYXg1L7mE5qYYY64BrLcxRdK3pJNaUyrQ7samkhXjOO6RtAD28sGe3U0kvQJ4CMNwTLJ5sNuU+p9m9dss20HgByxjdxUR+WUsAAAAAElFTkSuQmCC"
},
"820e"
:
function
(
t
,
n
,
o
){
"use strict"
;
var
i
=
o
(
"9729"
),
e
=
o
.
n
(
i
);
e
.
a
},
"8d41"
:
function
(
t
,
n
,
o
){
"use strict"
;
var
i
;
o
.
d
(
n
,
"b"
,(
function
(){
return
e
})),
o
.
d
(
n
,
"c"
,(
function
(){
return
a
})),
o
.
d
(
n
,
"a"
,(
function
(){
return
i
}));
var
e
=
function
(){
var
t
=
this
,
n
=
t
.
$createElement
,
i
=
t
.
_self
.
_c
||
n
;
return
i
(
"v-uni-view"
,{
staticClass
:
"login"
},[
i
(
"v-uni-view"
,{
staticClass
:
"login_img"
},[
i
(
"v-uni-image"
,{
attrs
:{
src
:
o
(
"ccd4"
),
mode
:
"widthFix"
}})],
1
),
i
(
"v-uni-view"
,{
staticClass
:
"logo_text"
},[
t
.
_v
(
"商家端"
)]),
i
(
"v-uni-view"
,{
staticClass
:
"logo_input"
},[
i
(
"v-uni-view"
,{
staticClass
:
"logo_input_list"
},[
i
(
"v-uni-input"
,{
attrs
:{
type
:
"number"
,
placeholder
:
"请输入登录账号"
,
"placeholder-class"
:
"placeholder"
},
model
:{
value
:
t
.
account
,
callback
:
function
(
n
){
t
.
account
=
n
},
expression
:
"account"
}})],
1
),
i
(
"v-uni-view"
,{
staticClass
:
"logo_input_list"
},[
t
.
ispassword
?
i
(
"v-uni-input"
,{
attrs
:{
type
:
"password"
,
placeholder
:
"请输入登录密码"
,
"placeholder-class"
:
"placeholder"
},
model
:{
value
:
t
.
password
,
callback
:
function
(
n
){
t
.
password
=
n
},
expression
:
"password"
}}):
i
(
"v-uni-input"
,{
attrs
:{
type
:
"text"
,
placeholder
:
"请输入登录密码"
,
"placeholder-class"
:
"placeholder"
},
model
:{
value
:
t
.
password
,
callback
:
function
(
n
){
t
.
password
=
n
},
expression
:
"password"
}}),
t
.
password
?
i
(
"v-uni-image"
,{
staticClass
:
"close"
,
attrs
:{
src
:
o
(
"cca2"
),
mode
:
"widthFix"
},
on
:{
click
:
function
(
n
){
arguments
[
0
]
=
n
=
t
.
$handleEvent
(
n
),
t
.
password
=
""
}}}):
t
.
_e
(),
t
.
ispassword
?
i
(
"v-uni-image"
,{
staticClass
:
"show_icon"
,
attrs
:{
src
:
o
(
"e8c7"
),
mode
:
"widthFix"
},
on
:{
click
:
function
(
n
){
arguments
[
0
]
=
n
=
t
.
$handleEvent
(
n
),
t
.
ispassword
=!
1
}}}):
t
.
_e
(),
t
.
ispassword
?
t
.
_e
():
i
(
"v-uni-image"
,{
staticClass
:
"hide_icon"
,
attrs
:{
src
:
o
(
"64c3"
),
mode
:
"widthFix"
},
on
:{
click
:
function
(
n
){
arguments
[
0
]
=
n
=
t
.
$handleEvent
(
n
),
t
.
ispassword
=!
0
}}})],
1
),
i
(
"v-uni-view"
,{
staticClass
:
"submit_btn"
,
on
:{
click
:
function
(
n
){
arguments
[
0
]
=
n
=
t
.
$handleEvent
(
n
),
t
.
submit
.
apply
(
void
0
,
arguments
)}}},[
t
.
_v
(
"登录"
)])],
1
)],
1
)},
a
=
[]},
9729
:
function
(
t
,
n
,
o
){
var
i
=
o
(
"2b7c"
);
"string"
===
typeof
i
&&
(
i
=
[[
t
.
i
,
i
,
""
]]),
i
.
locals
&&
(
t
.
exports
=
i
.
locals
);
var
e
=
o
(
"4f06"
).
default
;
e
(
"90bc8566"
,
i
,
!
0
,{
sourceMap
:
!
1
,
shadowMode
:
!
1
})},
cca2
:
function
(
t
,
n
){
t
.
exports
=
"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABQAAAAUCAYAAACNiR0NAAABk0lEQVQ4T62UP0vEQBDF3xznn8pvIBYq+A1EKzvttMkupFC4XhQrUewEK/8cCFZ6aBHI7jV22ll52FoJauU3SKNCuJENm7gXE+/EpJ23P+a9mQyh4o/KeGEYLgLwiWgewLjVvTHzPYBASnlb9PYHMAiCmXq9fgFgrk/znTiOG77vP7m6HqDWeoGZrwGMDZhERETLnufdpfoMaDt7+AMsZURxHM+mnWZApZTJpp/NssY7QgiTNRKgGQAR3bhqZlYAXoloO9WZOjO3iCgCsJHTL5lBJUCt9SUzr+YEB1LKHa31JjMfWeipEGI9DMMGEZ3n9FdSyrUEqJR6BjCV88NEtOV53omFThpYu91e6Xa7IYDhnP5FCDGdAj8AjBQElEFN7ReYKX8KIUb7AY0wsWmdmNyO3UydJnqARZYzmO1sQgjRzGXqmvq2XDKUlpSy4dgcSjNVSu0C2C8dStHaAGgy8yMRnTkDYAB7AN4BHJaujc2nusU2wMp/Pbvg1R2HNI9Kz5cbshlUrVbzmfl/B3bAO1gq+wJ7TfAVaeML5QAAAABJRU5ErkJggg=="
},
ccd4
:
function
(
t
,
n
,
o
){
t
.
exports
=
o
.
p
+
"static/img/logo.4583c100.png"
},
e8c7
:
function
(
t
,
n
){
t
.
exports
=
"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABQAAAAUCAYAAACNiR0NAAABeElEQVQ4T+3Tr0tDURQH8PN9m8JY2bAYRMRk0OY/ICJGDb4Djw3WXNElwxBRBBGDSQ0ujY3BY/cZNIrBf0AQwSBoEDFYxFdkwc2vPJlDJ/5eUPC2++tz7z3nXEiLG1rsyT/484j+kRh6njdNMqqqK995tDEmC+DWtu31xycbY5YAzJLMqOrGV1BjzBSANZLLqjr3BIZIbgEYI7ni+/5COp2+ew/O5XJtsVhsEUCW5A6ACVWtNZISLIjH48HtJkXkRERWK5XKdiqVun4OFwqFjkgkMi4iMyLSRzLv+3766QINkCQ8z9usgxci0k3yHsC5iFzV0U6SPQAsETkTkd7g8FqtlnQc5zBY0wCNMQMAjkRkybbtedd1B8Ph8AjJfhEZrYO7AI6r1eqe4zgHrusOW5aVB3CqqsMvwKBTKpW6ksnkZXPsjDH7wZiqDjXPFYvFaCgUak8kEjevwLeS8B7YvOdTP6VcLmcsy2JQZx+V1KfAj5Dn878ffADtwY0V691XKAAAAABJRU5ErkJggg=="
},
fe6b
:
function
(
t
,
n
,
o
){
"use strict"
;
var
i
=
o
(
"4ea4"
);
Object
.
defineProperty
(
n
,
"__esModule"
,{
value
:
!
0
}),
n
.
default
=
void
0
;
var
e
=
i
(
o
(
"e1fa"
)),
a
=
o
(
"6eb9"
),
s
=
{
data
:
function
(){
return
{
account
:
""
,
password
:
""
,
ispassword
:
!
0
}},
onLoad
:
function
(){
var
t
=
(
new
Date
).
getTime
(),
n
=
uni
.
getStorageSync
(
"timeStemp"
),
o
=
(
t
-
n
)
/
864
e5
;
o
<
3
?(
this
.
account
=
uni
.
getStorageSync
(
"account"
),
this
.
password
=
uni
.
getStorageSync
(
"password"
)):(
this
.
account
=
""
,
this
.
password
=
""
)},
methods
:{
submit
:
function
(){
var
t
=
this
;
""
==
t
.
account
?
uni
.
showToast
({
title
:
"请输入登录账号"
,
icon
:
"none"
}):
""
==
t
.
password
?
uni
.
showToast
({
title
:
"请输入登录密码"
,
icon
:
"none"
}):(
0
,
a
.
post
)(
e
.
default
.
login
,{
phone
:
t
.
account
,
password
:
t
.
password
}).
then
((
function
(
n
){
if
(
200
==
n
.
code
){
uni
.
setStorageSync
(
"userdata"
,
n
.
data
);
var
o
=
(
new
Date
).
getTime
();
uni
.
setStorageSync
(
"timeStemp"
,
o
),
uni
.
setStorageSync
(
"account"
,
t
.
account
),
uni
.
setStorageSync
(
"password"
,
t
.
password
),
uni
.
navigateTo
({
url
:
"/pages/shopdetail/shopdetail"
})}
else
uni
.
showToast
({
title
:
n
.
msg
,
icon
:
"none"
})}))}}};
n
.
default
=
s
}}]);
\ No newline at end of file
unpackage/dist/build/h5/static/js/pages-shopdetail-shopdetail.90cf6b6a.js
0 → 100644
浏览文件 @
29a418e6
差异被折叠。
点击展开。
unpackage/dist/build/h5/static/js/pages-shopdetail-shopdetail.d1d569cf.js
deleted
100644 → 0
浏览文件 @
a925b5d8
差异被折叠。
点击展开。
unpackage/dist/build/h5/static/util/api.js
浏览文件 @
29a418e6
const
erp
=
erp
||
{};
const
erp
=
erp
||
{};
//const DOMAIN = 'https://dev.diaosaas.com/car/';
// const DOMAIN='https://diaosaas.com/car/'
// const DOMAIN='https://dev.diaosaas.com/partyHistory/'//测试
const
DOMAIN
=
'https://faces.diaosaas.com/garden/'
//正式
const
DOMAIN
=
'https://faces.diaosaas.com/garden/'
//正式
// const DOMAIN = 'http://192.168.1.1
98:9095
/';
// const DOMAIN = 'http://192.168.1.1
79:9101
/';
//const DOMAIN = 'http://192.168.1.163:8089/';
//const DOMAIN = 'http://192.168.1.163:8089/';
//const DOMAIN ='http://47.110.68.2/car/'
//const DOMAIN ='http://47.110.68.2/car/'
//const HOST = '/api' + 'api/';
//const HOST = '/api' + 'api/';
...
...
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论