|
|
@ -21,13 +21,36 @@ |
|
|
</view> |
|
|
</view> |
|
|
<view class="ai-bot"></view> |
|
|
<view class="ai-bot"></view> |
|
|
</view> |
|
|
</view> |
|
|
|
|
|
</view> |
|
|
|
|
|
<view class="banner"> |
|
|
|
|
|
<view class="banner-left" @tap="goAiPicture('pai')"> |
|
|
|
|
|
<view class="bottom-box"> |
|
|
|
|
|
<img src="https://jewel-shop.oss-cn-beijing.aliyuncs.com/da77271d34b14b13827543389948802d.jpg" |
|
|
|
|
|
alt="" style="width: 100%;height: 100%;"> |
|
|
|
|
|
</view> |
|
|
|
|
|
<view class="banner-text"> |
|
|
|
|
|
<view style='font-weight: 800;'>AI图片识别</view> |
|
|
|
|
|
<view style='font-size:22rpx;'>识别图片进行入库</view> |
|
|
|
|
|
</view> |
|
|
|
|
|
</view> |
|
|
|
|
|
<view class="banner-right" @tap='goAiPicture'> |
|
|
|
|
|
|
|
|
|
|
|
<view class="bottom-box"> |
|
|
|
|
|
<img src="https://jewel-shop.oss-cn-beijing.aliyuncs.com/27e2655fe19f454d93970f968d91fbef.png" |
|
|
|
|
|
alt="" style="width: 100%;height: 100%;animation: none;"> |
|
|
|
|
|
</view> |
|
|
|
|
|
<view class="banner-text"> |
|
|
|
|
|
<view style='font-weight: 800;'>AI语音识别</view> |
|
|
|
|
|
<view style='font-size:22rpx;'>语音录入进行开单</view> |
|
|
|
|
|
</view> |
|
|
|
|
|
</view> |
|
|
</view> |
|
|
</view> |
|
|
<view class="content"> |
|
|
<view class="content"> |
|
|
<view style="height: 80rpx;line-height: 80rpx;font-size: 32rpx;font-weight: bold;padding-left: 30rpx;position: relative;"> |
|
|
<view style="height: 80rpx;line-height: 80rpx;font-size: 32rpx;font-weight: bold;padding-left: 30rpx;position: relative;"> |
|
|
入库列表 |
|
|
入库列表 |
|
|
<view @tap="goAiPicture" style="position: absolute;top: 0;right: 20rpx;"> |
|
|
<!-- <view @tap="goAiPicture" style="position: absolute;top: 0;right: 20rpx;"> |
|
|
<uni-icons type="plusempty" size="26"></uni-icons> |
|
|
<uni-icons type="plusempty" size="26"></uni-icons> |
|
|
</view> |
|
|
</view> --> |
|
|
</view> |
|
|
</view> |
|
|
<view class="content-list" v-for="(item,index) in aiList" :key="index"> |
|
|
<view class="content-list" v-for="(item,index) in aiList" :key="index"> |
|
|
<view class="image-box"> |
|
|
<view class="image-box"> |
|
|
@ -170,10 +193,17 @@ |
|
|
url: '/pages/inventory/AIInventory' |
|
|
url: '/pages/inventory/AIInventory' |
|
|
}) |
|
|
}) |
|
|
}, |
|
|
}, |
|
|
goAiPicture(){ |
|
|
goAiPicture(type){ |
|
|
uni.navigateTo({ |
|
|
if(type == 'pai'){ |
|
|
url: '/package1/AI/AIPicture' |
|
|
uni.navigateTo({ |
|
|
}) |
|
|
url: '/package1/AI/AIPicture' |
|
|
|
|
|
}) |
|
|
|
|
|
}else{ |
|
|
|
|
|
uni.navigateTo({ |
|
|
|
|
|
url: '/package1/AI/voiceInventory' |
|
|
|
|
|
}) |
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
}, |
|
|
}, |
|
|
//删除单条入库单 |
|
|
//删除单条入库单 |
|
|
delItem(id){ |
|
|
delItem(id){ |
|
|
@ -398,5 +428,65 @@ |
|
|
position: absolute; |
|
|
position: absolute; |
|
|
top: 59rpx; |
|
|
top: 59rpx; |
|
|
left: 40rpx; |
|
|
left: 40rpx; |
|
|
|
|
|
} |
|
|
|
|
|
.bottom-box { |
|
|
|
|
|
background: rgba(255, 255, 255, 0.3); |
|
|
|
|
|
width: 100rpx; |
|
|
|
|
|
height: 100rpx; |
|
|
|
|
|
border-radius: 10px; |
|
|
|
|
|
margin: 25rpx; |
|
|
|
|
|
position: relative; |
|
|
|
|
|
font-size: 60rpx; |
|
|
|
|
|
color: #fff; |
|
|
|
|
|
font-weight: 800; |
|
|
|
|
|
text-align: center; |
|
|
|
|
|
line-height: 100rpx; |
|
|
|
|
|
background: #fff; |
|
|
|
|
|
overflow: hidden; |
|
|
|
|
|
float: left; |
|
|
|
|
|
|
|
|
|
|
|
img { |
|
|
|
|
|
width: 100%; |
|
|
|
|
|
height: 100%; |
|
|
|
|
|
border-radius: 10px; |
|
|
|
|
|
/* background: #fff; */ |
|
|
|
|
|
// margin-top: -16rpx; |
|
|
|
|
|
animation: jump 1.5s infinite; |
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
@keyframes jump { |
|
|
|
|
|
0% { |
|
|
|
|
|
margin-top: 0; |
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
50% { |
|
|
|
|
|
margin-top: -15rpx; |
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
100% { |
|
|
|
|
|
margin-top: 0; |
|
|
|
|
|
} |
|
|
|
|
|
} |
|
|
|
|
|
} |
|
|
|
|
|
.banner { |
|
|
|
|
|
height: 150rpx; |
|
|
|
|
|
display: flex; |
|
|
|
|
|
margin-top: 20rpx; |
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
.banner-left, |
|
|
|
|
|
.banner-right { |
|
|
|
|
|
width: 49%; |
|
|
|
|
|
margin-left: 1%; |
|
|
|
|
|
margin-right: 2%; |
|
|
|
|
|
background: linear-gradient(126.07deg, rgba(100, 132, 250, 1) 0%, rgba(102, 232, 255, 1) 100%); |
|
|
|
|
|
border-radius: 10px; |
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
.banner-text { |
|
|
|
|
|
margin-top: 20rpx; |
|
|
|
|
|
line-height: 60rpx; |
|
|
|
|
|
font-size: 36rpx; |
|
|
|
|
|
color: #fff; |
|
|
} |
|
|
} |
|
|
</style> |
|
|
</style> |