提交
This commit is contained in:
@ -1,8 +0,0 @@
|
||||
{
|
||||
"usingComponents": {
|
||||
"u-image": "/components/uview-ui/components/u-image/u-image",
|
||||
"u-tag": "/components/uview-ui/components/u-tag/u-tag",
|
||||
"price-format": "/components/price-format/price-format"
|
||||
},
|
||||
"component": true
|
||||
}
|
||||
@ -1 +0,0 @@
|
||||
<view class="order-goods bg-white"><block wx:for="{{list}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view class="item-wrap"><view data-event-opts="{{[['tap',[['toGoods',['$0'],[[['list','',index,'goods_id']]]]]]]}}" class="item row" bindtap="__e"><view class="goods-img"><u-image vue-id="{{'1699735c-1-'+index}}" src="{{item.image_str||item.image}}" width="{{imageWidth}}" height="{{imageHeight}}" border-radius="{{imageRadius}}" lazy-load="{{true}}" bind:__l="__l"></u-image></view><view class="goods-info ml20 flex1"><view class="goods-name line2 mb10"><block wx:if="{{team.need}}"><u-tag class="mr10" vue-id="{{'1699735c-2-'+index}}" text="{{team.need+'人团'}}" size="mini" type="primary" mode="plain" bind:__l="__l"></u-tag></block>{{''+(item.goods_name||item.name)}}</view><view class="goods-spec xs muted mb20">{{item.spec_value_str||item.spec_value}}</view><view class="row-between"><view class="goods-price row"><view class="primary"><block wx:if="{{!item.is_member&&order_type===0}}"><price-format vue-id="{{'1699735c-3-'+index}}" weight="{{500}}" subscript-size="{{24}}" first-size="{{34}}" second-size="{{24}}" price="{{item.original_price||item.goods_price}}" bind:__l="__l"></price-format></block></view><block wx:if="{{item.is_member&&order_type===0}}"><view class="vip-price row"><view class="price-name xxs">会员价</view><view style="padding:0 10rpx;"><price-format vue-id="{{'1699735c-4-'+index}}" price="{{item.goods_price}}" first-size="{{22}}" second-size="{{22}}" subscript-size="{{22}}" weight="{{500}}" color="#7B3200" bind:__l="__l"></price-format></view></view></block><block wx:if="{{order_type===1||order_type===2||order_type===3}}"><view class="vip-price row"><view class="price-name xxs" style="background-color:#e74346;"><block wx:if="{{order_type===1}}"><text>秒杀价</text></block><block wx:if="{{order_type===2}}"><text>拼团价</text></block><block wx:if="{{order_type===3}}"><text>砍价</text></block></view><view style="padding:0 10rpx;"><price-format vue-id="{{'1699735c-5-'+index}}" price="{{item.goods_price}}" first-size="{{22}}" second-size="{{22}}" subscript-size="{{22}}" weight="{{500}}" color="#7B3200" bind:__l="__l"></price-format></view></view></block></view><view class="goods-num sm">{{"x"+item.goods_num}}</view></view></view></view><block wx:if="{{mode==='comfirm'}}"><block wx:if="{{delivery===1&&!item.is_express}}"><view class="delivery">该商品不支持快递配送</view></block><block wx:if="{{delivery===2&&!item.is_selffetch}}"><view class="delivery">该商品不支持门店自提</view></block></block><block wx:if="{{link}}"><view class="goods-footer row"><view style="flex:1;"></view><block wx:if="{{item.comment_btn}}"><navigator class="mr20" hover-class="none" url="{{'/bundle/pages/goods_reviews/goods_reviews?id='+item.id}}"><button class="plain br60" size="xs" hover-class="none">评价晒图</button></navigator></block><block wx:if="{{item.refund_btn}}"><navigator hover-class="none" url="{{'/bundle/pages/apply_refund/apply_refund?order_id='+item.order_id+'&item_id='+item.item_id}}"><button class="plain br60" size="xs" hover-class="none">申请退款</button></navigator></block><block wx:if="{{item.after_status_desc}}"><view style="color:orange;">{{''+item.after_status_desc+''}}</view></block></view></block></view></block></view>
|
||||
@ -1,66 +0,0 @@
|
||||
@charset "UTF-8";
|
||||
/**
|
||||
* 这里是uni-app内置的常用样式变量
|
||||
*
|
||||
* uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量
|
||||
* 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App
|
||||
*
|
||||
*/
|
||||
/**
|
||||
* 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能
|
||||
*
|
||||
* 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件
|
||||
*/
|
||||
/* 颜色变量 */
|
||||
/* 行为相关颜色 */
|
||||
.order-goods .item {
|
||||
padding: 20rpx 24rpx;
|
||||
}
|
||||
.order-goods .item .vip-price {
|
||||
background-color: #ffe9ba;
|
||||
line-height: 30rpx;
|
||||
border-radius: 6rpx;
|
||||
overflow: hidden;
|
||||
}
|
||||
.order-goods .item .vip-price .price-name {
|
||||
background-color: #101010;
|
||||
padding: 3rpx 10rpx;
|
||||
color: #ffd4b7;
|
||||
position: relative;
|
||||
overflow: hidden;
|
||||
}
|
||||
.order-goods .item .vip-price .price-name::after {
|
||||
content: '';
|
||||
display: block;
|
||||
width: 20rpx;
|
||||
height: 20rpx;
|
||||
position: absolute;
|
||||
right: -15rpx;
|
||||
background-color: #ffe9ba;
|
||||
border-radius: 50%;
|
||||
top: 50%;
|
||||
-webkit-transform: translateY(-50%);
|
||||
transform: translateY(-50%);
|
||||
box-sizing: border-box;
|
||||
}
|
||||
.order-goods .goods-footer {
|
||||
height: 70rpx;
|
||||
align-items: flex-start;
|
||||
padding: 0 24rpx;
|
||||
}
|
||||
.order-goods .goods-footer .plain {
|
||||
border: 1px solid #999;
|
||||
height: 52rpx;
|
||||
line-height: 52rpx;
|
||||
font-size: 26rpx;
|
||||
}
|
||||
.order-goods .delivery {
|
||||
display: inline-block;
|
||||
margin-left: calc(180rpx + 20rpx * 2);
|
||||
padding: 4rpx 15rpx;
|
||||
border-radius: 60px;
|
||||
font-size: 20rpx;
|
||||
background-color: #f4f4f4;
|
||||
color: #999999;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user