Commit e2834c22 by 肖康

ai

parent d8e74f8d
.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%;
......
......@@ -12,6 +12,12 @@
}
},
{
"path": "pages/index/ai",
"style": {
"navigationBarTitleText": "猎芯AI小助手"
}
},
{
"path": "pages/search/searchlist",
"style": {
"navigationBarTitleText": "搜索列表"
......
......@@ -130,7 +130,7 @@
</view>
</view>
</uni-popup>
<navigator :url="'/ai?goods_name='+obj.goods_name" class="aibox" ></navigator>
</view>
</template>
......
<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:88rpx;
background: #ccc;
.detailhead{
height:88rpx;
width:100%;
color:#fff;
padding-left: 32rpx;
padding-right: 43rpx;
box-sizing: border-box;
background: linear-gradient(90deg, #93CDFF 0%, #1969F9 100%);
position: fixed;
z-index: 3;
left:0rpx;
top:0rpx;
.titlesp{
font-size: 34rpx;
font-weight: 500;
width:600rpx;
text-align: center;
}
.icon{
font-size: 44rpx;
}
}
}
</style>
......@@ -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: {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment