Fix:4778 【商城小程序】产品故事苹果手机字体单独调整,字体加大2个字号
This commit is contained in:
@@ -15,6 +15,7 @@
|
||||
</view>
|
||||
<view
|
||||
class="good-story"
|
||||
:class="{'ios-story': isIOS}"
|
||||
v-if="card.isBlind !== 1 && card.giftProducts[0].productStory && card.isShowProductStory"
|
||||
:style="{
|
||||
right: (card.productStoryX*2 || 0) + 'rpx',
|
||||
@@ -158,6 +159,9 @@ export default {
|
||||
const isReceiveNum = this.card.giftProducts && this.card.giftProducts.filter(e => e.isReceive === 1).length
|
||||
return gitfNum === isReceiveNum
|
||||
},
|
||||
isIOS() {
|
||||
return uni.getSystemInfoSync().osName === 'ios'
|
||||
},
|
||||
isLogin() {
|
||||
return !!cookie.get('login_status');
|
||||
},
|
||||
@@ -462,4 +466,7 @@ export default {
|
||||
font-size: 24rpx;
|
||||
line-height: 36rpx;
|
||||
}
|
||||
.good-story.ios-story {
|
||||
font-size: 26rpx;
|
||||
}
|
||||
</style>
|
||||
|
||||
Reference in New Issue
Block a user