|
@@ -24,8 +24,12 @@
|
|
|
|
|
|
</view>
|
|
|
|
|
|
- <image v-if="false" src="http://oss.xiaoxinda.com/enterprise/editor/2023/8/e3335976-7e10-4c2d-a322-ba384a86fc78/下载.png" :show-menu-by-longpress="true" ></image>
|
|
|
-
|
|
|
+ </view>
|
|
|
+ <view v-if="newsDetail.codeImage" class="codeImage">
|
|
|
+ <image mode="aspectFit"
|
|
|
+
|
|
|
+ v-if="newsDetail.codeImage" :src="newsDetail.codeImage" :show-menu-by-longpress="true" ></image>
|
|
|
+ <view class="codeImageView" ><u-icon name="arrow-upward"></u-icon><u-icon name="arrow-upward"></u-icon><u-icon name="arrow-upward"></u-icon> 长按图片<u-icon name="arrow-upward"></u-icon><u-icon name="arrow-upward"></u-icon><u-icon name="arrow-upward"></u-icon></view>
|
|
|
</view>
|
|
|
</view>
|
|
|
</template>
|
|
@@ -90,6 +94,20 @@
|
|
|
</style>
|
|
|
|
|
|
<style lang="scss" scoped>
|
|
|
+ .codeImage{
|
|
|
+ background-color: #fff;
|
|
|
+ text-align: center;
|
|
|
+ .codeImageView{
|
|
|
+ padding: 20rpx 0px 40rpx;
|
|
|
+ font-size: 32rpx;
|
|
|
+
|
|
|
+ }
|
|
|
+ image{
|
|
|
+ border: 1px dashed;
|
|
|
+ width: 600rpx;
|
|
|
+
|
|
|
+ }
|
|
|
+ }
|
|
|
.main{
|
|
|
padding: 40rpx 32rpx;
|
|
|
background-color: #fff;
|