Commit 5e19beee53cdd6fffdf6f91bf60a2b81cdca06c0

Authored by sfmind
1 parent 0d08ed26

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

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