Initial commit: queue workspace
Made-with: Cursor
This commit is contained in:
@@ -0,0 +1,10 @@
|
||||
require('../../common/vendor.js');(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["pages/merchant/components/filterDrwer/index"],{3644:function(t,n,i){"use strict";(function(t){Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var e={props:{visible:{type:Boolean,default:!1},cateList:{type:Array,default:function(){return[]}},brandList:{type:Array,default:function(){return[]}}},data:function(){return{cateGoryList:[],brand_id:[],cateId:[],sid:""}},watch:{cateList:{handler:function(t){var n=this;this.cateGoryList=t,this.cateGoryList.map((function(t){n.$set(t,"more",!0)}))},immediate:!0}},computed:{fixedTop:function(){return t.getWindowInfo().statusBarHeight}},components:{baseDrawer:function(){i.e("components/tui-drawer/tui-drawer").then(function(){return resolve(i("af01"))}.bind(null,i)).catch(i.oe)}},methods:{closeDrawer:function(){this.$emit("closeDrawer")},checkBrand:function(t){this.brand_id.includes(t.id)?this.brand_id=this.brand_id.filter((function(n){return n!=t.id})):this.brand_id.push(t.id)},checkCate:function(t){this.sid=t.id},checkMore:function(t){t.more=!t.more},confirmFilter:function(){var t={brand_id:this.brand_id.join(","),sid:this.sid};this.$emit("filterChange",t)},resetFilter:function(){this.brand_id=[],this.sid="";this.$emit("filterChange",{brand_id:"",sid:""})}}};n.default=e}).call(this,i("df3c")["default"])},"37f1":function(t,n,i){"use strict";i.r(n);var e=i("3644"),r=i.n(e);for(var a in e)["default"].indexOf(a)<0&&function(t){i.d(n,t,(function(){return e[t]}))}(a);n["default"]=r.a},"3b8d":function(t,n,i){"use strict";var e=i("cae5"),r=i.n(e);r.a},"986e":function(t,n,i){"use strict";i.r(n);var e=i("c886"),r=i("37f1");for(var a in r)["default"].indexOf(a)<0&&function(t){i.d(n,t,(function(){return r[t]}))}(a);i("3b8d");var c=i("828b"),d=Object(c["a"])(r["default"],e["b"],e["c"],!1,null,null,null,!1,e["a"],void 0);n["default"]=d.exports},c886:function(t,n,i){"use strict";i.d(n,"b",(function(){return e})),i.d(n,"c",(function(){return r})),i.d(n,"a",(function(){}));var e=function(){var t=this,n=t.$createElement,i=(t._self._c,t.brandList.length),e=i?t.__map(t.brandList,(function(n,i){var e=t.__get_orig(n),r=t.brand_id.includes(n.id);return{$orig:e,g1:r}})):null,r=t.cateGoryList.length;t.$mp.data=Object.assign({},{$root:{g0:i,l0:e,g2:r}})},r=[]},cae5:function(t,n,i){}}]);
|
||||
;(global["webpackJsonp"] = global["webpackJsonp"] || []).push([
|
||||
'pages/merchant/components/filterDrwer/index-create-component',
|
||||
{
|
||||
'pages/merchant/components/filterDrwer/index-create-component':(function(module, exports, __webpack_require__){
|
||||
__webpack_require__('df3c')['createComponent'](__webpack_require__("986e"))
|
||||
})
|
||||
},
|
||||
[['pages/merchant/components/filterDrwer/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="63eca2c0-1" mode="right" 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="drawer_box bg--w111-fff px-32 h-full"><scroll-view style="height:100vh;" scroll-y="true"><view style="{{'height:'+(fixedTop+'px')+';'}}"></view><view class="h-80 flex-center fs-34 fw-500 text--w111-333">筛选</view><view class="activity_box py-24"><block wx:if="{{$root.g0}}"><view><view class="fs-28 text--w111-333 fw-500 mt-24">品牌</view><view class="grid-column-3 box_gap mt-24"><block wx:for="{{$root.l0}}" wx:for-item="item" wx:for-index="__i0__" wx:key="id"><view data-event-opts="{{[['tap',[['checkBrand',['$0'],[[['brandList','id',item.$orig.id]]]]]]]}}" class="{{['h-56','rd-28rpx','bg--w111-f5f5f5','flex-center','fs-24','text--w111-333',(item.g1)?'active':'']}}" bindtap="__e"><text class="inline-block w-full line1 px-12 text-center">{{item.$orig.brand_name}}</text></view></block></view></view></block><block wx:if="{{$root.g2}}"><view><view class="fs-28 text--w111-333 fw-500 mt-48">分类</view><block wx:for="{{cateGoryList}}" wx:for-item="item" wx:for-index="i" wx:key="i"><view><view class="flex-between-center mt-48"><text class="fs-24">{{item.cate_name}}</text><view data-event-opts="{{[['tap',[['checkMore',['$0'],[[['cateGoryList','',i]]]]]]]}}" class="flex-y-center fs-20 text--w111-999 lh-34rpx" bindtap="__e"><text>{{item.more?'收起':'展开'}}</text><text class="{{['iconfont','fs-20',item.more?'icon-ic_uparrow':'icon-ic_downarrow']}}"></text></view></view><view hidden="{{!(item.more)}}" class="grid-column-3 box_gap mt-24"><block wx:for="{{item.children}}" wx:for-item="cate" wx:for-index="k" wx:key="k"><view data-event-opts="{{[['tap',[['checkCate',['$0'],[[['cateGoryList','',i],['children','',k]]]]]]]}}" class="{{['h-56','rd-28rpx','bg--w111-f5f5f5','flex-center','fs-24','text--w111-333',(cate.id==sid)?'active':'']}}" bindtap="__e"><text class="inline-block w-full line1 px-12 text-center">{{cate.cate_name}}</text></view></block></view></view></block></view></block></view><view class="pb-safe"><view class="h-112"></view></view></scroll-view><view class="fixed-lb pb-safe bg--w111-fff w-full"><view class="px-32 flex-between-center h-112"><view data-event-opts="{{[['tap',[['resetFilter']]]]}}" class="w-296 h-72 rd-40rpx flex-center text-mer con_border bg--w111-fff" bindtap="__e">重置</view><view data-event-opts="{{[['tap',[['confirmFilter']]]]}}" class="w-296 h-72 rd-40rpx flex-center text--w111-fff mer-bg" bindtap="__e">确定</view></view></view></view></base-drawer></view>
|
||||
@@ -0,0 +1 @@
|
||||
.drawer_box{width:668rpx;border-radius:40rpx 0 0 40rpx;overflow:auto}.box_gap{grid-row-gap:24rpx;grid-column-gap:26rpx}.con_border{border:1rpx solid #2d8cf0}.active{border:1px solid #2d8cf0;color:#2d8cf0;background:rgba(45,140,240,.1)}.text-mer{color:#2d8cf0}
|
||||
@@ -0,0 +1,10 @@
|
||||
require('../../common/vendor.js');(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["pages/merchant/components/serviceModal/index"],{"80c5":function(e,n,t){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var r={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=r},9170:function(e,n,t){"use strict";t.r(n);var r=t("b0fa"),u=t("e359");for(var o in u)["default"].indexOf(o)<0&&function(e){t.d(n,e,(function(){return u[e]}))}(o);var a=t("828b"),c=Object(a["a"])(u["default"],r["b"],r["c"],!1,null,null,null,!1,r["a"],void 0);n["default"]=c.exports},b0fa:function(e,n,t){"use strict";t.d(n,"b",(function(){return r})),t.d(n,"c",(function(){return u})),t.d(n,"a",(function(){}));var r=function(){var e=this.$createElement;this._self._c},u=[]},e359:function(e,n,t){"use strict";t.r(n);var r=t("80c5"),u=t.n(r);for(var o in r)["default"].indexOf(o)<0&&function(e){t.d(n,e,(function(){return r[e]}))}(o);n["default"]=u.a}}]);
|
||||
;(global["webpackJsonp"] = global["webpackJsonp"] || []).push([
|
||||
'pages/merchant/components/serviceModal/index-create-component',
|
||||
{
|
||||
'pages/merchant/components/serviceModal/index-create-component':(function(module, exports, __webpack_require__){
|
||||
__webpack_require__('df3c')['createComponent'](__webpack_require__("9170"))
|
||||
})
|
||||
},
|
||||
[['pages/merchant/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="197b6000-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 mer-bg fs-26 text--w111-fff" bindtap="__e">确定</view></view></view></base-drawer></view>
|
||||
@@ -0,0 +1,10 @@
|
||||
require('../../common/vendor.js');(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["pages/merchant/components/skuSelect/index"],{"0a27":function(t,n,e){"use strict";e.r(n);var r=e("d502"),a=e.n(r);for(var i in r)["default"].indexOf(i)<0&&function(t){e.d(n,t,(function(){return r[t]}))}(i);n["default"]=a.a},2113:function(t,n,e){"use strict";e.r(n);var r=e("327f"),a=e("0a27");for(var i in a)["default"].indexOf(i)<0&&function(t){e.d(n,t,(function(){return a[t]}))}(i);e("a2cc");var u=e("828b"),c=Object(u["a"])(a["default"],r["b"],r["c"],!1,null,null,null,!1,r["a"],void 0);n["default"]=c.exports},"327f":function(t,n,e){"use strict";e.d(n,"b",(function(){return r})),e.d(n,"c",(function(){return a})),e.d(n,"a",(function(){}));var r=function(){var t=this.$createElement;this._self._c},a=[]},"9af3":function(t,n,e){},a2cc:function(t,n,e){"use strict";var r=e("9af3"),a=e.n(r);a.a},d502:function(t,n,e){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var r={props:{attr:{type:Object,default:function(){}},storeInfo:{type:Object,default:function(){}}},data:function(){return{}},methods:{CartNumAdd:function(t){this.$emit("ChangeCartNum",t)},closeDrawer:function(){this.$emit("myevent")},confirmCartAdd:function(){this.$emit("onConfirm")},tapAttr:function(t,n){this.$emit("attrVal",{indexw:t,indexn:n}),this.$set(this.attr.productAttr[t],"index",this.attr.productAttr[t].attr_values[n]);var e=this.getCheckedValue().join(",");this.$emit("ChangeAttr",e)},getCheckedValue:function(){for(var t=this.attr.productAttr,n=[],e=0;e<t.length;e++)for(var r=0;r<t[e].attr_values.length;r++)t[e].index===t[e].attr_values[r]&&n.push(t[e].attr_values[r]);return n},showImg:function(){this.$emit("getImg")}}};n.default=r}}]);
|
||||
;(global["webpackJsonp"] = global["webpackJsonp"] || []).push([
|
||||
'pages/merchant/components/skuSelect/index-create-component',
|
||||
{
|
||||
'pages/merchant/components/skuSelect/index-create-component':(function(module, exports, __webpack_require__){
|
||||
__webpack_require__('df3c')['createComponent'](__webpack_require__("2113"))
|
||||
})
|
||||
},
|
||||
[['pages/merchant/components/skuSelect/index-create-component']]
|
||||
]);
|
||||
@@ -0,0 +1,4 @@
|
||||
{
|
||||
"component": true,
|
||||
"usingComponents": {}
|
||||
}
|
||||
@@ -0,0 +1 @@
|
||||
<base-drawer vue-id="13babfa5-1" mode="bottom" visible="{{attr.cartAttr}}" background-color="transparent" zIndex="3000" mask="{{true}}" maskClosable="{{true}}" data-event-opts="{{[['^close',[['closeDrawer']]]]}}" bind:close="__e" bind:__l="__l" vue-slots="{{['default']}}"><view><view class="bg--w111-fff rd-t-40rpx"><view class="w-full pt-32"><view class="px-32 flex"><image class="w-180 h-180 rd-16rpx" src="{{attr.productSelect.image}}" data-event-opts="{{[['tap',[['showImg',['$event']]]]]}}" bindtap="__e"></image><view class="pl-24"><base-money vue-id="{{('13babfa5-2')+','+('13babfa5-1')}}" money="{{attr.productSelect.channel_price}}" symbolSize="32" integerSize="48" decimalSize="32" color="#FF7E00" weight="{{true}}" bind:__l="__l"></base-money><view class="mt-20 fs-24 text--w111-999">{{"库存:"+attr.productSelect.stock}}</view></view></view></view><scroll-view class="px-32" style="max-height:400rpx;" scroll-y="true"><block wx:for="{{attr.productAttr}}" wx:for-item="item" wx:for-index="indexw" wx:key="indexw"><view class="item mt-32"><view class="fs-28">{{item.attr_name}}</view><view class="flex-y-center flex-wrap"><block wx:for="{{item.attr_value}}" wx:for-item="itemn" wx:for-index="indexn" wx:key="indexn"><view data-event-opts="{{[['tap',[['tapAttr',[indexw,indexn]]]]]}}" class="{{['sku-item',item.index===itemn.attr?'active':'']}}" bindtap="__e">{{''+itemn.attr+''}}</view></block></view></view></block></scroll-view><view class="flex-between-center px-32 mt-24"><text class="fs-28">数量</text><view class="flex-y-center"><view data-event-opts="{{[['tap',[['CartNumAdd',[false]]]]]}}" class="jia-btn w-84 h-48 flex-center" bindtap="__e"><text class="iconfont icon-ic_Reduce fs-24"></text></view><view class="w-84 h-48 text-center lh-48rpx bg--w111-f5f5f5">{{attr.productSelect.cart_num}}</view><view data-event-opts="{{[['tap',[['CartNumAdd',[true]]]]]}}" class="jia-btn w-84 h-48 flex-center" bindtap="__e"><text class="iconfont icon-ic_increase fs-24"></text></view></view></view><view class="mx-20 pb-box"><block wx:if="{{attr.productSelect.stock}}"><view data-event-opts="{{[['tap',[['confirmCartAdd',['$event']]]]]}}" class="mt-52 h-72 flex-center rd-36px mer-bg fs-26 text--w111-fff" bindtap="__e"> 确定</view></block><block wx:else><view class="mt-52 h-72 flex-center rd-36px bg-gray fs-26 text--w111-fff">已售罄</view></block></view></view></view></base-drawer>
|
||||
@@ -0,0 +1 @@
|
||||
.sku-item{height:56rpx;line-height:56rpx;border:1px solid #f2f2f2;font-size:24rpx;color:#333;padding:0 44rpx;border-radius:28rpx;margin:24rpx 0 0 16rpx;background-color:#f2f2f2;word-break:break-all}.active{color:#2d8cf0;background:rgba(45,140,240,.1);border-color:#2d8cf0}.pb-box{padding-bottom:calc(20rpx + env(safe-area-inset-bottom))}.bg-gray{background-color:#ccc}
|
||||
@@ -0,0 +1,10 @@
|
||||
require('../../common/vendor.js');(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["pages/merchant/components/specs/index"],{"1b69":function(e,n,t){"use strict";t.r(n);var c=t("969c"),u=t.n(c);for(var o in c)["default"].indexOf(o)<0&&function(e){t.d(n,e,(function(){return c[e]}))}(o);n["default"]=u.a},"37e8":function(e,n,t){"use strict";var c=t("66eb"),u=t.n(c);u.a},5448:function(e,n,t){"use strict";t.r(n);var c=t("ee05a"),u=t("1b69");for(var o in u)["default"].indexOf(o)<0&&function(e){t.d(n,e,(function(){return u[e]}))}(o);t("37e8");var r=t("828b"),a=Object(r["a"])(u["default"],c["b"],c["c"],!1,null,"8f28a7ba",null,!1,c["a"],void 0);n["default"]=a.exports},"66eb":function(e,n,t){},"969c":function(e,n,t){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var c={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")}}};n.default=c},ee05a:function(e,n,t){"use strict";t.d(n,"b",(function(){return c})),t.d(n,"c",(function(){return u})),t.d(n,"a",(function(){}));var c=function(){var e=this.$createElement;this._self._c},u=[]}}]);
|
||||
;(global["webpackJsonp"] = global["webpackJsonp"] || []).push([
|
||||
'pages/merchant/components/specs/index-create-component',
|
||||
{
|
||||
'pages/merchant/components/specs/index-create-component':(function(module, exports, __webpack_require__){
|
||||
__webpack_require__('df3c')['createComponent'](__webpack_require__("5448"))
|
||||
})
|
||||
},
|
||||
[['pages/merchant/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="7afd9c26-1" mode="bottom" visible="{{specsInfo.show}}" background-color="transparent" mask="{{true}}" maskClosable="{{true}}" data-event-opts="{{[['^close',[['closeSpecs']]]]}}" bind:close="__e" class="data-v-8f28a7ba" bind:__l="__l" vue-slots="{{['default']}}"><view class="w-full bg--w111-fff rd-t-40rpx py-32 data-v-8f28a7ba"><view class="text-center fs-32 text--w111-333 fw-500 mb-34 data-v-8f28a7ba">参数</view><scroll-view class="h-400 data-v-8f28a7ba" scroll-y="true"><view class="px-32 scroll-content data-v-8f28a7ba"><block wx:for="{{specsInfo.specs}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view class="item flex break_word data-v-8f28a7ba"><view class="w-160 text--w111-999 mr-12 data-v-8f28a7ba">{{item.name}}</view><view class="flex-1 data-v-8f28a7ba">{{item.value}}</view></view></block></view></scroll-view><view class="mx-20 pb-safe data-v-8f28a7ba"><view data-event-opts="{{[['tap',[['closeSpecs',['$event']]]]]}}" class="mt-52 h-72 flex-center rd-36px mer-bg fs-26 text--w111-fff data-v-8f28a7ba" bindtap="__e">确定</view></view></view></base-drawer>
|
||||
@@ -0,0 +1 @@
|
||||
.item ~ .item.data-v-8f28a7ba{margin-top:40rpx}
|
||||
@@ -0,0 +1,10 @@
|
||||
require('../../common/vendor.js');(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["pages/merchant/components/tabBar/index"],{"0494":function(e,t,n){"use strict";n.d(t,"b",(function(){return a})),n.d(t,"c",(function(){return c})),n.d(t,"a",(function(){return r}));var r={uniBadge:function(){return n.e("uni_modules/uni-badge/components/uni-badge/uni-badge").then(n.bind(null,"4d28"))}},a=function(){var e=this.$createElement;this._self._c},c=[]},"7c22":function(e,t,n){"use strict";(function(e){var r=n("47a9");Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var a=r(n("7ca3")),c=n("8f59");n("606e");function o(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function u(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?o(Object(n),!0).forEach((function(t){(0,a.default)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):o(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var i={name:"footer",props:{},created:function(){var e=getCurrentPages(),t=e[e.length-1].route;this.activeRouter="/"+t},computed:u(u({},(0,c.mapGetters)(["isLogin","cartNum"])),{},{styleType:function(){return this.$store.state.app.system_channel_style}}),data:function(){return{activeRouter:"",footerList:[{pagePath:"/pages/merchant/index/index",iconPath:n("090b"),selectedIconPath:n("04d0"),text:"首页"},{pagePath:"/pages/merchant/cart/index",iconPath:n("6e01"),selectedIconPath:n("a867"),text:"购物车"},{pagePath:"/pages/merchant/user/index",iconPath:n("424e"),selectedIconPath:n("c074"),text:"我的"}]}},mounted:function(){this.getCartNum()},methods:{goRouter:function(t){var n=getCurrentPages(),r=n[n.length-1].$page.fullPath;t.pagePath!=r&&e.redirectTo({url:t.pagePath,animationType:"none"})},getCartNum:function(){this.$store.dispatch("indexData/getCartNum")}}};t.default=i}).call(this,n("df3c")["default"])},b2fa:function(e,t,n){"use strict";var r=n("e851"),a=n.n(r);a.a},dcaf:function(e,t,n){"use strict";n.r(t);var r=n("0494"),a=n("eda4");for(var c in a)["default"].indexOf(c)<0&&function(e){n.d(t,e,(function(){return a[e]}))}(c);n("b2fa");var o=n("828b"),u=Object(o["a"])(a["default"],r["b"],r["c"],!1,null,"86012b76",null,!1,r["a"],void 0);t["default"]=u.exports},e851:function(e,t,n){},eda4:function(e,t,n){"use strict";n.r(t);var r=n("7c22"),a=n.n(r);for(var c in r)["default"].indexOf(c)<0&&function(e){n.d(t,e,(function(){return r[e]}))}(c);t["default"]=a.a}}]);
|
||||
;(global["webpackJsonp"] = global["webpackJsonp"] || []).push([
|
||||
'pages/merchant/components/tabBar/index-create-component',
|
||||
{
|
||||
'pages/merchant/components/tabBar/index-create-component':(function(module, exports, __webpack_require__){
|
||||
__webpack_require__('df3c')['createComponent'](__webpack_require__("dcaf"))
|
||||
})
|
||||
},
|
||||
[['pages/merchant/components/tabBar/index-create-component']]
|
||||
]);
|
||||
@@ -0,0 +1,6 @@
|
||||
{
|
||||
"component": true,
|
||||
"usingComponents": {
|
||||
"uni-badge": "/uni_modules/uni-badge/components/uni-badge/uni-badge"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1 @@
|
||||
<keep-alive vue-id="7fa90aba-1" class="data-v-86012b76" bind:__l="__l" vue-slots="{{['default']}}"><view class="page-footer data-v-86012b76"><block wx:for="{{footerList}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view data-event-opts="{{[['tap',[['goRouter',['$0'],[[['footerList','',index]]]]]]]}}" class="{{['foot-item','data-v-86012b76',item.pagePath==activeRouter?'active':'']}}" bindtap="__e"><block wx:if="{{item.pagePath==activeRouter}}"><block class="data-v-86012b76"><image src="{{item.selectedIconPath}}" class="data-v-86012b76"></image><view class="txt data-v-86012b76">{{item.text}}</view></block></block><block wx:else><block class="data-v-86012b76"><image src="{{item.iconPath}}" class="data-v-86012b76"></image><view class="txt data-v-86012b76">{{item.text}}</view></block></block><block wx:if="{{index==1&&cartNum>0}}"><uni-badge class="badge-style data-v-86012b76" vue-id="{{('7fa90aba-2-'+index)+','+('7fa90aba-1')}}" text="{{cartNum}}" absolute="rightTop" bind:__l="__l"></uni-badge></block></view></block></view></keep-alive>
|
||||
@@ -0,0 +1 @@
|
||||
.page-footer.data-v-86012b76{position:fixed;bottom:0;left:0;z-index:1000;display:flex;align-items:center;justify-content:space-around;width:100%;height:calc(100rpx + constant(safe-area-inset-bottom));height:calc(100rpx + env(safe-area-inset-bottom));box-sizing:border-box;border-top:solid 1rpx #f3f3f3;background-color:#fff;padding-bottom:constant(safe-area-inset-bottom);padding-bottom:env(safe-area-inset-bottom)}.page-footer .foot-item.data-v-86012b76{display:flex;width:-webkit-max-content;width:max-content;align-items:center;justify-content:center;flex-direction:column;position:relative;padding:0 20rpx}.page-footer .foot-item.active.data-v-86012b76{color:#2d8cf0}.page-footer .foot-item image.data-v-86012b76{height:40rpx;width:40rpx;text-align:center;margin:0 auto}.page-footer .foot-item .txt.data-v-86012b76{font-size:20rpx;margin-top:6rpx}
|
||||
@@ -0,0 +1,10 @@
|
||||
require('../../common/vendor.js');(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["pages/merchant/components/verify/verify"],{"695c":function(e,t,n){"use strict";n.r(t);var i=n("e0a0"),o=n("e2ac");for(var c in o)["default"].indexOf(c)<0&&function(e){n.d(t,e,(function(){return o[e]}))}(c);n("d915"),n("b1db");var r=n("828b"),a=Object(r["a"])(o["default"],i["b"],i["c"],!1,null,null,null,!1,i["a"],void 0);t["default"]=a.exports},"858d":function(e,t,n){},b1db:function(e,t,n){"use strict";var i=n("858d"),o=n.n(i);o.a},ca5a:function(e,t,n){"use strict";(function(e){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i={name:"Vue2Verify",props:{captchaType:{type:String,required:!0},figure:{type:Number},arith:{type:Number},mode:{type:String,default:"pop"},vSpace:{type:Number,default:5},explain:{type:String,default:"向右滑动完成验证"},imgSize:{type:Object,default:function(){return{width:"310px",height:"155px"}}},blockSize:{type:Object,default:function(){return{width:"50px",height:"50px"}}},barSize:{type:Object}},data:function(){return{clickShow:!1,verifyType:void 0,componentType:void 0,defaultImg:""}},mounted:function(){this.uuid()},methods:{uuid:function(){for(var t=[],n=0;n<36;n++)t[n]="0123456789abcdef".substr(Math.floor(16*Math.random()),1);t[14]="4",t[19]="0123456789abcdef".substr(3&t[19]|8,1),t[8]=t[13]=t[18]=t[23]="-";var i="slider-"+t.join(""),o="point-"+t.join("");e.getStorageSync("slider")||e.setStorageSync("slider",i),e.getStorageSync("point")||e.setStorageSync("point",o)},success:function(e){this.$emit("success",e)},refresh:function(){this.instance.refresh&&this.instance.refresh()},show:function(){"pop"==this.mode&&(this.clickShow=!0)},hide:function(){"pop"==this.mode&&(this.clickShow=!1)}},computed:{instance:function(){return this.$refs.instance||{}},showBox:function(){return"pop"!=this.mode||this.clickShow}},watch:{captchaType:{immediate:!0,handler:function(e){switch(e.toString()){case"blockPuzzle":this.verifyType="2",this.componentType="VerifySlide";break;case"clickWord":this.verifyType="",this.componentType="VerifyPoints";break}}}},components:{VerifySlide:function(){Promise.all([n.e("common/vendor"),n.e("pages/merchant/common/vendor"),n.e("pages/merchant/components/verify/verifySlider/verifySlider")]).then(function(){return resolve(n("0754"))}.bind(null,n)).catch(n.oe)},VerifyPoint:function(){Promise.all([n.e("common/vendor"),n.e("pages/merchant/common/vendor"),n.e("pages/merchant/components/verify/verifyPoint/verifyPoint")]).then(function(){return resolve(n("034b"))}.bind(null,n)).catch(n.oe)}}};t.default=i}).call(this,n("df3c")["default"])},d915:function(e,t,n){"use strict";var i=n("fe7c"),o=n.n(i);o.a},e0a0:function(e,t,n){"use strict";n.d(t,"b",(function(){return i})),n.d(t,"c",(function(){return o})),n.d(t,"a",(function(){}));var i=function(){var e=this,t=e.$createElement,n=(e._self._c,parseInt(e.imgSize.width));e._isMounted||(e.e0=function(t){e.clickShow=!1}),e.$mp.data=Object.assign({},{$root:{m0:n}})},o=[]},e2ac:function(e,t,n){"use strict";n.r(t);var i=n("ca5a"),o=n.n(i);for(var c in i)["default"].indexOf(c)<0&&function(e){n.d(t,e,(function(){return i[e]}))}(c);t["default"]=o.a},fe7c:function(e,t,n){}}]);
|
||||
;(global["webpackJsonp"] = global["webpackJsonp"] || []).push([
|
||||
'pages/merchant/components/verify/verify-create-component',
|
||||
{
|
||||
'pages/merchant/components/verify/verify-create-component':(function(module, exports, __webpack_require__){
|
||||
__webpack_require__('df3c')['createComponent'](__webpack_require__("695c"))
|
||||
})
|
||||
},
|
||||
[['pages/merchant/components/verify/verify-create-component']]
|
||||
]);
|
||||
@@ -0,0 +1,7 @@
|
||||
{
|
||||
"component": true,
|
||||
"usingComponents": {
|
||||
"verify-slide": "/pages/merchant/components/verify/verifySlider/verifySlider",
|
||||
"verify-point": "/pages/merchant/components/verify/verifyPoint/verifyPoint"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1 @@
|
||||
<view hidden="{{!(showBox)}}" class="{{[mode=='pop'?'masks':'']}}"><view class="{{[mode=='pop'?'verifybox':'']}}" style="{{'max-width:'+($root.m0+30+'px')+';'}}"><block wx:if="{{mode=='pop'}}"><view class="verifybox-top"> 请完成安全验证 <text data-event-opts="{{[['tap',[['e0',['$event']]]]]}}" class="verifybox-close" bindtap="__e"><text class="iconfont icon-close"></text></text></view></block><view class="verifybox-bottom" style="{{'padding:'+(mode=='pop'?'15px':'0')+';'}}"><block wx:if="{{componentType=='VerifySlide'}}"><view><verify-slide class="vue-ref" vue-id="71c9e132-1" captchaType="{{captchaType}}" type="{{verifyType}}" figure="{{figure}}" arith="{{arith}}" mode="{{mode}}" vSpace="{{vSpace}}" explain="{{explain}}" imgSize="{{imgSize}}" blockSize="{{blockSize}}" barSize="{{barSize}}" defaultImg="{{defaultImg}}" data-ref="instance" data-event-opts="{{[['^success',[['success']]]]}}" bind:success="__e" bind:__l="__l"></verify-slide></view></block><block wx:if="{{componentType=='VerifyPoints'}}"><view><verify-point class="vue-ref" vue-id="71c9e132-2" captchaType="{{captchaType}}" type="{{verifyType}}" figure="{{figure}}" arith="{{arith}}" mode="{{mode}}" vSpace="{{vSpace}}" explain="{{explain}}" imgSize="{{imgSize}}" blockSize="{{blockSize}}" barSize="{{barSize}}" defaultImg="{{defaultImg}}" data-ref="instance" data-event-opts="{{[['^success',[['success']]]]}}" bind:success="__e" bind:__l="__l"></verify-point></view></block></view></view></view>
|
||||
File diff suppressed because one or more lines are too long
@@ -0,0 +1,10 @@
|
||||
require('../../../common/vendor.js');(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["pages/merchant/components/verify/verifyPoint/verifyPoint"],{"034b":function(t,e,n){"use strict";n.r(e);var i=n("32a4"),r=n("a7c0");for(var c in r)["default"].indexOf(c)<0&&function(t){n.d(e,t,(function(){return r[t]}))}(c);n("7b82");var o=n("828b"),a=Object(o["a"])(r["default"],i["b"],i["c"],!1,null,"f83405c2",null,!1,i["a"],void 0);e["default"]=a.exports},"32a4":function(t,e,n){"use strict";n.d(e,"b",(function(){return i})),n.d(e,"c",(function(){return r})),n.d(e,"a",(function(){}));var i=function(){var t=this,e=t.$createElement,n=(t._self._c,t.__map(t.tempPoints,(function(e,n){var i=t.__get_orig(e),r=parseInt(e.y-10),c=parseInt(e.x-10);return{$orig:i,m0:r,m1:c}})));t._isMounted||(t.e0=function(e){t.bindingClick&&t.canvasClick(e)}),t.$mp.data=Object.assign({},{$root:{l0:n}})},r=[]},"7b82":function(t,e,n){"use strict";var i=n("d661"),r=n.n(i);r.a},a7c0:function(t,e,n){"use strict";n.r(e);var i=n("e011"),r=n.n(i);for(var c in i)["default"].indexOf(c)<0&&function(t){n.d(e,t,(function(){return i[t]}))}(c);e["default"]=r.a},d661:function(t,e,n){},e011:function(t,e,n){"use strict";(function(t){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var i=n("e2f6"),r=n("360a"),c={name:"VerifyPoints",props:{mode:{type:String,default:"fixed"},captchaType:{type:String},vSpace:{type:Number,default:5},imgSize:{type:Object,default:function(){return{width:"310px",height:"155px"}}},barSize:{type:Object,default:function(){return{width:"310px",height:"40px"}}},defaultImg:{type:String,default:""}},inject:["scrollTopFn"],data:function(){return{secretKey:"",checkNum:3,fontPos:[],checkPosArr:[],num:1,pointBackImgBase:"",poinTextList:[],backToken:"",imgRand:0,setSize:{imgHeight:0,imgWidth:0,barHeight:0,barWidth:0},showImage:!0,tempPoints:[],text:"",barAreaColor:"#fff",barAreaBorderColor:"#fff",showRefresh:!0,bindingClick:!0,imgLeft:"",imgTop:""}},methods:{init:function(){var t=this;this.fontPos.splice(0,this.fontPos.length),this.checkPosArr.splice(0,this.checkPosArr.length),this.num=1,this.$nextTick((function(){t.refresh(),t.$parent.$emit("ready",t)}))},canvasClick:function(e){var n=this,c=t.createSelectorQuery().in(this);c.select("#image").boundingClientRect((function(t){n.imgLeft=Math.ceil(t.left),n.imgTop=Math.ceil(t.top),n.checkPosArr.push(n.getMousePos(n.$refs.canvas,e)),n.num==n.checkNum&&(n.num=n.createPoint(n.getMousePos(n.$refs.canvas,e)),n.checkPosArr=n.pointTransfrom(n.checkPosArr,n.imgSize),setTimeout((function(){var t=n.secretKey?(0,i.aesEncrypt)(n.backToken+"---"+JSON.stringify(n.checkPosArr),n.secretKey):n.backToken+"---"+JSON.stringify(n.checkPosArr),e={captchaType:n.captchaType,pointJson:n.secretKey?(0,i.aesEncrypt)(JSON.stringify(n.checkPosArr),n.secretKey):JSON.stringify(n.checkPosArr),token:n.backToken};(0,r.ajcaptchaCheck)(e).then((function(e){e.data;n.barAreaColor="#4cae4c",n.barAreaBorderColor="#5cb85c",n.text="验证成功",n.bindingClick=!1,n.$emit("success",{captchaVerification:t})})).catch((function(t){n.$parent.$emit("error",n),n.barAreaColor="#d9534f",n.barAreaBorderColor="#d9534f",n.text="验证失败",setTimeout((function(){n.refresh()}),700)}))}),400)),n.num<n.checkNum&&(n.num=n.createPoint(n.getMousePos(n.$refs.canvas,e)))})).exec()},getMousePos:function(t,e){var n={x:Math.ceil(e.detail.x)-this.imgLeft,y:Math.ceil(e.detail.y)-this.imgTop-this.scrollTop};return n},createPoint:function(t){return this.tempPoints.push(Object.assign({},t)),++this.num},refresh:function(){this.tempPoints.splice(0,this.tempPoints.length),this.barAreaColor="#000",this.barAreaBorderColor="#ddd",this.bindingClick=!0,this.fontPos.splice(0,this.fontPos.length),this.checkPosArr.splice(0,this.checkPosArr.length),this.num=1,this.getPictrue(),this.showRefresh=!0},getPictrue:function(){var e=this,n={captchaType:this.captchaType,clientUid:t.getStorageSync("point"),ts:Date.now()};(0,r.getAjcaptcha)(n).then((function(t){var n=t.data;e.pointBackImgBase=n.originalImageBase64,e.backToken=n.token,e.secretKey=n.secretKey,e.poinTextList=n.wordList,e.text="请依次点击【"+e.poinTextList.join(",")+"】"})).catch((function(){e.pointBackImgBase=null}))},pointTransfrom:function(t,e){var n=t.map((function(t){var n=Math.round(310*t.x/parseInt(e.width)),i=Math.round(155*t.y/parseInt(e.height));return{x:n,y:i}}));return n}},watch:{type:{immediate:!0,handler:function(){this.init()}}},computed:{scrollTop:function(){return this.scrollTopFn()}},mounted:function(){this.init()}};e.default=c}).call(this,n("df3c")["default"])}}]);
|
||||
;(global["webpackJsonp"] = global["webpackJsonp"] || []).push([
|
||||
'pages/merchant/components/verify/verifyPoint/verifyPoint-create-component',
|
||||
{
|
||||
'pages/merchant/components/verify/verifyPoint/verifyPoint-create-component':(function(module, exports, __webpack_require__){
|
||||
__webpack_require__('df3c')['createComponent'](__webpack_require__("034b"))
|
||||
})
|
||||
},
|
||||
[['pages/merchant/components/verify/verifyPoint/verifyPoint-create-component']]
|
||||
]);
|
||||
@@ -0,0 +1,4 @@
|
||||
{
|
||||
"usingComponents": {},
|
||||
"component": true
|
||||
}
|
||||
@@ -0,0 +1 @@
|
||||
<view class="data-v-f83405c2"><view hidden="{{!(showImage)}}" class="verify-image-out data-v-f83405c2"><view class="verify-image-panel data-v-f83405c2" style="{{'width:'+(imgSize.width)+';'+('height:'+(imgSize.height)+';')+('margin-bottom:'+(vSpace+'px')+';')}}" id="image"><view data-event-opts="{{[['tap',[['refresh',['$event']]]]]}}" hidden="{{!(showRefresh)}}" class="verify-refresh data-v-f83405c2" style="z-index:3;" bindtap="__e"><text class="iconfont icon-refresh data-v-f83405c2"></text></view><image style="width:100%;height:100%;display:block;" src="{{pointBackImgBase?'data:image/png;base64,'+pointBackImgBase:defaultImg}}" data-ref="canvas" data-event-opts="{{[['tap',[['e0',['$event']]]]]}}" bindtap="__e" class="data-v-f83405c2 vue-ref"></image><block wx:for="{{$root.l0}}" wx:for-item="tempPoint" wx:for-index="index" wx:key="index"><view class="point-area data-v-f83405c2" style="{{'background-color:'+('#1abd6c')+';'+('color:'+('#fff')+';')+('z-index:'+(9999)+';')+('width:'+('20px')+';')+('height:'+('20px')+';')+('text-align:'+('center')+';')+('line-height:'+('20px')+';')+('border-radius:'+('50%')+';')+('position:'+('absolute')+';')+('top:'+(tempPoint.m0+'px')+';')+('left:'+(tempPoint.m1+'px')+';')}}">{{''+(index+1)+''}}</view></block></view></view><view class="verify-bar-area data-v-f83405c2" style="{{'width:'+(imgSize.width)+';'+('color:'+(barAreaColor)+';')+('border-color:'+(barAreaBorderColor)+';')+('line-height:'+('40px')+';')}}"><text class="verify-msg data-v-f83405c2">{{text}}</text></view></view>
|
||||
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@@ -0,0 +1,4 @@
|
||||
{
|
||||
"component": true,
|
||||
"usingComponents": {}
|
||||
}
|
||||
@@ -0,0 +1 @@
|
||||
<view style="position:relative;" class="data-v-4e444416"><block wx:if="{{type==='2'}}"><view class="verify-img-out data-v-4e444416" style="{{'height:'+($root.m0+vSpace+'px')+';'}}"><view class="verify-img-panel data-v-4e444416" style="{{'width:'+(imgSize.width)+';'+('height:'+(imgSize.height)+';')}}"><image style="width:100%;height:100%;display:block;" src="{{backImgBase?'data:image/png;base64,'+backImgBase:defaultImg}}" alt class="data-v-4e444416"></image><view data-event-opts="{{[['tap',[['refresh',['$event']]]]]}}" hidden="{{!(showRefresh)}}" class="verify-refresh data-v-4e444416" bindtap="__e"><text class="iconfont icon-refresh data-v-4e444416"></text></view><transition vue-id="509d39bc-1" name="tips" class="data-v-4e444416" bind:__l="__l" vue-slots="{{['default']}}"><block wx:if="{{tipWords}}"><text class="{{['verify-tips','data-v-4e444416',passFalg?'suc-bg':'err-bg']}}">{{tipWords}}</text></block></transition></view></view></block><view class="verify-bar-area data-v-4e444416" style="{{'width:'+(imgSize.width)+';'+('height:'+('40px')+';')+('line-height:'+('40px')+';')}}"><text class="verify-msg data-v-4e444416">{{text}}</text><view class="verify-left-bar data-v-4e444416" style="{{'width:'+(leftBarWidth?leftBarWidth:'40px')+';'+('height:'+('40px')+';')+('border-color:'+(leftBarBorderColor)+';')+('transaction:'+(transitionWidth)+';')}}"><text class="verify-msg data-v-4e444416">{{finishText}}</text><view data-event-opts="{{[['touchstart',[['start',['$event']]]],['touchend',[['end',['$event']]]],['touchmove',[['move',['$event']]]]]}}" class="verify-move-block data-v-4e444416" style="{{'width:'+('40px')+';'+('height:'+('40px')+';')+('background-color:'+(moveBlockBackgroundColor)+';')+('left:'+(moveBlockLeft)+';')+('transition:'+(transitionLeft)+';')}}" bindtouchstart="__e" bindtouchend="__e" bindtouchmove="__e"><text class="{{['data-v-4e444416','verify-icon iconfont',iconClass]}}" style="{{'color:'+(iconColor)+';'}}"></text><block wx:if="{{type==='2'}}"><view class="verify-sub-block data-v-4e444416" style="{{'width:'+($root.g0+'px')+';'+('height:'+(imgSize.height)+';')+('top:'+('-'+($root.m1+vSpace)+'px')+';')}}"><image style="width:100%;height:100%;display:block;" src="{{'data:image/png;base64,'+blockBackImgBase}}" alt class="data-v-4e444416"></image></view></block></view></view></view></view>
|
||||
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user