@@ -20,7 +20,7 @@
this.handleGetData();
},
methods: {
- handleGetData: function(){
+ handleGetData(){
uni.showLoading({
title: "加载中"
});
@@ -33,11 +33,11 @@
}
}).then(res => {
console.log(res)
- if(res.data.code==0){
+ if (res.data.code == 0) {
_this.contentDetail = res.data.data.contentDetail;
- }).catch(err => {
- }).finally(() => {
+ }).catch(err => {})
+ .finally(() => {
setTimeout(() => {
uni.hideLoading();
this.loading = false;
@@ -49,11 +49,9 @@
</script>
<style lang="scss" scoped>
- .picture{
- img{
+ .picture {
+ /deep/img {
width: 100vw;
- margin-bottom: -40rpx;
-
</style>