Skip to content
项目
群组
代码片段
帮助
正在加载...
帮助
提交反馈
为 GitLab 提交贡献
登录
切换导航
F
fenxiao_h5-dz
项目
项目
详情
动态
版本
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
计划
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
动态
分支图
统计图
创建新议题
作业
提交
议题看板
打开侧边栏
张志伟
fenxiao_h5-dz
提交
45ea4b0f
提交
45ea4b0f
编写于
5月 06, 2024
作者:
zhangzhiwei
浏览文件
操作
浏览文件
下载
差异文件
.
上级
771e9713
67fe487b
变更
8
展开全部
显示空白字符变更
内嵌
并排
正在显示
8 个修改的文件
包含
33 行增加
和
41 行删除
+33
-41
pages-good-issue.af5f459b.js
dist/build/h5/assets/pages-good-issue.af5f459b.js
+1
-0
pages-index.0e01d725.js
dist/build/h5/assets/pages-index.0e01d725.js
+1
-0
pages-order-afterSales.748bacc6.js
dist/build/h5/assets/pages-order-afterSales.748bacc6.js
+1
-0
pages-topSearch-index.60863f26.js
dist/build/h5/assets/pages-topSearch-index.60863f26.js
+1
-0
pagesSub-index.c5fe1132.js
dist/build/h5/assets/pagesSub-index.c5fe1132.js
+1
-0
App.vue
src/App.vue
+1
-1
ShopCard.vue
src/components/ShopCard.vue
+5
-3
index.vue
src/pages/index/index.vue
+22
-37
未找到文件。
dist/build/h5/assets/pages-good-issue.af5f459b.js
0 → 100644
浏览文件 @
45ea4b0f
import
{
d
as
t
,
H
as
a
,
r
as
s
,
P
as
e
,
f
as
o
,
h
as
l
,
w
as
r
,
j
as
c
,
l
as
n
,
t
as
i
,
u
,
e
as
p
,
x
as
f
}
from
"./index.3798694c.js"
;
import
{
t
as
d
}
from
"./toTop.be484c9c.js"
;
import
{
_
as
m
}
from
"./plugin-vue_export-helper.21dcd24c.js"
;
var
_
=
m
(
t
({
setup
(
t
){
a
((
t
=>
{}));
const
m
=
s
({
title
:
e
.
getTitle
()});
function
_
(){
e
.
goBack
()}
return
(
t
,
a
)
=>
{
const
s
=
p
(
"van-icon"
),
e
=
f
,
g
=
p
(
"van-sticky"
),
h
=
p
(
"van-image"
);
return
o
(),
l
(
e
,
null
,{
default
:
r
((()
=>
[
c
(
g
,
null
,{
default
:
r
((()
=>
[
c
(
e
,{
class
:
"top-bar justify-center bg-white sh"
},{
default
:
r
((()
=>
[
c
(
s
,{
class
:
"top-left"
,
name
:
"arrow-left"
,
onClick
:
_
}),
c
(
e
,{
class
:
"top-center"
},{
default
:
r
((()
=>
[
n
(
i
(
u
(
m
).
title
),
1
)])),
_
:
1
})])),
_
:
1
})])),
_
:
1
}),
c
(
h
,{
width
:
"100%"
,
src
:
"https://img.edsmall.com/ROOT/ETao/fenxiao/h5/issue.png"
}),
c
(
d
)])),
_
:
1
})}}}),[[
"__scopeId"
,
"data-v-7e910103"
]]);
export
{
_
as
default
};
dist/build/h5/assets/pages-index.0e01d725.js
0 → 100644
浏览文件 @
45ea4b0f
此差异已折叠。
点击以展开。
dist/build/h5/assets/pages-order-afterSales.748bacc6.js
0 → 100644
浏览文件 @
45ea4b0f
import
{
d
as
e
,
r
as
t
,
b
as
a
,
c
as
n
,
f
as
s
,
h
as
r
,
w
as
o
,
j
as
l
,
u
as
i
,
i
as
f
,
l
as
c
,
p
,
e
as
d
,
x
as
u
}
from
"./index.3798694c.js"
;
const
g
=
e
({
setup
(
e
){
const
g
=
t
({
userInfo
:{}});
function
x
(
e
){
e
&&
p
({
url
:
e
})}
function
m
(){
history
.
back
()}
return
a
((()
=>
{
n
.
afterSaleImg
().
then
((
e
=>
{
g
.
userInfo
=
e
}))})),(
e
,
t
)
=>
{
const
a
=
d
(
"van-icon"
),
n
=
d
(
"van-nav-bar"
),
p
=
d
(
"van-sticky"
),
b
=
d
(
"van-image"
),
h
=
d
(
"van-col"
),
v
=
d
(
"van-row"
),
y
=
u
;
return
s
(),
r
(
y
,{
class
:
"text-center pd-b-px-55"
},{
default
:
o
((()
=>
[
l
(
p
,
null
,{
default
:
o
((()
=>
[
l
(
n
,{
title
:
"申请售后"
,
"left-arrow"
:
""
,
onClickLeft
:
m
},{
left
:
o
((()
=>
[
l
(
a
,{
name
:
"arrow-left"
,
size
:
"25"
,
color
:
"#323233"
})])),
_
:
1
})])),
_
:
1
}),
l
(
b
,{
style
:{
width
:
"100%"
},
src
:
i
(
g
).
userInfo
.
imgUrl
},
null
,
8
,[
"src"
]),
f
(
"p"
,{
style
:{
"font-size"
:
"14px"
,
"text-align"
:
"center"
,
color
:
"#bfbfbf"
,
"margin-top"
:
"20px"
}},
"用心为您服务"
),
l
(
v
,{
style
:{
background
:
"#ffffff"
,
position
:
"fixed"
,
bottom
:
"0"
,
width
:
"100%"
}},{
default
:
o
((()
=>
[
l
(
h
,{
span
:
"12"
,
style
:{
"border-right"
:
"1px solid #f9f9f9"
,
"text-align"
:
"center"
,
padding
:
"16px"
},
onClick
:
t
[
0
]
||
(
t
[
0
]
=
e
=>
x
(
"/pages/good/contact"
))},{
default
:
o
((()
=>
[
l
(
a
,{
name
:
"phone-circle-o"
,
size
:
"20px"
,
style
:{
color
:
"#fe7e58"
,
"margin-right"
:
"6px"
}}),
c
(
" 联系商家 "
)])),
_
:
1
}),
l
(
h
,{
span
:
"12"
,
style
:{
"text-align"
:
"center"
,
padding
:
"16px"
},
onClick
:
t
[
1
]
||
(
t
[
1
]
=
e
=>
x
(
"/pages/order/customerService"
))},{
default
:
o
((()
=>
[
l
(
a
,{
name
:
"service-o"
,
size
:
"20px"
,
style
:{
color
:
"#fe7e58"
,
"margin-right"
:
"6px"
}}),
c
(
" 平台介入 "
)])),
_
:
1
})])),
_
:
1
})])),
_
:
1
})}}});
export
{
g
as
default
};
dist/build/h5/assets/pages-topSearch-index.60863f26.js
0 → 100644
浏览文件 @
45ea4b0f
var
e
=
Object
.
defineProperty
,
t
=
Object
.
getOwnPropertySymbols
,
a
=
Object
.
prototype
.
hasOwnProperty
,
s
=
Object
.
prototype
.
propertyIsEnumerable
,
l
=
(
t
,
a
,
s
)
=>
a
in
t
?
e
(
t
,
a
,{
enumerable
:
!
0
,
configurable
:
!
0
,
writable
:
!
0
,
value
:
s
}):
t
[
a
]
=
s
;
import
{
r
,
a
as
o
,
G
as
i
,
b
as
n
,
K
as
c
,
f
,
m
as
d
,
i
as
h
,
j
as
u
,
w
as
g
,
l
as
p
,
F
as
m
,
n
as
y
,
k
as
v
,
P
as
b
,
a1
as
k
,
v
as
L
,
a2
as
x
,
D
as
O
,
e
as
S
,
t
as
j
}
from
"./index.3798694c.js"
;
import
{
_
as
C
}
from
"./plugin-vue_export-helper.21dcd24c.js"
;
var
I
=
C
({
setup
(){
const
e
=
r
({
search
:
""
,
historyList
:[
"随便看看"
],
styleList
:[
"欧式风格"
,
"美式风格"
,
"中式"
,
"亚洲风格"
],
goback
:()
=>
{
b
.
goBack
()},
toGoodList
:(
t
,
a
)
=>
{
if
(
a
){
if
(
!
t
)
return
;
let
a
=
localStorage
.
getItem
(
"searchList"
),
s
=
null
;
if
(
a
){
s
=
JSON
.
parse
(
a
),
-
1
===
s
.
indexOf
(
e
.
search
)
&&
s
.
push
(
e
.
search
)}
else
s
=
[],
s
.
push
(
e
.
search
);
localStorage
.
setItem
(
"searchList"
,
JSON
.
stringify
(
s
))}
const
s
=
k
();
1
==
s
.
length
||
"pages/goodList/index"
!=
s
[
s
.
length
-
2
].
route
?
L
({
url
:
`/pages/goodList/index?search=
${
t
}
`
}):
x
({
delta
:
1
,
complete
:
function
(){
setTimeout
((()
=>
{
L
({
url
:
`/pages/goodList/index?search=
${
t
}
`
})}),
200
)}})},
del
:()
=>
{
O
.
confirm
({
title
:
"是否清空全部历史记录?"
}).
then
((()
=>
{
e
.
historyList
=
[],
localStorage
.
removeItem
(
"searchList"
)})).
catch
((()
=>
{}))}}),
f
=
o
();
i
((()
=>
{
e
.
search
=
""
,
e
.
historyList
=
localStorage
.
getItem
(
"searchList"
)?
JSON
.
parse
(
localStorage
.
getItem
(
"searchList"
)).
reverse
():[]})),
n
((()
=>
{
setTimeout
((()
=>
{
f
.
value
&&
f
.
value
.
focus
()}))}));
const
d
=
c
(
e
);
return
((
e
,
r
)
=>
{
for
(
var
o
in
r
||
(
r
=
{}))
a
.
call
(
r
,
o
)
&&
l
(
e
,
o
,
r
[
o
]);
if
(
t
)
for
(
var
o
of
t
(
r
))
s
.
call
(
r
,
o
)
&&
l
(
e
,
o
,
r
[
o
]);
return
e
})({
searchField
:
f
},
d
)}},[[
"render"
,
function
(
e
,
t
,
a
,
s
,
l
,
r
){
const
o
=
S
(
"van-search"
),
i
=
S
(
"van-button"
),
n
=
S
(
"van-icon"
);
return
f
(),
d
(
"div"
,{
style
:{
background
:
"#f1f5f8"
,
height
:
"100vh"
}},[
h
(
"div"
,{
style
:{
display
:
"flex"
,
"justify-content"
:
"flex-start"
,
"align-items"
:
"center"
,
background
:
"#ffffff"
}},[
u
(
o
,{
clearable
:
!
1
,
modelValue
:
e
.
search
,
"onUpdate:modelValue"
:
t
[
0
]
||
(
t
[
0
]
=
t
=>
e
.
search
=
t
),
style
:{
flex
:
"2"
},
placeholder
:
"请输入搜索关键词"
,
name
:
"etaoSearch"
,
ref
:
"searchField"
},
null
,
8
,[
"modelValue"
]),
u
(
i
,{
type
:
"warning"
,
size
:
"small"
,
style
:{
margin
:
"0 8px"
,
background
:
"#ff6600"
},
onClick
:
t
[
1
]
||
(
t
[
1
]
=
t
=>
e
.
toGoodList
(
e
.
search
,
"search"
))},{
default
:
g
((()
=>
[
p
(
"搜索"
)])),
_
:
1
}),
u
(
i
,{
size
:
"small"
,
style
:{
"margin-right"
:
"10px"
},
onClick
:
e
.
goback
},{
default
:
g
((()
=>
[
p
(
"取消"
)])),
_
:
1
},
8
,[
"onClick"
])]),
h
(
"div"
,
null
,[
h
(
"h4"
,{
style
:{
color
:
"#5392e2"
,
padding
:
"10px"
}},[
h
(
"span"
,{
style
:{
float
:
"right"
,
"font-size"
:
"1.3rem"
,
color
:
"#adaeae"
}},[
u
(
n
,{
name
:
"delete-o"
,
onClick
:
e
.
del
},
null
,
8
,[
"onClick"
])]),
p
(
" #历史搜索 "
)]),
h
(
"div"
,{
style
:{
background
:
"#ffffff"
,
padding
:
"10px"
,
"line-height"
:
"1.6rem"
}},[
e
.
historyList
.
length
>
0
?(
f
(),
d
(
"div"
,{
key
:
0
},[(
f
(
!
0
),
d
(
m
,
null
,
y
(
e
.
historyList
,(
t
=>
(
f
(),
d
(
"ul"
,
null
,[
h
(
"li"
,{
onClick
:
a
=>
e
.
toGoodList
(
t
),
style
:{
border
:
"1px solid #f1f5f8"
,
margin
:
"2px auto"
}},
j
(
t
),
9
,[
"onClick"
])])))),
256
))])):(
f
(),
d
(
"p"
,{
key
:
1
},
"没有任何历史记录"
))]),
v
(
'<h4 style="color: #5392e2;padding: 10px;line-height: 2.3rem">#热门搜索</h4>'
),
v
(
"<div>"
),
v
(
'<ul style="background: #ffffff;padding: 10px" v-for="item in styleList">'
),
v
(
'<li @click="toGoodList(item)">{{item}}</li>'
),
v
(
"</ul>"
),
v
(
"</div>"
)])])}]]);
export
{
I
as
default
};
dist/build/h5/assets/pagesSub-index.c5fe1132.js
0 → 100644
浏览文件 @
45ea4b0f
import
{
f
as
a
,
h
as
n
,
w
as
t
,
l
as
e
,
x
as
l
,
e
as
s
,
j
as
r
,
d
as
u
,
r
as
d
,
m
as
o
,
N
as
c
,
O
as
i
,
u
as
p
,
F
as
f
}
from
"./index.3798694c.js"
;
import
{
_
as
b
}
from
"./plugin-vue_export-helper.21dcd24c.js"
;
import
{
_
as
x
}
from
"./tabbar.71503bf0.js"
;
var
_
=
b
({},[[
"render"
,
function
(
s
,
r
){
const
u
=
l
;
return
a
(),
n
(
u
,{
class
:
"justify-center pd-b-px-55"
},{
default
:
t
((()
=>
[
e
(
" 已移除地图 "
)])),
_
:
1
})}]]);
var
m
=
b
({},[[
"render"
,
function
(
u
,
d
){
const
o
=
s
(
"van-swipe-item"
),
c
=
s
(
"van-swipe"
),
i
=
l
;
return
a
(),
n
(
i
,{
class
:
"pd-b-px-55"
},{
default
:
t
((()
=>
[
r
(
c
,{
class
:
"my-swipe"
,
autoplay
:
3
e3
,
"indicator-color"
:
"white"
},{
default
:
t
((()
=>
[
r
(
o
,
null
,{
default
:
t
((()
=>
[
e
(
"bannar1"
)])),
_
:
1
}),
r
(
o
,
null
,{
default
:
t
((()
=>
[
e
(
"bannar2"
)])),
_
:
1
}),
r
(
o
,
null
,{
default
:
t
((()
=>
[
e
(
"bannar3"
)])),
_
:
1
}),
r
(
o
,
null
,{
default
:
t
((()
=>
[
e
(
"bannar4"
)])),
_
:
1
})])),
_
:
1
})])),
_
:
1
})}],[
"__scopeId"
,
"data-v-0512164e"
]]);
var
v
=
b
({},[[
"render"
,
function
(
s
,
r
){
const
u
=
l
;
return
a
(),
n
(
u
,{
class
:
"justify-center pd-b-px-55"
},{
default
:
t
((()
=>
[
e
(
" 已去除直播 "
)])),
_
:
1
})}]]);
const
I
=
u
({
setup
(
n
){
const
t
=
d
({
tabIndex
:
0
}),
e
=
{
list
:[{
text
:
"首页"
,
icon
:
"wap-home"
},{
text
:
"直播"
,
icon
:
"bars"
},{
text
:
"地图"
,
icon
:
"manager"
}]};
return
(
n
,
l
)
=>
(
a
(),
o
(
f
,
null
,[
c
(
r
(
m
,
null
,
null
,
512
),[[
i
,
0
===
p
(
t
).
tabIndex
]]),
c
(
r
(
v
,
null
,
null
,
512
),[[
i
,
1
===
p
(
t
).
tabIndex
]]),
c
(
r
(
_
,
null
,
null
,
512
),[[
i
,
2
===
p
(
t
).
tabIndex
]]),
r
(
x
,{
current
:
p
(
t
).
tabIndex
,
list
:
e
.
list
,
onTabChange
:
l
[
0
]
||
(
l
[
0
]
=
a
=>
p
(
t
).
tabIndex
=
a
)},
null
,
8
,[
"current"
,
"list"
])],
64
))}});
export
{
I
as
default
};
src/App.vue
浏览文件 @
45ea4b0f
...
...
@@ -48,7 +48,7 @@
}
catch
{
}
}
uni
.
setStorageSync
(
'subdomain'
,
'
alisa1
'
)
uni
.
setStorageSync
(
'subdomain'
,
'
0571gs008
'
)
});
onShow
(()
=>
{
console
.
log
(
"App Show"
);
...
...
src/components/ShopCard.vue
浏览文件 @
45ea4b0f
...
...
@@ -4,9 +4,11 @@
<van-image
fit=
"cover"
lazy-load
:src=
"item.mainImg"
loading-icon=
"https://img.edsmall.com/ROOT/ETao/fenxiao/h5/default.png"
icon-size=
"30vw"
/>
</div>
<text
class=
"text-s ellipsis line_over2"
style=
"height: 32px;text-align: left;background: #ffffff;padding: 15rpx"
>
<view
style=
"padding: 15rpx;background: #ffffff"
>
<text
class=
"text-s ellipsis line_over2"
style=
"text-align: left;background: #ffffff"
>
{{
item
.
title
}}
</text>
</view>
<view
style=
"display: flex;background: #ffffff;padding: 15rpx"
class=
"text01"
>
<view
class=
"text-orange text-ss"
>
¥
<text
class=
"text-bold text-l"
>
{{
item
.
salePrice
}}
</text>
...
...
src/pages/index/index.vue
浏览文件 @
45ea4b0f
...
...
@@ -76,15 +76,15 @@ border: 1rpx solid #EBA926;color: #EBA926;padding: 2rpx 10rpx" @click="goPhoneBt
<view>
<van-row
gutter=
"8"
class=
"pd-h-px-10"
>
<van-col
span=
"12"
>
<van-image
width=
"100%;"
radius=
"20rpx"
src=
"../../static/img/dz/act01
.png"
<van-image
@
click=
"goUrl(1)"
width=
"100%;"
radius=
"20rpx"
src=
"../../static/img/dz/act03
.png"
/>
<van-image
width=
"100%"
style=
"margin-top: 12rpx"
radius=
"20rpx"
src=
"../../static/img/dz/act02
.png"
<van-image
@
click=
"goUrl(2)"
width=
"100%"
style=
"margin-top: 12rpx"
radius=
"20rpx"
src=
"../../static/img/dz/act04
.png"
/>
</van-col>
<van-col
span=
"12"
>
<van-image
width=
"100%"
radius=
"20rpx"
src=
"../../static/img/dz/act03
.png"
<van-image
@
click=
"goUrl(3)"
width=
"100%"
radius=
"20rpx"
src=
"../../static/img/dz/act02
.png"
/>
<van-image
width=
"100%"
style=
"margin-top: 12rpx"
radius=
"20rpx"
src=
"../../static/img/dz/act04
.png"
<van-image
@
click=
"goUrl(4)"
width=
"100%"
style=
"margin-top: 12rpx"
radius=
"20rpx"
src=
"../../static/img/dz/act01
.png"
/>
</van-col>
</van-row>
...
...
@@ -108,38 +108,6 @@ border: 1rpx solid #EBA926;color: #EBA926;padding: 2rpx 10rpx" @click="goPhoneBt
<van-image
:src=
"item.iconpath"
@
tap=
"goto(item.josnContent)"
/>
</van-swipe-item>
</van-swipe>
<
template
v-if=
"state.banner.areaBanner.length > 0"
>
<van-image
class=
"block_title"
src=
"https://img.edsmall.com/ROOT/ETao/fenxiao/h5/area_title.png"
/>
<view>
<view
v-if=
"state.banner.areaBanner.length == 6"
>
<van-row
gutter=
"8"
class=
"pd-h-px-10"
>
<van-col
span=
"12"
>
<van-image
width=
"100%"
radius=
"20rpx"
:src=
"state.banner.areaBanner[0].iconpath"
@
tap=
"changeTab(state.banner.areaBanner[0].josnContent, 'zq')"
/>
</van-col>
<van-col
span=
"12"
class=
"flex col justify-between"
>
<van-image
width=
"100%"
radius=
"20rpx"
:src=
"state.banner.areaBanner[1].iconpath"
@
tap=
"changeTab(state.banner.areaBanner[1].josnContent, 'zq')"
/>
<van-image
width=
"100%"
radius=
"20rpx"
:src=
"state.banner.areaBanner[2].iconpath"
@
tap=
"changeTab(state.banner.areaBanner[2].josnContent, 'zq')"
/>
</van-col>
</van-row>
<van-row
gutter=
"8"
class=
"pd-h-px-10 pd-t-px-10"
>
<van-col
span=
"12"
class=
"flex col justify-between"
>
<van-image
width=
"100%"
radius=
"20rpx"
:src=
"state.banner.areaBanner[3].iconpath"
@
tap=
"changeTab(state.banner.areaBanner[3].josnContent, 'zq',state.banner.areaBanner[3].ifCanEnter)"
/>
<van-image
width=
"100%"
radius=
"20rpx"
:src=
"state.banner.areaBanner[4].iconpath"
@
tap=
"changeTab(state.banner.areaBanner[4].josnContent, 'zq',)"
/>
</van-col>
<van-col
span=
"12"
>
<van-image
width=
"100%"
radius=
"20rpx"
:src=
"state.banner.areaBanner[5].iconpath"
@
tap=
"changeTab(state.banner.areaBanner[5].josnContent, 'zq',state.banner.areaBanner[5].ifCanEnter)"
/>
</van-col>
</van-row>
</view>
</view>
</
template
>
<van-image
class=
"block_title"
src=
"https://img.edsmall.com/ROOT/ETao/fenxiao/h5/recommend_title.png"
/>
<van-list
v-if=
"state.inited"
:loading=
"state.good.loading"
:finished=
"state.good.finished"
finished-text=
"没有更多了"
offset=
"10"
@
load=
"onGoodLoad"
>
...
...
@@ -222,7 +190,24 @@ onMounted(() => {
state
.
inited
=
true
},
1000
)
});
function
goUrl
(
type
)
{
console
.
log
(
type
);
if
(
type
==
1
){
uni
.
navigateTo
({
url
:
`/pages/goodList/index?sortType=0`
,
});
}
else
if
(
type
==
3
){
uni
.
navigateTo
({
url
:
`/pages/goodList/index?sortType=1`
,
});
}
else
if
(
type
==
2
){
uni
.
navigateTo
({
url
:
`/pages/goodList/index?search=套餐`
,
});
}
else
{
Toast
(
'正在筹备中,敬请期待!'
);
}
}
function
goPhoneBtn
(
val
){
uni
.
makePhoneCall
({
// 手机号
...
...
写
预览
Markdown
格式
0%
请重试
or
附加一个文件
附加文件
取消
您添加了
0
人
到此讨论。请谨慎行事。
先完成此消息的编辑!
取消
想要评论请
注册
或
登录