123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125 |
- <template>
- <u-popup :show="isShow" @close="close" :closeOnClickOverlay="false" :overlay="false" :closeable="true" :round="10">
- <view class="container">
- <view class="info">
- <view class="info-head">
- <view>
- {{renderItem(item,'label','--')}}
- </view>
-
- </view>
- <view class="info-body">
-
- <view class="item">
- <image :src="$getImages('/assetsMobile/images/index/collect/address.png')" class="icon"></image>
- <view class="label">地址:</view>
- <view class="value">{{renderItem(item,'address','--')}}</view>
- </view>
-
- </view>
- </view>
- </view>
- </u-popup>
- </template>
- <script>
- import {isArray,clone,isObject } from 'lodash'
- import {getImages} from '@/plugins/images'
- import {copyProps,clearProps} from '@/utils/gdtq.js'
- export default {
- props: {
- /* item: {
- type: Object,
- default: () => {}
- } */
- },
- data() {
- return {
- isShow: false,
- item: {}
- }
- },
- computed: {
-
- },
- mounted() {
-
- },
-
- methods: {
-
- show(e) {
- this.item = e;
- console.log(e,'eeeee')
- this.isShow= true;
- },
- close() {
- this.isShow = false
- },
-
- }
- }
- </script>
- <style lang="scss" scoped>
- .container {
- // background: #fff;
- // padding: 52rpx 48rpx;
-
- font-size: 28rpx;
- // min-height: 360rpx;
-
- .info {
- border-radius: 20rpx;
- background: #fff;
- margin: 52rpx 48rpx 28rpx;
- // padding: 0 44rpx;
- &-head{
-
- display: flex;
- view {
- font-family: PingFangSC, PingFang SC;
- font-weight: 600;
- font-size: 32rpx;
- color: #000000;
- text-align: left;
- font-style: normal;
- padding: 0 ;
- width: auto;
- }
- }
- &-body {
- overflow: hidden;
- .item {
- margin: 20rpx 0;
- display: flex;
- font-family: PingFangSC, PingFang SC;
- font-weight: 400;
- font-size: 28rpx;
-
-
- .icon {
- width: 28rpx;
- height: 28rpx;
- margin-top: 4rpx;
- margin-right: 20rpx;
- }
- .label {
- color: #999999;
- }
- .value {
-
- color: #333333;
- flex: 1;
- }
- }
- }
- }
- }
-
-
-
- </style>
|