Commit 29acc8d0 authored by zhengke's avatar zhengke

修改

parent 41646e47
......@@ -249,7 +249,7 @@
<view style="padding: 12px;" v-if="recommend.length > 0">
<goodlist :list="recommend"></goodlist>
</view>
<view class="btn-box" v-if="orders.OrderStatus != '5'">
<view class="btn-box" v-if="orders.OrderStatus != '5'&&isShowBtn">
<view class="item" v-if="orders.OrderStatus == '3'">
<u-button
shape="circle"
......@@ -416,6 +416,7 @@ export default {
delivery_time:14,//时间
uid:0,
NewUserId:0, //zk新增
isShowBtn:true,
};
},
onLoad(option) {
......@@ -423,6 +424,7 @@ export default {
//zk新增
if(option.NewUserId){
this.NewUserId = option.NewUserId;
this.isShowBtn=false;
}
this.mc = this.$uiConfig.mainColor;
this.secondary = this.$uiConfig.secondary;
......
......@@ -143,18 +143,22 @@
:active-color="mainColor"
@change="getChild"
></u-tabs>
<view
style="white-space: nowrap;display: flex;margin:10px auto;background-color:#EBEBEB;border-radius:20px;width:95%;overflow:hidden;"
>
<view
@click="getSecond(item,index)"
style="padding:8px 17px;margin-left:0;flex:1;text-align:center;"
:style="{ color: index==active2 ? '#fff' : '#272727',backgroundColor:index==active2 ? mainColor:'' }"
class="quick_slider"
v-for="(item,index) in dataSecond"
:key="index"
>{{item.Name}}</view>
</view>
<!-- <scroll-view scroll-x="true" style="white-space: nowrap;display: flex;width:90%;margin:auto;"> -->
<view
style="white-space: nowrap;display: flex;margin:10px auto;background-color:#EBEBEB;border-radius:20px;width:95%;"
>
<scroll-view scroll-x="true" style="white-space: nowrap;display: flex;width:100%;">
<view
@click="getSecond(item,index)"
style="padding:8px 17px;margin-left:0;flex:1;text-align:center;"
:style="{ color: index==active2 ? '#fff' : '#272727',backgroundColor:index==active2 ? mainColor:'' }"
class="quick_slider"
v-for="(item,index) in dataSecond"
:key="index"
>{{item.Name}}</view>
</scroll-view>
</view>
<!-- </scroll-view> -->
<view class="qr_Line"></view>
<view class="quick_top" v-if="dataThird.length>0">
<scroll-view scroll-x="true" style="white-space: nowrap;display: flex;width:90%">
......@@ -195,8 +199,8 @@
<view class="quick_Content" style="width: 100%;min-height:100%">
<view
class="quick_Inner"
v-for="(item,index) in dataList"
:key="index"
v-for="(item,subIndex) in dataList"
:key="subIndex"
style="margin-bottom:10px;background-color:#fff;"
>
<view class="quick_ImgDiv">
......@@ -216,7 +220,7 @@
<view
v-for="(subItem,index) in item.ImgList"
:key="index"
style="margin-bottom:3px;"
style="margin-bottom:2px;"
>
<!-- 遍历数组 -->
<view
......@@ -225,7 +229,7 @@
style="margin-right:5px;"
>
<!-- 分段显示 -->
<img :src="subItem" style="height:190rpx;width:190rpx;" />
<img :src="subItem" @click="previewImage(index, item.ImgList)" style="height:190rpx;width:190rpx;" />
</view>
</view>
</view>
......@@ -525,6 +529,13 @@ export default {
let arr = JSON.parse(JSON.stringify(this.images));
this.downLoadImage(arr);
},
//图片预览
previewImage(index, images) {
uni.previewImage({
urls: images,
current: index,
});
},
downLoadImage(arr) {
let that = this;
uni.downloadFile({
......
......@@ -42,7 +42,7 @@
<view class="share_Item u-border-bottom">
<!-- <u-avatar :src="item.Photo" size="64"></u-avatar> -->
<!-- 此层wrap在此为必写的,否则可能会出现标题定位错误 -->
<view class="title-wrap" style="width:100%;">
<view class="title-wrap" style="width:100%;" @click="goUrl(item.UserId)">
<view class="box_top">
<u-avatar :src="item.Photo" size="64"></u-avatar>
<view class="box_r">
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment