Skip to content
项目
群组
代码片段
帮助
当前项目
正在载入...
登录 / 注册
切换导航面板
H
h5-ci-test
概览
概览
详情
活动
周期分析
版本库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
统计图
问题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
日程表
图表
维基
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
图像
聊天
创建新问题
作业
提交
问题看板
Open sidebar
test-ci
h5-ci-test
Commits
263d005a
提交
263d005a
authored
10月 31, 2023
作者:
ZhangLingKun
浏览文件
操作
浏览文件
下载
差异文件
Merge branch 'develop'
上级
8d02a938
c7ef4f20
隐藏空白字符变更
内嵌
并排
正在显示
5 个修改的文件
包含
44 行增加
和
8 行删除
+44
-8
kustomization.yaml
kustomization/overlays/dev/kustomization.yaml
+1
-1
manifest.json
src/manifest.json
+2
-2
pages.json
src/pages.json
+1
-1
index.vue
src/pages/index/comp/network-list/index.vue
+33
-3
index.vue
src/pages/index/index.vue
+7
-1
没有找到文件。
kustomization/overlays/dev/kustomization.yaml
浏览文件 @
263d005a
...
...
@@ -13,4 +13,4 @@ patches:
images
:
-
name
:
REGISTRY/NAMESPACE/IMAGE:TAG
newName
:
mmc-registry.cn-shenzhen.cr.aliyuncs.com/sharefly-dev/h5
newTag
:
eb4d0c480b89284c2d5cd9b2e577aedb27ed723f
newTag
:
4a5a463823e22b9f0b46a0d071e9830626981f2a
src/manifest.json
浏览文件 @
263d005a
{
"name"
:
"
hello
"
,
"name"
:
""
,
"appid"
:
"__UNI__4DCD124"
,
"description"
:
""
,
"description"
:
"
云享飞
"
,
"versionName"
:
"1.0.0"
,
"versionCode"
:
"100"
,
"transformPx"
:
false
,
...
...
src/pages.json
浏览文件 @
263d005a
...
...
@@ -4,7 +4,7 @@
{
"path"
:
"pages/index/index"
,
"style"
:
{
"navigationBarTitleText"
:
""
,
"navigationBarTitleText"
:
"
全国网点
"
,
"navigationStyle"
:
"custom"
}
},
...
...
src/pages/index/comp/network-list/index.vue
浏览文件 @
263d005a
...
...
@@ -37,6 +37,10 @@
</scroll-view>
<scroll-view
v-else
class=
"list-view-click animate__animated animate__slideInRight"
scroll-y
>
<view
v-for=
"(i, j) in getCurrentList"
:key=
"j"
class=
"list-item"
@
click=
"handleSelect(j)"
>
<view
class=
"item-type"
>
{{
currentType
.
name
}}
</view>
<view
class=
"item-arrow"
>
<u-icon
name=
"arrow-right"
></u-icon>
</view>
<image
class=
"item-image"
:src=
"i.brandLogo"
mode=
"widthFix"
/>
<view
class=
"item-content"
>
<view
class=
"content-title"
>
{{
i
.
companyName
}}
</view>
...
...
@@ -78,6 +82,16 @@ const props = defineProps({
currentItem
:
{
type
:
Object
as
unknown
as
PropType
<
ListType
[
0
]
>
,
default
:
()
=>
({})
},
currentType
:
{
type
:
Object
as
unknown
as
PropType
<
{
type
:
number
name
:
string
action
:
string
tagId
:
number
path
?:
string
}
>
,
default
:
()
=>
({})
}
})
// 事件
...
...
@@ -97,7 +111,7 @@ watch(
()
=>
props
.
currentItem
,
()
=>
{
currentItem
.
value
=
props
.
currentItem
console
.
log
(
props
.
currentItem
)
//
console.log(props.currentItem)
}
)
</
script
>
...
...
@@ -237,7 +251,7 @@ watch(
z-index
:
30
;
overflow-x
:
auto
;
box-sizing
:
border-box
;
padding-left
:
16
rpx
;
padding-left
:
20
rpx
;
.list-item
{
position
:
relative
;
display
:
flex
;
...
...
@@ -251,11 +265,27 @@ watch(
.item-content
{
margin-top
:
32
rpx
;
}
.item-type
{
position
:
absolute
;
top
:
0
;
left
:
0
;
height
:
54
rpx
;
font-size
:
22
rpx
;
color
:
#fefffe
;
line-height
:
32
rpx
;
padding
:
2
rpx
22
rpx
20
rpx
10
rpx
;
}
.item-arrow
{
position
:
absolute
;
right
:
24
rpx
;
top
:
32
rpx
;
}
}
.list-item
::before
{
content
:
'
飞手团队
'
;
content
:
''
;
display
:
block
;
height
:
54
rpx
;
min-width
:
128
rpx
;
font-size
:
22
rpx
;
color
:
#fefffe
;
line-height
:
32
rpx
;
...
...
src/pages/index/index.vue
浏览文件 @
263d005a
...
...
@@ -48,6 +48,7 @@
:list=
"networkList"
:isclick=
"isclick"
:current-item=
"currentItem"
:current-type=
"networkTypeList[currentTypeIndex]"
@
on-select=
"handleSelect"
/>
<view
v-else
class=
"network-none"
>
空空如也
</view>
...
...
@@ -255,6 +256,9 @@ import weChatSDK from 'z-weixin-ts'
this
.
markers
.
push
(
labelMarker
);
labelMarker
.
on
(
'click'
,
(
e
)
=>
{
this
.
currentItem
=
{...
element
,...
this
.
networkList
[
index
]};
uni
.
setNavigationBarTitle
({
title
:
this
.
networkTypeList
[
this
.
currentTypeIndex
]?.
name
})
// console.log('执行到此处 --->', {...element,...this.networkList[index]})
this
.
openInfo
({...
element
,...
this
.
networkList
[
index
]});
this
.
isclick
=
true
...
...
@@ -288,7 +292,9 @@ import weChatSDK from 'z-weixin-ts'
${
obj
.
companyName
||
'-'
}
</div>
<div class="location">
<span class="location-info">
${
this
.
networkTypeList
[
this
.
currentTypeIndex
].
name
}
| 距你
${
obj
.
distance
}
km </span>
<span class="location-info">
<span style="color: #fe7512">
${
this
.
networkTypeList
[
this
.
currentTypeIndex
].
name
}
</span>
| 距你
${
obj
.
distance
}
km </span>
</div>
</div>
<div class="info-right">
...
...
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论