12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667 |
- <template>
- <view class="cm-order-submit-nav submit">
- <view class="count">共1件商品</view>
- <view class="total">
- <view class="price"> <text class="label">总计:</text> <text>¥200.00</text> </view>
- <view class="reduce"> <text class="label">共减:</text> <text>¥20.00</text> </view>
- </view>
- <button class="btn">提交订单</button>
- </view>
- </template>
- <script></script>
- <style lang="scss" scoped>
- .submit {
- display: flex;
- justify-content: space-between;
- align-items: center;
- box-sizing: border-box;
- position: fixed;
- width: 100%;
- height: 100rpx;
- bottom: 0;
- left: 0;
- padding: 0 24rpx;
- background: #fff;
- .count {
- font-size: 28rpx;
- color: #333333;
- }
- .total {
- display: flex;
- flex-direction: column;
- justify-content: center;
- align-items: flex-start;
- margin: 0 24rpx;
- .price {
- font-size: 26rpx;
- color: #ff457b;
- .label {
- color: #333333;
- }
- }
- .reduce {
- margin-top: 4rpx;
- font-size: 24rpx;
- color: #ff457b;
- }
- }
- .btn {
- width: 210rpx;
- height: 80rpx;
- background: linear-gradient(90deg, #fa55bf 0%, #f83c6c 100%);
- opacity: 1;
- color: #fff;
- line-height: 80rpx;
- text-align: center;
- border-radius: 40rpx;
- margin: 0;
- }
- }
- </style>
|