This commit is contained in:
jiangnan 2023-08-03 17:30:29 +08:00
commit e3de1ac088
1 changed files with 178 additions and 297 deletions

View File

@ -10,8 +10,7 @@
<view class="standard"> <view class="standard">
<text>标题:</text> <text>标题:</text>
</view> </view>
<view class="content">{{ data.title <view class="content">{{ data.title }}</view>
}}</view>
</view> </view>
<view class="item_li"> <view class="item_li">
<view class="standard"> <view class="standard">
@ -50,8 +49,8 @@
</template> </template>
<script> <script>
export default { export default {
data () { data() {
return { return {
load: true, load: true,
id: '', id: '',
@ -63,14 +62,14 @@ export default {
isCheck: 0, isCheck: 0,
} }
}, },
onLoad (op) { onLoad(op) {
this.id = op.id this.id = op.id
}, },
onShow () { onShow() {
this.getData() this.getData()
}, },
methods: { methods: {
getData () { getData() {
this.load = true this.load = true
this.http.request(`/artCountryside/details?id=${this.id}`, {}, 'GET').then(res => { this.http.request(`/artCountryside/details?id=${this.id}`, {}, 'GET').then(res => {
if (res.code == 200) { if (res.code == 200) {
@ -87,150 +86,32 @@ export default {
this.load = false this.load = false
}) })
}, },
back () { back() {
uni.navigateBack() uni.navigateBack()
}, },
// //
} }
} }
</script> </script>
<style lang="scss" scoped> <style lang="scss" scoped>
.box { .box {
width: 100%; width: 100%;
position: relative; position: relative;
} }
image {
// height: 100%;
width: 100%;
}
.page {
.return {
position: fixed;
left: 24rpx;
top: 110rpx;
z-index: 10;
image { image {
width: 48rpx; // height: 100%;
height: 48rpx;
}
}
.pageImg {
height: 440rpx;
.img {
width: 100%; width: 100%;
height: 100%;
}
} }
.main { .page {
padding: 32rpx;
.mainTitle {
font-size: 36rpx;
font-weight: 600;
color: #251B1D;
margin-bottom: 28rpx;
}
.textList {
margin-bottom: 24rpx;
.type {
display: flex;
height: 48rpx;
line-height: 48rpx;
.textImg {
width: 32rpx;
height: 32rpx;
margin-top: 10rpx;
margin-right: 16rpx;
}
.text1 {
font-size: 32rpx;
font-weight: 600;
color: #32333C;
}
}
.text2 {
font-size: 28rpx;
color: #32333C;
line-height: 48rpx;
}
}
.file_box {
width: 92%;
height: 64px;
margin: 10px 4%;
font-family: PingFangSC-Semibold, PingFang SC;
font-weight: 600;
color: #251B1D;
background: #F4F5F7;
border-radius: 6px;
overflow: hidden;
.file_box_left {
width: 40px;
height: 40px;
margin-top: 12px;
margin-left: 12px;
float: left;
.file_box_left_img {
width: 40px;
height: 40px;
}
}
.file_box_right {
margin-left: 20px;
float: left;
.file_box_name {
height: 64px;
line-height: 64px;
font-size: 16px;
font-weight: 600;
color: #251B1D;
}
}
}
}
.line {
height: 16rpx;
background: #F4F5F7;
}
.activityDetails { .activityDetails {
.item_ul { .item_ul {
.title {
font-size: 32rpx;
font-weight: bold;
padding: 24rpx;
display: flex;
background: #F4F5F7;
.icon {
width: 40rpx;
height: 40rpx;
margin-right: 10rpx;
// display: none;
}
}
.item_li { .item_li {
padding: 16rpx 32rpx 32rpx; padding: 16rpx 32rpx 32rpx;
margin: 16rpx 0; margin: 0rpx 0 32rpx;
border-bottom: 2rpx solid #F1F1F1; border-bottom: 2rpx solid #F1F1F1;
display: flex; display: flex;
// justify-content: space-between; // justify-content: space-between;
@ -314,5 +195,5 @@ image {
margin-left: 30rpx; margin-left: 30rpx;
} }
} }
} }
</style> </style>