6.9/优化
This commit is contained in:
parent
015a3c6f33
commit
4ab82767f2
@ -144,42 +144,42 @@
|
|||||||
<view class="head">
|
<view class="head">
|
||||||
<view class="bgc_img" :style="{ backgroundImage: `url(${item.mer_banner})`}">
|
<view class="bgc_img" :style="{ backgroundImage: `url(${item.mer_banner})`}">
|
||||||
<view class="head_conent">
|
<view class="head_conent">
|
||||||
<view class="head_conent_l" @click="goStore(item.mer_id)">
|
<view class="head_conent_l" @click="goStore(item.mer_id)">
|
||||||
<view class="conent_l_top">
|
<view class="conent_l_top">
|
||||||
<view class="avatar" :style="{backgroundImage:`url(${item.mer_avatar})`}">
|
<view class="avatar" :style="{backgroundImage:`url(${item.mer_avatar})`}">
|
||||||
</view>
|
</view>
|
||||||
<view class="top_text">
|
<view class="top_text">
|
||||||
<p>{{item.mer_name}}</p>
|
<p>{{item.mer_name}}</p>
|
||||||
<view class="text">
|
<view class="text">
|
||||||
<image src="@/static/images/phone.png" mode=""></image>
|
<image src="@/static/images/phone.png" mode=""></image>
|
||||||
<span>
|
<span>
|
||||||
{{item.service_phone}}
|
{{item.service_phone}}
|
||||||
</span>
|
</span>
|
||||||
</view>
|
|
||||||
<view class="text">
|
|
||||||
<image src="@/static/images/clock.png" mode=""></image>
|
|
||||||
<span>
|
|
||||||
{{item.mer_take_time[0]}}-{{item.mer_take_time[1]}}
|
|
||||||
</span>
|
|
||||||
</view>
|
|
||||||
</view>
|
|
||||||
</view>
|
</view>
|
||||||
<view class="conent_l_bom">
|
<view class="text">
|
||||||
<view class="text">
|
<image src="@/static/images/clock.png" mode=""></image>
|
||||||
<image src="@/static/images/dingwei.png" mode=""></image>
|
<span>
|
||||||
<p>
|
{{item.mer_take_time[0]}}-{{item.mer_take_time[1]}}
|
||||||
{{item.mer_address}}
|
</span>
|
||||||
</p>
|
|
||||||
</view>
|
|
||||||
|
|
||||||
<view class="text">
|
|
||||||
<image src="@/static/images/shangpu.png"></image>
|
|
||||||
<p>
|
|
||||||
{{item.mer_info}}
|
|
||||||
</p>
|
|
||||||
</view>
|
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
|
</view>
|
||||||
|
<view class="conent_l_bom">
|
||||||
|
<view class="text">
|
||||||
|
<image src="@/static/images/dingwei.png" mode=""></image>
|
||||||
|
<p>
|
||||||
|
{{item.mer_address}}
|
||||||
|
</p>
|
||||||
|
</view>
|
||||||
|
|
||||||
|
<view class="text">
|
||||||
|
<image src="@/static/images/shangpu.png"></image>
|
||||||
|
<p>
|
||||||
|
{{item.mer_info}}
|
||||||
|
</p>
|
||||||
|
</view>
|
||||||
|
</view>
|
||||||
|
</view>
|
||||||
<view class="head_conent_r" @click="qctail(item)">
|
<view class="head_conent_r" @click="qctail(item)">
|
||||||
<image class="miniban" :src="item.mer_certificate[0]"></image>
|
<image class="miniban" :src="item.mer_certificate[0]"></image>
|
||||||
</view>
|
</view>
|
||||||
@ -242,10 +242,10 @@
|
|||||||
<!-- #ifndef H5 -->
|
<!-- #ifndef H5 -->
|
||||||
<passwordPopup></passwordPopup>
|
<passwordPopup></passwordPopup>
|
||||||
<!-- #endif -->
|
<!-- #endif -->
|
||||||
<u-popup class="pop" :show="show" @close="close" mode="center" bgColor='transparent'>
|
<u-popup class="pop" :show="show" @close="close" mode="center" bgColor='transparent'>
|
||||||
<image :src="image"></image>
|
<image :src="image"></image>
|
||||||
<image src="@/static/images/guanbi.png" class="guanbi" @click="close"></image>
|
<image src="@/static/images/guanbi.png" class="guanbi" @click="close"></image>
|
||||||
</u-popup>
|
</u-popup>
|
||||||
</view>
|
</view>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
@ -419,8 +419,8 @@
|
|||||||
merList: [], //商户分类
|
merList: [], //商户分类
|
||||||
mTop: 0,
|
mTop: 0,
|
||||||
activeIndex: 0,
|
activeIndex: 0,
|
||||||
show:false, //质资弹出层
|
show: false, //质资弹出层
|
||||||
image:''//图片
|
image: '' //图片
|
||||||
};
|
};
|
||||||
},
|
},
|
||||||
onLoad: function(options) {
|
onLoad: function(options) {
|
||||||
@ -877,23 +877,23 @@
|
|||||||
uni.navigateTo({
|
uni.navigateTo({
|
||||||
url: `/pages/store/home/index?id=${id}`
|
url: `/pages/store/home/index?id=${id}`
|
||||||
})
|
})
|
||||||
}else if(this.storeList.type_id == 12){
|
} else if (this.storeList.type_id == 12) {
|
||||||
uni.navigateTo({
|
uni.navigateTo({
|
||||||
url: `/pages/nongKe/supply_chain/merchant?id=${id}`
|
url: `/pages/nongKe/supply_chain/merchant?id=${id}`
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
qctail(item){
|
qctail(item) {
|
||||||
console.log(item);
|
console.log(item);
|
||||||
if(item.mer_certificate == '' ){
|
if (item.mer_certificate == '') {
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
this.show=true
|
this.show = true
|
||||||
this.image=item.mer_certificate[0]
|
this.image = item.mer_certificate[0]
|
||||||
console.log(this.show);
|
console.log(this.show);
|
||||||
},
|
},
|
||||||
close(){
|
close() {
|
||||||
this.show=false
|
this.show = false
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
onPullDownRefresh() {
|
onPullDownRefresh() {
|
||||||
@ -1503,7 +1503,7 @@
|
|||||||
.store-item {
|
.store-item {
|
||||||
margin: 20rpx auto;
|
margin: 20rpx auto;
|
||||||
// padding: 40rpx 20rpx;
|
// padding: 40rpx 20rpx;
|
||||||
background-color: #fff;
|
// background-color: #fff;
|
||||||
|
|
||||||
.head {
|
.head {
|
||||||
display: flex;
|
display: flex;
|
||||||
@ -1523,7 +1523,7 @@
|
|||||||
|
|
||||||
.head_conent_l {
|
.head_conent_l {
|
||||||
width: 70%;
|
width: 70%;
|
||||||
|
|
||||||
|
|
||||||
.conent_l_top {
|
.conent_l_top {
|
||||||
display: flex;
|
display: flex;
|
||||||
@ -1533,7 +1533,7 @@
|
|||||||
width: 80px;
|
width: 80px;
|
||||||
height: 180rpx;
|
height: 180rpx;
|
||||||
background-size: cover;
|
background-size: cover;
|
||||||
margin: 10px 0 0 10px;
|
margin: 10px 0 10px 10px;
|
||||||
border-radius: 10px;
|
border-radius: 10px;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -1541,7 +1541,7 @@
|
|||||||
margin: 10px 0 0 15px;
|
margin: 10px 0 0 15px;
|
||||||
|
|
||||||
.text {
|
.text {
|
||||||
margin-top: 10rpx;
|
margin: 12.5rpx 0px;
|
||||||
display: flex;
|
display: flex;
|
||||||
|
|
||||||
span {
|
span {
|
||||||
@ -1560,8 +1560,14 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
p {
|
p {
|
||||||
font-size: 24px;
|
font-size: 31rpx;
|
||||||
font-weight: 700;
|
font-weight: 700;
|
||||||
|
width: 160px;
|
||||||
|
overflow: hidden;
|
||||||
|
text-overflow: ellipsis;
|
||||||
|
white-space: nowrap;
|
||||||
|
-o-text-overflow: ellipsis;
|
||||||
|
margin-bottom: 30rpx;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
@ -1570,13 +1576,14 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
.conent_l_bom {
|
.conent_l_bom {
|
||||||
padding-top: 10px;
|
margin-top: 40rpx;
|
||||||
|
|
||||||
.text {
|
.text {
|
||||||
display: flex;
|
display: flex;
|
||||||
|
|
||||||
p {
|
p {
|
||||||
width: 190px;
|
width: 190px;
|
||||||
margin: 10rpx 0 10px 0;
|
margin: 10rpx 0 10Rpx 0;
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
text-overflow: ellipsis;
|
text-overflow: ellipsis;
|
||||||
white-space: nowrap;
|
white-space: nowrap;
|
||||||
@ -1595,6 +1602,7 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
.head_conent_r {
|
.head_conent_r {
|
||||||
|
height: 200px;
|
||||||
width: 30%;
|
width: 30%;
|
||||||
|
|
||||||
.miniban {
|
.miniban {
|
||||||
@ -1719,12 +1727,14 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
.guanbi{
|
|
||||||
width: 20px ;
|
.guanbi {
|
||||||
|
width: 20px;
|
||||||
height: 20px;
|
height: 20px;
|
||||||
margin: 30px auto;
|
margin: 30px auto;
|
||||||
}
|
}
|
||||||
.pop{
|
|
||||||
|
.pop {
|
||||||
z-index: 1;
|
z-index: 1;
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
@ -188,7 +188,8 @@ export default {
|
|||||||
volume: '', // 体积
|
volume: '', // 体积
|
||||||
extension_one: '', // 一级佣金
|
extension_one: '', // 一级佣金
|
||||||
extension_two: '' //二级拥挤
|
extension_two: '' //二级拥挤
|
||||||
}
|
},
|
||||||
|
a:{}
|
||||||
};
|
};
|
||||||
},
|
},
|
||||||
onLoad(opt) {
|
onLoad(opt) {
|
||||||
@ -207,6 +208,15 @@ export default {
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
deep: true
|
deep: true
|
||||||
|
},
|
||||||
|
batchData:{
|
||||||
|
handler(val){
|
||||||
|
console.log(val);
|
||||||
|
// this.multiSpecificationList
|
||||||
|
// setStorage('attrValue', this.multiSpecificationList);
|
||||||
|
},
|
||||||
|
deep:true,
|
||||||
|
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
@ -230,9 +240,11 @@ export default {
|
|||||||
});
|
});
|
||||||
},
|
},
|
||||||
clk(index) {
|
clk(index) {
|
||||||
|
setStorage('attrValue', this.multiSpecificationList);
|
||||||
let avatar = this.$refs.avatar;
|
let avatar = this.$refs.avatar;
|
||||||
this.index = index;
|
this.index = index;
|
||||||
avatar.fChooseImg(1,{selWidth: '350upx', selHeight: '350upx', inner: true});
|
avatar.fChooseImg(1,{selWidth: '350upx', selHeight: '350upx', inner: true});
|
||||||
|
|
||||||
},
|
},
|
||||||
doUpload(rsp) {
|
doUpload(rsp) {
|
||||||
console.log(rsp);
|
console.log(rsp);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user