| 1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162 |
- <template>
- <view>
- <view class="content4">
- <text class="detelText32" style="margin-top: 20rpx;margin-bottom: 20rpx;">{{obj.name}}</text>
- <view class="contentColumn" style="margin-top: 10rpx;margin-bottom: 10rpx;">
- <view class="item_list">
- <view class="item_content" v-for="(itemi,indexi) in annexList" @click="imagesel(itemi)">
- <netImage v-if="itemi!=''" width="220" height="220" bradius="4" :mysrc="itemi" mymode="scaleToFill" ></netImage>
- </view>
- <view v-if="annexList.length==0" class="contentColumnC" style="width: 100%;margin-top: 50rpx;">
- <text>{{$t('order.haimeiysj')}}</text>
- </view>
- </view>
- </view>
- </view>
-
- </view>
- </template>
- <script>
- import api from "@/pages/api/api.js"
- export default {
- data() {
- return {
- obj:'',
- annexList:[],
- state:0
- }
- },
- onLoad(option) {
- this.obj = JSON.parse(option.obj);
- console.log('this.annexList',this.obj)
- this.annexList = JSON.parse(this.obj.img);
- },
- methods: {
- imagesel(mysrc){
- uni.navigateTo({
- url:'/pages/index/BigimageView?mysrc='+mysrc
- })
- },
- },
- }
- </script>
- <style lang="scss">
- .item_list{
- // padding: 0 15rpx;
- display: flex;
- flex-wrap: wrap;
- justify-content: flex-start;
- .item_content{
- width:210rpx;
- height:210rpx;
- margin: 10rpx;
- box-sizing: border-box;
- }
- }
- .upimagV{
- width: 210rpx;
- height:210rpx;
- }
- </style>
|