style: 购物车、我的页面ui
This commit is contained in:
@@ -10,7 +10,9 @@
|
||||
<view class="title size36 flex1 center" :style="[{ color: textColor }]">{{
|
||||
props.title
|
||||
}}</view>
|
||||
<view> </view>
|
||||
<view class="cardRight" :style="{ color: textColor }">
|
||||
<slot name="right" />
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
</template>
|
||||
@@ -102,4 +104,11 @@
|
||||
left: 20rpx;
|
||||
transform: translateY(50%);
|
||||
}
|
||||
|
||||
.cardRight {
|
||||
position: absolute;
|
||||
bottom: 44rpx;
|
||||
right: 20rpx;
|
||||
transform: translateY(50%);
|
||||
}
|
||||
</style>
|
||||
|
||||
@@ -8,6 +8,9 @@
|
||||
</view>
|
||||
</view>
|
||||
<view class="title size36 flex1 center" :style="[{ color: textColor }]">{{ props.title }}</view>
|
||||
<view class="cardRight" :style="{ color: textColor }">
|
||||
<slot name="right" />
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
</template>
|
||||
@@ -111,4 +114,11 @@
|
||||
left: 20rpx;
|
||||
transform: translateY(50%);
|
||||
}
|
||||
|
||||
.cardRight {
|
||||
position: absolute;
|
||||
bottom: 44rpx;
|
||||
right: 20rpx;
|
||||
transform: translateY(50%);
|
||||
}
|
||||
</style>
|
||||
|
||||
@@ -8,6 +8,9 @@
|
||||
</view>
|
||||
</view>
|
||||
<view class="title size36 flex1 center" :style="[{ color: textColor }]">{{ props.title }}</view>
|
||||
<view class="cardRight" :style="{ color: textColor }">
|
||||
<slot name="right" />
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
</template>
|
||||
@@ -123,4 +126,11 @@
|
||||
left: 20rpx;
|
||||
transform: translateY(50%);
|
||||
}
|
||||
</style>
|
||||
|
||||
.cardRight {
|
||||
position: absolute;
|
||||
bottom: 44rpx;
|
||||
right: 20rpx;
|
||||
transform: translateY(50%);
|
||||
}
|
||||
</style>
|
||||
|
||||
Reference in New Issue
Block a user