gyh change

This commit is contained in:
Gdpao
2020-07-31 08:45:30 +08:00
parent 8bb1cdfd39
commit d817d0c28b
15 changed files with 708 additions and 460 deletions

View File

@@ -1,7 +1,7 @@
<template>
<view class="photo">
<view class="back">
<u-icon name="close" color="#999999" :size="30"></u-icon>
<u-icon name="close" color="#999999" :size="30" @click="goBack"></u-icon>
</view>
<swiper class="swiper">
<swiper-item>
@@ -128,7 +128,12 @@ export default {
console.log(res)
this.list = res.data.info
})
}
},
goBack() {
uni.navigateBack({
delta: 1
})
}
},
onLoad(o){
this.id = o.id

View File

@@ -553,14 +553,16 @@ export default {
.title{
flex-wrap: wrap;
margin-bottom: 30rpx;
line-height: 1.2;
>text{
padding: 13rpx;
font-size: 24rpx;
color:#fff;
margin-right: 13rpx;
background-color: #FF780F;
display: inline-block;
border-radius: 25rpx;
padding: 8rpx 10rpx;
margin: 0 10rpx 4rpx 0;
vertical-align: middle;
font-size: 20rpx;
color: #fff;
border-radius: 30rpx;
background-color: #FF780F;
}
}
.pic{

View File

@@ -40,7 +40,10 @@ export default {
},
search(value){
// console.log(value)
if(!value) this.$u.toast('搜索内容不可为空');
if(!value) {
this.$u.toast('搜索内容不可为空');
return false;
}
this.$u.route({
url: "/pageB/search/out",
params: {