|
@@ -1,6 +1,6 @@
|
|
<template>
|
|
<template>
|
|
<view class="center">
|
|
<view class="center">
|
|
- <u-search placeholder="请输入货名" v-model="keyword" @clear="searchClear" style="width: 96%; margin: 0 auto;"
|
|
|
|
|
|
+ <u-search placeholder="请输入关键字" v-model="keyword" @clear="searchClear" style="width: 96%; margin: 0 auto;"
|
|
@search="getData" @custom="getData"></u-search>
|
|
@search="getData" @custom="getData"></u-search>
|
|
<view class="bottom flex">
|
|
<view class="bottom flex">
|
|
<view class="bottonCss" @click="release">
|
|
<view class="bottonCss" @click="release">
|
|
@@ -37,7 +37,7 @@
|
|
</view>
|
|
</view>
|
|
<view class="imgList flex" v-if="item.address != ''">
|
|
<view class="imgList flex" v-if="item.address != ''">
|
|
<view v-for="(items,count) in item.imgList" style="width: 30%;margin-left: 20rpx;">
|
|
<view v-for="(items,count) in item.imgList" style="width: 30%;margin-left: 20rpx;">
|
|
- <image :src="items" style="height: 220rpx;border-radius: 16rpx;"></image>
|
|
|
|
|
|
+ <image @click="preview(item.imgList,count)" :src="items" style="height: 220rpx;border-radius: 16rpx;"></image>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
<view class="flex">
|
|
<view class="flex">
|
|
@@ -114,6 +114,12 @@
|
|
this.scrollTop = e.scrollTop;
|
|
this.scrollTop = e.scrollTop;
|
|
},
|
|
},
|
|
methods: {
|
|
methods: {
|
|
|
|
+ preview(img,index){
|
|
|
|
+ uni.previewImage({
|
|
|
|
+ urls: img,
|
|
|
|
+ current:index
|
|
|
|
+ });
|
|
|
|
+ },
|
|
getData() {
|
|
getData() {
|
|
this.$api.doRequest('get', '/settledCompanyDynamics/selectSettledCompanyDynamicsPage', {
|
|
this.$api.doRequest('get', '/settledCompanyDynamics/selectSettledCompanyDynamicsPage', {
|
|
currentPage: 1,
|
|
currentPage: 1,
|
|
@@ -124,6 +130,7 @@
|
|
.then(res => {
|
|
.then(res => {
|
|
if (res.data.code == 200) {
|
|
if (res.data.code == 200) {
|
|
this.releaseList = res.data.data.records
|
|
this.releaseList = res.data.data.records
|
|
|
|
+ console.log("releaseList",this.releaseList)
|
|
for (let i = 0; i < this.releaseList.length; i++) {
|
|
for (let i = 0; i < this.releaseList.length; i++) {
|
|
if (this.releaseList[i].address != null) {
|
|
if (this.releaseList[i].address != null) {
|
|
if(this.releaseList[i].address.indexOf(',')!=-1){
|
|
if(this.releaseList[i].address.indexOf(',')!=-1){
|