Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
P
pptist
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
viitto
pptist
Commits
47914e1f
Commit
47914e1f
authored
Aug 14, 2024
by
zhengke
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
系统资料 和平资料
parent
792f126e
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
385 additions
and
3 deletions
+385
-3
SpiderService.ts
src/services/SpiderService.ts
+13
-0
index.vue
src/views/Editor/Toolbar/index.vue
+1
-1
SourceDetail.vue
src/views/components/source/SourceDetail.vue
+4
-0
SourceListIsp.vue
src/views/components/source/SourceListIsp.vue
+358
-0
index.vue
src/views/components/source/index.vue
+9
-2
No files found.
src/services/SpiderService.ts
View file @
47914e1f
import
Api
,{
HttpResponse
,
Result
}
from
'./../utils/request'
;
class
SpiderService
{
static
async
GetDiningPriceType
(
params
:
any
):
Promise
<
HttpResponse
>
{
return
Api
.
Post
(
"dining_get_GetDiningPriceType"
,
params
)
}
static
async
GetDiningType
(
params
:
any
):
Promise
<
HttpResponse
>
{
return
Api
.
Post
(
"dining_get_GetDiningType"
,
params
)
}
static
async
GetChildList
(
params
:
any
):
Promise
<
HttpResponse
>
{
return
Api
.
Post
(
"dict_post_Destination_GetChildList"
,
params
)
}
static
async
GetThirdPartyResourceAsync
(
params
:
any
):
Promise
<
HttpResponse
>
{
return
Api
.
Post
(
"mongoscenic_GetMongoScenicPage"
,
params
)
}
...
...
src/views/Editor/Toolbar/index.vue
View file @
47914e1f
...
...
@@ -51,7 +51,7 @@ const elementTabs = computed<ElementTabs[]>(() => {
{
label
:
'符号'
,
key
:
ToolbarStates
.
SYMBOL
},
{
label
:
'位置'
,
key
:
ToolbarStates
.
EL_POSITION
},
// { label: '动画', key: ToolbarStates.EL_ANIMATION }
{
label
:
'匹配数据'
,
key
:
ToolbarStates
.
EL_NORMALDATA
}
//
{ label: '匹配数据', key: ToolbarStates.EL_NORMALDATA }
]
}
else
{
return
[
...
...
src/views/components/source/SourceDetail.vue
View file @
47914e1f
...
...
@@ -56,6 +56,10 @@
<div
class=
"text-small text-info col q-mt-md"
>
联系电话
</div>
<text-opera><span
class=
"text-small q-mt-sm"
>
{{
data
.
Tel
}}
</span></text-opera>
</
template
>
<
template
v-if=
"data.Url && data.Url != ''"
>
<div
class=
"text-small text-info col q-mt-md"
>
网址
</div>
<text-opera><a
:href=
"data.Url"
target=
"_blank"
class=
"text-small q-mt-sm"
>
{{
data
.
Url
}}
</a></text-opera>
</
template
>
<
template
v-if=
"data.PlayTimeHour && data.PlayTimeHour != ''"
>
<div
class=
"text-small text-info col q-mt-md"
>
推荐时长
</div>
<text-opera><span
class=
"text-small q-mt-sm"
>
{{
data
.
PlayTimeHour
}}
</span></text-opera>
...
...
src/views/components/source/SourceListIsp.vue
0 → 100644
View file @
47914e1f
This diff is collapsed.
Click to expand it.
src/views/components/source/index.vue
View file @
47914e1f
...
...
@@ -8,22 +8,29 @@
</div>
<Vue3DraggableResizable
v-model:x=
"localtion.x"
v-model:y=
"localtion.y"
:draggable=
"true"
:resizable=
"false"
v-if=
"showSearchStatus!=0"
class=
"search-card-box"
:class=
"
{ vertical: isVertical }">
<source-list
v-show=
"showSearchStatus==1"
@
close=
"()=>showSearchStatus=0"
@
change=
"handleShowDetail"
></source-list>
<template
v-if=
"userInfo.isp"
>
<source-list-isp
v-show=
"showSearchStatus==1"
@
close=
"()=>showSearchStatus=0"
@
change=
"handleShowDetail"
></source-list-isp>
</
template
>
<
template
v-else
>
<source-list
v-show=
"showSearchStatus==1"
@
close=
"()=>showSearchStatus=0"
@
change=
"handleShowDetail"
></source-list>
</
template
>
<source-detail
v-if=
"showSearchStatus==2"
:item-info=
"recentPoi"
@
close=
"()=>showSearchStatus=0"
@
refound=
"()=>showSearchStatus=1"
></source-detail>
</Vue3DraggableResizable>
</template>
<
script
lang=
"ts"
setup
>
import
{
useMainStore
}
from
"@/store"
;
import
{
useMainStore
,
useUserStore
}
from
"@/store"
;
import
{
calculateCardPosition
,
isElementVisibleInParent
}
from
"@/utils/common"
;
import
{
storeToRefs
}
from
"pinia"
;
import
{
onBeforeUnmount
,
onMounted
,
ref
,
watch
}
from
"vue"
;
import
SourceList
from
'./SourceList.vue'
import
SourceListIsp
from
'./SourceListIsp.vue'
import
SourceDetail
from
'./SourceDetail.vue'
import
Vue3DraggableResizable
from
"vue3-draggable-resizable"
;
const
mainStore
=
useMainStore
();
const
{
handleElementId
,
handleElement
,
canvasScale
}
=
storeToRefs
(
mainStore
);
const
{
userInfo
}
=
storeToRefs
(
useUserStore
())
const
semiHorStyle
=
ref
<
{
left
:
string
;
top
:
string
}
>
({
left
:
""
,
top
:
""
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment