Commit dd429f9d authored by caimeng's avatar caimeng

详情页面样式调整

parent 56935461
.product-page { .product-page {
width: 100%; width: 100%;
height: 100vh;
background: #F7FAFF; background: #F7FAFF;
box-sizing: border-box; box-sizing: border-box;
padding-bottom: 160rpx; padding-bottom: 160rpx;
.p-banner { .p-banner {
margin: 20rpx 30rpx 0; width: 100%;
height: 450rpx;
margin-bottom: 20rpx;
box-sizing: border-box;
padding: 0 30rpx;
.banner-item { .banner-item {
display: block; display: block;
...@@ -18,6 +22,7 @@ ...@@ -18,6 +22,7 @@
.p-box { .p-box {
margin: 30rpx; margin: 30rpx;
width: 690rpx; width: 690rpx;
height: 210rpx;
background: #FFFFFF; background: #FFFFFF;
box-shadow: 0rpx 0rpx 10rpx 0rpx rgba(232, 232, 232, 0.49); box-shadow: 0rpx 0rpx 10rpx 0rpx rgba(232, 232, 232, 0.49);
border-radius: 10rpx; border-radius: 10rpx;
...@@ -117,9 +122,11 @@ ...@@ -117,9 +122,11 @@
.p-detail { .p-detail {
margin: 0 30rpx; margin: 0 30rpx;
width: 690rpx; width: 690rpx;
background: #FFFFFF; background: #FFFFFF;
box-shadow: 0rpx 0rpx 10rpx 0rpx rgba(232, 232, 232, 0.49); box-shadow: 0rpx 0rpx 10rpx 0rpx rgba(232, 232, 232, 0.49);
border-radius: 10rpx; border-radius: 10rpx;
overflow: auto;
.det-text { .det-text {
padding: 25rpx; padding: 25rpx;
......
<template> <template>
<view class='product-page' v-show="productInfo!=null"> <view class='product-page' v-show="productInfo!=null">
<view class='p-banner' v-show="goodsImage!=''"> <view class='p-banner' v-show="goodsImage!=''">
<image :src='goodsImage' mode="widthFix" class='banner-item'></image> <image :src='goodsImage' class='banner-item'></image>
</view> </view>
<view class="p-box"> <view class="p-box">
<view class='box-top'> <view class='box-top'>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment