Commit 5e19beee53cdd6fffdf6f91bf60a2b81cdca06c0

Authored by sfmind
1 parent 0d08ed26

产品页底部留出兼容iPhone手机的安全区域

yudao-ui-app/pages/product/product.vue
@@ -172,6 +172,7 @@ @@ -172,6 +172,7 @@
172 <u-button type="error" color="#ea322b" shape="circle" size="small" text="立即购买"></u-button> 172 <u-button type="error" color="#ea322b" shape="circle" size="small" text="立即购买"></u-button>
173 </view> 173 </view>
174 </view> 174 </view>
  175 + <u-safe-bottom customStyle="background: #ffffff"></u-safe-bottom>
175 </view> 176 </view>
176 </view> 177 </view>
177 </template> 178 </template>
@@ -313,7 +314,11 @@ export default { @@ -313,7 +314,11 @@ export default {
313 // TODO 展示评论 314 // TODO 展示评论
314 } 315 }
315 }, 316 },
316 - computed: {} 317 + computed: {
  318 + hasLogin() {
  319 + return this.$store.getters.hasLogin
  320 + }
  321 + }
317 } 322 }
318 </script> 323 </script>
319 324
@@ -505,7 +510,7 @@ export default { @@ -505,7 +510,7 @@ export default {
505 padding: 30rpx; 510 padding: 30rpx;
506 .prom-item { 511 .prom-item {
507 @include flex-left; 512 @include flex-left;
508 - font-size: 14rpx; 513 + font-size: 22rpx;
509 margin-bottom: 15rpx; 514 margin-bottom: 15rpx;
510 .prom-title { 515 .prom-title {
511 padding: 1rpx 10rpx; 516 padding: 1rpx 10rpx;
@@ -559,7 +564,7 @@ export default { @@ -559,7 +564,7 @@ export default {
559 } 564 }
560 565
561 .comment-empty { 566 .comment-empty {
562 - 567 + margin-bottom: 100rpx;
563 } 568 }
564 } 569 }
565 } 570 }