131 lines
3.4 KiB
Vue
Raw Normal View History

2025-08-29 09:51:02 +08:00
<template>
<view class="ai_contents">
<view class="ai_contents_center">
<view class="ai_contents_header">
<image src="/static/svg/ai_icon.svg" mode="heightFix" />
<text>HI遇到什么问题了可以问我哦 </text>
</view>
<view class="ai_contents_input">
<view class="ai_input">
<input placeholder="点击输入聊天内容" placeholder-style="font-size: 26rpx;color:#999;" />
</view>
<uni-icons type="arrow-right" size="20" color="#A4A4A4"></uni-icons>
</view>
<view class="ai_footer">
<scroll-view scroll-x="true" style="height: 80rpx">
<view class="items">
<view class="items_center">
<image src="/static/svg/FWJF.svg" mode="heightFix" />
房屋缴费
</view>
</view>
<view class="items">
<view class="items_center">
<image src="/static/svg/GDCX.svg" mode="heightFix" />
工单查询
</view>
</view>
<view class="items">
<view class="items_center">
<image src="/static/svg/FWJF.svg" mode="heightFix" />
房屋绑定
</view>
</view>
<view class="items">
<view class="items_center">
<image src="/static/svg/QBGL.svg" mode="heightFix" />
钱包
</view>
</view>
</scroll-view>
</view>
</view>
</view>
</template>
<style lang="scss" scoped>
.ai_contents {
background-color: #fff;
padding: 6rpx;
border-radius: 20rpx;
height: 320rpx;
margin: 30rpx;
.ai_contents_center {
border-radius: 20rpx;
background:
linear-gradient(307deg, rgb(255, 137, 24, 0.06) -1%, rgba(255, 255, 255, 0) 29%),
linear-gradient(243deg, rgb(75, 72, 255, 0.06) 1%, rgba(255, 255, 255, 0) 20%),
linear-gradient(303deg, rgba(255, 255, 255, 0) 71%, rgb(40, 26, 255, 0.08) 100%),
linear-gradient(
231deg,
rgba(255, 255, 255, 0) 76%,
rgba(255, 105, 0, 0.06) 98%,
rgb(255, 145, 68, 0.06) 98%
);
width: 100%;
height: 100%;
}
.ai_contents_header {
display: flex;
align-items: center;
padding: 30rpx;
color: #333;
font-size: 30rpx;
image {
width: 52rpx;
height: 52rpx;
}
text {
padding-left: 20rpx;
}
}
.ai_contents_input {
display: flex;
align-items: center;
justify-content: space-between;
margin: 0 30rpx;
background-color: #fff;
box-shadow: 0px 4px 10px 3px rgba(231, 231, 231, 0.3);
border-radius: 10rpx;
padding: 0 20rpx;
.ai_input {
height: 80rpx;
flex: 1;
input {
height: 100%;
}
}
}
.ai_footer {
padding: 30rpx 0 0 0;
white-space: nowrap;
.items {
background-color: #fff;
box-shadow: 0px 0px 6px 3px rgba(199, 199, 199, 0.1);
border-radius: 10rpx;
display: inline-block;
height: 70rpx;
color: #3d3d3d;
font-size: 24rpx;
padding: 0 20rpx;
margin-right: 15rpx;
&:first-child {
margin-left: 30rpx;
}
&:last-child {
margin-right: 30rpx;
}
.items_center {
display: flex;
align-items: center;
height: 100%;
}
image {
width: 40rpx;
height: 40rpx;
margin-right: 10rpx;
}
}
}
}
</style>