Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
肖康
/
H5_2.0
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
e2834c22
authored
Mar 06, 2025
by
肖康
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
ai
parent
d8e74f8d
Show whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
86 additions
and
1 deletions
assets/css/detail/detail.scss
pages.json
pages/detail/detail.vue
pages/index/ai.vue
router/index.js
static/aip.png
assets/css/detail/detail.scss
View file @
e2834c22
.detailpage
{
padding-top
:
88rpx
;
padding-bottom
:
274rpx
;
.aibox
{
width
:
110rpx
;
height
:
138rpx
;
position
:
fixed
;
right
:
0rpx
;
bottom
:
500rpx
;
display
:
block
;
background
:
url(/static/aip.png)
no-repeat
;
background-size
:
100%
100%
;
}
.detailhead
{
height
:
88rpx
;
width
:
100%
;
...
...
pages.json
View file @
e2834c22
...
...
@@ -12,6 +12,12 @@
}
},
{
"path"
:
"pages/index/ai"
,
"style"
:
{
"navigationBarTitleText"
:
"猎芯AI小助手"
}
},
{
"path"
:
"pages/search/searchlist"
,
"style"
:
{
"navigationBarTitleText"
:
"搜索列表"
...
...
pages/detail/detail.vue
View file @
e2834c22
...
...
@@ -130,7 +130,7 @@
</view>
</view>
</uni-popup>
<navigator
:url=
"'/ai?goods_name='+obj.goods_name"
class=
"aibox"
></navigator>
</view>
</
template
>
...
...
pages/index/ai.vue
0 → 100644
View file @
e2834c22
<
template
>
<view
class=
"aiPage"
>
<view
class=
"detailhead row verCenter"
>
<text
v-back
class=
"icon iconfont icon-arrleft"
></text>
<view
class=
"titlesp"
>
猎芯AI小助手
</view>
</view>
<web-view
:src=
"'https://static.ichunt.com/dist/res/AIBot/?goods_name=F'+goods_name"
></web-view>
</view>
</
template
>
<
script
>
export
default
{
data
()
{
return
{
goods_name
:
""
};
},
onLoad
(
option
)
{
this
.
goods_name
=
option
.
goods_name
},
mounted
()
{
},
onShow
()
{
},
methods
:
{
},
components
:
{
}
};
</
script
>
<
style
scoped
lang=
"scss"
>
.aiPage
{
padding-top
:
88
rpx
;
background
:
#ccc
;
.detailhead{
height
:
88
rpx
;
width
:
100%
;
color
:
#fff
;
padding-left
:
32
rpx
;
padding-right
:
43
rpx
;
box-sizing
:
border-box
;
background
:
linear-gradient
(
90deg
,
#93CDFF
0%
,
#1969F9
100%
);
position
:
fixed
;
z-index
:
3
;
left
:
0
rpx
;
top
:
0
rpx
;
.titlesp{
font-size
:
34
rpx
;
font-weight
:
500
;
width
:
600
rpx
;
text-align
:
center
;
}
.icon
{
font-size
:
44
rpx
;
}
}
}
</
style
>
router/index.js
View file @
e2834c22
...
...
@@ -25,6 +25,14 @@ const router = new Router({
}
},
{
path
:
'/pages/index/ai'
,
aliasPath
:
'/ai'
,
meta
:
{
title
:
'猎芯AI小助手'
,
auth
:
false
}
},
{
path
:
'/pages/search/search'
,
aliasPath
:
'/search'
,
meta
:
{
...
...
static/aip.png
0 → 100644
View file @
e2834c22
32 KB
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