123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323 |
- <template>
- <view class="order-pay">
- <view class="top-tip">请对每家店铺分别进行付款</view>
- <view class="shop-info">
- <view class="shop-name">浙江瑞琪</view>
- <view class="product-list">
- <view class="product">
- <image class="cover" src="https://picsum.photos/200/200" mode="widthFix"></image>
- <view class="content">
- <view class="title">韩国恩盛进口氢洁气小气泡清韩国恩盛盛进口氢洁气小气泡清...</view>
- <view class="unit">规格:10ml/盒</view>
- <view class="tags">
- <view class="tag type1">促销</view>
- <view class="tag type1">自营</view>
- <view class="tag type2">活动价</view>
- </view>
- <view class="price">
- <text class="active">¥50.00</text>
- <text class="deleted">¥80.00</text>
- </view>
- </view>
- </view>
- </view>
- <view class="total">
- <text>优惠:¥20.00</text>
- <text>已付:¥0</text>
- </view>
- <view class="foot">
- <view class="price">
- <text>待付:</text>
- <text class="active">¥100.00</text>
- </view>
- <view class="submit">付款</view>
- </view>
- </view>
- <view class="shop-info">
- <view class="shop-name">浙江瑞琪</view>
- <view class="product-list">
- <view class="product">
- <image class="cover" src="https://picsum.photos/200/200" mode="widthFix"></image>
- <view class="content">
- <view class="title">韩国恩盛进口氢洁气小气泡清韩国恩盛盛进口氢洁气小气泡清...</view>
- <view class="unit">规格:10ml/盒</view>
- <view class="tags">
- <view class="tag type1">促销</view>
- <view class="tag type1">自营</view>
- <view class="tag type2">活动价</view>
- </view>
- <view class="price">
- <text class="active">¥50.00</text>
- <text class="deleted">¥80.00</text>
- </view>
- </view>
- </view>
- </view>
- <view class="total">
- <text>优惠:¥20.00</text>
- <text>已付:¥0</text>
- </view>
- <view class="foot">
- <view class="price">
- <text>待付:</text>
- <text class="active">¥100.00</text>
- </view>
- <view class="submit">付款</view>
- </view>
- </view>
- <view class="shop-info">
- <view class="shop-name">浙江瑞琪</view>
- <view class="product-list">
- <view class="product">
- <image class="cover" src="https://picsum.photos/200/200" mode="widthFix"></image>
- <view class="content">
- <view class="title">韩国恩盛进口氢洁气小气泡清韩国恩盛盛进口氢洁气小气泡清...</view>
- <view class="unit">规格:10ml/盒</view>
- <view class="tags">
- <view class="tag type1">促销</view>
- <view class="tag type1">自营</view>
- <view class="tag type2">活动价</view>
- </view>
- <view class="price">
- <text class="active">¥50.00</text>
- <text class="deleted">¥80.00</text>
- </view>
- </view>
- </view>
- </view>
- <!-- <view class="total">
- <text>优惠:¥20.00</text>
- <text>已付:¥0</text>
- </view> -->
- <view class="foot">
- <view class="price">
- <text>待付:</text>
- <text class="active">¥100.00</text>
- </view>
- <view class="submit">付款</view>
- </view>
- </view>
- <view class="shop-info">
- <view class="shop-name">采美快递物流商</view>
- <view class="product-list">
- <view class="product">
- <image class="cover" src="https://picsum.photos/200/200" mode="widthFix"></image>
- <view class="content between">
- <view class="title">运费</view>
- <view class="price"><text>¥50.00</text></view>
- <view class="count">×7</view>
- </view>
- </view>
- </view>
- <view class="total">
- <!-- <text>优惠:¥20.00</text> -->
- <text>已付:¥0</text>
- </view>
- <view class="foot">
- <view class="price">
- <text>待付:</text>
- <text class="active">¥100.00</text>
- </view>
- <view class="submit" @click="onPay">付款</view>
- </view>
- </view>
- <!-- 弹框 -->
- <tui-modal
- :show="modal"
- :size="30"
- :button="[{ text: '确定', type: 'danger' }]"
- shape="circle"
- color="#333333"
- title="提示"
- content="抱歉,该商品支付正在调整暂不支持下单!"
- @click="onConfirm"
- ></tui-modal>
- </view>
- </template>
- <script>
- export default {
- data() {
- return {
- modal: false
- }
- },
- methods: {
- onConfirm(e) {
- if (e.index) return
- this.modal = false
- },
- onPay() {
- this.modal = true
- }
- }
- }
- </script>
- <style lang="scss" scoped>
- .order-pay {
- min-height: 100vh;
- background: #f7f7f7;
- .top-tip {
- position: sticky;
- top: 0;
- z-index: 99;
- width: 750rpx;
- height: 80rpx;
- line-height: 80rpx;
- padding: 0 24rpx;
- background: #fff3f7;
- color: #ff457b;
- font-size: 26rpx;
- box-sizing: border-box;
- }
- .shop-info {
- padding: 32rpx 24rpx;
- background-color: #fff;
- margin-bottom: 20rpx;
- .shop-name {
- font-size: 30rpx;
- color: #333333;
- font-weight: bold;
- }
- .product-list {
- .product {
- display: flex;
- margin: 20rpx 0;
- .cover {
- width: 180rpx;
- height: 180rpx;
- border-radius: 8rpx;
- background-color: #f7f7f7;
- }
- .content {
- position: relative;
- width: 500rpx;
- margin-left: 16rpx;
- .count {
- position: absolute;
- bottom: 0;
- right: 0;
- font-size: 26rpx;
- color: #666;
- }
- &.between {
- display: flex;
- flex-direction: column;
- justify-content: space-between;
- }
- .title {
- font-size: 28rpx;
- color: #333333;
- text-align: justify;
- height: 72rpx;
- line-height: 36rpx;
- }
- .unit {
- font-size: 20rpx;
- color: #999999;
- margin: 8rpx 0;
- }
- .tags {
- display: flex;
- justify-content: flex-start;
- align-items: center;
- width: 100%;
- height: 30rpx;
- .tag {
- margin-right: 8rpx;
- font-size: 22rpx;
- height: 30rpx;
- line-height: 30rpx;
- text-align: center;
- &.type1 {
- padding: 0 8rpx;
- background: #f83c6c;
- border-radius: 4rpx;
- color: #fff;
- }
- &.type2 {
- width: 80rpx;
- color: #f83c6c;
- background: url(https://static.caimei365.com/app/mini-hehe/icon/icon-active.png) top center no-repeat;
- background-size: contain;
- }
- &.type3 {
- width: 80rpx;
- background: linear-gradient(270deg, #ff457b 0%, #b03bb8 51%, #6431f2 100%);
- color: #fff;
- border-radius: 4rpx;
- }
- &.type4 {
- border: 1rpx solid #f83c6c;
- padding: 0 6rpx;
- color: #f83c6c;
- border-radius: 4rpx;
- }
- }
- }
- }
- .price {
- font-size: 26rpx;
- .active {
- color: #ff457b;
- }
- .deleted {
- font-size: 24rpx;
- color: #999;
- text-decoration: line-through;
- }
- }
- }
- }
- .total {
- padding-left: 220rpx - 24rpx;
- margin: 16rpx 0 20rpx;
- font-size: 26rpx;
- color: #333;
- text {
- &:nth-child(2) {
- margin-left: 56rpx;
- }
- }
- }
- .foot {
- display: flex;
- justify-content: flex-end;
- align-items: center;
- .price {
- font-size: 26rpx;
- color: #333333;
- .active {
- color: #ff457b;
- }
- }
- .submit {
- display: flex;
- justify-content: center;
- align-items: center;
- width: 160rpx;
- height: 64rpx;
- margin-left: 40rpx;
- background: linear-gradient(90deg, #fa55bf 0%, #f83c6c 100%);
- color: #ffffff;
- border-radius: 32rpx;
- font-size: 26rpx;
- }
- }
- }
- }
- </style>
|