| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263 |
- <template>
- <!-- 病虫害识别结果 -->
- <view class="page-panel">
- <image class="discern-img" :src="result.img_urls" mode="aspectFill"></image>
- <view class="discern-title">识别结果</view>
- <view class="pest-title">{{result.name}}</view>
- <view class="pest-paragraph">{{result.prevention}}</view>
- <view class="discern-result">
- <view class="row-between discern-item">
- <view>害虫名称:<text>{{result.name}}</text></view>
- <view>害虫数量:<text>1只</text></view>
- </view>
-
- </view>
-
- <button class="btn discern-btn">重新识别</button>
- </view>
- </template>
- <script>
- export default {
- data() {
- return {
- //识别结果
- result:{}
- };
- }
- }
- </script>
- <style lang="scss">
- .discern-img {
- display: block;
- height: 510rpx;
- margin-bottom: 48rpx;
- border-radius: 5rpx;
- }
- .discern-title {
- font-size: $font-size-title;
- color: $color-title;
- line-height: $line-height-title;
- }
- .discern-result {
- padding: 0 40rpx;
- }
- .discern-item{
- margin-top: 14rpx;
- &>view {
- font-size: 24rpx;
- color: $color-title;
- line-height: 34rpx;
- text{
- color: $color-error;
- }
- }
- }
- .discern-btn{
- margin: 80rpx auto;
- }
- </style>
|