123456789101112131415161718192021222324252627282930313233343536373839 |
- <template style="background: #F6F6F6;">
- <view style="width: 100%;height: 100%;">
- <view class="v">
- <!-- <image :src="title.insurance_img_url" mode="aspectFit" style="width: 622rpx;height: 1030rpx;"></image> -->
- <u-image width="622rpx" height="1030rpx" :src="title.order_pack.insurance_img_url">
- <view slot="error" style="font-size: 24rpx;">图片加载失败</view>
- </u-image>
- </view>
- </view>
- </template>
- <script>
- export default {
- data() {
- return {
- title: ""
- }
- },
- methods: {
- },
- onLoad: function(option) { //option为object类型,会序列化上个页面传递的参数
- if (option.data != undefined) {
- this.title = JSON.parse(option.data)
- console.log(this.title)
- }
- }
- }
- </script>
- <style>
- .v {
- margin: 28rpx;
- padding: 36rpx;
- border-radius: 12px;
- box-shadow: 0px 2px 12px 0px rgba(0, 0, 0, 0.04);
- background-color: #FFFFFF
- }
- </style>
|