feat: 设计稿750px, 使用 rpx 即可
This commit is contained in:
parent
25c964cc21
commit
691fabeb78
@ -19,7 +19,8 @@
|
|||||||
<view class="text-center mt-8">
|
<view class="text-center mt-8">
|
||||||
<wd-button type="primary">wot 组件库测试</wd-button>
|
<wd-button type="primary">wot 组件库测试</wd-button>
|
||||||
</view>
|
</view>
|
||||||
<view>测试设计稿样式</view>
|
<view class="desc">测试设计稿样式</view>
|
||||||
|
<view class="desc">设计稿是750px,css里面全部写rpx 即可</view>
|
||||||
</view>
|
</view>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
@ -27,3 +28,9 @@
|
|||||||
// 获取屏幕边界到安全区域距离
|
// 获取屏幕边界到安全区域距离
|
||||||
const { safeAreaInsets } = uni.getSystemInfoSync()
|
const { safeAreaInsets } = uni.getSystemInfoSync()
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
|
<style lang="scss" scoped>
|
||||||
|
.desc {
|
||||||
|
width: 700rpx;
|
||||||
|
}
|
||||||
|
</style>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user