This commit is contained in:
2026-04-14 17:38:46 +08:00
commit b71e6d6bae
2848 changed files with 237896 additions and 0 deletions

View File

@ -0,0 +1,10 @@
(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["components/coupon-order/coupon-order"],{"22ef":function(t,n,e){"use strict";e.r(n);var o=e("d6b9"),u=e.n(o);for(var c in o)["default"].indexOf(c)<0&&function(t){e.d(n,t,(function(){return o[t]}))}(c);n["default"]=u.a},4485:function(t,n,e){"use strict";e.d(n,"b",(function(){return u})),e.d(n,"c",(function(){return c})),e.d(n,"a",(function(){return o}));var o={priceFormat:function(){return e.e("components/price-format/price-format").then(e.bind(null,"1738"))},uCheckbox:function(){return e.e("components/uview-ui/components/u-checkbox/u-checkbox").then(e.bind(null,"7f15"))}},u=function(){var t=this.$createElement,n=(this._self._c,this.coupons.length);this.$mp.data=Object.assign({},{$root:{g0:n}})},c=[]},6606:function(t,n,e){"use strict";e.r(n);var o=e("4485"),u=e("22ef");for(var c in u)["default"].indexOf(c)<0&&function(t){e.d(n,t,(function(){return u[t]}))}(c);e("dc54");var i=e("828b"),r=Object(i["a"])(u["default"],o["b"],o["c"],!1,null,"3b23292d",null,!1,o["a"],void 0);n["default"]=r.exports},b54b:function(t,n,e){},d6b9:function(t,n,e){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var o={data:function(){return{coupons:[],selectId:""}},props:{list:{type:Array,default:function(){return[]}},type:{type:Number},couponId:[Number,String]},watch:{list:{handler:function(t){this.coupons=t},immediate:!0},couponId:{handler:function(t){this.selectId=t},immediate:!0}},methods:{onSelect:function(t){this.coupons;var n=this.type,e=this.selectId;1!=n&&(this.selectId=t==e?"":t)},onConfirmCoupon:function(){this.$emit("change",this.selectId)}}};n.default=o},dc54:function(t,n,e){"use strict";var o=e("b54b"),u=e.n(o);u.a}}]);
;(global["webpackJsonp"] = global["webpackJsonp"] || []).push([
'components/coupon-order/coupon-order-create-component',
{
'components/coupon-order/coupon-order-create-component':(function(module, exports, __webpack_require__){
__webpack_require__('df3c')['createComponent'](__webpack_require__("6606"))
})
},
[['components/coupon-order/coupon-order-create-component']]
]);

View File

@ -0,0 +1,7 @@
{
"usingComponents": {
"price-format": "/components/price-format/price-format",
"u-checkbox": "/components/uview-ui/components/u-checkbox/u-checkbox"
},
"component": true
}

View File

@ -0,0 +1 @@
<view class="coupon-order flex-col data-v-3b23292d"><scroll-view style="{{'background-color:#F6F6F6;'+('height:'+(type==0?'750rpx':'852rpx')+';')}}" scroll-y="true" class="data-v-3b23292d"><view class="coupon-list data-v-3b23292d"><block wx:for="{{coupons}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view data-event-opts="{{[['tap',[['onSelect',['$0'],[[['coupons','',index,'id']]]]]]]}}" class="m-b-20 bg-white data-v-3b23292d" bindtap="__e"><view class="coupon-item flex data-v-3b23292d"><view class="price white flex-col col-center data-v-3b23292d"><view class="xl data-v-3b23292d"><price-format vue-id="{{'07e9d0a2-1-'+index}}" subscript-size="{{34}}" first-size="{{60}}" second-size="{{50}}" price="{{item.money}}" weight="{{500}}" class="data-v-3b23292d" bind:__l="__l"></price-format></view><view class="data-v-3b23292d">{{item.condition_type_desc}}</view></view><view class="flex row-between flex-1 data-v-3b23292d"><view class="info m-l-20 data-v-3b23292d"><view class="bold md bold m-b-10 line-1 data-v-3b23292d">{{item.coupon_name}}</view><view class="xxs lighter m-b-10 data-v-3b23292d">{{item.user_time_desc}}</view><view class="xxs lighter data-v-3b23292d">{{item.use_scene_desc}}</view></view><block wx:if="{{type==0}}"><u-checkbox vue-id="{{'07e9d0a2-2-'+index}}" shape="circle" value="{{selectId==item.id}}" class="data-v-3b23292d" bind:__l="__l"></u-checkbox></block></view></view><block wx:if="{{item.use_goods_desc&&type==1}}"><view class="xs data-v-3b23292d" style="padding:14rpx 20rpx;">{{''+item.use_goods_desc+''}}</view></block></view></block></view><block wx:if="{{$root.g0==0}}"><view class="flex-col col-center data-v-3b23292d" style="padding-top:50rpx;"><image class="img-null data-v-3b23292d" src="/static/images/coupon_null.png"></image><text class="muted data-v-3b23292d">暂无优惠券~</text></view></block></scroll-view><block wx:if="{{type==0}}"><view class="data-v-3b23292d"><view data-event-opts="{{[['tap',[['onConfirmCoupon',['$event']]]]]}}" class="bg-primary btn white flex row-center br60 mb10 lg data-v-3b23292d" bindtap="__e"> 确定 </view></view></block></view>

File diff suppressed because one or more lines are too long