|
@@ -25,11 +25,20 @@
|
|
|
</view>
|
|
|
<view class="container-right">
|
|
|
<view class="right-content">
|
|
|
- <image
|
|
|
- src="../../static/test-images/test-image-01.png"
|
|
|
- mode="scaleToFill"
|
|
|
- class="right-content-image"
|
|
|
- />
|
|
|
+ <template v-if="regulationsItem.artImage">
|
|
|
+ <image
|
|
|
+ :src="baseApiUrl + regulationsItem.artImage"
|
|
|
+ mode="scaleToFill"
|
|
|
+ class="right-content-image"
|
|
|
+ />
|
|
|
+ </template>
|
|
|
+ <template v-else>
|
|
|
+ <image
|
|
|
+ src="@/static/agrcloud-images/agrcloud-empty-img.png"
|
|
|
+ mode="scaleToFill"
|
|
|
+ class="right-content-image"
|
|
|
+ />
|
|
|
+ </template>
|
|
|
</view>
|
|
|
</view>
|
|
|
<view style="clear: both;"></view>
|