You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
35 lines
843 B
35 lines
843 B
1 year ago
|
<template>
|
||
|
<view>
|
||
|
<page-head :title="title"></page-head>
|
||
|
<view class="uni-padding-wrap uni-common-mt">
|
||
|
<view class="uni-title">
|
||
|
示例1 <text>\n本地图片</text>
|
||
|
</view>
|
||
|
<view class="uni-center" style="background:#FFFFFF; font-size:0;">
|
||
|
<image class="image" mode="widthFix" src="../../../static/uni.png" />
|
||
|
</view>
|
||
|
<view class="uni-title uni-common-mt">
|
||
|
示例2 <text>\n网络图片</text>
|
||
|
</view>
|
||
|
<view class="uni-center" style="background:#FFFFFF; font-size:0;">
|
||
|
<image class="image" mode="widthFix" src="https://vkceyugu.cdn.bspapp.com/VKCEYUGU-dc-site/ceb770c0-5164-11eb-8a36-ebb87efcf8c0.png" />
|
||
|
</view>
|
||
|
</view>
|
||
|
</view>
|
||
|
</template>
|
||
|
<script>
|
||
|
export default {
|
||
|
data() {
|
||
|
return {
|
||
|
title: 'image'
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
</script>
|
||
|
<style>
|
||
|
.image {
|
||
|
margin:40rpx 0;
|
||
|
width: 200rpx;
|
||
|
}
|
||
|
</style>
|