new files
This commit is contained in:
@@ -0,0 +1,10 @@
|
||||
(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["components/ewcomerPop/index"],{"0148b":function(t,o,n){},"43fe":function(t,o,n){"use strict";var e=n("47a9");Object.defineProperty(o,"__esModule",{value:!0}),o.default=void 0;var c=n("4d38"),r=e(n("89cc")),u={mixins:[r.default],props:{comerGift:{type:Object,default:function(){return{}}},fromActive:{type:Number,default:0}},data:function(){return{imgHost:c.HTTP_REQUEST_URL}},methods:{accept:function(){this.$emit("comerPop")}}};o.default=u},a19b:function(t,o,n){"use strict";var e=n("0148b"),c=n.n(e);c.a},ceb6:function(t,o,n){"use strict";n.r(o);var e=n("43fe"),c=n.n(e);for(var r in e)["default"].indexOf(r)<0&&function(t){n.d(o,t,(function(){return e[t]}))}(r);o["default"]=c.a},d692:function(t,o,n){"use strict";n.d(o,"b",(function(){return e})),n.d(o,"c",(function(){return c})),n.d(o,"a",(function(){}));var e=function(){var t=this,o=t.$createElement,n=(t._self._c,t.comerGift.first_order_discount>0&&0==t.fromActive?parseFloat(t.comerGift.first_order_discount)/10||10:null),e=t.__map(t.comerGift.register_give_coupon,(function(o,n){var e=t.__get_orig(o),c=t.comerGift.coupon_count>0&&1==o.coupon_type?o.coupon_price.toString().split("."):null,r=t.comerGift.coupon_count>0?o.coupon_price.toString().split(".").length>1&&1==o.coupon_type:null,u=t.comerGift.coupon_count>0&&r?o.coupon_price.toString().split("."):null,i=t.comerGift.coupon_count>0&&2==o.coupon_type?parseFloat(o.coupon_price):null;return{$orig:e,g0:c,g1:r,g2:u,m1:i}}));t.$mp.data=Object.assign({},{$root:{m0:n,l0:e}})},c=[]},e795:function(t,o,n){"use strict";n.r(o);var e=n("d692"),c=n("ceb6");for(var r in c)["default"].indexOf(r)<0&&function(t){n.d(o,t,(function(){return c[t]}))}(r);n("a19b");var u=n("828b"),i=Object(u["a"])(c["default"],e["b"],e["c"],!1,null,null,null,!1,e["a"],void 0);o["default"]=i.exports}}]);
|
||||
;(global["webpackJsonp"] = global["webpackJsonp"] || []).push([
|
||||
'components/ewcomerPop/index-create-component',
|
||||
{
|
||||
'components/ewcomerPop/index-create-component':(function(module, exports, __webpack_require__){
|
||||
__webpack_require__('df3c')['createComponent'](__webpack_require__("e795"))
|
||||
})
|
||||
},
|
||||
[['components/ewcomerPop/index-create-component']]
|
||||
]);
|
||||
@@ -0,0 +1,4 @@
|
||||
{
|
||||
"component": true,
|
||||
"usingComponents": {}
|
||||
}
|
||||
@@ -0,0 +1 @@
|
||||
<view style="{{(colorStyle)}}"><image class="img" src="{{imgHost+'/statics/images/header.png'}}" mode></image><view class="tipaddress"><view class="title">{{fromActive==1?'激活送好礼':'新人大礼包'}}</view><view class="list"><block wx:if="{{comerGift.product_count>0&&fromActive==0}}"><view class="list-img acea-row row-between-wrapper" style="{{'background-image:'+('url('+imgHost+'/statics/images/box1.png'+')')+';'}}"><view class="left acea-row row-center-wrapper"><image src="{{imgHost+'/statics/images/vip.png'}}" mode></image></view><view class="right">新人专享价商品</view></view></block><block wx:if="{{comerGift.first_order_discount>0&&fromActive==0}}"><view class="list-img acea-row row-between-wrapper" style="{{'background-image:'+('url('+imgHost+'/statics/images/box1.png'+')')+';'}}"><view class="left">{{''+$root.m0}}<text class="text">折</text></view><view class="right">新人首单优惠</view></view></block><block wx:if="{{comerGift.register_give_integral>0}}"><view class="list-img acea-row row-between-wrapper" style="{{'background-image:'+('url('+imgHost+'/statics/images/box1.png'+')')+';'}}"><view class="left">{{comerGift.register_give_integral}}</view><view class="right">新人赠送积分</view></view></block><block wx:if="{{comerGift.register_give_money>0}}"><view class="list-img acea-row row-between-wrapper" style="{{'background-image:'+('url('+imgHost+'/statics/images/box1.png'+')')+';'}}"><view class="left">{{comerGift.register_give_money}}<text class="text">元</text></view><view class="right">新人赠送余额</view></view></block><block wx:for="{{$root.l0}}" wx:for-item="item" wx:for-index="index" wx:key="index"><block wx:if="{{comerGift.coupon_count>0}}"><view class="list-img acea-row row-between-wrapper" style="{{'background-image:'+('url('+imgHost+'/statics/images/box1.png'+')')+';'}}"><view class="left"><block wx:if="{{item.$orig.coupon_type==1}}"><text>{{item.g0[0]}}</text></block><block wx:if="{{item.g1}}"><text class="nums">{{"."+item.g2[1]}}</text></block><block wx:if="{{item.$orig.coupon_type==2}}"><text>{{item.m1/10}}</text></block><text class="text">{{item.$orig.coupon_type==1?'元':'折'}}</text></view><view class="right">优惠券</view></view></block></block></view><view data-event-opts="{{[['tap',[['accept',['$event']]]]]}}" class="btn" bindtap="__e"> 立即收下 </view></view><view class="mark"></view></view>
|
||||
@@ -0,0 +1 @@
|
||||
.img{position:fixed;top:162rpx;left:9%;width:590rpx;height:294rpx;z-index:100}.tipaddress{position:fixed;left:13%;top:25%;width:538rpx;height:650rpx;background-color:var(--view-theme);border-radius:10rpx;z-index:100;text-align:center}.tipaddress .title{color:#fff;font-size:50rpx;margin-top:32rpx;margin-bottom:18rpx}.tipaddress .goods-img{width:258rpx;height:52rpx;margin-top:50rpx}.tipaddress .list{height:370rpx;overflow-x:hidden;overflow-y:auto}.tipaddress .list .list-img{margin-top:14rpx;margin-left:32rpx;width:474rpx;height:124rpx;background-repeat:no-repeat;background-size:100% 100%}.tipaddress .list .list-img .left{width:144rpx;font-size:48rpx;font-weight:500;color:var(--view-theme)}.tipaddress .list .list-img .left image{width:72rpx;height:72rpx;display:block}.tipaddress .list .list-img .left .text{font-size:24rpx}.tipaddress .list .list-img .left .nums{font-size:30rpx}.tipaddress .list .list-img .right{width:328rpx;font-size:28rpx;font-weight:500;color:var(--view-theme);text-align:left;padding-left:50rpx}.tipaddress .btn{width:474rpx;height:78rpx;background:#ffde5c;border-radius:39rpx;font-size:30rpx;font-weight:500;color:#b66a08;line-height:78rpx;text-align:center;margin-left:32rpx;margin-top:48rpx}.mark{position:fixed;top:0;left:0;bottom:0;right:0;background:rgba(0,0,0,.5);z-index:99}
|
||||
Reference in New Issue
Block a user