Initial commit: queue workspace
Made-with: Cursor
@@ -0,0 +1,7 @@
|
||||
{
|
||||
"component": true,
|
||||
"usingComponents": {
|
||||
"uni-popup": "/uni_modules/uni-popup/components/uni-popup/uni-popup",
|
||||
"product-window": "/components/productWindow/index"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1 @@
|
||||
.popup-content.data-v-39cafc5b{background-color:#fff;border-radius:40rpx 40rpx 0 0;padding-bottom:env(safe-area-inset-bottom);max-height:80vh;display:flex;flex-direction:column}.header.data-v-39cafc5b{position:relative;padding:32rpx}.header .title.data-v-39cafc5b{font-size:32rpx;font-weight:500;color:#333;text-align:center}.header .close.data-v-39cafc5b{position:absolute;right:32rpx;top:32rpx;font-size:42rpx;color:#999}.gift-list.data-v-39cafc5b{overflow-y:scroll;max-height:700rpx}.gift-list .gift-list-item.data-v-39cafc5b{padding:28rpx 0rpx 28rpx 32rpx}.gift-item.data-v-39cafc5b{padding:32rpx 0;border-bottom:1rpx solid #f5f5f5}.gift-image.data-v-39cafc5b{width:120rpx;height:120rpx;border-radius:8rpx}.gift-info.data-v-39cafc5b{flex:1;margin-left:20rpx}.gift-info .name.data-v-39cafc5b{font-size:28rpx;color:#333;line-height:40rpx}.gift-info .price.data-v-39cafc5b{margin-top:12rpx;color:var(--view-theme);font-weight:500}.gift-info .spec.data-v-39cafc5b{margin-top:12rpx;padding:6rpx 12rpx;background:#f5f5f5;border-radius:20rpx;font-size:24rpx;color:#666;display:inline-flex;align-items:center}.num-input.data-v-39cafc5b{width:80rpx;height:50rpx;text-align:center;font-size:28rpx;margin:0 12rpx;border:1rpx solid #eee;border-radius:8rpx}.delete.data-v-39cafc5b{font-size:36rpx;color:#999}.all.data-v-39cafc5b{padding:20rpx 32rpx}.all .del.data-v-39cafc5b{font-size:24rpx;color:var(--view-theme);border:1rpx solid var(--view-theme);padding:12rpx 24rpx;border-radius:40rpx}.total-price.data-v-39cafc5b{padding-left:20rpx;font-size:26rpx;color:#333}.total-price .price.data-v-39cafc5b{color:var(--view-theme);font-weight:500}.footer.data-v-39cafc5b{padding:20rpx 32rpx;background:#fff;border-top:1rpx solid #f5f5f5}.footer .select-all.data-v-39cafc5b{margin:0 20rpx;font-size:26rpx;color:#333}.footer .submit-btn.data-v-39cafc5b{width:100%;height:80rpx;background:var(--view-theme);color:#fff;font-size:28rpx;border-radius:40rpx;display:flex;align-items:center;justify-content:center;margin:0}.disabled-btn.data-v-39cafc5b{color:#dedede}
|
||||
@@ -0,0 +1,10 @@
|
||||
(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["pages/goods_details/components/giftsPopup/index"],{"58f86":function(t,e,i){"use strict";var n=i("a7ec"),r=i.n(n);r.a},"59d4":function(t,e,i){"use strict";i.d(e,"b",(function(){return n})),i.d(e,"c",(function(){return r})),i.d(e,"a",(function(){}));var n=function(){var t=this.$createElement;this._self._c},r=[]},"7d62":function(t,e,i){"use strict";i.r(e);var n=i("59d4"),r=i("ea79");for(var u in r)["default"].indexOf(u)<0&&function(t){i.d(e,t,(function(){return r[t]}))}(u);i("58f86");var o=i("828b"),a=Object(o["a"])(r["default"],n["b"],n["c"],!1,null,"3642b724",null,!1,n["a"],void 0);e["default"]=a.exports},a288:function(t,e,i){"use strict";(function(t){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var i=2*(t.getWindowInfo().windowHeight*(3/4)-238),n={props:{attr:{type:Object,default:function(){}},storeInfo:{type:Object,default:function(){}},limitNum:{type:Number,value:0},giftCount:{type:Number,value:0},isShow:{type:Number,value:0},iSbnt:{type:Number,value:0},iSplus:{type:Number,value:0},iScart:{type:Number,value:0},is_vip:{type:Number,value:0},type:{type:[Number,String],default:0},fangda:{type:Boolean,default:!0},isExtends:{type:Boolean,default:!1},showFooter:{type:Boolean,default:!1}},data:function(){return{windowHeight:i,gridShow:1}},computed:{reduceDisabled:function(){return 0==this.type&&this.storeInfo&&this.storeInfo.min_qty?this.storeInfo.min_qty==this.attr.productSelect.cart_num:this.attr.productSelect.cart_num<=1},addDisabled:function(){return 0==this.type&&this.storeInfo&&this.storeInfo.is_limit&&this.storeInfo.limit_num?this.storeInfo.limit_num==this.attr.productSelect.cart_num:this.attr.productSelect.cart_num>=this.attr.productSelect.stock},isDisabled:function(){if(0==this.type&&(this.storeInfo.min_qty||this.storeInfo.limit_num))return!0}},methods:{toggleGridAttr:function(t){this.gridShow=t},goCat:function(){this.$emit("goCat")},getGiftList:function(){this.$emit("getGiftList")},bindCode:function(t){this.$emit("iptCartNum",this.attr.productSelect.cart_num)},closeAttr:function(){this.$emit("myevent")},CartNumDes:function(){this.reduceDisabled||this.$emit("ChangeCartNum",!1,"giftsAttr")},CartNumAdd:function(){this.addDisabled||this.$emit("ChangeCartNum",!0,"giftsAttr")},tapAttr:function(t,e){this.$emit("attrVal",{indexw:t,indexn:e}),this.$set(this.attr.productAttr[t],"index",this.attr.productAttr[t].attr_values[e]);var i=this.getCheckedValue().join(",");this.$emit("ChangeAttr",i,"giftsAttr")},moveHandle:function(){},getCheckedValue:function(){for(var t=this.attr.productAttr,e=[],i=0;i<t.length;i++)for(var n=0;n<t[i].attr_values.length;n++)t[i].index===t[i].attr_values[n]&&e.push(t[i].attr_values[n]);return e},showImg:function(){this.$emit("getImg")},cartConfirm:function(t){this.$emit("onConfirm",t)},proviewImg:function(e){t.previewImage({current:0,urls:[e]})}}};e.default=n}).call(this,i("df3c")["default"])},a7ec:function(t,e,i){},ea79:function(t,e,i){"use strict";i.r(e);var n=i("a288"),r=i.n(n);for(var u in n)["default"].indexOf(u)<0&&function(t){i.d(e,t,(function(){return n[t]}))}(u);e["default"]=r.a}}]);
|
||||
;(global["webpackJsonp"] = global["webpackJsonp"] || []).push([
|
||||
'pages/goods_details/components/giftsPopup/index-create-component',
|
||||
{
|
||||
'pages/goods_details/components/giftsPopup/index-create-component':(function(module, exports, __webpack_require__){
|
||||
__webpack_require__('df3c')['createComponent'](__webpack_require__("7d62"))
|
||||
})
|
||||
},
|
||||
[['pages/goods_details/components/giftsPopup/index-create-component']]
|
||||
]);
|
||||
@@ -0,0 +1,4 @@
|
||||
{
|
||||
"component": true,
|
||||
"usingComponents": {}
|
||||
}
|
||||
@@ -0,0 +1,10 @@
|
||||
(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["pages/goods_details/components/preferentialModal/index"],{"0768":function(t,n,e){"use strict";e.d(n,"b",(function(){return o})),e.d(n,"c",(function(){return i})),e.d(n,"a",(function(){}));var o=function(){var t=this,n=t.$createElement,e=(t._self._c,t.discountInfo.discount.length),o=e?t.__map(t.discountInfo.discount,(function(n,e){var o=t.__get_orig(n),i=n.giveProducts.length,u=n.giveCoupon.length,c=n.giveProducts.length,r=c<=4?n.giveCoupon.length:null,s=c<=4?null:n.giveCoupon.length;return{$orig:o,g1:i,g2:u,g3:c,g4:r,g5:s}})):null,i=t.coupon.list.length,u=i?t.__map(t.coupon.list,(function(n,e){var o=t.__get_orig(n),i=1!=n.coupon_type?parseFloat(n.coupon_price):null,u=t._f("typeFilter")(n.type);return{$orig:o,m0:i,f0:u}})):null;t.$mp.data=Object.assign({},{$root:{g0:e,l0:o,g6:i,l1:u}})},i=[]},"1f71":function(t,n,e){"use strict";(function(t){Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var o=e("360a"),i={props:{visible:{type:Boolean,default:!1},discountInfo:{type:Object,default:function(){}},coupon:{type:Object,default:function(){}},computedPrice:{type:Object,default:function(){}},productSelect:{type:Object,default:function(){}}},data:function(){return{ruleshow:!1,showGift:!1,giveProducts:[],giveCoupon:[],give_integral:0}},filters:{typeFilter:function(t){return{0:"通用券",1:"品类券",2:"商品券",3:"品牌券"}[t]}},components:{baseDrawer:function(){e.e("components/tui-drawer/tui-drawer").then(function(){return resolve(e("af01"))}.bind(null,e)).catch(e.oe)}},methods:{closeDrawer:function(){this.$emit("closeDrawer")},getCouponUser:function(t,n){var e=this;t.is_use?this.$emit("closeDrawer"):(0,o.setCouponReceive)(t.id).then((function(t){e.$emit("ChangCouponsUseState",n),e.$util.Tips({title:"领取成功"})})).catch((function(t){e.$util.Tips({title:t})}))},toggleRule:function(t){this.$emit("ruleToggle",t)},showGiftChange:function(){var t=this;this.showGift||this.discountInfo.discount.forEach((function(n){4==n.promotions_type&&(t.giveProducts=n.giveProducts,t.giveCoupon=n.giveCoupon,t.give_integral=n.give_integral)})),this.showGift=!this.showGift},promotionPage:function(n){t.navigateTo({url:"/pages/goods/goods_list/index?promotions_type=".concat(n.promotions_type,"&promotions_id=").concat(n.id)})}}};n.default=i}).call(this,e("df3c")["default"])},"61a3a":function(t,n,e){"use strict";e.r(n);var o=e("0768"),i=e("b3cc");for(var u in i)["default"].indexOf(u)<0&&function(t){e.d(n,t,(function(){return i[t]}))}(u);e("b633");var c=e("828b"),r=Object(c["a"])(i["default"],o["b"],o["c"],!1,null,null,null,!1,o["a"],void 0);n["default"]=r.exports},b004:function(t,n,e){},b3cc:function(t,n,e){"use strict";e.r(n);var o=e("1f71"),i=e.n(o);for(var u in o)["default"].indexOf(u)<0&&function(t){e.d(n,t,(function(){return o[t]}))}(u);n["default"]=i.a},b633:function(t,n,e){"use strict";var o=e("b004"),i=e.n(o);i.a}}]);
|
||||
;(global["webpackJsonp"] = global["webpackJsonp"] || []).push([
|
||||
'pages/goods_details/components/preferentialModal/index-create-component',
|
||||
{
|
||||
'pages/goods_details/components/preferentialModal/index-create-component':(function(module, exports, __webpack_require__){
|
||||
__webpack_require__('df3c')['createComponent'](__webpack_require__("61a3a"))
|
||||
})
|
||||
},
|
||||
[['pages/goods_details/components/preferentialModal/index-create-component']]
|
||||
]);
|
||||
@@ -0,0 +1,6 @@
|
||||
{
|
||||
"component": true,
|
||||
"usingComponents": {
|
||||
"base-drawer": "/components/tui-drawer/tui-drawer"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1 @@
|
||||
.gradient-box{background:linear-gradient(180deg,#fff,#f5f5f5)}.scroll-content{max-height:1176rpx}.border_bg{width:100%;height:130rpx;border:1rpx solid var(--view-theme);border-radius:16rpx;background-size:100%}.border_bg:before{content:"";position:absolute;top:-1rpx;left:50%;width:18rpx;height:18rpx;border:1rpx solid var(--view-theme);background-color:#f5f5f5;box-sizing:border-box;-webkit-transform:rotate(45deg) translate(-50%);transform:rotate(45deg) translate(-50%)}.border_bg:after{content:"";position:absolute;top:0;left:50%;width:36rpx;height:36rpx;background-color:#fff;-webkit-transform:translateX(-50%);transform:translateX(-50%)}.left-bg{width:190rpx;height:170rpx;background-size:100%;background-repeat:no-repeat;border-radius:24rpx 0 0 24rpx}.right-box{border-radius:0 24rpx 24rpx 0}.left-container{background:radial-gradient(circle at 0 84rpx,#f5f5f5 12rpx,transparent 0) top}.left-container:after{content:"";position:absolute;top:0;right:0;width:6rpx;height:100%;background-image:radial-gradient(circle at 6rpx 12rpx,#fff 6rpx,transparent 0);background-size:6rpx 18rpx}.text-primary-con{color:var(--view-theme)}.bg-primary-light{background:var(--view-minorColorT)}.con-border{border:1rpx solid var(--view-theme)}.w-512{width:512rpx}.reduce{width:18rpx;height:4rpx;background-color:var(--view-theme);margin:0 10rpx}.card-cell ~ .card-cell{border-top:1px solid #eee}.rule-desc{margin-top:-16rpx;padding:40rpx 24rpx 24rpx;white-space:pre-wrap;font-size:20rpx;line-height:28rpx;background:linear-gradient(180deg,#f7f7f7,#fff);border-radius:0 0 16rpx 16rpx;color:#999}.w-500{width:500rpx}.gold{color:#dca658}.gift-cell ~ .gift-cell{margin-top:30rpx}.close-icon{position:absolute;right:32rpx;top:36rpx;width:36rpx;height:36rpx;border-radius:50%;background-color:#eee}
|
||||
@@ -0,0 +1,10 @@
|
||||
(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["pages/goods_details/components/serviceModal/index"],{"505d":function(e,n,t){"use strict";t.d(n,"b",(function(){return o})),t.d(n,"c",(function(){return r})),t.d(n,"a",(function(){}));var o=function(){var e=this.$createElement;this._self._c},r=[]},b0e5:function(e,n,t){"use strict";t.r(n);var o=t("e0fd"),r=t.n(o);for(var u in o)["default"].indexOf(u)<0&&function(e){t.d(n,e,(function(){return o[e]}))}(u);n["default"]=r.a},c9ea:function(e,n,t){"use strict";t.r(n);var o=t("505d"),r=t("b0e5");for(var u in r)["default"].indexOf(u)<0&&function(e){t.d(n,e,(function(){return r[e]}))}(u);var a=t("828b"),i=Object(a["a"])(r["default"],o["b"],o["c"],!1,null,null,null,!1,o["a"],void 0);n["default"]=i.exports},e0fd:function(e,n,t){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var o={props:{visible:{type:Boolean,default:!1},ensureInfo:{type:Object,default:function(){}}},components:{baseDrawer:function(){t.e("components/tui-drawer/tui-drawer").then(function(){return resolve(t("af01"))}.bind(null,t)).catch(t.oe)}},methods:{closeDrawer:function(){this.$emit("closeDrawer")}}};n.default=o}}]);
|
||||
;(global["webpackJsonp"] = global["webpackJsonp"] || []).push([
|
||||
'pages/goods_details/components/serviceModal/index-create-component',
|
||||
{
|
||||
'pages/goods_details/components/serviceModal/index-create-component':(function(module, exports, __webpack_require__){
|
||||
__webpack_require__('df3c')['createComponent'](__webpack_require__("c9ea"))
|
||||
})
|
||||
},
|
||||
[['pages/goods_details/components/serviceModal/index-create-component']]
|
||||
]);
|
||||
@@ -0,0 +1,6 @@
|
||||
{
|
||||
"component": true,
|
||||
"usingComponents": {
|
||||
"base-drawer": "/components/tui-drawer/tui-drawer"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1 @@
|
||||
<view><base-drawer vue-id="5fb41331-1" mode="bottom" visible="{{visible}}" background-color="transparent" mask="{{true}}" maskClosable="{{true}}" data-event-opts="{{[['^close',[['closeDrawer']]]]}}" bind:close="__e" bind:__l="__l" vue-slots="{{['default']}}"><view class="w-full bg--w111-fff rd-t-40rpx py-32"><view class="text-center fs-32 text--w111-333 fw-500 mb-34">服务</view><scroll-view class="h-400" scroll-y="true"><view class="px-32"><block wx:for="{{ensureInfo.ensure}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view class="mb-38"><view class="flex-y-center"><image class="w-34 h-34" src="{{item.image}}"></image><text class="pl-12 text--w111-333 fs-28 fw-500">{{item.name}}</text></view><view class="mt-6 pl-40 fs-22 text--w111-999">{{item.desc}}</view></view></block></view></scroll-view><view class="mx-20 pb-safe"><view data-event-opts="{{[['tap',[['closeDrawer',['$event']]]]]}}" class="mt-52 h-72 flex-center rd-36px bg-color fs-26 text--w111-fff" bindtap="__e">确定</view></view></view></base-drawer></view>
|
||||
@@ -0,0 +1,10 @@
|
||||
(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["pages/goods_details/components/specs/index"],{"25b2":function(n,e,t){"use strict";t.d(e,"b",(function(){return u})),t.d(e,"c",(function(){return c})),t.d(e,"a",(function(){}));var u=function(){var n=this.$createElement;this._self._c},c=[]},6826:function(n,e,t){},"6ee0":function(n,e,t){"use strict";t.r(e);var u=t("25b2"),c=t("8128");for(var o in c)["default"].indexOf(o)<0&&function(n){t.d(e,n,(function(){return c[n]}))}(o);t("9c44");var r=t("828b"),i=Object(r["a"])(c["default"],u["b"],u["c"],!1,null,"d5d19956",null,!1,u["a"],void 0);e["default"]=i.exports},8128:function(n,e,t){"use strict";t.r(e);var u=t("b61f"),c=t.n(u);for(var o in u)["default"].indexOf(o)<0&&function(n){t.d(e,n,(function(){return u[n]}))}(o);e["default"]=c.a},"9c44":function(n,e,t){"use strict";var u=t("6826"),c=t.n(u);c.a},b61f:function(n,e,t){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var u={props:{specsInfo:{type:Object,default:function(){}}},components:{baseDrawer:function(){t.e("components/tui-drawer/tui-drawer").then(function(){return resolve(t("af01"))}.bind(null,t)).catch(t.oe)}},methods:{closeSpecs:function(){this.$emit("myevent")}}};e.default=u}}]);
|
||||
;(global["webpackJsonp"] = global["webpackJsonp"] || []).push([
|
||||
'pages/goods_details/components/specs/index-create-component',
|
||||
{
|
||||
'pages/goods_details/components/specs/index-create-component':(function(module, exports, __webpack_require__){
|
||||
__webpack_require__('df3c')['createComponent'](__webpack_require__("6ee0"))
|
||||
})
|
||||
},
|
||||
[['pages/goods_details/components/specs/index-create-component']]
|
||||
]);
|
||||
@@ -0,0 +1,6 @@
|
||||
{
|
||||
"component": true,
|
||||
"usingComponents": {
|
||||
"base-drawer": "/components/tui-drawer/tui-drawer"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1 @@
|
||||
<base-drawer vue-id="60cea3d6-1" mode="bottom" visible="{{specsInfo.show}}" background-color="transparent" mask="{{true}}" maskClosable="{{true}}" data-event-opts="{{[['^close',[['closeSpecs']]]]}}" bind:close="__e" class="data-v-d5d19956" bind:__l="__l" vue-slots="{{['default']}}"><view class="w-full bg--w111-fff rd-t-40rpx py-32 data-v-d5d19956"><view class="text-center fs-32 text--w111-333 fw-500 mb-34 data-v-d5d19956">参数</view><scroll-view class="h-400 data-v-d5d19956" scroll-y="true"><view class="px-32 scroll-content data-v-d5d19956"><block wx:for="{{specsInfo.specs}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view class="item flex break_word data-v-d5d19956"><view class="w-160 text--w111-999 mr-12 data-v-d5d19956">{{item.name}}</view><view class="flex-1 data-v-d5d19956">{{item.value}}</view></view></block></view></scroll-view><view class="mx-20 pb-safe data-v-d5d19956"><view data-event-opts="{{[['tap',[['closeSpecs',['$event']]]]]}}" class="mt-52 h-72 flex-center rd-36px bg-color fs-26 text--w111-fff data-v-d5d19956" bindtap="__e">确定</view></view></view></base-drawer>
|
||||
@@ -0,0 +1 @@
|
||||
.item ~ .item.data-v-d5d19956{margin-top:40rpx}
|
||||
@@ -0,0 +1,19 @@
|
||||
{
|
||||
"navigationBarTitleText": "",
|
||||
"navigationStyle": "custom",
|
||||
"usingComponents": {
|
||||
"jyf-parser": "/components/jyf-parser/jyf-parser",
|
||||
"zb-code": "/components/zb-code/zb-code",
|
||||
"product-con-swiper": "/components/productConSwiper/index",
|
||||
"product-window": "/components/productWindow/index",
|
||||
"gifts-popup": "/pages/goods_details/components/giftsPopup/index",
|
||||
"gift-list-popup": "/pages/goods_details/components/giftsPopup/giftsListPopup",
|
||||
"user-evaluation": "/components/userEvaluation/index",
|
||||
"cus-preview-img": "/components/cusPreviewImg/index",
|
||||
"specs": "/pages/goods_details/components/specs/index",
|
||||
"count-down": "/components/countDown/index",
|
||||
"home-list": "/components/homeList/index",
|
||||
"service-modal": "/pages/goods_details/components/serviceModal/index",
|
||||
"preferential-modal": "/pages/goods_details/components/preferentialModal/index"
|
||||
}
|
||||
}
|
||||
|
After Width: | Height: | Size: 350 B |
|
After Width: | Height: | Size: 3.2 KiB |
|
After Width: | Height: | Size: 3.2 KiB |
|
After Width: | Height: | Size: 7.5 KiB |
|
After Width: | Height: | Size: 3.4 KiB |
|
After Width: | Height: | Size: 4.0 KiB |
|
After Width: | Height: | Size: 2.7 KiB |