Skip to content
项目
群组
代码片段
帮助
正在加载...
帮助
为 GitLab 提交贡献
登录/注册
切换导航
G
garden_merchant
项目
项目
详情
活动
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
分枝图
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
计划
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
分枝图
统计图
创建新议题
作业
提交
议题看板
打开侧边栏
黄旭新
garden_merchant
Commits
702e6714
提交
702e6714
authored
8月 25, 2021
作者:
彭涛
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
测试版本
上级
8ff89d82
全部展开
显示空白字符变更
内嵌
并排
正在显示
18 个修改的文件
包含
37 行增加
和
85 行删除
+37
-85
launch.json
.hbuilderx/launch.json
+10
-5
manifest.json
manifest.json
+2
-2
login.vue
pages/login/login.vue
+3
-0
shopdetail.vue
pages/shopdetail/shopdetail.vue
+8
-63
index.html
unpackage/dist/build/h5/index.html
+2
-2
index.3e73f18a.css
unpackage/dist/build/h5/static/index.3e73f18a.css
+0
-1
index.f4fc78fe.css
unpackage/dist/build/h5/static/index.f4fc78fe.css
+1
-0
chunk-vendors.69673c75.js
unpackage/dist/build/h5/static/js/chunk-vendors.69673c75.js
+0
-7
chunk-vendors.d2b2168a.js
unpackage/dist/build/h5/static/js/chunk-vendors.d2b2168a.js
+7
-0
index.3bf44ac7.js
unpackage/dist/build/h5/static/js/index.3bf44ac7.js
+1
-0
index.df9949c5.js
unpackage/dist/build/h5/static/js/index.df9949c5.js
+0
-1
pages-changepassword-changepassword.72f570fb.js
...static/js/pages-changepassword-changepassword.72f570fb.js
+1
-0
pages-changepassword-changepassword.bedd571f.js
...static/js/pages-changepassword-changepassword.bedd571f.js
+0
-1
pages-index-index.422158c9.js
...age/dist/build/h5/static/js/pages-index-index.422158c9.js
+0
-1
pages-login-login.718848e4.js
...age/dist/build/h5/static/js/pages-login-login.718848e4.js
+1
-0
pages-login-login.bb43740b.js
...age/dist/build/h5/static/js/pages-login-login.bb43740b.js
+0
-1
pages-shopdetail-shopdetail.a917bd86.js
...uild/h5/static/js/pages-shopdetail-shopdetail.a917bd86.js
+0
-1
pages-shopdetail-shopdetail.f1c88fec.js
...uild/h5/static/js/pages-shopdetail-shopdetail.f1c88fec.js
+1
-0
没有找到文件。
.hbuilderx/launch.json
浏览文件 @
702e6714
...
...
@@ -2,10 +2,15 @@
//
launchtype项可配置值为local或remote
,
local代表前端连本地云函数,remote代表前端连云端云函数
"version"
:
"0.0"
,
"configurations"
:
[{
"type"
:
"uniCloud"
,
"default"
:
{
"launchtype"
:
"local"
}
"default"
:
{
"launchtype"
:
"local"
},
"h5"
:
{
"launchtype"
:
"local"
},
"type"
:
"uniCloud"
}
]
}
manifest.json
浏览文件 @
702e6714
{
"name"
:
"
garden_merchant
"
,
"appid"
:
"__UNI__3
950FC7
"
,
"name"
:
"
腾冲 · 花缘商家
"
,
"appid"
:
"__UNI__3
0A8122
"
,
"description"
:
""
,
"versionName"
:
"1.0.0"
,
"versionCode"
:
"100"
,
...
...
pages/login/login.vue
浏览文件 @
702e6714
...
...
@@ -53,6 +53,9 @@
}).
then
(
res
=>
{
if
(
res
.
code
==
200
){
uni
.
setStorageSync
(
'userdata'
,
res
.
data
);
uni
.
navigateTo
({
url
:
'/pages/shopdetail/shopdetail'
})
}
else
{
uni
.
showToast
({
title
:
res
.
msg
,
...
...
pages/shopdetail/shopdetail.vue
浏览文件 @
702e6714
...
...
@@ -5,7 +5,7 @@
<image
src=
"../../static/images/shop_bg.png"
mode=
"widthFix"
></image>
</view>
<view
class=
"shopdetail_title"
>
<text>
店名
</text>
<text>
{{
userdata
.
tMerchant
.
name
}}
</text>
<view
class=
"change_passworld"
@
click=
"change"
>
修改登录密码
</view>
</view>
<view
class=
"gathering_code"
@
click=
"issave=true"
>
...
...
@@ -14,19 +14,19 @@
</view>
<view
class=
"flex_tab"
>
<view
class=
"flex_block"
>
<view
class=
"flex_title"
>
1000
</view>
<view
class=
"flex_title"
>
{{
userdata
.
todayIncome
}}
</view>
<view
class=
"flex_dec"
>
今日总收入
</view>
<view
class=
"flex_dec"
>
(花缘里币)
</view>
<view
class=
"heng"
></view>
</view>
<view
class=
"flex_block"
>
<view
class=
"flex_title"
>
1000
</view>
<view
class=
"flex_title"
>
{{
userdata
.
monthIncome
}}
</view>
<view
class=
"flex_dec"
>
本月收入
</view>
<view
class=
"flex_dec"
>
(花缘里币)
</view>
<view
class=
"heng"
></view>
</view>
<view
class=
"flex_block"
>
<view
class=
"flex_title"
>
1000
</view>
<view
class=
"flex_title"
>
{{
userdata
.
totalIncome
}}
</view>
<view
class=
"flex_dec"
>
累计收入
</view>
<view
class=
"flex_dec"
>
(花缘里币)
</view>
</view>
...
...
@@ -122,65 +122,9 @@
sign
:
1
,
//标志 1:年;2:月;3:日
monthall
:
false
,
monthlist
:
[
'全部'
,
'1月'
,
'2月'
,
'3月'
,
'4月'
,
'5月'
,
'6月'
,
'7月'
,
'8月'
,
'9月'
,
'10月'
,
'11月'
,
'12月'
],
earningslist
:
[{
"id"
:
12
,
"merchantId"
:
22
,
"orderSn"
:
"22222222222222"
,
"nickName"
:
null
,
"gardenMoney"
:
20
,
"merchantType"
:
"1"
,
"createTime"
:
"2021-08-23 10:30:31"
,
"createStartTime"
:
null
,
"createEndTime"
:
null
,
"updateTime"
:
null
,
"buyerName"
:
"傻逼用户"
,
"createDate"
:
null
},
{
"id"
:
11
,
"merchantId"
:
22
,
"orderSn"
:
"22222222222222"
,
"nickName"
:
null
,
"gardenMoney"
:
20
,
"merchantType"
:
"1"
,
"createTime"
:
"2021-08-23 10:30:31"
,
"createStartTime"
:
null
,
"createEndTime"
:
null
,
"updateTime"
:
null
,
"buyerName"
:
"傻逼用户"
,
"createDate"
:
null
}
],
statisticslist
:
[{
"id"
:
null
,
"merchantId"
:
null
,
"orderSn"
:
null
,
"nickName"
:
null
,
"gardenMoney"
:
160
,
"merchantType"
:
null
,
"createTime"
:
"2021-08-15 10:30:31"
,
"createStartTime"
:
null
,
"createEndTime"
:
null
,
"updateTime"
:
null
,
"buyerName"
:
null
,
"createDate"
:
null
},
{
"id"
:
null
,
"merchantId"
:
null
,
"orderSn"
:
null
,
"nickName"
:
null
,
"gardenMoney"
:
10
,
"merchantType"
:
null
,
"createTime"
:
"2020-08-10 10:26:00"
,
"createStartTime"
:
null
,
"createEndTime"
:
null
,
"updateTime"
:
null
,
"buyerName"
:
null
,
"createDate"
:
null
}
],
userdata
:
''
earningslist
:
[],
statisticslist
:
[],
userdata
:
{}
}
},
onLoad
()
{
...
...
@@ -190,6 +134,7 @@
let
that
=
this
that
.
userdata
=
uni
.
getStorageSync
(
'userdata'
);
that
.
collectionCodeUrl
=
that
.
userdata
.
tMerchant
.
collectionCodeUrl
that
.
getearnings
()
},
methods
:
{
//
...
...
unpackage/dist/build/h5/index.html
浏览文件 @
702e6714
<!DOCTYPE html>
<html
lang=
zh-CN
><head><meta
charset=
utf-8
><meta
http-equiv=
X-UA-Compatible
content=
"IE=edge"
><title>
garden_merchant
</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.3e73f18a.css
></head><body><noscript><strong>
Please enable JavaScript to continue.
</strong></noscript><div
id=
app
></div><script
src=
./static/js/chunk-vendors.69673c75.js
></script><script
src=
./static/js/index.df9949c5.js
></script></body></html>
\ No newline at end of file
<!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.3bf44ac7.js
></script></body></html>
\ No newline at end of file
unpackage/dist/build/h5/static/index.3e73f18a.css
deleted
100644 → 0
浏览文件 @
8ff89d82
差异被折叠。
点击展开。
unpackage/dist/build/h5/static/index.f4fc78fe.css
0 → 100644
浏览文件 @
702e6714
差异被折叠。
点击展开。
unpackage/dist/build/h5/static/js/chunk-vendors.69673c75.js
deleted
100644 → 0
浏览文件 @
8ff89d82
差异被折叠。
点击展开。
unpackage/dist/build/h5/static/js/chunk-vendors.d2b2168a.js
0 → 100644
浏览文件 @
702e6714
差异被折叠。
点击展开。
unpackage/dist/build/h5/static/js/index.3bf44ac7.js
0 → 100644
浏览文件 @
702e6714
差异被折叠。
点击展开。
unpackage/dist/build/h5/static/js/index.df9949c5.js
deleted
100644 → 0
浏览文件 @
8ff89d82
差异被折叠。
点击展开。
unpackage/dist/build/h5/static/js/pages-changepassword-changepassword.72f570fb.js
0 → 100644
浏览文件 @
702e6714
差异被折叠。
点击展开。
unpackage/dist/build/h5/static/js/pages-changepassword-changepassword.bedd571f.js
deleted
100644 → 0
浏览文件 @
8ff89d82
差异被折叠。
点击展开。
unpackage/dist/build/h5/static/js/pages-index-index.422158c9.js
deleted
100644 → 0
浏览文件 @
8ff89d82
(
window
[
"webpackJsonp"
]
=
window
[
"webpackJsonp"
]
||
[]).
push
([[
"pages-index-index"
],{
"06e4"
:
function
(
t
,
e
,
n
){
"use strict"
;
Object
.
defineProperty
(
e
,
"__esModule"
,{
value
:
!
0
}),
e
.
default
=
void
0
;
var
i
=
{
data
:
function
(){
return
{
title
:
"Hello"
}},
onLoad
:
function
(){},
methods
:{}};
e
.
default
=
i
},
"07e5"
:
function
(
t
,
e
,
n
){
"use strict"
;
n
.
r
(
e
);
var
i
=
n
(
"06e4"
),
a
=
n
.
n
(
i
);
for
(
var
o
in
i
)
"default"
!==
o
&&
function
(
t
){
n
.
d
(
e
,
t
,(
function
(){
return
i
[
t
]}))}(
o
);
e
[
"default"
]
=
a
.
a
},
"0a27"
:
function
(
t
,
e
,
n
){
var
i
=
n
(
"24fb"
);
e
=
i
(
!
1
),
e
.
push
([
t
.
i
,
".content[data-v-55d28df0]{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;flex-direction:column;-webkit-box-align:center;-webkit-align-items:center;align-items:center;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center}.logo[data-v-55d28df0]{height:%?200?%;width:%?200?%;margin-top:%?200?%;margin-left:auto;margin-right:auto;margin-bottom:%?50?%}.text-area[data-v-55d28df0]{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center}.title[data-v-55d28df0]{font-size:%?36?%;color:#8f8f94}"
,
""
]),
t
.
exports
=
e
},
3612
:
function
(
t
,
e
,
n
){
"use strict"
;
var
i
=
n
(
"f430"
),
a
=
n
.
n
(
i
);
a
.
a
},
"61f2"
:
function
(
t
,
e
,
n
){
"use strict"
;
var
i
;
n
.
d
(
e
,
"b"
,(
function
(){
return
a
})),
n
.
d
(
e
,
"c"
,(
function
(){
return
o
})),
n
.
d
(
e
,
"a"
,(
function
(){
return
i
}));
var
a
=
function
(){
var
t
=
this
,
e
=
t
.
$createElement
,
n
=
t
.
_self
.
_c
||
e
;
return
n
(
"v-uni-view"
,{
staticClass
:
"content"
},[
n
(
"v-uni-image"
,{
staticClass
:
"logo"
,
attrs
:{
src
:
"/static/logo.png"
}}),
n
(
"v-uni-view"
,{
staticClass
:
"text-area"
},[
n
(
"v-uni-text"
,{
staticClass
:
"title"
},[
t
.
_v
(
t
.
_s
(
t
.
title
))])],
1
)],
1
)},
o
=
[]},
a123
:
function
(
t
,
e
,
n
){
"use strict"
;
n
.
r
(
e
);
var
i
=
n
(
"61f2"
),
a
=
n
(
"07e5"
);
for
(
var
o
in
a
)
"default"
!==
o
&&
function
(
t
){
n
.
d
(
e
,
t
,(
function
(){
return
a
[
t
]}))}(
o
);
n
(
"3612"
);
var
r
,
c
=
n
(
"f0c5"
),
f
=
Object
(
c
[
"a"
])(
a
[
"default"
],
i
[
"b"
],
i
[
"c"
],
!
1
,
null
,
"55d28df0"
,
null
,
!
1
,
i
[
"a"
],
r
);
e
[
"default"
]
=
f
.
exports
},
f430
:
function
(
t
,
e
,
n
){
var
i
=
n
(
"0a27"
);
"string"
===
typeof
i
&&
(
i
=
[[
t
.
i
,
i
,
""
]]),
i
.
locals
&&
(
t
.
exports
=
i
.
locals
);
var
a
=
n
(
"4f06"
).
default
;
a
(
"382d0f47"
,
i
,
!
0
,{
sourceMap
:
!
1
,
shadowMode
:
!
1
})}}]);
\ No newline at end of file
unpackage/dist/build/h5/static/js/pages-login-login.718848e4.js
0 → 100644
浏览文件 @
702e6714
(
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.bb43740b.js
deleted
100644 → 0
浏览文件 @
8ff89d82
(
window
[
"webpackJsonp"
]
=
window
[
"webpackJsonp"
]
||
[]).
push
([[
"pages-login-login"
],{
"10db"
:
function
(
t
,
n
,
i
){
"use strict"
;
var
o
=
i
(
"4ea4"
);
Object
.
defineProperty
(
n
,
"__esModule"
,{
value
:
!
0
}),
n
.
default
=
void
0
;
var
e
=
o
(
i
(
"69cf"
)),
a
=
i
(
"eda4"
),
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
,
a
.
post
)(
e
.
default
.
login
,{
phone
:
t
.
account
,
password
:
t
.
password
}).
then
((
function
(
t
){
200
==
t
.
code
?
uni
.
setStorageSync
(
"userdata"
,
t
.
data
):
uni
.
showToast
({
title
:
t
.
msg
,
icon
:
"none"
})}))}}};
n
.
default
=
s
},
"13cf"
:
function
(
t
,
n
){
t
.
exports
=
"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABQAAAAUCAYAAACNiR0NAAABk0lEQVQ4T62UP0vEQBDF3xznn8pvIBYq+A1EKzvttMkupFC4XhQrUewEK/8cCFZ6aBHI7jV22ll52FoJauU3SKNCuJENm7gXE+/EpJ23P+a9mQyh4o/KeGEYLgLwiWgewLjVvTHzPYBASnlb9PYHMAiCmXq9fgFgrk/znTiOG77vP7m6HqDWeoGZrwGMDZhERETLnufdpfoMaDt7+AMsZURxHM+mnWZApZTJpp/NssY7QgiTNRKgGQAR3bhqZlYAXoloO9WZOjO3iCgCsJHTL5lBJUCt9SUzr+YEB1LKHa31JjMfWeipEGI9DMMGEZ3n9FdSyrUEqJR6BjCV88NEtOV53omFThpYu91e6Xa7IYDhnP5FCDGdAj8AjBQElEFN7ReYKX8KIUb7AY0wsWmdmNyO3UydJnqARZYzmO1sQgjRzGXqmvq2XDKUlpSy4dgcSjNVSu0C2C8dStHaAGgy8yMRnTkDYAB7AN4BHJaujc2nusU2wMp/Pbvg1R2HNI9Kz5cbshlUrVbzmfl/B3bAO1gq+wJ7TfAVaeML5QAAAABJRU5ErkJggg=="
},
"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
)}},
"1eec"
:
function
(
t
,
n
){
t
.
exports
=
"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABQAAAAUCAYAAACNiR0NAAABeElEQVQ4T+3Tr0tDURQH8PN9m8JY2bAYRMRk0OY/ICJGDb4Djw3WXNElwxBRBBGDSQ0ujY3BY/cZNIrBf0AQwSBoEDFYxFdkwc2vPJlDJ/5eUPC2++tz7z3nXEiLG1rsyT/484j+kRh6njdNMqqqK995tDEmC+DWtu31xycbY5YAzJLMqOrGV1BjzBSANZLLqjr3BIZIbgEYI7ni+/5COp2+ew/O5XJtsVhsEUCW5A6ACVWtNZISLIjH48HtJkXkRERWK5XKdiqVun4OFwqFjkgkMi4iMyLSRzLv+3766QINkCQ8z9usgxci0k3yHsC5iFzV0U6SPQAsETkTkd7g8FqtlnQc5zBY0wCNMQMAjkRkybbtedd1B8Ph8AjJfhEZrYO7AI6r1eqe4zgHrusOW5aVB3CqqsMvwKBTKpW6ksnkZXPsjDH7wZiqDjXPFYvFaCgUak8kEjevwLeS8B7YvOdTP6VcLmcsy2JQZx+V1KfAj5Dn878ffADtwY0V691XKAAAAABJRU5ErkJggg=="
},
"2ded"
:
function
(
t
,
n
,
i
){
var
o
=
i
(
"24fb"
),
e
=
i
(
"1de5"
),
a
=
i
(
"55e8"
);
n
=
o
(
!
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-a099db36]{width:100%;height:100%;padding-top:%?88?%}.login .login_head[data-v-a099db36]{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-a099db36]{width:100%}.login .login_img uni-image[data-v-a099db36]{width:%?196?%;height:%?196?%;display:block;margin:auto}.login .logo_text[data-v-a099db36]{width:100%;text-align:center;margin-top:%?22?%;font-size:%?30?%;color:#565656;font-weight:500}.login .logo_input[data-v-a099db36]{width:78%;margin-left:11%;margin-top:%?76?%}.login .logo_input .logo_input_list[data-v-a099db36]{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-a099db36]{color:#9c9b9e;font-weight:500}.login .logo_input .logo_input_list uni-input[data-v-a099db36]{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-a099db36]{width:%?40?%;height:%?40?%;position:absolute;bottom:%?32?%;right:%?64?%}.login .logo_input .logo_input_list .show_icon[data-v-a099db36]{position:absolute;right:0;bottom:%?32?%;width:%?40?%;height:%?40?%}.login .logo_input .logo_input_list .hide_icon[data-v-a099db36]{position:absolute;right:0;bottom:%?32?%;width:%?40?%;height:%?40?%}.login .logo_input .submit_btn[data-v-a099db36]{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
},
3600
:
function
(
t
,
n
){
t
.
exports
=
"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABQAAAAUCAYAAACNiR0NAAABL0lEQVQ4T+2UvUoDQRSFzxnQp7DSNxAEfYTYhEB2d6xtxEo7g7Vop5XYWDv7A2JjHkFB8A20ylMozJHdZMMaF3chW2a6mTn3m3vvuQzR8WLHPKyA045KYpIkPQAHJHcBbEgCyQmAF0kuiqJxLl304E8PnXM7xpg7ANsNhr1774+stW9V3S+gc+6Y5A3JtZbuf3nvT621t6V+DkyS5AzAZQ3oGcDh7PwewP6CRpLOoygqYgtgmqZ9SY/lvhpgjNkaDoef+VmWZZve+4+aR+W9H1hrnwqgc65vjFkKSHIQBMEUmK84jkckL2qybCo5Dx+FYXg1L7mE5qYYY64BrLcxRdK3pJNaUyrQ7samkhXjOO6RtAD28sGe3U0kvQJ4CMNwTLJ5sNuU+p9m9dss20HgByxjdxUR+WUsAAAAAElFTkSuQmCC"
},
"442b"
:
function
(
t
,
n
,
i
){
var
o
=
i
(
"2ded"
);
"string"
===
typeof
o
&&
(
o
=
[[
t
.
i
,
o
,
""
]]),
o
.
locals
&&
(
t
.
exports
=
o
.
locals
);
var
e
=
i
(
"4f06"
).
default
;
e
(
"781164f8"
,
o
,
!
0
,{
sourceMap
:
!
1
,
shadowMode
:
!
1
})},
4670
:
function
(
t
,
n
,
i
){
"use strict"
;
i
.
r
(
n
);
var
o
=
i
(
"10db"
),
e
=
i
.
n
(
o
);
for
(
var
a
in
o
)
"default"
!==
a
&&
function
(
t
){
i
.
d
(
n
,
t
,(
function
(){
return
o
[
t
]}))}(
a
);
n
[
"default"
]
=
e
.
a
},
"55e8"
:
function
(
t
,
n
,
i
){
t
.
exports
=
i
.
p
+
"static/img/btn_bg.76fda38d.png"
},
"7b7c"
:
function
(
t
,
n
,
i
){
t
.
exports
=
i
.
p
+
"static/img/logo.4583c100.png"
},
"98e6"
:
function
(
t
,
n
,
i
){
"use strict"
;
var
o
;
i
.
d
(
n
,
"b"
,(
function
(){
return
e
})),
i
.
d
(
n
,
"c"
,(
function
(){
return
a
})),
i
.
d
(
n
,
"a"
,(
function
(){
return
o
}));
var
e
=
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
(
"7b7c"
),
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
(
"13cf"
),
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
(
"1eec"
),
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
(
"3600"
),
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
)},
a
=
[]},
ada7
:
function
(
t
,
n
,
i
){
"use strict"
;
i
.
r
(
n
);
var
o
=
i
(
"98e6"
),
e
=
i
(
"4670"
);
for
(
var
a
in
e
)
"default"
!==
a
&&
function
(
t
){
i
.
d
(
n
,
t
,(
function
(){
return
e
[
t
]}))}(
a
);
i
(
"ffe8"
);
var
s
,
l
=
i
(
"f0c5"
),
r
=
Object
(
l
[
"a"
])(
e
[
"default"
],
o
[
"b"
],
o
[
"c"
],
!
1
,
null
,
"a099db36"
,
null
,
!
1
,
o
[
"a"
],
s
);
n
[
"default"
]
=
r
.
exports
},
ffe8
:
function
(
t
,
n
,
i
){
"use strict"
;
var
o
=
i
(
"442b"
),
e
=
i
.
n
(
o
);
e
.
a
}}]);
\ No newline at end of file
unpackage/dist/build/h5/static/js/pages-shopdetail-shopdetail.a917bd86.js
deleted
100644 → 0
浏览文件 @
8ff89d82
差异被折叠。
点击展开。
unpackage/dist/build/h5/static/js/pages-shopdetail-shopdetail.f1c88fec.js
0 → 100644
浏览文件 @
702e6714
差异被折叠。
点击展开。
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论