mirror of
https://github.com/crmeb/CRMEB.git
synced 2026-10-29 14:01:07 +00:00
【程序目录】更新下载小程序代码
This commit is contained in:
parent
3ba352e705
commit
3d0a0e26a4
4
crmeb/public/statics/mp_view/app.js
Normal file
4
crmeb/public/statics/mp_view/app.js
Normal file
@ -0,0 +1,4 @@
|
||||
|
||||
require('./common/runtime.js')
|
||||
require('./common/vendor.js')
|
||||
require('./common/main.js')
|
||||
228
crmeb/public/statics/mp_view/app.json
Normal file
228
crmeb/public/statics/mp_view/app.json
Normal file
@ -0,0 +1,228 @@
|
||||
{
|
||||
"pages": [
|
||||
"pages/guide/index",
|
||||
"pages/index/index",
|
||||
"pages/order_addcart/order_addcart",
|
||||
"pages/user/index",
|
||||
"pages/goods_cate/goods_cate"
|
||||
],
|
||||
"subPackages": [
|
||||
{
|
||||
"root": "pages/extension",
|
||||
"pages": [
|
||||
"customer_list/chat",
|
||||
"news_list/index",
|
||||
"news_details/index"
|
||||
],
|
||||
"name": "extension"
|
||||
},
|
||||
{
|
||||
"root": "pages/goods",
|
||||
"pages": [
|
||||
"goods_list/index",
|
||||
"goods_search/index",
|
||||
"order_pay_status/index",
|
||||
"admin_order_detail/index",
|
||||
"goods_comment_con/index",
|
||||
"goods_comment_con/lottery_comment",
|
||||
"goods_comment_list/index",
|
||||
"goods_details_store/index",
|
||||
"goods_logistics/index",
|
||||
"goods_return/index",
|
||||
"goods_return_list/index",
|
||||
"lottery/grids/index",
|
||||
"lottery/grids/record",
|
||||
"order_confirm/index",
|
||||
"order_details/index",
|
||||
"order_list/index",
|
||||
"order_refund_goods/index",
|
||||
"cashier/index"
|
||||
],
|
||||
"name": "goods"
|
||||
},
|
||||
{
|
||||
"root": "pages/users",
|
||||
"pages": [
|
||||
"user_vip_areer/index",
|
||||
"privacy/index",
|
||||
"user_cancellation/index",
|
||||
"message_center/index",
|
||||
"message_center/messageDetail",
|
||||
"user_invoice_order/index",
|
||||
"scan_login/index",
|
||||
"user_invoice_list/index",
|
||||
"user_invoice_form/index",
|
||||
"wechat_login/index",
|
||||
"binding_phone/index",
|
||||
"retrievePassword/index",
|
||||
"user_info/index",
|
||||
"user_get_coupon/index",
|
||||
"visit_list/index",
|
||||
"user_goods_collection/index",
|
||||
"user_sgin/index",
|
||||
"user_sgin_list/index",
|
||||
"user_money/index",
|
||||
"user_bill/index",
|
||||
"user_integral/index",
|
||||
"user_coupon/index",
|
||||
"user_spread_user/index",
|
||||
"user_spread_code/index",
|
||||
"user_spread_money/index",
|
||||
"user_cash/index",
|
||||
"user_vip/index",
|
||||
"user_distribution_level/index",
|
||||
"user_address_list/index",
|
||||
"user_address/index",
|
||||
"user_phone/index",
|
||||
"user_payment/index",
|
||||
"user_pwd_edit/index",
|
||||
"promoter-list/index",
|
||||
"promoter-order/index",
|
||||
"promoter_rank/index",
|
||||
"commission_rank/index",
|
||||
"user_return_list/index",
|
||||
"login/index",
|
||||
"payment_on_behalf/index",
|
||||
"payment_on_behalf/pay_status",
|
||||
"staff_list/index"
|
||||
],
|
||||
"name": "users",
|
||||
"plugins": {
|
||||
"live-player-plugin": {
|
||||
"version": "1.3.5",
|
||||
"provider": "wx2b03c6e691cd7370"
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"root": "pages/goods_details",
|
||||
"pages": [
|
||||
"index"
|
||||
],
|
||||
"name": "goods_details"
|
||||
},
|
||||
{
|
||||
"root": "pages/activity",
|
||||
"pages": [
|
||||
"goods_bargain/index",
|
||||
"goods_bargain_details/index",
|
||||
"goods_combination/index",
|
||||
"goods_combination_details/index",
|
||||
"goods_combination_status/index",
|
||||
"goods_seckill/index",
|
||||
"goods_seckill_details/index",
|
||||
"poster-poster/index",
|
||||
"bargain/index",
|
||||
"presell/index"
|
||||
],
|
||||
"name": "activity"
|
||||
},
|
||||
{
|
||||
"root": "pages/admin",
|
||||
"pages": [
|
||||
"custom_date/index",
|
||||
"order/index",
|
||||
"orderList/index",
|
||||
"orderDetail/index",
|
||||
"delivery/index",
|
||||
"statistics/index",
|
||||
"order_cancellation/index"
|
||||
],
|
||||
"name": "adminOrder"
|
||||
},
|
||||
{
|
||||
"root": "pages/columnGoods",
|
||||
"pages": [
|
||||
"HotNewGoods/index",
|
||||
"HotNewGoods/feedback",
|
||||
"live_list/index"
|
||||
],
|
||||
"name": "columnGoods"
|
||||
},
|
||||
{
|
||||
"root": "pages/annex",
|
||||
"pages": [
|
||||
"web_view/index",
|
||||
"vip_paid/index",
|
||||
"vip_coupon/index",
|
||||
"vip_clause/index",
|
||||
"vip_active/index",
|
||||
"offline_pay/index",
|
||||
"offline_result/index",
|
||||
"special/index",
|
||||
"settled/index"
|
||||
]
|
||||
},
|
||||
{
|
||||
"root": "pages/points_mall",
|
||||
"pages": [
|
||||
"index",
|
||||
"integral_goods_list",
|
||||
"integral_goods_details",
|
||||
"exchange_record",
|
||||
"integral_order",
|
||||
"user_address",
|
||||
"integral_order_status",
|
||||
"integral_order_details",
|
||||
"logistics_details"
|
||||
]
|
||||
}
|
||||
],
|
||||
"window": {
|
||||
"navigationBarTextStyle": "black",
|
||||
"navigationBarTitleText": "加载中",
|
||||
"navigationBarBackgroundColor": "#fff",
|
||||
"backgroundColor": "#F8F8F8",
|
||||
"titleNView": false
|
||||
},
|
||||
"tabBar": {
|
||||
"color": "#282828",
|
||||
"selectedColor": "#ff3366",
|
||||
"borderStyle": "white",
|
||||
"backgroundColor": "#ffffff",
|
||||
"list": [
|
||||
{
|
||||
"pagePath": "pages/index/index",
|
||||
"iconPath": "static/images/1-001.png",
|
||||
"selectedIconPath": "static/images/1-002.png",
|
||||
"text": "首页"
|
||||
},
|
||||
{
|
||||
"pagePath": "pages/goods_cate/goods_cate",
|
||||
"iconPath": "static/images/2-001.png",
|
||||
"selectedIconPath": "static/images/2-002.png",
|
||||
"text": "分类"
|
||||
},
|
||||
{
|
||||
"pagePath": "pages/order_addcart/order_addcart",
|
||||
"iconPath": "static/images/3-001.png",
|
||||
"selectedIconPath": "static/images/3-002.png",
|
||||
"text": "购物车"
|
||||
},
|
||||
{
|
||||
"pagePath": "pages/user/index",
|
||||
"iconPath": "static/images/4-001.png",
|
||||
"selectedIconPath": "static/images/4-002.png",
|
||||
"text": "我的"
|
||||
}
|
||||
]
|
||||
},
|
||||
"permission": {
|
||||
"scope.userLocation": {
|
||||
"desc": "你的位置信息将用于和门店的距离长度"
|
||||
}
|
||||
},
|
||||
"requiredPrivateInfos": [
|
||||
"getLocation",
|
||||
"onLocationChange",
|
||||
"startLocationUpdateBackground",
|
||||
"chooseAddress"
|
||||
],
|
||||
"__usePrivacyCheck__": true,
|
||||
"usingComponents": {
|
||||
"skeleton": "/components/skeleton/index",
|
||||
"page-loading": "/components/pageLoading",
|
||||
"easy-loadimage": "/components/easy-loadimage/easy-loadimage"
|
||||
},
|
||||
"sitemapLocation": "sitemap.json"
|
||||
}
|
||||
3
crmeb/public/statics/mp_view/app.wxss
Normal file
3
crmeb/public/statics/mp_view/app.wxss
Normal file
@ -0,0 +1,3 @@
|
||||
@import './common/main.wxss';
|
||||
|
||||
[data-custom-hidden="true"],[bind-data-custom-hidden="true"]{display: none !important;}
|
||||
1
crmeb/public/statics/mp_view/common/main.js
Normal file
1
crmeb/public/statics/mp_view/common/main.js
Normal file
File diff suppressed because one or more lines are too long
10
crmeb/public/statics/mp_view/common/main.wxss
Normal file
10
crmeb/public/statics/mp_view/common/main.wxss
Normal file
File diff suppressed because one or more lines are too long
4
crmeb/public/statics/mp_view/common/runtime.js
Normal file
4
crmeb/public/statics/mp_view/common/runtime.js
Normal file
File diff suppressed because one or more lines are too long
38
crmeb/public/statics/mp_view/common/vendor.js
Normal file
38
crmeb/public/statics/mp_view/common/vendor.js
Normal file
File diff suppressed because one or more lines are too long
10
crmeb/public/statics/mp_view/components/Authorize.js
Normal file
10
crmeb/public/statics/mp_view/components/Authorize.js
Normal file
@ -0,0 +1,10 @@
|
||||
(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["components/Authorize"],{"78c2":function(t,e,n){"use strict";n.d(e,"b",(function(){return o})),n.d(e,"c",(function(){return a})),n.d(e,"a",(function(){}));var o=function(){var t=this.$createElement;this._self._c},a=[]},"9d95":function(t,e,n){},ad23:function(t,e,n){"use strict";n.r(e);var o=n("78c2"),a=n("ebd0");for(var i in a)["default"].indexOf(i)<0&&function(t){n.d(e,t,(function(){return a[t]}))}(i);n("bf7f");var u=n("f0c5"),s=Object(u["a"])(a["default"],o["b"],o["c"],!1,null,"33934fb3",null,!1,o["a"],void 0);e["default"]=s.exports},bf7f:function(t,e,n){"use strict";var o=n("9d95"),a=n.n(o);a.a},ebd0:function(t,e,n){"use strict";n.r(e);var o=n("fe7f"),a=n.n(o);for(var i in o)["default"].indexOf(i)<0&&function(t){n.d(e,t,(function(){return o[t]}))}(i);e["default"]=a.a},fe7f:function(t,e,n){"use strict";(function(t,o){var a=n("4ea4");Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var i=a(n("00e9")),u=n("4e39"),s=n("4cfb"),d=n("26cb"),f=a(n("69b2")),c=(a(n("ff00")),getApp()),r={name:"Authorize",props:{isAuto:{type:Boolean,default:!0},isGoIndex:{type:Boolean,default:!0},isShowAuth:{type:Boolean,default:!1}},data:function(){return{logoUrl:"",authKey:""}},computed:(0,d.mapGetters)(["isLogin","userInfo"]),watch:{isLogin:function(t){!0===t&&this.$emit("onLoadFun",this.userInfo)}},mounted:function(){this.getLogoUrl();this.isLogin||i.default.has(s.STATE_R_KEY)?this.setAuthStatus():t.login({success:function(t){i.default.set(s.STATE_R_KEY,t.code,10800);c.globalData.spid&&c.globalData.spid}})},methods:{setAuthStatus:function(){var t=this;f.default.authorize().then((function(e){!1===e.islogin?t.setUserInfo():t.$emit("onLoadFun",t.userInfo)})).catch((function(e){t.isAuto&&t.$emit("authColse",!0)}))},getUserInfo:function(t){var e=this;f.default.getUserInfo().then((function(n){var a=n.userInfo;a.code=t,a.spread_spid=c.globalData.spid,a.spread_code=c.globalData.code,f.default.authUserInfo(a).then((function(t){o.hideLoading(),e.$emit("authColse",!1),e.$emit("onLoadFun",e.userInfo)})).catch((function(t){o.hideLoading(),o.showToast({title:t.msg,icon:"none",duration:2e3})}))})).catch((function(t){o.hideLoading()}))},getUserPhoneNumber:function(t,e,n){var a=this;(0,u.routineBindingPhone)({encryptedData:t,iv:e,code:n,spid:c.globalData.spid,spread:c.globalData.code}).then((function(t){var e=t.data.expires_time-a.$Cache.time();a.$store.commit("LOGIN",{token:t.data.token,time:e}),a.$emit("authColse",!1),a.$emit("onLoadFun",t.data.userInfo),o.hideLoading()})).catch((function(t){o.hideLoading()}))},setUserInfo:function(t){var e=this;o.showLoading({title:"正在登录中"}),f.default.getCode().then((function(n){e.getUserPhoneNumber(t.detail.encryptedData,t.detail.iv,n)})).catch((function(t){o.hideLoading()}))},getLogoUrl:function(){var t=this;i.default.has(s.LOGO_URL)?this.logoUrl=i.default.get(s.LOGO_URL):(0,u.getLogo)().then((function(e){t.logoUrl=e.data.logo_url,i.default.set(s.LOGO_URL,t.logoUrl)}))},close:function(){var t=getCurrentPages();t[t.length-1];this.isGoIndex?o.navigateTo({url:"/pages/index/index"}):this.$emit("authColse",!1)}}};e.default=r}).call(this,n("bc2e")["default"],n("543d")["default"])}}]);
|
||||
;(global["webpackJsonp"] = global["webpackJsonp"] || []).push([
|
||||
'components/Authorize-create-component',
|
||||
{
|
||||
'components/Authorize-create-component':(function(module, exports, __webpack_require__){
|
||||
__webpack_require__('543d')['createComponent'](__webpack_require__("ad23"))
|
||||
})
|
||||
},
|
||||
[['components/Authorize-create-component']]
|
||||
]);
|
||||
4
crmeb/public/statics/mp_view/components/Authorize.json
Normal file
4
crmeb/public/statics/mp_view/components/Authorize.json
Normal file
@ -0,0 +1,4 @@
|
||||
{
|
||||
"component": true,
|
||||
"usingComponents": {}
|
||||
}
|
||||
1
crmeb/public/statics/mp_view/components/Authorize.wxml
Normal file
1
crmeb/public/statics/mp_view/components/Authorize.wxml
Normal file
@ -0,0 +1 @@
|
||||
<view class="data-v-33934fb3"><block wx:if="{{isShowAuth}}"><view class="Popup data-v-33934fb3"><image src="{{logoUrl}}" class="data-v-33934fb3"></image><view class="title data-v-33934fb3">授权提醒</view><view class="tip data-v-33934fb3">请授权头像等信息,以便为您提供更好的服务</view><view class="bottom flex data-v-33934fb3"><view data-event-opts="{{[['tap',[['close',['$event']]]]]}}" class="item data-v-33934fb3" bindtap="__e">随便逛逛</view><button class="item grant data-v-33934fb3" type="primary" open-type="getPhoneNumber" lang="zh_CN" data-event-opts="{{[['getphonenumber',[['setUserInfo',['$event']]]]]}}" bindgetphonenumber="__e">去授权</button></view></view></block><block wx:if="{{isShowAuth}}"><view data-event-opts="{{[['tap',[['close',['$event']]]]]}}" class="mask data-v-33934fb3" bindtap="__e"></view></block></view>
|
||||
1
crmeb/public/statics/mp_view/components/Authorize.wxss
Normal file
1
crmeb/public/statics/mp_view/components/Authorize.wxss
Normal file
@ -0,0 +1 @@
|
||||
.Popup.data-v-33934fb3{width:500rpx;background-color:#fff;position:fixed;top:50%;left:50%;margin-left:-250rpx;-webkit-transform:translateY(-50%);transform:translateY(-50%);z-index:320}.Popup image.data-v-33934fb3{width:150rpx;height:150rpx;margin:-67rpx auto 0 auto;display:block;border:8rpx solid #fff;border-radius:50%}.Popup .title.data-v-33934fb3{font-size:28rpx;color:#000;text-align:center;margin-top:30rpx}.Popup .tip.data-v-33934fb3{font-size:22rpx;color:#555;padding:0 24rpx;margin-top:25rpx}.Popup .bottom .item.data-v-33934fb3{width:50%;height:80rpx;background-color:#eee;text-align:center;line-height:80rpx;font-size:24rpx;color:#666;margin-top:54rpx}.Popup .bottom .item.on.data-v-33934fb3{width:100%}.flex.data-v-33934fb3{display:flex}.Popup .bottom .item.grant.data-v-33934fb3{font-size:28rpx;color:#fff;font-weight:700;background-color:var(--view-theme);border-radius:0;padding:0}.mask.data-v-33934fb3{position:fixed;top:0;right:0;left:0;bottom:0;background-color:rgba(0,0,0,.65);z-index:310}
|
||||
10
crmeb/public/statics/mp_view/components/Loading/index.js
Normal file
10
crmeb/public/statics/mp_view/components/Loading/index.js
Normal file
@ -0,0 +1,10 @@
|
||||
(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["components/Loading/index"],{"0a9d":function(n,t,a){"use strict";a.d(t,"b",(function(){return e})),a.d(t,"c",(function(){return o})),a.d(t,"a",(function(){}));var e=function(){var n=this,t=n.$createElement,a=(n._self._c,n.loading&&!n.loaded&&n.loading?n.$t("正在加载中"):null),e=!n.loading||n.loaded||n.loading?null:n.$t("上拉加载更多");n.$mp.data=Object.assign({},{$root:{m0:a,m1:e}})},o=[]},3030:function(n,t,a){"use strict";var e=a("8028"),o=a.n(e);o.a},"6e83":function(n,t,a){"use strict";a.r(t);var e=a("cfca"),o=a.n(e);for(var u in e)["default"].indexOf(u)<0&&function(n){a.d(t,n,(function(){return e[n]}))}(u);t["default"]=o.a},8028:function(n,t,a){},c986:function(n,t,a){"use strict";a.r(t);var e=a("0a9d"),o=a("6e83");for(var u in o)["default"].indexOf(u)<0&&function(n){a.d(t,n,(function(){return o[n]}))}(u);a("3030");var d=a("f0c5"),l=Object(d["a"])(o["default"],e["b"],e["c"],!1,null,null,null,!1,e["a"],void 0);t["default"]=l.exports},cfca:function(n,t,a){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var e={name:"Loading",props:{loaded:{type:Boolean,default:!1},loading:{type:Boolean,default:!1}}};t.default=e}}]);
|
||||
;(global["webpackJsonp"] = global["webpackJsonp"] || []).push([
|
||||
'components/Loading/index-create-component',
|
||||
{
|
||||
'components/Loading/index-create-component':(function(module, exports, __webpack_require__){
|
||||
__webpack_require__('543d')['createComponent'](__webpack_require__("c986"))
|
||||
})
|
||||
},
|
||||
[['components/Loading/index-create-component']]
|
||||
]);
|
||||
@ -0,0 +1,4 @@
|
||||
{
|
||||
"component": true,
|
||||
"usingComponents": {}
|
||||
}
|
||||
@ -0,0 +1 @@
|
||||
<view><block wx:if="{{loading&&!loaded}}"><view class="Loads acea-row row-center-wrapper" style="margin-top:.2rem;"><block wx:if="{{loading}}"><view><view class="iconfont icon-jiazai loading acea-row row-center-wrapper"></view>{{''+$root.m0+''}}</view></block><block wx:else><view>{{''+$root.m1+''}}</view></block></view></block></view>
|
||||
@ -0,0 +1 @@
|
||||
.Loads{height:80rpx;font-size:25rpx;color:#000}.Loads .iconfont{font-size:30rpx;margin-right:10rpx;height:32rpx;line-height:32rpx}@-webkit-keyframes load{from{-webkit-transform:rotate(0deg);transform:rotate(0deg)}to{-webkit-transform:rotate(1turn);transform:rotate(1turn)}}@keyframes load{from{-webkit-transform:rotate(0deg);transform:rotate(0deg)}to{-webkit-transform:rotate(1turn);transform:rotate(1turn)}}.loadingpic{-webkit-animation:load 3s linear 1s infinite;animation:load 3s linear 1s infinite}.loading{-webkit-animation:load linear 1s infinite;animation:load linear 1s infinite}
|
||||
@ -0,0 +1,10 @@
|
||||
(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["components/addressWindow/index"],{"70d2":function(t,e,s){"use strict";s.r(e);var n=s("9f01"),i=s.n(n);for(var a in n)["default"].indexOf(a)<0&&function(t){s.d(e,t,(function(){return n[t]}))}(a);e["default"]=i.a},"9f01":function(t,e,s){"use strict";(function(t){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n=s("d1ea"),i=s("00a0"),a={props:{pagesUrl:{type:String,default:""},address:{type:Object,default:function(){return{address:!0,addressId:0}}},isLog:{type:Boolean,default:!1}},data:function(){return{imgHost:i.HTTP_REQUEST_URL,active:0,addressList:[],is_loading:!0}},methods:{tapAddress:function(t,e){this.active=t,this.$emit("OnChangeAddress",e)},close:function(){this.$emit("changeClose"),this.$emit("changeTextareaStatus")},goAddressPages:function(){this.$emit("changeClose"),this.$emit("changeTextareaStatus"),t.navigateTo({url:this.pagesUrl})},getAddressList:function(){var t=this,e=this;(0,n.getAddressList)({page:1,limit:5}).then((function(s){for(var n=s.data,i=0,a=n.length;i<a;i++)n[i].id==e.address.addressId&&(e.active=i);e.$set(e,"addressList",n),e.is_loading=!1,n.length&&t.$emit("onHaveAddressList",!0)}))}}};e.default=a}).call(this,s("543d")["default"])},ae28:function(t,e,s){"use strict";var n=s("e1f8"),i=s.n(n);i.a},bbf7:function(t,e,s){"use strict";s.r(e);var n=s("be2f"),i=s("70d2");for(var a in i)["default"].indexOf(a)<0&&function(t){s.d(e,t,(function(){return i[t]}))}(a);s("ae28");var d=s("f0c5"),r=Object(d["a"])(i["default"],n["b"],n["c"],!1,null,"4b876c93",null,!1,n["a"],void 0);e["default"]=r.exports},be2f:function(t,e,s){"use strict";s.d(e,"b",(function(){return n})),s.d(e,"c",(function(){return i})),s.d(e,"a",(function(){}));var n=function(){var t=this.$createElement,e=(this._self._c,this.$t("选择地址")),s=!this.is_loading&&!this.addressList.length,n=this.$t("选择其它地址");this.$mp.data=Object.assign({},{$root:{m0:e,g0:s,m1:n}})},i=[]},e1f8:function(t,e,s){}}]);
|
||||
;(global["webpackJsonp"] = global["webpackJsonp"] || []).push([
|
||||
'components/addressWindow/index-create-component',
|
||||
{
|
||||
'components/addressWindow/index-create-component':(function(module, exports, __webpack_require__){
|
||||
__webpack_require__('543d')['createComponent'](__webpack_require__("bbf7"))
|
||||
})
|
||||
},
|
||||
[['components/addressWindow/index-create-component']]
|
||||
]);
|
||||
@ -0,0 +1,4 @@
|
||||
{
|
||||
"usingComponents": {},
|
||||
"component": true
|
||||
}
|
||||
@ -0,0 +1 @@
|
||||
<view class="data-v-4b876c93"><view class="{{['address-window','data-v-4b876c93',address.address==true?'on':'']}}"><view class="title data-v-4b876c93">{{$root.m0}}<text data-event-opts="{{[['tap',[['close',['$event']]]]]}}" class="iconfont icon-guanbi data-v-4b876c93" bindtap="__e"></text></view><view class="list data-v-4b876c93"><block wx:for="{{addressList}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view data-event-opts="{{[['tap',[['tapAddress',[index,'$0'],[[['addressList','',index,'id']]]]]]]}}" class="{{['item','acea-row','row-between-wrapper','data-v-4b876c93',active==index?'font-num':'']}}" bindtap="__e"><text class="{{['iconfont','icon-ditu','data-v-4b876c93',active==index?'font-num':'']}}"></text><view class="address data-v-4b876c93"><view class="{{['name','data-v-4b876c93',active==index?'font-num':'']}}">{{item.real_name}}<text class="phone data-v-4b876c93">{{item.phone}}</text></view><view class="line1 data-v-4b876c93">{{item.province+item.city+item.district+item.detail}}</view></view><text class="{{['iconfont','icon-complete','data-v-4b876c93',active==index?'font-num':'']}}"></text></view></block></view><block wx:if="{{$root.g0}}"><view class="pictrue data-v-4b876c93"><image src="{{imgHost+'/statics/images/noAddress.png'}}" class="data-v-4b876c93"></image></view></block><view data-event-opts="{{[['tap',[['goAddressPages',['$event']]]]]}}" class="addressBnt bg-color data-v-4b876c93" bindtap="__e">{{$root.m1}}</view></view><view class="mask data-v-4b876c93" catchtouchmove="true" hidden="{{address.address==false}}" data-event-opts="{{[['tap',[['close',['$event']]]]]}}" bindtap="__e"></view></view>
|
||||
@ -0,0 +1 @@
|
||||
.address-window.data-v-4b876c93{background-color:#fff;position:fixed;bottom:0;left:0;width:100%;z-index:1000;-webkit-transform:translate3d(0,100%,0);transform:translate3d(0,100%,0);transition:all .3s cubic-bezier(.25,.5,.5,.9)}.address-window.on.data-v-4b876c93{-webkit-transform:translateZ(0);transform:translateZ(0)}.address-window .title.data-v-4b876c93{font-size:32rpx;font-weight:700;text-align:center;height:123rpx;line-height:123rpx;position:relative}.address-window .title .iconfont.data-v-4b876c93{position:absolute;right:30rpx;color:#8a8a8a;font-size:35rpx}.address-window .list .item.data-v-4b876c93{margin-left:30rpx;padding-right:30rpx;border-bottom:1px solid #eee;height:129rpx;font-size:25rpx;color:#333}.address-window .list .item .iconfont.data-v-4b876c93{font-size:37rpx;color:#2c2c2c}.address-window .list .item .iconfont.icon-complete.data-v-4b876c93{font-size:30rpx;color:#fff}.address-window .list .item .address.data-v-4b876c93{width:560rpx}.address-window .list .item .address .name.data-v-4b876c93{font-size:28rpx;font-weight:700;color:#282828;margin-bottom:4rpx}.address-window .list .item .address .name .phone.data-v-4b876c93{margin-left:18rpx}.address-window .addressBnt.data-v-4b876c93{font-size:30rpx;font-weight:700;color:#fff;width:690rpx;height:86rpx;border-radius:43rpx;text-align:center;line-height:86rpx;margin:85rpx auto}.address-window .pictrue.data-v-4b876c93{width:414rpx;height:336rpx;margin:0 auto}.address-window .pictrue image.data-v-4b876c93{width:100%;height:100%}
|
||||
10
crmeb/public/statics/mp_view/components/cartList/index.js
Normal file
10
crmeb/public/statics/mp_view/components/cartList/index.js
Normal file
@ -0,0 +1,10 @@
|
||||
(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["components/cartList/index"],{1810:function(t,n,a){},4669:function(t,n,a){"use strict";a.r(n);var u=a("f25b"),e=a.n(u);for(var i in u)["default"].indexOf(i)<0&&function(t){a.d(n,t,(function(){return u[t]}))}(i);n["default"]=e.a},6669:function(t,n,a){"use strict";a.d(n,"b",(function(){return u})),a.d(n,"c",(function(){return e})),a.d(n,"a",(function(){}));var u=function(){var t=this,n=t.$createElement,a=(t._self._c,t.$t("已选商品")),u=t.$t("清空"),e=t.__map(t.cartData.cartList,(function(n,a){var u=t.__get_orig(n),e=n.attrStatus&&n.status?t.$t("¥"):null,i=n.attrStatus&&n.status||n.attrStatus?null:t.$t("已售罄"),r=n.attrStatus&&n.status||!n.attrStatus||n.status?null:t.$t("已下架"),s=n.status&&n.attrStatus?null:t.$t("删除");return{$orig:u,m2:e,m3:i,m4:r,m5:s}}));t.$mp.data=Object.assign({},{$root:{m0:a,m1:u,l0:e}})},e=[]},bb4f:function(t,n,a){"use strict";var u=a("1810"),e=a.n(u);e.a},d182:function(t,n,a){"use strict";a.r(n);var u=a("6669"),e=a("4669");for(var i in e)["default"].indexOf(i)<0&&function(t){a.d(n,t,(function(){return e[t]}))}(i);a("bb4f");var r=a("f0c5"),s=Object(r["a"])(e["default"],u["b"],u["c"],!1,null,null,null,!1,u["a"],void 0);n["default"]=s.exports},f25b:function(t,n,a){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var u={props:{cartData:{type:Object,default:function(){}}},data:function(){return{}},mounted:function(){},methods:{closeList:function(){this.$emit("closeList",!1)},leaveCart:function(t){this.$emit("ChangeCartNumDan",!1,t)},joinCart:function(t){this.$emit("ChangeCartNumDan",!0,t)},subDel:function(){this.$emit("ChangeSubDel")},oneDel:function(t,n){this.$emit("ChangeOneDel",t,n)}}};n.default=u}}]);
|
||||
;(global["webpackJsonp"] = global["webpackJsonp"] || []).push([
|
||||
'components/cartList/index-create-component',
|
||||
{
|
||||
'components/cartList/index-create-component':(function(module, exports, __webpack_require__){
|
||||
__webpack_require__('543d')['createComponent'](__webpack_require__("d182"))
|
||||
})
|
||||
},
|
||||
[['components/cartList/index-create-component']]
|
||||
]);
|
||||
@ -0,0 +1,4 @@
|
||||
{
|
||||
"usingComponents": {},
|
||||
"component": true
|
||||
}
|
||||
@ -0,0 +1 @@
|
||||
<view><view class="{{['cartList',cartData.iScart?'on':'']}}"><view class="title acea-row row-between-wrapper"><view class="name">{{$root.m0}}</view><view data-event-opts="{{[['tap',[['subDel',['$event']]]]]}}" class="del acea-row row-middle" bindtap="__e"><view class="iconfont icon-shanchu1"></view>{{$root.m1+''}}</view></view><view class="list"><block wx:for="{{$root.l0}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view class="item acea-row row-between-wrapper"><view class="pictrue"><block wx:if="{{item.$orig.productInfo.attrInfo}}"><image src="{{item.$orig.productInfo.attrInfo.image}}"></image></block><block wx:else><image src="{{item.$orig.productInfo.image}}"></image></block><block wx:if="{{!item.$orig.status||!item.$orig.attrStatus}}"><view class="mantle"></view></block></view><view class="txtPic"><view class="{{['name','line2',item.$orig.attrStatus&&item.$orig.status?'':'on']}}">{{''+item.$orig.productInfo.store_name}}</view><block wx:if="{{item.$orig.attrStatus&&item.$orig.status}}"><view><block wx:if="{{item.$orig.productInfo.attrInfo}}"><view class="info">{{item.$orig.productInfo.attrInfo.suk}}</view></block><view class="bottom acea-row row-between-wrapper"><view class="money">{{item.m2}}<text class="num">{{item.$orig.truePrice}}</text></view><view class="cartNum acea-row row-middle"><view data-event-opts="{{[['tap',[['leaveCart',[index]]]]]}}" class="reduce iconfont icon-jianhao1" bindtap="__e"></view><view class="num">{{item.$orig.cart_num}}</view><view data-event-opts="{{[['tap',[['joinCart',[index]]]]]}}" class="plus iconfont icon-jiahao1" bindtap="__e"></view></view></view></view></block><block wx:else><block wx:if="{{!item.$orig.attrStatus}}"><view class="noBnt">{{item.m3}}</view></block><block wx:else><block wx:if="{{!item.$orig.status}}"><view class="noBnt">{{item.m4}}</view></block></block></block><block wx:if="{{!item.$orig.status||!item.$orig.attrStatus}}"><view class="delTxt acea-row row-right"><text data-event-opts="{{[['tap',[['oneDel',['$0',index],[[['cartData.cartList','',index,'id']]]]]]]}}" bindtap="__e">{{item.m5}}</text></view></block></view></view></block></view></view><block wx:if="{{cartData.iScart}}"><view data-event-opts="{{[['tap',[['closeList',['$event']]]]]}}" class="mask" bindtap="__e"></view></block></view>
|
||||
@ -0,0 +1 @@
|
||||
.mask{z-index:99}.cartList{position:fixed;left:0;bottom:0;width:100%;background-color:#fff;z-index:100;padding:0 30rpx 100rpx 30rpx;box-sizing:border-box;border-radius:16rpx 16rpx 0 0;-webkit-transform:translate3d(0,100%,0);transform:translate3d(0,100%,0);transition:all .3s cubic-bezier(.25,.5,.5,.9)}.cartList.on{-webkit-transform:translateZ(0);transform:translateZ(0)}.cartList .title{height:108rpx}.cartList .title .name{font-size:28rpx;color:#282828;font-weight:700}.cartList .title .del{font-size:26rpx;color:var(--view-theme)}.cartList .title .del .iconfont{margin-right:5rpx;font-size:34rpx}.cartList .list{max-height:720rpx;overflow-x:hidden;overflow-y:auto}.cartList .list .item{margin-bottom:40rpx}.cartList .list .item .pictrue{width:176rpx;height:176rpx;border-radius:16rpx;position:relative}.cartList .list .item .pictrue image{width:100%;height:100%;border-radius:16rpx}.cartList .list .item .pictrue .mantle{position:absolute;top:0;left:0;width:100%;height:100%;background:hsla(0,0%,100%,.65);border-radius:16rpx}.cartList .list .item .txtPic{width:486rpx}.cartList .list .item .txtPic .name{font-size:28rpx;color:#282828}.cartList .list .item .txtPic .name.on{color:#a3a3a3}.cartList .list .item .txtPic .noBnt{width:126rpx;height:44rpx;background:#f2f2f2;border-radius:22rpx;text-align:center;line-height:44rpx;font-size:24rpx;color:#a3a3a3;margin-top:10rpx}.cartList .list .item .txtPic .delTxt{margin-top:48rpx;font-size:24rpx;color:#e93323}.cartList .list .item .txtPic .delTxt text{width:70rpx;height:50rpx;text-align:center;line-height:50rpx}.cartList .list .item .txtPic .info{font-size:23rpx;color:#989898;margin-top:5rpx}.cartList .list .item .txtPic .bottom{margin-top:11rpx}.cartList .list .item .txtPic .bottom .money{font-weight:700;font-size:26rpx;color:var(--view-priceColor)}.cartList .list .item .txtPic .bottom .money .num{font-size:34rpx}.cartList .list .item .txtPic .bottom .cartNum{font-weight:700}.cartList .list .item .txtPic .bottom .cartNum .num{font-size:34rpx;color:#282828;width:120rpx;text-align:center}.cartList .list .item .txtPic .bottom .cartNum .reduce{color:#282828;font-size:24rpx;width:60rpx;height:60rpx;text-align:center;line-height:60rpx}.cartList .list .item .txtPic .bottom .cartNum .plus{color:#282828;font-size:24rpx;width:60rpx;height:60rpx;text-align:center;line-height:60rpx}
|
||||
10
crmeb/public/statics/mp_view/components/catGoodList/index.js
Normal file
10
crmeb/public/statics/mp_view/components/catGoodList/index.js
Normal file
@ -0,0 +1,10 @@
|
||||
(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["components/catGoodList/index"],{"08f7":function(t,i,n){"use strict";n.r(i);var a=n("2f0f"),e=n.n(a);for(var c in a)["default"].indexOf(c)<0&&function(t){n.d(i,t,(function(){return a[t]}))}(c);i["default"]=e.a},"2f0f":function(t,i,n){"use strict";Object.defineProperty(i,"__esModule",{value:!0}),i.default=void 0;var a={name:"catGoodList",props:{dataConfig:{type:Object,default:function(){}},tempArr:{type:Array,default:[]},isLogin:{type:Boolean,default:!1}},data:function(){return{addIng:!1}},created:function(){},mounted:function(){},methods:{goDetail:function(t){this.$emit("detail",t)},goCartDuo:function(t){this.$emit("gocartduo",t)},goCartDan:function(t,i){this.$emit("gocartdan",t,i)},CartNumDes:function(t,i){this.addIng||(this.addIng=!0,this.$emit("ChangeCartNumDan",!1,t,i))},CartNumAdd:function(t,i){this.addIng||(this.addIng=!0,this.$emit("ChangeCartNumDan",!0,t,i))}}};i.default=a},"6ab1":function(t,i,n){"use strict";var a=n("7d37"),e=n.n(a);e.a},"6c26":function(t,i,n){"use strict";n.d(i,"b",(function(){return a})),n.d(i,"c",(function(){return e})),n.d(i,"a",(function(){}));var a=function(){var t=this,i=t.$createElement,n=(t._self._c,t.$t("¥")),a=t.$t("已售"),e=t.__map(t.tempArr,(function(i,n){var a=t.__get_orig(i),e=i.activity&&"1"===i.activity.type?t.$t("秒杀"):null,c=i.activity&&"2"===i.activity.type?t.$t("砍价"):null,u=i.activity&&"3"===i.activity.type?t.$t("拼团"):null,o=i.stock>0&&(i.activity&&("1"===i.activity.type||"2"===i.activity.type||"3"===i.activity.type)||i.is_virtual||!i.cart_button)?t.$t("立即购买"):null,r=i.stock>0&&(!i.activity||"1"!==i.activity.type&&"2"!==i.activity.type&&"3"!==i.activity.type)&&!i.is_virtual&&i.cart_button&&i.spec_type?t.$t("加入购物车"):null,f=i.stock>0&&(!i.activity||"1"!==i.activity.type&&"2"!==i.activity.type&&"3"!==i.activity.type)&&!i.is_virtual&&i.cart_button&&!i.spec_type&&!i.cart_num?t.$t("加入购物车"):null,d=i.stock>0?null:t.$t("已售罄");return{$orig:a,m0:e,m1:c,m2:u,m5:o,m6:r,m7:f,m8:d}}));t.$mp.data=Object.assign({},{$root:{m3:n,m4:a,l0:e}})},e=[]},"7d37":function(t,i,n){},9009:function(t,i,n){"use strict";n.r(i);var a=n("6c26"),e=n("08f7");for(var c in e)["default"].indexOf(c)<0&&function(t){n.d(i,t,(function(){return e[t]}))}(c);n("6ab1");var u=n("f0c5"),o=Object(u["a"])(e["default"],a["b"],a["c"],!1,null,null,null,!1,a["a"],void 0);i["default"]=o.exports}}]);
|
||||
;(global["webpackJsonp"] = global["webpackJsonp"] || []).push([
|
||||
'components/catGoodList/index-create-component',
|
||||
{
|
||||
'components/catGoodList/index-create-component':(function(module, exports, __webpack_require__){
|
||||
__webpack_require__('543d')['createComponent'](__webpack_require__("9009"))
|
||||
})
|
||||
},
|
||||
[['components/catGoodList/index-create-component']]
|
||||
]);
|
||||
@ -0,0 +1,4 @@
|
||||
{
|
||||
"usingComponents": {},
|
||||
"component": true
|
||||
}
|
||||
@ -0,0 +1 @@
|
||||
<view class="goodsList"><block wx:for="{{$root.l0}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view data-event-opts="{{[['tap',[['goDetail',['$0'],[[['tempArr','',index]]]]]]]}}" class="item" bindtap="__e"><view class="pictrue"><block wx:if="{{item.$orig.activity&&item.$orig.activity.type==='1'}}"><label class="pictrue_log pictrue_log_class _span">{{item.m0}}</label></block><block wx:if="{{item.$orig.activity&&item.$orig.activity.type==='2'}}"><label class="pictrue_log pictrue_log_class _span">{{item.m1}}</label></block><block wx:if="{{item.$orig.activity&&item.$orig.activity.type==='3'}}"><label class="pictrue_log pictrue_log_class _span">{{item.m2}}</label></block><block wx:if="{{item.$orig.recommend_image}}"><image src="{{item.$orig.recommend_image}}" mode></image></block><block wx:else><image src="{{item.$orig.image}}" mode></image></block></view><view class="text line2">{{item.$orig.store_name}}</view><view class="bottom acea-row row-between-wrapper"><view class="sales acea-row row-middle"><view class="money font-color"><text>{{$root.m3}}</text>{{''+item.$orig.price+''}}</view><view>{{$root.m4+item.$orig.sales}}</view></view><block wx:if="{{item.$orig.stock>0}}"><view><block wx:if="{{item.$orig.activity&&(item.$orig.activity.type==='1'||item.$orig.activity.type==='2'||item.$orig.activity.type==='3')||item.$orig.is_virtual||!item.$orig.cart_button}}"><view class="bnt">{{''+item.m5+''}}</view></block><block wx:else><view><block wx:if="{{item.$orig.spec_type}}"><view data-event-opts="{{[['tap',[['goCartDuo',['$0'],[[['tempArr','',index]]]]]]]}}" class="bnt" catchtap="__e">{{''+item.m6+''}}<block wx:if="{{isLogin&&item.$orig.cart_num}}"><view class="num">{{item.$orig.cart_num}}</view></block></view></block><block wx:if="{{!item.$orig.spec_type&&!item.$orig.cart_num}}"><view data-event-opts="{{[['tap',[['goCartDan',['$0',index],[[['tempArr','',index]]]]]]]}}" class="bnt" catchtap="__e">{{''+item.m7+''}}</view></block><block wx:if="{{!item.$orig.spec_type&&item.$orig.cart_num}}"><view class="cart acea-row row-middle"><view data-event-opts="{{[['tap',[['CartNumDes',[index,'$0'],[[['tempArr','',index]]]]]]]}}" class="iconfont icon-jianhao" catchtap="__e"></view><view class="num">{{item.$orig.cart_num}}</view><view data-event-opts="{{[['tap',[['CartNumAdd',[index,'$0'],[[['tempArr','',index]]]]]]]}}" class="iconfont icon-jiahao" catchtap="__e"></view></view></block></view></block></view></block><block wx:else><view class="bnt end">{{item.m8}}</view></block></view></view></block></view>
|
||||
@ -0,0 +1 @@
|
||||
.goodsList{padding:0 30rpx}.goodsList .item{width:100%;box-sizing:border-box;margin-bottom:63rpx}.goodsList .item .pictrue{border-radius:16rpx;position:relative;padding-top:40%}.goodsList .item .pictrue image{border-radius:10rpx;position:absolute;top:0;left:0;width:100%;height:100%;object-fit:cover}.goodsList .item .text{font-size:30rpx;font-family:PingFang SC;font-weight:700;color:#282828;margin:20rpx 0}.goodsList .item .bottom .sales{font-size:22rpx;color:#8e8e8e}.goodsList .item .bottom .sales .money{font-size:42rpx;font-weight:700;margin-right:18rpx}.goodsList .item .bottom .sales .money text{font-size:28rpx}.goodsList .item .bottom .cart{height:56rpx}.goodsList .item .bottom .cart .pictrue{color:var(--view-theme);font-size:46rpx;width:50rpx;height:50rpx;text-align:center;line-height:50rpx}.goodsList .item .bottom .cart .num{font-size:30rpx;color:#282828;font-weight:700;width:80rpx;text-align:center}.goodsList .item .bottom .bnt{padding:0 30rpx;height:56rpx;line-height:56rpx;background:var(--view-theme);border-radius:42rpx;font-size:26rpx;color:#fff;position:relative}.goodsList .item .bottom .bnt.end{background:#cbcbcb}.goodsList .item .bottom .bnt .num{background-color:var(--view-priceColor);min-width:12rpx;color:#fff;border-radius:15px;position:absolute;right:-14rpx;top:-15rpx;font-size:22rpx;padding:0 10rpx;height:34rpx;line-height:34rpx}
|
||||
10
crmeb/public/statics/mp_view/components/countDown/index.js
Normal file
10
crmeb/public/statics/mp_view/components/countDown/index.js
Normal file
@ -0,0 +1,10 @@
|
||||
(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["components/countDown/index"],{"1a47":function(t,e,n){"use strict";n.d(e,"b",(function(){return u})),n.d(e,"c",(function(){return a})),n.d(e,"a",(function(){}));var u=function(){var t=this.$createElement;this._self._c},a=[]},"508b":function(t,e,n){"use strict";var u=n("fc7d"),a=n.n(u);a.a},5802:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var u={name:"countDown",props:{justifyLeft:{type:String,default:""},tipText:{type:String,default:"倒计时"},dayText:{type:String,default:"天"},hourText:{type:String,default:"时"},minuteText:{type:String,default:"分"},secondText:{type:String,default:"秒"},datatime:{type:Number,default:0},isDay:{type:Boolean,default:!0},bgColor:{type:String,default:""},colors:{type:String,default:""}},data:function(){return{day:"00",hour:"00",minute:"00",second:"00"}},created:function(){this.show_time()},mounted:function(){},methods:{show_time:function(){var t=this;function e(){var e=t.datatime-Date.parse(new Date)/1e3,n=0,u=0,a=0,o=0;e>0?(n=!0===t.isDay?Math.floor(e/86400):0,u=Math.floor(e/3600)-24*n,a=Math.floor(e/60)-24*n*60-60*u,o=Math.floor(e)-24*n*60*60-60*u*60-60*a,u<=9&&(u="0"+u),a<=9&&(a="0"+a),o<=9&&(o="0"+o),t.day=n,t.hour=u,t.minute=a,t.second=o):(t.day="00",t.hour="00",t.minute="00",t.second="00")}e(),setInterval(e,1e3)}}};e.default=u},"80f6":function(t,e,n){"use strict";n.r(e);var u=n("1a47"),a=n("e044");for(var o in a)["default"].indexOf(o)<0&&function(t){n.d(e,t,(function(){return a[t]}))}(o);n("508b");var r=n("f0c5"),i=Object(r["a"])(a["default"],u["b"],u["c"],!1,null,null,null,!1,u["a"],void 0);e["default"]=i.exports},e044:function(t,e,n){"use strict";n.r(e);var u=n("5802"),a=n.n(u);for(var o in u)["default"].indexOf(o)<0&&function(t){n.d(e,t,(function(){return u[t]}))}(o);e["default"]=a.a},fc7d:function(t,e,n){}}]);
|
||||
;(global["webpackJsonp"] = global["webpackJsonp"] || []).push([
|
||||
'components/countDown/index-create-component',
|
||||
{
|
||||
'components/countDown/index-create-component':(function(module, exports, __webpack_require__){
|
||||
__webpack_require__('543d')['createComponent'](__webpack_require__("80f6"))
|
||||
})
|
||||
},
|
||||
[['components/countDown/index-create-component']]
|
||||
]);
|
||||
@ -0,0 +1,4 @@
|
||||
{
|
||||
"component": true,
|
||||
"usingComponents": {}
|
||||
}
|
||||
@ -0,0 +1 @@
|
||||
<view class="time" style="{{(justifyLeft)}}"><block wx:if="{{tipText}}"><text class="red">{{tipText}}</text></block><block wx:if="{{isDay===true}}"><text class="styleAll" style="{{('background-color:'+bgColor+';color:'+colors+';')}}">{{day}}</text></block><block wx:if="{{dayText}}"><text class="timeTxt red">{{dayText}}</text></block><text class="styleAll" style="{{('background-color:'+bgColor+';color:'+colors+';')}}">{{hour}}</text><block wx:if="{{hourText}}"><text class="timeTxt red">{{hourText}}</text></block><text class="styleAll" style="{{('background-color:'+bgColor+';color:'+colors+';')}}">{{minute}}</text><block wx:if="{{minuteText}}"><text class="timeTxt red">{{minuteText}}</text></block><text class="styleAll" style="{{('background-color:'+bgColor+';color:'+colors+';')}}">{{second}}</text><block wx:if="{{secondText}}"><text class="timeTxt red">{{secondText}}</text></block></view>
|
||||
@ -0,0 +1 @@
|
||||
.time{display:flex;justify-content:center}.red{color:var(--view-theme);margin:0 4rpx}
|
||||
@ -0,0 +1,10 @@
|
||||
(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["components/couponListWindow/index"],{"0b33f":function(t,n,e){"use strict";var o=e("5b94"),u=e.n(o);u.a},"270f":function(t,n,e){"use strict";(function(t){Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var o=e("5743"),u=e("00a0"),i={props:{openType:{type:Number,default:0},coupon:{type:Object,default:function(){return{}}}},data:function(){return{imgHost:u.HTTP_REQUEST_URL,type:0}},methods:{close:function(){this.$emit("ChangCouponsClone"),this.type=0},getCouponUser:function(n,e){var u=this,i=u.coupon.list;if(i[n].is_use>=i[n].receive_limit&&0==this.openType)return!0;switch(this.openType){case 0:(0,o.setCouponReceive)(e).then((function(t){u.$emit("ChangCouponsUseState",n),u.$util.Tips({title:"领取成功"})})).catch((function(n){t.showToast({title:n,icon:"none"})}));break;case 1:u.$emit("ChangCoupons",n);break}},setType:function(t){this.type=t,this.$emit("tabCouponType",t)}}};n.default=i}).call(this,e("543d")["default"])},"5b94":function(t,n,e){},"79d4":function(t,n,e){"use strict";e.r(n);var o=e("f65e"),u=e("995d");for(var i in u)["default"].indexOf(i)<0&&function(t){e.d(n,t,(function(){return u[t]}))}(i);e("0b33f");var c=e("f0c5"),l=Object(c["a"])(u["default"],o["b"],o["c"],!1,null,"05e31073",null,!1,o["a"],void 0);n["default"]=l.exports},"995d":function(t,n,e){"use strict";e.r(n);var o=e("270f"),u=e.n(o);for(var i in o)["default"].indexOf(i)<0&&function(t){e.d(n,t,(function(){return o[t]}))}(i);n["default"]=u.a},f65e:function(t,n,e){"use strict";e.d(n,"b",(function(){return o})),e.d(n,"c",(function(){return u})),e.d(n,"a",(function(){}));var o=function(){var t=this,n=t.$createElement,e=(t._self._c,t.coupon.count&&t.coupon.count[2]?t.$t("商品券"):null),o=t.coupon.count&&t.coupon.count[1]?t.$t("品类券"):null,u=t.coupon.count&&t.coupon.count[0]?t.$t("通用券"):null,i=t.coupon.count?null:t.$t("优惠券"),c=t.coupon.list.length,l=c?t.__map(t.coupon.list,(function(n,e){var o=t.__get_orig(n),u=t.$t("¥"),i=n.use_min_price>0?t.$t("满"):null,c=n.use_min_price>0?t.$t("元可用"):null,l=n.use_min_price>0?null:t.$t("无门槛券"),s=0===n.type?t.$t("通用券"):null,p=0!==n.type&&1===n.type?t.$t("品类券"):null,r=0!==n.type&&1!==n.type?t.$t("商品券"):null,a=t.$t(n.title),f=n.coupon_time?t.$t("领取后"):null,m=n.coupon_time?t.$t("天内可用"):null,d=t.coupon.count&&n.is_use>=n.receive_limit?n.use_title||t.$t("已领取"):null,_=!t.coupon.count||n.is_use>=n.receive_limit?null:t.coupon.statusTile||t.$t("立即领取");return{$orig:o,m4:u,m5:i,m6:c,m7:l,m8:s,m9:p,m10:r,m11:a,m12:f,m13:m,m14:d,m15:_}})):null;t.$mp.data=Object.assign({},{$root:{m0:e,m1:o,m2:u,m3:i,g0:c,l0:l}})},u=[]}}]);
|
||||
;(global["webpackJsonp"] = global["webpackJsonp"] || []).push([
|
||||
'components/couponListWindow/index-create-component',
|
||||
{
|
||||
'components/couponListWindow/index-create-component':(function(module, exports, __webpack_require__){
|
||||
__webpack_require__('543d')['createComponent'](__webpack_require__("79d4"))
|
||||
})
|
||||
},
|
||||
[['components/couponListWindow/index-create-component']]
|
||||
]);
|
||||
@ -0,0 +1,4 @@
|
||||
{
|
||||
"usingComponents": {},
|
||||
"component": true
|
||||
}
|
||||
@ -0,0 +1 @@
|
||||
<view class="data-v-05e31073"><view class="{{['coupon-list-window','data-v-05e31073',coupon.coupon==true?'on':'']}}"><block wx:if="{{coupon.count}}"><view class="nav acea-row row-around data-v-05e31073"><block wx:if="{{coupon.count[2]}}"><view data-event-opts="{{[['tap',[['setType',[2]]]]]}}" class="{{['data-v-05e31073','acea-row','row-middle',coupon.type===2?'on':'']}}" bindtap="__e">{{$root.m0}}</view></block><block wx:if="{{coupon.count[1]}}"><view data-event-opts="{{[['tap',[['setType',[1]]]]]}}" class="{{['data-v-05e31073','acea-row','row-middle',coupon.type===1?'on':'']}}" bindtap="__e">{{$root.m1}}</view></block><block wx:if="{{coupon.count[0]}}"><view data-event-opts="{{[['tap',[['setType',[0]]]]]}}" class="{{['data-v-05e31073','acea-row','row-middle',coupon.type===0?'on':'']}}" bindtap="__e">{{$root.m2}}</view></block></view></block><block wx:else><view class="title data-v-05e31073">{{$root.m3}}<text data-event-opts="{{[['tap',[['close',['$event']]]]]}}" class="iconfont icon-guanbi data-v-05e31073" bindtap="__e"></text></view></block><block wx:if="{{coupon.count}}"><view class="occupy data-v-05e31073"></view></block><block wx:if="{{$root.g0}}"><view class="coupon-list data-v-05e31073"><block wx:for="{{$root.l0}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view data-event-opts="{{[['tap',[['getCouponUser',[index,'$0'],[[['coupon.list','',index,'id']]]]]]]}}" class="{{['item','acea-row','row-center-wrapper','data-v-05e31073',(item.$orig.receive_type===4)?'svip':'']}}" bindtap="__e"><view class="moneyCon acea-row row-center-wrapper data-v-05e31073"><view class="{{['money','acea-row','row-column','row-center-wrapper','data-v-05e31073',item.$orig.is_use>=item.$orig.receive_limit&&coupon.count?'moneyGray':'']}}"><view class="data-v-05e31073">{{item.m4}}<text class="num data-v-05e31073">{{item.$orig.coupon_price}}</text></view><block wx:if="{{item.$orig.use_min_price>0}}"><view class="pic-num data-v-05e31073">{{''+item.m5+item.$orig.use_min_price+item.m6}}</view></block><block wx:else><view class="pic-num data-v-05e31073">{{item.m7}}</view></block></view></view><view class="text data-v-05e31073"><view class="{{['condition','line2','data-v-05e31073',coupon.count?'':'order']}}"><block wx:if="{{item.$orig.type===0}}"><label class="{{['line-title','_span','data-v-05e31073',item.$orig.is_use>=item.$orig.receive_limit&&coupon.count?'gray':'']}}">{{item.m8}}</label></block><block wx:else><block wx:if="{{item.$orig.type===1}}"><label class="{{['line-title','_span','data-v-05e31073',item.$orig.is_use>=item.$orig.receive_limit&&coupon.count?'gray':'']}}">{{item.m9}}</label></block><block wx:else><label class="{{['line-title','_span','data-v-05e31073',item.$orig.is_use>=item.$orig.receive_limit&&coupon.count?'gray':'']}}">{{item.m10}}</label></block></block><block wx:if="{{item.$orig.receive_type===4}}"><image class="pic data-v-05e31073" src="../../static/images/fvip.png"></image></block><label class="name _span data-v-05e31073">{{item.m11}}</label></view><view class="data acea-row row-between-wrapper data-v-05e31073"><block wx:if="{{item.$orig.coupon_time}}"><view class="data-v-05e31073">{{item.m12+item.$orig.coupon_time+item.m13}}</view></block><block wx:else><view class="data-v-05e31073">{{(item.$orig.start_use_time?item.$orig.start_use_time+"-":"")+item.$orig.end_use_time}}</view></block><block wx:if="{{coupon.count}}"><view class="data-v-05e31073"><block wx:if="{{item.$orig.is_use>=item.$orig.receive_limit}}"><view class="bnt gray data-v-05e31073">{{''+item.m14}}</view></block><block wx:else><view class="bnt bg-color data-v-05e31073">{{item.m15}}</view></block></view></block><block wx:else><view class="orderCou data-v-05e31073"><block wx:if="{{item.$orig.is_use}}"><view class="{{['iconfont','icon-xuanzhong11','data-v-05e31073',item.$orig.receive_type===4?'svip':'font-num']}}"></view></block><block wx:else><view class="iconfont icon-weixuan data-v-05e31073"></view></block></view></block></view></view></view></block></view></block><block wx:else><view class="pictrue data-v-05e31073"><image src="{{imgHost+'/statics/images/noCoupon.png'}}" class="data-v-05e31073"></image></view></block></view><view class="mask data-v-05e31073" catchtouchmove="true" hidden="{{coupon.coupon==false}}" data-event-opts="{{[['tap',[['close',['$event']]]]]}}" bindtap="__e"></view></view>
|
||||
@ -0,0 +1 @@
|
||||
.orderCou.data-v-05e31073{position:absolute;right:20rpx;top:50%;margin-top:-20rpx}.orderCou .iconfont.data-v-05e31073{font-size:40rpx}.orderCou .svip.data-v-05e31073{color:#edbb75}.coupon-list .item .text.data-v-05e31073{position:relative}.coupon-list .item .text .condition.order.data-v-05e31073{width:350rpx}.coupon-list-window .coupon-list .text .condition .pic.data-v-05e31073{width:30rpx;height:30rpx;margin-right:10rpx;vertical-align:middle}.coupon-list-window .coupon-list .text .condition .name.data-v-05e31073{vertical-align:middle;font-size:26rpx;font-weight:500}.coupon-list-window.data-v-05e31073{position:fixed;bottom:0;left:0;width:100%;background-color:#fff;border-radius:16rpx 16rpx 0 0;z-index:999;-webkit-transform:translate3d(0,100%,0);transform:translate3d(0,100%,0);transition:all .3s cubic-bezier(.25,.5,.5,.9)}.coupon-list-window.on.data-v-05e31073{-webkit-transform:translateZ(0);transform:translateZ(0)}.coupon-list-window .title.data-v-05e31073{height:124rpx;width:100%;text-align:center;line-height:124rpx;font-size:32rpx;font-weight:700;position:relative}.coupon-list-window .title .iconfont.data-v-05e31073{position:absolute;right:30rpx;top:50%;-webkit-transform:translateY(-50%);transform:translateY(-50%);font-size:35rpx;color:#8a8a8a;font-weight:400}.coupon-list-window .coupon-list.data-v-05e31073{margin:0 0 50rpx 0;height:721rpx;padding-top:28rpx;overflow:auto}.coupon-list-window .pictrue.data-v-05e31073{width:414rpx;height:336rpx;margin:192rpx auto 243rpx auto}.coupon-list-window .pictrue image.data-v-05e31073{width:100%;height:100%}.pic-num.data-v-05e31073{color:#fff;font-size:24rpx}.line-title.data-v-05e31073{width:70rpx;height:32rpx!important;padding:0 10rpx;line-height:30rpx;text-align:center;background:var(--view-minorColorT);border:1px solid var(--view-theme);opacity:1;border-radius:20rpx;font-size:18rpx;color:var(--view-theme);margin-right:12rpx;box-sizing:border-box}.line-title.gray.data-v-05e31073{border-color:#c1c1c1!important;color:#c1c1c1!important;background-color:#f7f7f7!important}.nav.data-v-05e31073{position:absolute;top:0;left:0;width:100%;height:106rpx;border-bottom:2rpx solid #f5f5f5;border-top-left-radius:16rpx;border-top-right-radius:16rpx;background-color:#fff;font-size:30rpx;color:#999}.nav .acea-row.data-v-05e31073{border-top:5rpx solid transparent;border-bottom:5rpx solid transparent}.nav .acea-row.on.data-v-05e31073{border-bottom-color:var(--view-theme);color:#282828}.nav .acea-row.data-v-05e31073:only-child{border-bottom-color:transparent}.occupy.data-v-05e31073{height:106rpx}.coupon-list .item.data-v-05e31073{margin-bottom:18rpx;box-shadow:0 2rpx 10rpx rgba(0,0,0,.06)}.coupon-list .item .money.data-v-05e31073{font-weight:400}
|
||||
@ -0,0 +1,10 @@
|
||||
(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["components/couponWindow/index"],{"0732":function(t,n,e){},"0ccd":function(t,n,e){"use strict";e.r(n);var o=e("9bcb"),u=e.n(o);for(var i in o)["default"].indexOf(i)<0&&function(t){e.d(n,t,(function(){return o[t]}))}(i);n["default"]=u.a},"64ec":function(t,n,e){"use strict";e.r(n);var o=e("8a48"),u=e("0ccd");for(var i in u)["default"].indexOf(i)<0&&function(t){e.d(n,t,(function(){return u[t]}))}(i);e("eada");var a=e("f0c5"),c=Object(a["a"])(u["default"],o["b"],o["c"],!1,null,"0d8fc232",null,!1,o["a"],void 0);n["default"]=c.exports},"8a48":function(t,n,e){"use strict";e.d(n,"b",(function(){return o})),e.d(n,"c",(function(){return u})),e.d(n,"a",(function(){}));var o=function(){var t=this,n=t.$createElement,e=(t._self._c,t.$t("¥")),o=t.$t("购物满"),u=t.$t("减"),i=t.__map(t.couponList,(function(n,e){var o=t.__get_orig(n),u=n.coupon_time?t.$t("领取后"):null,i=n.coupon_time?t.$t("天内可用"):null,a=n.coupon_time||0!==n.end_time?null:t.$t("不限时");return{$orig:o,m3:u,m4:i,m5:a}})),a=t.window?t.$t("立即领取"):null;t.$mp.data=Object.assign({},{$root:{m0:e,m1:o,m2:u,l0:i,m6:a}})},u=[]},"9bcb":function(t,n,e){"use strict";var o=e("4ea4");Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var u=o(e("19b6")),i=e("00a0"),a={props:{window:{type:Boolean|String|Number,default:!1},couponList:{type:Array,default:function(){return[]}},couponImage:{type:String,default:""}},mixins:[u.default],data:function(){return{imgHost:i.HTTP_REQUEST_URL}},methods:{close:function(){this.$emit("onColse")}}};n.default=a},eada:function(t,n,e){"use strict";var o=e("0732"),u=e.n(o);u.a}}]);
|
||||
;(global["webpackJsonp"] = global["webpackJsonp"] || []).push([
|
||||
'components/couponWindow/index-create-component',
|
||||
{
|
||||
'components/couponWindow/index-create-component':(function(module, exports, __webpack_require__){
|
||||
__webpack_require__('543d')['createComponent'](__webpack_require__("64ec"))
|
||||
})
|
||||
},
|
||||
[['components/couponWindow/index-create-component']]
|
||||
]);
|
||||
@ -0,0 +1,4 @@
|
||||
{
|
||||
"component": true,
|
||||
"usingComponents": {}
|
||||
}
|
||||
@ -0,0 +1 @@
|
||||
<view style="{{(colorStyle)}}" class="data-v-0d8fc232"><view class="{{['coupon-window','data-v-0d8fc232',window==true?'on':'']}}"><image class="co-bag data-v-0d8fc232" src="{{imgHost+'/statics/images/co-bag.png'}}" mode></image><view class="couponWinList data-v-0d8fc232"><block wx:for="{{$root.l0}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view class="item acea-row row-between-wrapper data-v-0d8fc232"><view class="money font-color data-v-0d8fc232">{{$root.m0}}<text class="num data-v-0d8fc232">{{item.$orig.coupon_price}}</text></view><view class="text data-v-0d8fc232"><view class="name data-v-0d8fc232">{{$root.m1+item.$orig.use_min_price+$root.m2+item.$orig.coupon_price}}</view><block wx:if="{{item.$orig.coupon_time}}"><view class="data-v-0d8fc232">{{item.m3+item.$orig.coupon_time+item.m4}}</view></block><block wx:else><view class="data-v-0d8fc232">{{''+(item.$orig.start_time?item.$orig.start_time+'-':'')+(item.$orig.end_time===0?item.m5:item.$orig.end_time)+''}}</view></block></view></view></block></view><view class="lid data-v-0d8fc232"><block wx:if="{{window}}"><navigator class="bnt data-v-0d8fc232" hover-class="none" url="/pages/users/user_get_coupon/index">{{$root.m6}}</navigator></block><view data-event-opts="{{[['tap',[['close',['$event']]]]]}}" class="iconfont icon-guanbi3 data-v-0d8fc232" bindtap="__e"></view></view></view><view class="mask data-v-0d8fc232" catchtouchmove="true" hidden="{{window==false}}"></view></view>
|
||||
@ -0,0 +1 @@
|
||||
.mask.data-v-0d8fc232{z-index:9999}.coupon-window.data-v-0d8fc232{width:572rpx;height:760rpx;position:fixed;top:20%;z-index:10000;left:50%;margin-left:-286rpx;-webkit-transform:translate3d(0,-200%,0);transform:translate3d(0,-200%,0);transition:all .3s cubic-bezier(.25,.5,.5,.9);border-radius:30rpx 30rpx 0 0;overflow-x:hidden}.co-bag.data-v-0d8fc232{width:100%;height:250rpx;z-index:33333;top:-40rpx;position:absolute}.coupon-window.data-v-0d8fc232:after{width:900rpx;height:650rpx;position:absolute;top:0;left:50%;z-index:11111;margin-left:-450rpx;content:"";border-radius:50% 50% 0 0;background:var(--view-theme)}.coupon-window.on.data-v-0d8fc232{-webkit-transform:translateZ(0);transform:translateZ(0)}.coupon-window .couponWinList.data-v-0d8fc232{width:480rpx;margin:157rpx 0 0 50rpx;height:340rpx;overflow-y:scroll}.coupon-window .couponWinList .item.data-v-0d8fc232{width:100%;height:120rpx;background-color:#fff;position:relative;margin-bottom:17rpx;position:relative;z-index:99999}.coupon-window .couponWinList .item .left.data-v-0d8fc232{border-right:1px dashed #ccc}.coupon-window .couponWinList .label.data-v-0d8fc232{width:28rpx;height:64rpx;display:block;position:absolute;top:0;right:12rpx}.coupon-window .couponWinList .item.data-v-0d8fc232::after{content:"";position:absolute;width:18rpx;height:18rpx;border-radius:50%;background-color:var(--view-theme);left:25.5%;bottom:0;margin-bottom:-9rpx}.coupon-window .couponWinList .item.data-v-0d8fc232::before{content:"";position:absolute;width:18rpx;height:18rpx;border-radius:50%;background-color:var(--view-theme);left:25.5%;top:0;margin-top:-9rpx}.coupon-window .couponWinList .item .money.data-v-0d8fc232{width:130rpx;text-align:center;font-size:26rpx;font-weight:700}.coupon-window .couponWinList .item .min_money.data-v-0d8fc232{color:#ccc;font-size:18rpx;text-align:center}.coupon-window .couponWinList .item .money .num.data-v-0d8fc232{font-size:40rpx}.coupon-window .couponWinList .item .text.data-v-0d8fc232{width:349rpx;font-size:22rpx;color:#ccc;padding:0 29rpx;box-sizing:border-box}.coupon-window .couponWinList .item .text .image.data-v-0d8fc232{width:32rpx;height:32rpx;display:inline-block;vertical-align:bottom;margin-right:10rpx}.coupon-window .couponWinList .item .text .name.data-v-0d8fc232{font-size:26rpx;color:var(--view-priceColor);font-weight:700;margin-bottom:9rpx;width:250rpx}.coupon-window .lid.data-v-0d8fc232{background:hsla(0,0%,100%,.2);width:582rpx;height:224rpx;position:fixed;z-index:22222;left:50%;top:0;margin:424rpx 0 0 -296rpx}.coupon-window .lid.data-v-0d8fc232:after{width:920rpx;height:280rpx;position:absolute;top:-100%;left:50%;z-index:22222;margin-left:-460rpx;content:"";border-radius:0 0 50% 50%;background:var(--view-theme)}.coupon-window .lid .bnt.data-v-0d8fc232{font-size:29rpx;width:440rpx;height:80rpx;border-radius:40rpx;background:linear-gradient(90deg,#ffca52,#fe960f);text-align:center;line-height:80rpx;font-weight:700;margin:98rpx auto 0 auto;color:#fff}.coupon-window .lid .iconfont.data-v-0d8fc232{color:#fff;font-size:60rpx;text-align:center;margin-top:87rpx}
|
||||
@ -0,0 +1,10 @@
|
||||
(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["components/cusPreviewImg/index"],{"0a2d":function(t,n,e){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var r={name:"cusPreviewImg",props:{list:{type:Array,required:!0,default:function(){return[]}},circular:{type:Boolean,default:!0},duration:{type:Number,default:500}},data:function(){return{currentIndex:0,showBox:!1}},watch:{list:function(t){}},methods:{changeSwiper:function(t){this.currentIndex=t.target.current,this.$emit("changeSwitch",t.target.current)},open:function(t){t&&this.list.length&&(this.currentIndex=this.list.map((function(t){return t.suk})).indexOf(t),this.showBox=!0)},close:function(){this.showBox=!1},shareFriend:function(){this.$emit("shareFriend")}}};n.default=r},"2e29":function(t,n,e){"use strict";e.d(n,"b",(function(){return r})),e.d(n,"c",(function(){return u})),e.d(n,"a",(function(){}));var r=function(){var t=this,n=t.$createElement,e=(t._self._c,t.showBox?t.__map(t.list,(function(n,e){var r=t.__get_orig(n),u=t.$t("¥");return{$orig:r,m0:u}})):null),r=t.showBox?t.list.length:null,u=t.showBox&&r>0?Number(t.currentIndex):null,i=t.showBox&&r>0?t.list.length:null;t.$mp.data=Object.assign({},{$root:{l0:e,g0:r,m1:u,g1:i}})},u=[]},"315d":function(t,n,e){"use strict";var r=e("bb01"),u=e.n(r);u.a},"3a6e":function(t,n,e){"use strict";e.r(n);var r=e("2e29"),u=e("ab7c");for(var i in u)["default"].indexOf(i)<0&&function(t){e.d(n,t,(function(){return u[t]}))}(i);e("315d");var o=e("f0c5"),c=Object(o["a"])(u["default"],r["b"],r["c"],!1,null,"e85d3508",null,!1,r["a"],void 0);n["default"]=c.exports},ab7c:function(t,n,e){"use strict";e.r(n);var r=e("0a2d"),u=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"]=u.a},bb01:function(t,n,e){}}]);
|
||||
;(global["webpackJsonp"] = global["webpackJsonp"] || []).push([
|
||||
'components/cusPreviewImg/index-create-component',
|
||||
{
|
||||
'components/cusPreviewImg/index-create-component':(function(module, exports, __webpack_require__){
|
||||
__webpack_require__('543d')['createComponent'](__webpack_require__("3a6e"))
|
||||
})
|
||||
},
|
||||
[['components/cusPreviewImg/index-create-component']]
|
||||
]);
|
||||
@ -0,0 +1,4 @@
|
||||
{
|
||||
"component": true,
|
||||
"usingComponents": {}
|
||||
}
|
||||
@ -0,0 +1 @@
|
||||
<block wx:if="{{showBox}}"><view data-event-opts="{{[['touchmove',[['',['$event']]]]]}}" class="previewImg data-v-e85d3508" catchtouchmove="__e"><view data-event-opts="{{[['tap',[['close',['$event']]]]]}}" class="mask data-v-e85d3508" bindtap="__e"><swiper class="mask-swiper data-v-e85d3508" current="{{currentIndex}}" circular="{{circular}}" duration="{{duration}}" data-event-opts="{{[['change',[['changeSwiper',['$event']]]]]}}" bindchange="__e"><block wx:for="{{$root.l0}}" wx:for-item="src" wx:for-index="i" wx:key="i"><swiper-item class="flex flex-column justify-center align-center data-v-e85d3508"><image class="mask-swiper-img data-v-e85d3508" src="{{src.$orig.image}}" mode="widthFix"></image><view class="mask_sku data-v-e85d3508"><text class="sku_name data-v-e85d3508">{{src.$orig.suk}}</text><text class="sku_price data-v-e85d3508">{{src.m0+src.$orig.price}}</text></view></swiper-item></block></swiper></view><block wx:if="{{$root.g0>0}}"><view class="pagebox data-v-e85d3508">{{$root.m1+1+" / "+$root.g1}}</view></block></view></block>
|
||||
@ -0,0 +1 @@
|
||||
.previewImg.data-v-e85d3508{position:fixed;top:0;left:0;z-index:300;width:100%;height:100%}.previewImg .mask.data-v-e85d3508{display:flex;justify-content:center;align-items:center;background-color:#000;opacity:1;z-index:8;width:100%;height:100%}.previewImg .mask-swiper.data-v-e85d3508{width:100%;height:100%}.previewImg .mask-swiper-img.data-v-e85d3508{width:100%}.previewImg .pagebox.data-v-e85d3508{position:absolute;width:100%;bottom:20rpx;z-index:300;color:#fff;text-align:center}.mask_sku.data-v-e85d3508{color:#fff;max-width:80%;z-index:300;text-align:center;display:flex;flex-direction:column;align-items:center;margin-top:30rpx}.mask_sku .sku_name.data-v-e85d3508{font-size:12px;border:1px solid #fff;padding:10rpx 30rpx 10rpx;border-radius:40px;box-sizing:border-box}.mask_sku .sku_price.data-v-e85d3508{padding-top:10px}.font12.data-v-e85d3508{font-size:24rpx}.share_btn.data-v-e85d3508{position:absolute;top:70rpx;right:50rpx;font-size:40rpx;color:#fff;z-index:300}.flex-column.data-v-e85d3508{flex-direction:column}.justify-center.data-v-e85d3508{justify-content:center}.align-center.data-v-e85d3508{align-items:center}
|
||||
@ -0,0 +1,10 @@
|
||||
(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["components/cusPreviewImg/swiperPrevie"],{"1b92":function(t,n,e){},4243:function(t,n,e){"use strict";e.d(n,"b",(function(){return r})),e.d(n,"c",(function(){return u})),e.d(n,"a",(function(){}));var r=function(){var t=this.$createElement,n=(this._self._c,this.showBox?this.list.length:null),e=this.showBox&&n>0?Number(this.currentIndex):null,r=this.showBox&&n>0?this.list.length:null;this.$mp.data=Object.assign({},{$root:{g0:n,m0:e,g1:r}})},u=[]},"68bd":function(t,n,e){"use strict";e.r(n);var r=e("8da2"),u=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"]=u.a},"8da2":function(t,n,e){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var r={name:"cusPreviewImg",props:{list:{type:Array,required:!0,default:function(){return[]}},circular:{type:Boolean,default:!0},duration:{type:Number,default:500}},data:function(){return{currentIndex:0,showBox:!1}},watch:{list:function(t){}},methods:{changeSwiper:function(t){this.currentIndex=t.target.current},open:function(t){this.list.length&&(this.currentIndex=t,this.showBox=!0)},close:function(){this.showBox=!1}}};n.default=r},f51c:function(t,n,e){"use strict";var r=e("1b92"),u=e.n(r);u.a},fd5e:function(t,n,e){"use strict";e.r(n);var r=e("4243"),u=e("68bd");for(var i in u)["default"].indexOf(i)<0&&function(t){e.d(n,t,(function(){return u[t]}))}(i);e("f51c");var o=e("f0c5"),c=Object(o["a"])(u["default"],r["b"],r["c"],!1,null,"144b3e80",null,!1,r["a"],void 0);n["default"]=c.exports}}]);
|
||||
;(global["webpackJsonp"] = global["webpackJsonp"] || []).push([
|
||||
'components/cusPreviewImg/swiperPrevie-create-component',
|
||||
{
|
||||
'components/cusPreviewImg/swiperPrevie-create-component':(function(module, exports, __webpack_require__){
|
||||
__webpack_require__('543d')['createComponent'](__webpack_require__("fd5e"))
|
||||
})
|
||||
},
|
||||
[['components/cusPreviewImg/swiperPrevie-create-component']]
|
||||
]);
|
||||
@ -0,0 +1,4 @@
|
||||
{
|
||||
"component": true,
|
||||
"usingComponents": {}
|
||||
}
|
||||
@ -0,0 +1 @@
|
||||
<block wx:if="{{showBox}}"><view data-event-opts="{{[['touchmove',[['',['$event']]]]]}}" class="previewImg data-v-144b3e80" catchtouchmove="__e"><view data-event-opts="{{[['tap',[['close',['$event']]]]]}}" class="mask data-v-144b3e80" bindtap="__e"><swiper class="mask-swiper data-v-144b3e80" current="{{currentIndex}}" circular="{{circular}}" duration="{{duration}}" data-event-opts="{{[['change',[['changeSwiper',['$event']]]]]}}" bindchange="__e"><block wx:for="{{list}}" wx:for-item="src" wx:for-index="i" wx:key="i"><swiper-item class="flex flex-column justify-center align-center data-v-144b3e80"><image class="mask-swiper-img data-v-144b3e80" src="{{src}}" mode="widthFix"></image></swiper-item></block></swiper></view><block wx:if="{{$root.g0>0}}"><view class="pagebox data-v-144b3e80">{{$root.m0+1+" / "+$root.g1}}</view></block></view></block>
|
||||
@ -0,0 +1 @@
|
||||
.previewImg.data-v-144b3e80{position:fixed;top:0;left:0;z-index:300;width:100%;height:100%}.previewImg .mask.data-v-144b3e80{display:flex;justify-content:center;align-items:center;background-color:#000;opacity:1;z-index:8;width:100%;height:100%}.previewImg .mask-swiper.data-v-144b3e80{width:100%;height:100%}.previewImg .mask-swiper-img.data-v-144b3e80{width:100%}.previewImg .pagebox.data-v-144b3e80{position:absolute;width:100%;bottom:20rpx;z-index:300;color:#fff;text-align:center}.mask_sku.data-v-144b3e80{color:#fff;max-width:80%;z-index:300;text-align:center;display:flex;flex-direction:column;align-items:center;margin-top:30rpx}.mask_sku .sku_name.data-v-144b3e80{font-size:12px;border:1px solid #fff;padding:10rpx 30rpx 10rpx;border-radius:40px;box-sizing:border-box}.mask_sku .sku_price.data-v-144b3e80{padding-top:10px}.font12.data-v-144b3e80{font-size:24rpx}.share_btn.data-v-144b3e80{position:absolute;top:70rpx;right:50rpx;font-size:40rpx;color:#fff;z-index:300}.flex-column.data-v-144b3e80{flex-direction:column}.justify-center.data-v-144b3e80{justify-content:center}.align-center.data-v-144b3e80{align-items:center}
|
||||
@ -0,0 +1,10 @@
|
||||
(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["components/easy-loadimage/easy-loadimage"],{"0770":function(t,n,o){"use strict";(function(t){Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var e=o("97a2");function i(){return"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,(function(t){var n=16*Math.random()|0,o="x"==t?n:3&n|8;return o.toString(16)}))}var r={props:{imageSrc:{type:String,default:""},mode:{type:String,default:""},loadingMode:{type:String,default:"looming-gray"},openTransition:{type:Boolean,default:!0},viewHeight:{type:Number,default:function(){return t.getSystemInfoSync().windowHeight}}},data:function(){var n=this;return{uid:"uid-"+i(),loadImg:!1,showImg:!1,isLoadError:!1,showTransition:!1,scrollFn:(0,e.throttle)((function(){if(!n.loadImg&&!n.isLoadError){var o=n.uid,e=t.createSelectorQuery().in(n);e.select("#"+o).boundingClientRect((function(t){t&&t.top-n.viewHeight<0&&(n.loadImg=!!n.imageSrc,n.isLoadError=!n.loadImg)})).exec()}}),200)}},methods:{init:function(){this.$nextTick(this.onScroll)},handleImgLoad:function(t){var n=this;this.showImg=!0,setTimeout((function(){n.showTransition=!0}),50)},handleImgError:function(t){this.isLoadError=!0},onScroll:function(){this.scrollFn()}},mounted:function(){this.init(),t.$on("scroll",this.scrollFn),this.onScroll()},beforeDestroy:function(){t.$off("scroll",this.scrollFn)}};n.default=r}).call(this,o("543d")["default"])},1505:function(t,n,o){"use strict";o.d(n,"b",(function(){return e})),o.d(n,"c",(function(){return i})),o.d(n,"a",(function(){}));var e=function(){var t=this.$createElement;this._self._c},i=[]},"42e4":function(t,n,o){"use strict";o.r(n);var e=o("0770"),i=o.n(e);for(var r in e)["default"].indexOf(r)<0&&function(t){o.d(n,t,(function(){return e[t]}))}(r);n["default"]=i.a},"8faa":function(t,n,o){"use strict";var e=o("c682"),i=o.n(e);i.a},c682:function(t,n,o){},cad3:function(t,n,o){"use strict";o.r(n);var e=o("1505"),i=o("42e4");for(var r in i)["default"].indexOf(r)<0&&function(t){o.d(n,t,(function(){return i[t]}))}(r);o("8faa");var a=o("f0c5"),u=Object(a["a"])(i["default"],e["b"],e["c"],!1,null,"2ba7d904",null,!1,e["a"],void 0);n["default"]=u.exports}}]);
|
||||
;(global["webpackJsonp"] = global["webpackJsonp"] || []).push([
|
||||
'components/easy-loadimage/easy-loadimage-create-component',
|
||||
{
|
||||
'components/easy-loadimage/easy-loadimage-create-component':(function(module, exports, __webpack_require__){
|
||||
__webpack_require__('543d')['createComponent'](__webpack_require__("cad3"))
|
||||
})
|
||||
},
|
||||
[['components/easy-loadimage/easy-loadimage-create-component']]
|
||||
]);
|
||||
@ -0,0 +1,4 @@
|
||||
{
|
||||
"component": true,
|
||||
"usingComponents": {}
|
||||
}
|
||||
@ -0,0 +1 @@
|
||||
<view class="easy-loadimage data-v-2ba7d904" id="{{uid}}"><block wx:if="{{loadImg&&!isLoadError}}"><image hidden="{{!(showImg)}}" class="{{['origin-img','data-v-2ba7d904',(!openTransition)?'no-transition':'',(showTransition&&openTransition)?'show-transition':'']}}" src="{{imageSrc}}" mode data-event-opts="{{[['load',[['handleImgLoad',['$event']]]],['error',[['handleImgError',['$event']]]]]}}" bindload="__e" binderror="__e"></image></block><block wx:else><block wx:if="{{isLoadError}}"><view class="loadfail-img data-v-2ba7d904"></view></block></block><view hidden="{{!(!showImg&&!isLoadError)}}" class="{{['data-v-2ba7d904','loading-img','spin-circle',loadingMode]}}"></view></view>
|
||||
File diff suppressed because one or more lines are too long
@ -0,0 +1,10 @@
|
||||
(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["components/eidtUserModal/index"],{"3dd6":function(t,n,a){"use strict";var i=a("60c7"),e=a.n(i);e.a},"578d":function(t,n,a){"use strict";(function(t){var i=a("4ea4");Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var e=i(a("19b6")),u=(i(a("00e9")),a("d1ea")),s={mixins:[e.default],props:{isShow:{type:Boolean,default:!1}},data:function(){return{defHead:a("0cf0"),mp_is_new:this.$Cache.get("MP_VERSION_ISNEW")||!1,userInfo:{avatar:"",nickname:""},mpData:t.getStorageSync("copyRight"),canvasStatus:!1}},mounted:function(){},methods:{uploadpic:function(){var t=this,n=this;this.canvasStatus=!0,n.$util.uploadImageChange("upload/image",(function(a){var i=n.userInfo;void 0!==i&&(n.userInfo.avatar=a.data.url),t.canvasStatus=!1}),(function(n){t.canvasStatus=!1}),(function(n){t.canvasWidth=n.w,t.canvasHeight=n.h}))},onChooseAvatar:function(t){var n=this,a=t.detail.avatarUrl;this.$util.uploadImgs("upload/image",a,(function(t){n.userInfo.avatar=t.data.url}),(function(t){}))},closeAttr:function(){this.$emit("closeEdit")},formSubmit:function(t){var n=this,a=this;return this.userInfo.avatar?t.detail.value.nickname?(this.userInfo.nickname=t.detail.value.nickname,void(0,u.userEdit)(this.userInfo).then((function(t){return n.$emit("editSuccess"),a.$util.Tips({title:t.msg,icon:"success"},{tab:3})})).catch((function(t){return a.$util.Tips({title:t||a.$t("保存失败")},{tab:3,url:1})}))):a.$util.Tips({title:a.$t("请输入昵称")}):a.$util.Tips({title:a.$t("请上传头像")})}}};n.default=s}).call(this,a("543d")["default"])},"58e7":function(t,n,a){"use strict";a.r(n);var i=a("ee98"),e=a("6842");for(var u in e)["default"].indexOf(u)<0&&function(t){a.d(n,t,(function(){return e[t]}))}(u);a("3dd6"),a("d398");var s=a("f0c5"),o=Object(s["a"])(e["default"],i["b"],i["c"],!1,null,"7192451d",null,!1,i["a"],void 0);n["default"]=o.exports},"60c7":function(t,n,a){},6842:function(t,n,a){"use strict";a.r(n);var i=a("578d"),e=a.n(i);for(var u in i)["default"].indexOf(u)<0&&function(t){a.d(n,t,(function(){return i[t]}))}(u);n["default"]=e.a},bf67:function(t,n,a){},d398:function(t,n,a){"use strict";var i=a("bf67"),e=a.n(i);e.a},ee98:function(t,n,a){"use strict";a.d(n,"b",(function(){return i})),a.d(n,"c",(function(){return e})),a.d(n,"a",(function(){}));var i=function(){var t=this.$createElement,n=(this._self._c,this.$t("获取您的昵称、头像")),a=this.$t("提供具有辨识度的用户中心界面"),i=this.$t("头像"),e=this.$t("昵称"),u=this.$t("请输入昵称"),s=this.$t("保存");this.$mp.data=Object.assign({},{$root:{m0:n,m1:a,m2:i,m3:e,m4:u,m5:s}})},e=[]}}]);
|
||||
;(global["webpackJsonp"] = global["webpackJsonp"] || []).push([
|
||||
'components/eidtUserModal/index-create-component',
|
||||
{
|
||||
'components/eidtUserModal/index-create-component':(function(module, exports, __webpack_require__){
|
||||
__webpack_require__('543d')['createComponent'](__webpack_require__("58e7"))
|
||||
})
|
||||
},
|
||||
[['components/eidtUserModal/index-create-component']]
|
||||
]);
|
||||
@ -0,0 +1,4 @@
|
||||
{
|
||||
"component": true,
|
||||
"usingComponents": {}
|
||||
}
|
||||
@ -0,0 +1 @@
|
||||
<view style="{{(colorStyle)}}" class="data-v-7192451d"><view class="{{['product-window','data-v-7192451d',(isShow)?'on':'']}}"><view data-event-opts="{{[['tap',[['closeAttr',['$event']]]]]}}" class="iconfont icon-guanbi data-v-7192451d" bindtap="__e"></view><view class="mp-data data-v-7192451d"><image src="{{mpData.siteLogo}}" mode class="data-v-7192451d"></image><text class="mp-name data-v-7192451d">{{mpData.siteName+" 申请"}}</text></view><view class="trip-msg data-v-7192451d"><view class="title data-v-7192451d">{{''+$root.m0+''}}</view><view class="trip data-v-7192451d">{{''+$root.m1+''}}</view></view><form data-event-opts="{{[['submit',[['formSubmit',['$event']]]]]}}" bindsubmit="__e" class="data-v-7192451d"><view class="edit data-v-7192451d"><view class="avatar edit-box data-v-7192451d"><view class="left data-v-7192451d"><view class="head data-v-7192451d">{{$root.m2}}</view><block wx:if="{{!mp_is_new}}"><view data-event-opts="{{[['tap',[['uploadpic',['$event']]]]]}}" class="avatar-box data-v-7192451d" catchtap="__e"><image src="{{userInfo.avatar||defHead}}" class="data-v-7192451d"></image></view></block><block wx:else><button class="avatar-box data-v-7192451d" open-type="chooseAvatar" data-event-opts="{{[['chooseavatar',[['onChooseAvatar',['$event']]]]]}}" bindchooseavatar="__e"><image src="{{userInfo.avatar||defHead}}" class="data-v-7192451d"></image></button></block></view></view><view class="nickname edit-box data-v-7192451d"><view class="left data-v-7192451d"><view class="head data-v-7192451d">{{$root.m3}}</view><view class="input data-v-7192451d"><input type="nickname" placeholder-class="pl-sty" placeholder="{{$root.m4}}" name="nickname" maxlength="{{16}}" value="{{userInfo.nickname}}" class="data-v-7192451d"/></view></view></view></view><view class="bottom data-v-7192451d"><button class="{{['save','data-v-7192451d',(userInfo.avatar)?'open':'']}}" formType="submit">{{''+$root.m5+''}}</button></view></form></view><block wx:if="{{canvasStatus}}"><canvas style="{{'width:'+(canvasWidth+'px')+';'+('height:'+(canvasHeight+'px')+';')+('position:'+('absolute')+';')+('left:'+('-100000px')+';')+('top:'+('-100000px')+';')}}" canvas-id="canvas" class="data-v-7192451d"></canvas></block><block wx:if="{{isShow}}"><view data-event-opts="{{[['touchmove',[['',['$event']]]],['tap',[['closeAttr',['$event']]]]]}}" class="mask data-v-7192451d" bindtouchmove="__e" bindtap="__e"></view></block></view>
|
||||
@ -0,0 +1 @@
|
||||
.pl-sty{color:#999;font-size:30rpx}.product-window.on.data-v-7192451d{-webkit-transform:translateZ(0);transform:translateZ(0)}.mask.data-v-7192451d{z-index:99}.product-window.data-v-7192451d{position:fixed;bottom:0;width:100%;left:0;background-color:#fff;z-index:1000;border-radius:20rpx 20rpx 0 0;-webkit-transform:translate3d(0,100%,0);transform:translate3d(0,100%,0);transition:all .3s cubic-bezier(.25,.5,.5,.9);padding:38rpx 40rpx;padding-bottom:80rpx;padding-bottom:calc(80rpx+ constant(safe-area-inset-bottom));padding-bottom:calc(80rpx + env(safe-area-inset-bottom))}.product-window .icon-guanbi.data-v-7192451d{position:absolute;top:40rpx;right:40rpx;font-size:24rpx;font-weight:700;color:#999}.product-window .mp-data.data-v-7192451d{display:flex;align-items:center;margin-bottom:30rpx}.product-window .mp-data .mp-name.data-v-7192451d{font-size:28rpx;font-weight:700;color:#000}.product-window .mp-data image.data-v-7192451d{width:48rpx;height:48rpx;border-radius:50%;margin-right:16rpx}.product-window .trip-msg.data-v-7192451d{padding-bottom:32rpx;border-bottom:1px solid #f5f5f5}.product-window .trip-msg .title.data-v-7192451d{font-size:30rpx;font-weight:700;color:#000;margin-bottom:6rpx}.product-window .trip-msg .trip.data-v-7192451d{font-size:26rpx;color:#777}.product-window .edit.data-v-7192451d{border-bottom:1px solid #f5f5f5}.product-window .edit .avatar.data-v-7192451d{border-bottom:1px solid #f5f5f5}.product-window .edit .nickname .input.data-v-7192451d{width:100%}.product-window .edit .nickname input.data-v-7192451d{height:80rpx}.product-window .edit .edit-box.data-v-7192451d{display:flex;justify-content:space-between;align-items:center;font-size:30rpx;padding:22rpx 0}.product-window .edit .edit-box .left.data-v-7192451d{display:flex;align-items:center;flex:1}.product-window .edit .edit-box .left .head.data-v-7192451d{color:rgba(0,0,0,.9);white-space:nowrap;margin-right:60rpx}.product-window .edit .edit-box .left button.data-v-7192451d{flex:1;display:flex;align-items:center}.product-window .edit .edit-box image.data-v-7192451d{width:80rpx;height:80rpx;border-radius:6rpx}.product-window .edit .icon-xiangyou.data-v-7192451d{color:#cfcfcf}.product-window .bottom.data-v-7192451d{display:flex;align-items:center;justify-content:center}.product-window .bottom .save.data-v-7192451d{border:1px solid #f5f5f5;display:flex;align-items:center;justify-content:center;width:368rpx;height:80rpx;border-radius:12rpx;margin-top:52rpx;background-color:#f5f5f5;color:#ccc;font-size:30rpx;font-weight:700}.product-window .bottom .save.open.data-v-7192451d{border:1px solid #fff;background-color:#07c160;color:#fff}
|
||||
10
crmeb/public/statics/mp_view/components/emptyPage.js
Normal file
10
crmeb/public/statics/mp_view/components/emptyPage.js
Normal file
@ -0,0 +1,10 @@
|
||||
(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["components/emptyPage"],{"2f32":function(t,n,e){"use strict";e.d(n,"b",(function(){return a})),e.d(n,"c",(function(){return u})),e.d(n,"a",(function(){}));var a=function(){var t=this.$createElement,n=(this._self._c,this.title||this.$t("暂无记录"));this.$mp.data=Object.assign({},{$root:{m0:n}})},u=[]},"42ff":function(t,n,e){"use strict";e.r(n);var a=e("2f32"),u=e("59a7");for(var i in u)["default"].indexOf(i)<0&&function(t){e.d(n,t,(function(){return u[t]}))}(i);e("45a3");var f=e("f0c5"),r=Object(f["a"])(u["default"],a["b"],a["c"],!1,null,null,null,!1,a["a"],void 0);n["default"]=r.exports},"45a3":function(t,n,e){"use strict";var a=e("b0b3"),u=e.n(a);u.a},"59a7":function(t,n,e){"use strict";e.r(n);var a=e("f501"),u=e.n(a);for(var i in a)["default"].indexOf(i)<0&&function(t){e.d(n,t,(function(){return a[t]}))}(i);n["default"]=u.a},b0b3:function(t,n,e){},f501:function(t,n,e){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var a=e("00a0"),u={props:{title:{type:String,default:""}},data:function(){return{imgHost:a.HTTP_REQUEST_URL}}};n.default=u}}]);
|
||||
;(global["webpackJsonp"] = global["webpackJsonp"] || []).push([
|
||||
'components/emptyPage-create-component',
|
||||
{
|
||||
'components/emptyPage-create-component':(function(module, exports, __webpack_require__){
|
||||
__webpack_require__('543d')['createComponent'](__webpack_require__("42ff"))
|
||||
})
|
||||
},
|
||||
[['components/emptyPage-create-component']]
|
||||
]);
|
||||
4
crmeb/public/statics/mp_view/components/emptyPage.json
Normal file
4
crmeb/public/statics/mp_view/components/emptyPage.json
Normal file
@ -0,0 +1,4 @@
|
||||
{
|
||||
"component": true,
|
||||
"usingComponents": {}
|
||||
}
|
||||
1
crmeb/public/statics/mp_view/components/emptyPage.wxml
Normal file
1
crmeb/public/statics/mp_view/components/emptyPage.wxml
Normal file
@ -0,0 +1 @@
|
||||
<view class="empty-box"><image src="{{imgHost+'/statics/images/empty-box.png'}}"></image><view class="txt">{{$root.m0}}</view></view>
|
||||
1
crmeb/public/statics/mp_view/components/emptyPage.wxss
Normal file
1
crmeb/public/statics/mp_view/components/emptyPage.wxss
Normal file
@ -0,0 +1 @@
|
||||
.empty-box{display:flex;flex-direction:column;justify-content:center;align-items:center;margin-top:200rpx}.empty-box image{width:414rpx;height:240rpx}.empty-box .txt{font-size:26rpx;color:#999}
|
||||
10
crmeb/public/statics/mp_view/components/goodClass/index.js
Normal file
10
crmeb/public/statics/mp_view/components/goodClass/index.js
Normal file
@ -0,0 +1,10 @@
|
||||
(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["components/goodClass/index"],{1293:function(t,n,i){"use strict";i.r(n);var e=i("e526"),a=i.n(e);for(var u in e)["default"].indexOf(u)<0&&function(t){i.d(n,t,(function(){return e[t]}))}(u);n["default"]=a.a},3267:function(t,n,i){"use strict";i.r(n);var e=i("465f"),a=i("1293");for(var u in a)["default"].indexOf(u)<0&&function(t){i.d(n,t,(function(){return a[t]}))}(u);i("fcf7");var o=i("f0c5"),c=Object(o["a"])(a["default"],e["b"],e["c"],!1,null,null,null,!1,e["a"],void 0);n["default"]=c.exports},"465f":function(t,n,i){"use strict";i.d(n,"b",(function(){return e})),i.d(n,"c",(function(){return a})),i.d(n,"a",(function(){}));var e=function(){var t=this,n=t.$createElement,i=(t._self._c,t.$t("¥")),e=t.__map(t.tempArr,(function(n,i){var e=t.__get_orig(n),a=n.activity&&"1"===n.activity.type?t.$t("秒杀"):null,u=n.activity&&"2"===n.activity.type?t.$t("砍价"):null,o=n.activity&&"3"===n.activity.type?t.$t("拼团"):null,c=n.stock>0&&(!n.activity||"1"!==n.activity.type&&"2"!==n.activity.type&&"3"!==n.activity.type)&&n.spec_type?t.$t("选规格"):null,r=n.stock>0?null:t.$t("已售罄");return{$orig:e,m0:a,m1:u,m2:o,m4:c,m5:r}}));t.$mp.data=Object.assign({},{$root:{m3:i,l0:e}})},a=[]},e526:function(t,n,i){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var e={name:"d_goodList",props:{dataConfig:{type:Object,default:function(){}},tempArr:{type:Array,default:[]},isLogin:{type:Boolean,default:!1}},data:function(){return{addIng:!1}},created:function(){},mounted:function(){},methods:{goDetail:function(t){this.$emit("detail",t)},goCartDuo:function(t){this.$emit("gocartduo",t)},goCartDan:function(t,n){this.$emit("gocartdan",t,n)},CartNumDes:function(t,n){this.addIng||(this.addIng=!0,this.$emit("ChangeCartNumDan",!1,t,n))},CartNumAdd:function(t,n){this.addIng||(this.addIng=!0,this.$emit("ChangeCartNumDan",!0,t,n))}}};n.default=e},ee17:function(t,n,i){},fcf7:function(t,n,i){"use strict";var e=i("ee17"),a=i.n(e);a.a}}]);
|
||||
;(global["webpackJsonp"] = global["webpackJsonp"] || []).push([
|
||||
'components/goodClass/index-create-component',
|
||||
{
|
||||
'components/goodClass/index-create-component':(function(module, exports, __webpack_require__){
|
||||
__webpack_require__('543d')['createComponent'](__webpack_require__("3267"))
|
||||
})
|
||||
},
|
||||
[['components/goodClass/index-create-component']]
|
||||
]);
|
||||
@ -0,0 +1,4 @@
|
||||
{
|
||||
"usingComponents": {},
|
||||
"component": true
|
||||
}
|
||||
@ -0,0 +1 @@
|
||||
<view class="goodsList"><block wx:for="{{$root.l0}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view data-event-opts="{{[['tap',[['goDetail',['$0'],[[['tempArr','',index]]]]]]]}}" class="item acea-row row-between-wrapper" bindtap="__e"><view class="pictrue"><block wx:if="{{item.$orig.activity&&item.$orig.activity.type==='1'}}"><label class="pictrue_log pictrue_log_class _span">{{item.m0}}</label></block><block wx:if="{{item.$orig.activity&&item.$orig.activity.type==='2'}}"><label class="pictrue_log pictrue_log_class _span">{{item.m1}}</label></block><block wx:if="{{item.$orig.activity&&item.$orig.activity.type==='3'}}"><label class="pictrue_log pictrue_log_class _span">{{item.m2}}</label></block><image src="{{item.$orig.image}}" mode></image></view><view class="pictxt"><view class="text line2">{{item.$orig.store_name}}</view><view class="bottom acea-row row-between-wrapper"><view class="money font-color"><text class="sign">{{$root.m3}}</text>{{item.$orig.price+''}}</view><block wx:if="{{item.$orig.stock>0}}"><view><block wx:if="{{item.$orig.activity&&(item.$orig.activity.type==='1'||item.$orig.activity.type==='2'||item.$orig.activity.type==='3')}}"><view class="iconfont icon-gouwuche6 acea-row row-center-wrapper"></view></block><block wx:else><view><block wx:if="{{item.$orig.spec_type}}"><view data-event-opts="{{[['tap',[['goCartDuo',['$0'],[[['tempArr','',index]]]]]]]}}" class="bnt acea-row row-center-wrapper" catchtap="__e">{{''+item.m4+''}}<block wx:if="{{isLogin&&item.$orig.cart_num}}"><text class="num">{{item.$orig.cart_num}}</text></block></view></block><block wx:if="{{!item.$orig.spec_type&&!item.$orig.cart_num}}"><view data-event-opts="{{[['tap',[['goCartDan',['$0',index],[[['tempArr','',index]]]]]]]}}" class="iconfont icon-gouwuche6 acea-row row-center-wrapper" catchtap="__e"></view></block><block wx:if="{{!item.$orig.spec_type&&item.$orig.cart_num}}"><view class="cart acea-row row-middle"><view data-event-opts="{{[['tap',[['CartNumDes',[index,'$0'],[[['tempArr','',index]]]]]]]}}" class="pictrue iconfont icon-jianhao acea-row row-center-wrapper" catchtap="__e"></view><view class="num">{{item.$orig.cart_num}}</view><view data-event-opts="{{[['tap',[['CartNumAdd',[index,'$0'],[[['tempArr','',index]]]]]]]}}" class="pictrue iconfont icon-jiahao acea-row row-center-wrapper" catchtap="__e"></view></view></block></view></block></view></block><block wx:else><view class="bnt acea-row row-center-wrapper end">{{item.m5}}</view></block></view></view></view></block></view>
|
||||
@ -0,0 +1 @@
|
||||
.goodsList{padding:0 30rpx}.goodsList .item{width:100%;box-sizing:border-box;margin-bottom:63rpx}.goodsList .item .pictrue{width:140rpx;height:140rpx;border-radius:10rpx;position:relative;border-radius:22rpx}.goodsList .item .pictrue image{width:100%;height:100%;border-radius:22rpx}.goodsList .item .pictxt{width:372rpx}.goodsList .item .pictxt .text{font-size:26rpx;font-family:PingFang SC;font-weight:500;color:#333}.goodsList .item .pictxt .bottom{margin-top:22rpx}.goodsList .item .pictxt .bottom .money{font-size:34rpx;font-weight:800}.goodsList .item .pictxt .bottom .money .sign{font-size:24rpx}.goodsList .item .pictxt .bottom .money .y_money{font-size:20rpx;color:#999;margin-left:14rpx;font-weight:400;text-decoration:line-through}.goodsList .item .pictxt .bottom .money .vip{font-size:22rpx;color:#333;font-weight:400;margin-left:14rpx}.goodsList .item .pictxt .bottom .money .vip image{width:38rpx;height:18rpx;margin-right:6rpx}.goodsList .item .pictxt .bottom .cart{height:46rpx}.goodsList .item .pictxt .bottom .cart .pictrue{color:var(--view-theme);font-size:46rpx;width:46rpx;height:46rpx;text-align:center;line-height:46rpx}.goodsList .item .pictxt .bottom .cart .pictrue.icon-jiahao{color:var(--view-theme)}.goodsList .item .pictxt .bottom .cart .num{font-size:30rpx;color:#333;font-weight:700;width:60rpx;text-align:center}.goodsList .item .pictxt .bottom .icon-gouwuche6{width:46rpx;height:46rpx;background-color:var(--view-theme);border-radius:50%;color:#fff;font-size:30rpx}.goodsList .item .pictxt .bottom .bnt{padding:0 20rpx;height:45rpx;background:var(--view-theme);border-radius:23rpx;font-size:22rpx;color:#fff;position:relative}.goodsList .item .pictxt .bottom .bnt.end{background:#ccc}.goodsList .item .pictxt .bottom .bnt .num{min-width:14rpx;background-color:#fff;color:var(--view-theme);border-radius:15px;position:absolute;right:-13rpx;top:-11rpx;font-size:16rpx;padding:0 10rpx;border:1px solid var(--view-theme)}
|
||||
10
crmeb/public/statics/mp_view/components/goodList/index.js
Normal file
10
crmeb/public/statics/mp_view/components/goodList/index.js
Normal file
@ -0,0 +1,10 @@
|
||||
(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["components/goodList/index"],{"1d67":function(t,i,e){"use strict";var n=e("ede0"),a=e.n(n);a.a},"6dda":function(t,i,e){"use strict";e.d(i,"b",(function(){return n})),e.d(i,"c",(function(){return a})),e.d(i,"a",(function(){}));var n=function(){var t=this,i=t.$createElement,e=(t._self._c,t.$t("¥")),n=t.__map(t.bastList,(function(i,e){var n=t.__get_orig(i),a=i.activity&&"1"===i.activity.type?t.$t("秒杀"):null,u=i.activity&&"2"===i.activity.type?t.$t("砍价"):null,c=i.activity&&"3"===i.activity.type?t.$t("拼团"):null,r=i.is_vip&&i.vip_price&&i.vip_price>0?t.$t("¥"):null,o=i.is_vip&&i.vip_price&&i.vip_price>0?t.$t("已售"):null,d=i.is_vip&&i.vip_price&&i.vip_price>0?t.$t(i.unit_name):null,p=i.is_vip&&i.vip_price&&i.vip_price>0?null:t.$t("已售"),l=i.is_vip&&i.vip_price&&i.vip_price>0?null:t.$t(i.unit_name);return{$orig:n,m0:a,m1:u,m2:c,m4:r,m5:o,m6:d,m7:p,m8:l}}));t.$mp.data=Object.assign({},{$root:{m3:e,l0:n}})},a=[]},"6ea4":function(t,i,e){"use strict";(function(t){Object.defineProperty(i,"__esModule",{value:!0}),i.default=void 0;var n=e("26cb"),a=e("6557"),u={computed:(0,n.mapGetters)(["uid"]),props:{status:{type:Number,default:0},bastList:{type:Array,default:function(){return[]}}},data:function(){return{}},methods:{goDetail:function(i){var e=this;(0,a.goPage)().then((function(n){(0,a.goShopDetail)(i,e.uid).then((function(e){t.navigateTo({url:"/pages/goods_details/index?id=".concat(i.id)})}))}))}}};i.default=u}).call(this,e("543d")["default"])},d47f:function(t,i,e){"use strict";e.r(i);var n=e("6dda"),a=e("ed1d");for(var u in a)["default"].indexOf(u)<0&&function(t){e.d(i,t,(function(){return a[t]}))}(u);e("1d67");var c=e("f0c5"),r=Object(c["a"])(a["default"],n["b"],n["c"],!1,null,"6786e958",null,!1,n["a"],void 0);i["default"]=r.exports},ed1d:function(t,i,e){"use strict";e.r(i);var n=e("6ea4"),a=e.n(n);for(var u in n)["default"].indexOf(u)<0&&function(t){e.d(i,t,(function(){return n[t]}))}(u);i["default"]=a.a},ede0:function(t,i,e){}}]);
|
||||
;(global["webpackJsonp"] = global["webpackJsonp"] || []).push([
|
||||
'components/goodList/index-create-component',
|
||||
{
|
||||
'components/goodList/index-create-component':(function(module, exports, __webpack_require__){
|
||||
__webpack_require__('543d')['createComponent'](__webpack_require__("d47f"))
|
||||
})
|
||||
},
|
||||
[['components/goodList/index-create-component']]
|
||||
]);
|
||||
@ -0,0 +1,4 @@
|
||||
{
|
||||
"component": true,
|
||||
"usingComponents": {}
|
||||
}
|
||||
@ -0,0 +1 @@
|
||||
<view class="goodList data-v-6786e958"><scroll-view style="height:100%;" scroll-y="true" scroll-with-animation="true" class="data-v-6786e958"><block wx:for="{{$root.l0}}" wx:for-item="item" wx:for-index="index" wx:key="index"><block class="data-v-6786e958"><view class="item acea-row row-between-wrapper data-v-6786e958" hover-class="none" data-event-opts="{{[['tap',[['goDetail',['$0'],[[['bastList','',index]]]]]]]}}" bindtap="__e"><view class="pictrue data-v-6786e958"><image src="{{item.$orig.image}}" class="data-v-6786e958"></image><block wx:if="{{item.$orig.activity&&item.$orig.activity.type==='1'}}"><label class="pictrue_log pictrue_log_class _span data-v-6786e958">{{item.m0}}</label></block><block wx:if="{{item.$orig.activity&&item.$orig.activity.type==='2'}}"><label class="pictrue_log pictrue_log_class _span data-v-6786e958">{{item.m1}}</label></block><block wx:if="{{item.$orig.activity&&item.$orig.activity.type==='3'}}"><label class="pictrue_log pictrue_log_class _span data-v-6786e958">{{item.m2}}</label></block></view><view class="underline data-v-6786e958"><view class="text data-v-6786e958"><view class="line1 data-v-6786e958">{{item.$orig.store_name}}</view><view class="money font-color data-v-6786e958">{{$root.m3}}<text class="num data-v-6786e958">{{item.$orig.price}}</text></view><block wx:if="{{item.$orig.is_vip&&item.$orig.vip_price&&item.$orig.vip_price>0}}"><view class="vip-money acea-row row-middle data-v-6786e958">{{''+item.m4+(item.$orig.vip_price||0)+''}}<image src="../../static/images/vip.png" class="data-v-6786e958"></image><text class="num data-v-6786e958">{{''+item.m5+item.$orig.sales+item.m6}}</text></view></block><block wx:else><view class="vip-money acea-row row-middle data-v-6786e958"><text class="num data-v-6786e958">{{''+item.m7+item.$orig.sales+item.m8}}</text></view></block></view></view></view></block></block></scroll-view></view>
|
||||
@ -0,0 +1 @@
|
||||
.goodList .item.data-v-6786e958{position:relative;padding-left:30rpx}.goodList .item .pictrue.data-v-6786e958{width:180rpx;height:180rpx;position:relative}.goodList .item .pictrue image.data-v-6786e958{width:100%;height:100%;border-radius:20rpx}.goodList .item .pictrue .numPic.data-v-6786e958{position:absolute;left:7rpx;top:7rpx;width:40rpx;height:40rpx;border-radius:50%}.goodList .item .underline.data-v-6786e958{padding:30rpx 30rpx 30rpx 0;border-bottom:1px solid #f5f5f5}.goodList .item:nth-last-child(1) .underline.data-v-6786e958{border-bottom:0}.goodList .item .text.data-v-6786e958{font-size:30rpx;color:#222;width:489rpx}.goodList .item .text .money.data-v-6786e958{font-size:26rpx;font-weight:700;margin-top:50rpx}.goodList .item .text .money .num.data-v-6786e958{font-size:34rpx}.goodList .item .text .vip-money.data-v-6786e958{font-size:24rpx;color:#282828;font-weight:700;margin-top:15rpx}.goodList .item .text .vip-money image.data-v-6786e958{width:64rpx;height:26rpx;margin-right:8rpx;margin-left:8rpx}.goodList .item .text .vip-money .num.data-v-6786e958{font-size:22rpx;color:#aaa;font-weight:400;margin-top:-2rpx;white-space:nowrap}.goodList .item .text .vip-money .num text.data-v-6786e958{white-space:nowrap}.goodList .item .text .vip-money .num ~ .num.data-v-6786e958{margin-left:22rpx}.goodList .item .iconfont.data-v-6786e958{position:absolute;right:30rpx;width:50rpx;height:50rpx;border-radius:50%;font-size:30rpx;bottom:38rpx}
|
||||
10
crmeb/public/statics/mp_view/components/guide/index.js
Normal file
10
crmeb/public/statics/mp_view/components/guide/index.js
Normal file
@ -0,0 +1,10 @@
|
||||
(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["components/guide/index"],{"2bad":function(t,e,n){"use strict";(function(t){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n={data:function(){return{autoplay:!0,duration:500,jumpover:this.$t("跳过"),experience:this.$t("立即体验"),timecount:void 0,times:0}},props:{advData:{type:Object,default:function(){}},closeType:{type:Number,default:1}},mounted:function(){this.timer()},onHide:function(){clearInterval(this.timecount)},methods:{timer:function(){var t=this;this.times=this.advData.time;var e=this.advData.time||5;this.timecount=setInterval((function(){e--,t.times=e,e<=0&&(clearInterval(t.timecount),t.launchFlag())}),1e3)},launchFlag:function(){clearInterval(this.timecount),t.switchTab({url:"/pages/index/index"})},jump:function(t){t&&(clearInterval(this.timecount),this.$util.JumpPath(t))}}};e.default=n}).call(this,n("543d")["default"])},8770:function(t,e,n){"use strict";n.d(e,"b",(function(){return i})),n.d(e,"c",(function(){return a})),n.d(e,"a",(function(){}));var i=function(){var t=this.$createElement,e=(this._self._c,"pic"==this.advData.type&&this.advData.value.length),n=this.$t("跳过");this.$mp.data=Object.assign({},{$root:{g0:e,m0:n}})},a=[]},8924:function(t,e,n){"use strict";n.r(e);var i=n("2bad"),a=n.n(i);for(var u in i)["default"].indexOf(u)<0&&function(t){n.d(e,t,(function(){return i[t]}))}(u);e["default"]=a.a},c89b:function(t,e,n){"use strict";n.r(e);var i=n("8770"),a=n("8924");for(var u in a)["default"].indexOf(u)<0&&function(t){n.d(e,t,(function(){return a[t]}))}(u);n("ff88");var c=n("f0c5"),o=Object(c["a"])(a["default"],i["b"],i["c"],!1,null,"d7e1df8a",null,!1,i["a"],void 0);e["default"]=o.exports},cb2b:function(t,e,n){},ff88:function(t,e,n){"use strict";var i=n("cb2b"),a=n.n(i);a.a}}]);
|
||||
;(global["webpackJsonp"] = global["webpackJsonp"] || []).push([
|
||||
'components/guide/index-create-component',
|
||||
{
|
||||
'components/guide/index-create-component':(function(module, exports, __webpack_require__){
|
||||
__webpack_require__('543d')['createComponent'](__webpack_require__("c89b"))
|
||||
})
|
||||
},
|
||||
[['components/guide/index-create-component']]
|
||||
]);
|
||||
4
crmeb/public/statics/mp_view/components/guide/index.json
Normal file
4
crmeb/public/statics/mp_view/components/guide/index.json
Normal file
@ -0,0 +1,4 @@
|
||||
{
|
||||
"component": true,
|
||||
"usingComponents": {}
|
||||
}
|
||||
1
crmeb/public/statics/mp_view/components/guide/index.wxml
Normal file
1
crmeb/public/statics/mp_view/components/guide/index.wxml
Normal file
@ -0,0 +1 @@
|
||||
<view class="content data-v-d7e1df8a"><block wx:if="{{$root.g0}}"><swiper class="swiper data-v-d7e1df8a" autoplay="{{autoplay}}" indicator-dots="true" indicator-color="rgba(255,255,255,0.6)" duration="{{duration}}"><block wx:for="{{advData.value}}" wx:for-item="item" wx:for-index="index" wx:key="index"><swiper-item data-event-opts="{{[['tap',[['jump',['$0'],[[['advData.value','',index,'link']]]]]]]}}" bindtap="__e" class="data-v-d7e1df8a"><view class="swiper-item data-v-d7e1df8a"><view class="swiper-item-img data-v-d7e1df8a"><image src="{{item.img}}" mode="scaleToFill" class="data-v-d7e1df8a"></image></view></view></swiper-item></block></swiper></block><block wx:else><block wx:if="{{advData.type=='video'&&advData.video_link}}"><view class="video-box data-v-d7e1df8a"><video class="vid data-v-d7e1df8a" src="{{advData.video_link}}" autoplay="{{true}}" loop="{{true}}" controls="{{false}}" muted="{{true}}"></video></view></block></block><view data-event-opts="{{[['tap',[['launchFlag']]]]}}" class="jump-over data-v-d7e1df8a" catchtap="__e">{{$root.m0}}<block wx:if="{{closeType==1}}"><text class="data-v-d7e1df8a">{{times}}</text></block></view></view>
|
||||
2
crmeb/public/statics/mp_view/components/guide/index.wxss
Normal file
2
crmeb/public/statics/mp_view/components/guide/index.wxss
Normal file
@ -0,0 +1,2 @@
|
||||
page.data-v-d7e1df8a,
|
||||
.content.data-v-d7e1df8a{width:100%;height:100%;background-size:100% auto;padding:0}.swiper.data-v-d7e1df8a{width:100%;height:100vh;background:#fff}.swiper-item.data-v-d7e1df8a{width:100%;height:100%;text-align:center;position:relative;display:flex;align-items:flex-end;flex-direction:column-reverse}.swiper-item-img.data-v-d7e1df8a{width:100%;height:100vh;margin:0 auto}.swiper-item-img image.data-v-d7e1df8a{width:100%;height:100%}.jump-over.data-v-d7e1df8a{position:absolute;height:45rpx;line-height:45rpx;padding:0 15rpx;border-radius:30rpx;font-size:24rpx;color:#b09e9a;border:1px solid #b09e9a;z-index:999}.jump-over.data-v-d7e1df8a{right:30rpx;top:80rpx}.video-box.data-v-d7e1df8a{width:100vw;height:100vh}.video-box .vid.data-v-d7e1df8a{width:100%;height:100%}
|
||||
10
crmeb/public/statics/mp_view/components/home/index.js
Normal file
10
crmeb/public/statics/mp_view/components/home/index.js
Normal file
@ -0,0 +1,10 @@
|
||||
(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["components/home/index"],{"3b71":function(t,e,n){"use strict";n.r(e);var o=n("5380"),c=n("7b1bf");for(var i in c)["default"].indexOf(i)<0&&function(t){n.d(e,t,(function(){return c[t]}))}(i);n("502f");var u=n("f0c5"),r=Object(u["a"])(c["default"],o["b"],o["c"],!1,null,"c449f946",null,!1,o["a"],void 0);e["default"]=r.exports},"502f":function(t,e,n){"use strict";var o=n("a0ce"),c=n.n(o);c.a},5380:function(t,e,n){"use strict";n.d(e,"b",(function(){return o})),n.d(e,"c",(function(){return c})),n.d(e,"a",(function(){}));var o=function(){var t=this.$createElement;this._self._c},c=[]},"7b1bf":function(t,e,n){"use strict";n.r(e);var o=n("d154"),c=n.n(o);for(var i in o)["default"].indexOf(i)<0&&function(t){n.d(e,t,(function(){return o[t]}))}(i);e["default"]=c.a},a0ce:function(t,e,n){},d154:function(t,e,n){"use strict";var o=n("4ea4");Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var c=n("26cb"),i=o(n("19b6")),u=n("00a0"),r={name:"Home",props:{},mixins:[i.default],data:function(){return{top:"545",imgHost:u.HTTP_REQUEST_URL}},computed:(0,c.mapGetters)(["homeActive"]),methods:{setTouchMove:function(t){t.touches[0].clientY<545&&t.touches[0].clientY>66&&(this.top=t.touches[0].clientY)},open:function(){this.homeActive?this.$store.commit("CLOSE_HOME"):this.$store.commit("OPEN_HOME")}},created:function(){},beforeDestroy:function(){this.$store.commit("CLOSE_HOME")}};e.default=r}}]);
|
||||
;(global["webpackJsonp"] = global["webpackJsonp"] || []).push([
|
||||
'components/home/index-create-component',
|
||||
{
|
||||
'components/home/index-create-component':(function(module, exports, __webpack_require__){
|
||||
__webpack_require__('543d')['createComponent'](__webpack_require__("3b71"))
|
||||
})
|
||||
},
|
||||
[['components/home/index-create-component']]
|
||||
]);
|
||||
4
crmeb/public/statics/mp_view/components/home/index.json
Normal file
4
crmeb/public/statics/mp_view/components/home/index.json
Normal file
@ -0,0 +1,4 @@
|
||||
{
|
||||
"component": true,
|
||||
"usingComponents": {}
|
||||
}
|
||||
1
crmeb/public/statics/mp_view/components/home/index.wxml
Normal file
1
crmeb/public/statics/mp_view/components/home/index.wxml
Normal file
@ -0,0 +1 @@
|
||||
<view style="{{(colorStyle)}}" class="data-v-c449f946"><view style="touch-action:none;" class="data-v-c449f946"><view class="home data-v-c449f946" style="{{'position:fixed;'+('top:'+(top+'px')+';')}}" id="right-nav" data-event-opts="{{[['touchmove',[['setTouchMove',['$event']]]]]}}" catchtouchmove="__e"><block wx:if="{{homeActive}}"><view class="{{['homeCon','bg-color','data-v-c449f946',homeActive===true?'on':'']}}"><navigator class="iconfont icon-shouye-xianxing data-v-c449f946" hover-class="none" open-type="switchTab" url="/pages/index/index"></navigator><navigator class="iconfont icon-caigou-xianxing data-v-c449f946" hover-class="none" open-type="switchTab" url="/pages/order_addcart/order_addcart"></navigator><navigator class="iconfont icon-yonghu1 data-v-c449f946" hover-class="none" open-type="switchTab" url="/pages/user/index"></navigator></view></block><view data-event-opts="{{[['tap',[['open',['$event']]]]]}}" class="pictrueBox data-v-c449f946" bindtap="__e"><view class="pictrue data-v-c449f946"><image class="image data-v-c449f946" src="{{homeActive===true?imgHost+'/statics/images/close.gif':imgHost+'/statics/images/open.gif'}}"></image></view></view></view></view></view>
|
||||
1
crmeb/public/statics/mp_view/components/home/index.wxss
Normal file
1
crmeb/public/statics/mp_view/components/home/index.wxss
Normal file
@ -0,0 +1 @@
|
||||
.pictrueBox.data-v-c449f946{width:130rpx;height:120rpx}.home.data-v-c449f946{position:fixed;color:#fff;text-align:center;z-index:999;right:15rpx;display:flex}.home .homeCon.data-v-c449f946{border-radius:50rpx;opacity:0;height:0;color:var(--view-theme);width:0}.home .homeCon.on.data-v-c449f946{opacity:1;-webkit-animation:bounceInRight .5s cubic-bezier(.215,.61,.355,1);animation:bounceInRight .5s cubic-bezier(.215,.61,.355,1);width:300rpx;height:86rpx;margin-bottom:20rpx;display:flex;justify-content:center;align-items:center;background:var(--view-theme)!important;opacity:.8;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px)}.home .homeCon .iconfont.data-v-c449f946{font-size:48rpx;color:#fff;display:inline-block;margin:0 auto}.home .pictrue.data-v-c449f946{width:86rpx;height:86rpx;border-radius:50%;margin:0 auto;background-color:var(--view-theme)}.home .pictrue .image.data-v-c449f946{width:100%;height:100%;border-radius:50%;-webkit-transform:rotate(90deg);transform:rotate(90deg);ms-transform:rotate(90deg);moz-transform:rotate(90deg);webkit-transform:rotate(90deg);o-transform:rotate(90deg)}
|
||||
10
crmeb/public/statics/mp_view/components/homeList/index.js
Normal file
10
crmeb/public/statics/mp_view/components/homeList/index.js
Normal file
@ -0,0 +1,10 @@
|
||||
(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["components/homeList/index"],{"3d2e":function(e,t,n){"use strict";n.r(t);var a=n("9da2"),o=n("f2df");for(var r in o)["default"].indexOf(r)<0&&function(e){n.d(t,e,(function(){return o[e]}))}(r);n("c927");var i=n("f0c5"),u=Object(i["a"])(o["default"],a["b"],a["c"],!1,null,"32376923",null,!1,a["a"],void 0);t["default"]=u.exports},7510:function(e,t,n){},"9da2":function(e,t,n){"use strict";n.d(t,"b",(function(){return a})),n.d(t,"c",(function(){return o})),n.d(t,"a",(function(){}));var a=function(){var e=this.$createElement;this._self._c},o=[]},c927:function(e,t,n){"use strict";var a=n("7510"),o=n.n(a);o.a},eb67:function(e,t,n){"use strict";(function(e){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n={name:"homeIdex",props:{navH:{type:String|Number,default:""},returnShow:{type:Boolean,default:!0},goodList:{type:Boolean,default:!1},currentPage:{type:Boolean,default:!1},goodsShow:{type:Boolean,default:!1},sysHeight:{type:String|Number,default:""}},data:function(){return{selectNavList:[{name:this.$t("首页"),icon:"icon-shouye8",url:"/pages/index/index",after:"dialog_after"},{name:this.$t("搜索"),icon:"icon-sousuo6",url:"/pages/goods/goods_search/index",after:"dialog_after"},{name:this.$t("购物车"),icon:"icon-gouwuche7",url:"/pages/order_addcart/order_addcart",after:"dialog_after"},{name:this.$t("我的收藏"),icon:"icon-shoucang3",url:"/pages/users/user_goods_collection/index",after:"dialog_after"},{name:this.$t("个人中心"),icon:"icon-gerenzhongxin1",url:"/pages/user/index"}]}},methods:{linkPage:function(t){-1==["/pages/goods_cate/goods_cate","/pages/order_addcart/order_addcart","/pages/user/index","/pages/index/index"].indexOf(t)?e.navigateTo({url:t}):e.switchTab({url:t})}},created:function(){},beforeDestroy:function(){}};t.default=n}).call(this,n("543d")["default"])},f2df:function(e,t,n){"use strict";n.r(t);var a=n("eb67"),o=n.n(a);for(var r in a)["default"].indexOf(r)<0&&function(e){n.d(t,e,(function(){return a[e]}))}(r);t["default"]=o.a}}]);
|
||||
;(global["webpackJsonp"] = global["webpackJsonp"] || []).push([
|
||||
'components/homeList/index-create-component',
|
||||
{
|
||||
'components/homeList/index-create-component':(function(module, exports, __webpack_require__){
|
||||
__webpack_require__('543d')['createComponent'](__webpack_require__("3d2e"))
|
||||
})
|
||||
},
|
||||
[['components/homeList/index-create-component']]
|
||||
]);
|
||||
@ -0,0 +1,4 @@
|
||||
{
|
||||
"component": true,
|
||||
"usingComponents": {}
|
||||
}
|
||||
@ -0,0 +1 @@
|
||||
<view hidden="{{!(currentPage)}}" class="{{['animated','dialog_nav','data-v-32376923',goodList?'dialogIndex':'',goodsShow?'dialogGoods':'',currentPage?'':'']}}" style="{{'top:'+(navH+15+'rpx')+';'}}"><block wx:for="{{selectNavList}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view data-event-opts="{{[['tap',[['linkPage',['$0'],[[['selectNavList','',index,'url']]]]]]]}}" class="{{['dialog_nav_item','data-v-32376923',item.after]}}" bindtap="__e"><text class="{{['iconfont','data-v-32376923',item.icon]}}"></text><text class="pl-20 data-v-32376923">{{item.name}}</text></view></block></view>
|
||||
@ -0,0 +1 @@
|
||||
.dialog_nav.data-v-32376923{position:absolute;left:14rpx;width:240rpx;background:#fff;box-shadow:0 0 16rpx rgba(0,0,0,.08);z-index:310;border-radius:14rpx}.dialog_nav.data-v-32376923::before{content:"";width:0;height:0;border-left:15rpx solid transparent;border-right:15rpx solid transparent;border-bottom:30rpx solid #fff;position:absolute;top:-20rpx;left:80rpx;border-bottom-color:#f2f2f2}.dialog_nav.data-v-32376923::after{content:"";width:0;height:0;border-left:15rpx solid transparent;border-right:15rpx solid transparent;border-bottom:30rpx solid #fff;position:absolute;top:-20rpx;left:80rpx}.dialog_nav.dialogIndex.data-v-32376923{left:14rpx}.dialog_nav.dialogIndex.data-v-32376923::before{left:-160rpx!important}.dialog_nav.dialogGoods.data-v-32376923::before{left:-170rpx}.dialog_nav_item.data-v-32376923{width:100%;height:84rpx;line-height:84rpx;padding:0 20rpx 0;box-sizing:border-box;border-bottom:#eee;font-size:28rpx;color:#333;position:relative;display:flex}.dialog_nav_item .iconfont.data-v-32376923{font-size:32rpx;margin-right:26rpx}.dialog_after.data-v-32376923 ::after{content:"";position:absolute;width:90px;height:1px;background-color:#eee;bottom:0;right:0}
|
||||
10
crmeb/public/statics/mp_view/components/indexGoods/index.js
Normal file
10
crmeb/public/statics/mp_view/components/indexGoods/index.js
Normal file
@ -0,0 +1,10 @@
|
||||
(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["components/indexGoods/index"],{"576e":function(t,n,a){},"7c95":function(t,n,a){"use strict";a.r(n);var e=a("e82d"),i=a.n(e);for(var o in e)["default"].indexOf(o)<0&&function(t){a.d(n,t,(function(){return e[t]}))}(o);n["default"]=i.a},"7e26":function(t,n,a){"use strict";a.r(n);var e=a("d1cd"),i=a("7c95");for(var o in i)["default"].indexOf(o)<0&&function(t){a.d(n,t,(function(){return i[t]}))}(o);a("ec9b");var c=a("f0c5"),d=Object(c["a"])(i["default"],e["b"],e["c"],!1,null,"b49f511c",null,!1,e["a"],void 0);n["default"]=d.exports},d1cd:function(t,n,a){"use strict";a.d(n,"b",(function(){return i})),a.d(n,"c",(function(){return o})),a.d(n,"a",(function(){return e}));var e={easyLoadimage:function(){return Promise.all([a.e("common/vendor"),a.e("components/easy-loadimage/easy-loadimage")]).then(a.bind(null,"cad3"))}},i=function(){var t=this,n=t.$createElement,a=(t._self._c,t.$t("¥")),e=t.$t("已售"),i=t.__map(t.tmp_data,(function(n,a){var e=t.__get_orig(n),i=n.activity&&"1"===n.activity.type?t.$t("秒杀"):null,o=n.activity&&"2"===n.activity.type?t.$t("砍价"):null,c=n.activity&&"3"===n.activity.type?t.$t("拼团"):null,d=n.checkCoupon?t.$t("券"):null;return{$orig:e,m0:i,m1:o,m2:c,m3:d}}));t.$mp.data=Object.assign({},{$root:{m4:a,m5:e,l0:i}})},o=[]},e82d:function(t,n,a){"use strict";(function(t){Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var e=a("6557"),i={name:"goodsWaterfall",props:{dataLists:{default:[]}},data:function(){return{lists:[],showLoad:!1,tmp_data:[]}},methods:{goGoodsDetail:function(n){var a=this;(0,e.goPage)().then((function(i){(0,e.goShopDetail)(n,a.uid).then((function(a){t.navigateTo({url:"/pages/goods_details/index?id=".concat(n.id)})}))}))}},mounted:function(){this.tmp_data=this.dataLists},watch:{dataLists:function(){this.loaded=[],this.loadErr=[],this.tmp_data=this.dataLists}}};n.default=i}).call(this,a("543d")["default"])},ec9b:function(t,n,a){"use strict";var e=a("576e"),i=a.n(e);i.a}}]);
|
||||
;(global["webpackJsonp"] = global["webpackJsonp"] || []).push([
|
||||
'components/indexGoods/index-create-component',
|
||||
{
|
||||
'components/indexGoods/index-create-component':(function(module, exports, __webpack_require__){
|
||||
__webpack_require__('543d')['createComponent'](__webpack_require__("7e26"))
|
||||
})
|
||||
},
|
||||
[['components/indexGoods/index-create-component']]
|
||||
]);
|
||||
@ -0,0 +1,6 @@
|
||||
{
|
||||
"usingComponents": {
|
||||
"easy-loadimage": "/components/easy-loadimage/easy-loadimage"
|
||||
},
|
||||
"component": true
|
||||
}
|
||||
@ -0,0 +1 @@
|
||||
<view class="data-v-b49f511c"><view class="list data-v-b49f511c"><view class="product-box data-v-b49f511c"><block wx:for="{{$root.l0}}" wx:for-item="item" wx:for-index="i1" wx:key="i1"><view data-event-opts="{{[['tap',[['goGoodsDetail',['$0'],[[['tmp_data','',i1]]]]]]]}}" class="product-list data-v-b49f511c" bindtap="__e"><view class="product-item data-v-b49f511c"><easy-loadimage vue-id="{{'dda0fa38-1-'+i1}}" mode="widthFix" image-src="{{item.$orig.image}}" class="data-v-b49f511c" bind:__l="__l"></easy-loadimage><view class="info data-v-b49f511c"><view class="title line2 data-v-b49f511c"><block wx:if="{{item.$orig.activity&&item.$orig.activity.type==='1'}}"><text class="tag data-v-b49f511c">{{item.m0}}</text></block><block wx:if="{{item.$orig.activity&&item.$orig.activity.type==='2'}}"><text class="tag data-v-b49f511c">{{item.m1}}</text></block><block wx:if="{{item.$orig.activity&&item.$orig.activity.type==='3'}}"><text class="tag data-v-b49f511c">{{item.m2}}</text></block><block wx:if="{{item.$orig.checkCoupon}}"><text class="tag data-v-b49f511c">{{item.m3}}</text></block>{{''+item.$orig.store_name+''}}</view><view class="price-box data-v-b49f511c"><view class="data-v-b49f511c"><text class="data-v-b49f511c">{{$root.m4}}</text>{{''+item.$orig.price+''}}</view><view class="sales data-v-b49f511c">{{''+$root.m5+" "+item.$orig.sales+''}}</view></view></view></view></view></block></view></view></view>
|
||||
@ -0,0 +1,3 @@
|
||||
.list.data-v-b49f511c{display:flex;margin:0 30rpx}.product-box.data-v-b49f511c{display:flex;flex:1;flex-wrap:wrap;width:100%}.flow_item.data-v-b49f511c{margin:15rpx;border-radius:20rpx;background:#f4f4f4;overflow:hidden}.flow_item_con.data-v-b49f511c{padding:10rpx 20rpx 20rpx}.flow_item_title.data-v-b49f511c{position:relative;font-size:32rpx;font-weight:700;margin-bottom:5rpx}.flow_item_des.data-v-b49f511c{font-size:24rpx}.pl10.data-v-b49f511c{padding-left:10rpx}.product-list.data-v-b49f511c{display:flex;width:calc(50% - 16rpx);margin:2rpx 8rpx}.product-list .product-item.data-v-b49f511c{position:relative;width:100%;background:#fff;border-radius:10rpx;margin-bottom:8rpx;display:flex;flex-direction:column;justify-content:space-between}.product-list .product-item.data-v-b49f511c image,
|
||||
.product-list .product-item.data-v-b49f511c .easy-loadimage,
|
||||
.product-list .product-item.data-v-b49f511c uni-image{width:100%;height:330rpx;border-radius:10rpx 10rpx 0 0}.product-list .product-item .info.data-v-b49f511c{flex:1;padding:14rpx 16rpx;display:flex;flex-direction:column;justify-content:space-between}.product-list .product-item .info .title.data-v-b49f511c{font-size:28rpx;height:76rpx;line-height:38rpx}.product-list .product-item .info .tag.data-v-b49f511c{border-radius:4rpx;border:1px solid var(--view-theme);color:var(--view-theme);font-size:20rpx;padding:0rpx 4rpx;margin:10rpx 0;margin-right:10rpx;width:-webkit-max-content;width:max-content}.product-list .product-item .info .price-box.data-v-b49f511c{font-size:34rpx;font-weight:700;margin-top:8px;color:var(--view-priceColor);display:flex;justify-content:space-between;align-items:center}.product-list .product-item .info .price-box text.data-v-b49f511c{font-size:28rpx}.product-list .product-item .info .price-box .sales.data-v-b49f511c{color:#999;font-size:24rpx;font-weight:400}
|
||||
File diff suppressed because one or more lines are too long
@ -0,0 +1,6 @@
|
||||
{
|
||||
"component": true,
|
||||
"usingComponents": {
|
||||
"trees": "/components/jyf-parser/libs/trees"
|
||||
}
|
||||
}
|
||||
@ -0,0 +1 @@
|
||||
<view><block wx:if="{{!$root.g0}}"><slot></slot></block><view style="{{(showAm+(selectable?';user-select:text;-webkit-user-select:text':''))}}" id="top" animation="{{scaleAm}}" data-event-opts="{{[['tap',[['_tap',['$event']]]],['touchstart',[['_touchstart',['$event']]]],['touchmove',[['_touchmove',['$event']]]]]}}" bindtap="__e" bindtouchstart="__e" bindtouchmove="__e"><trees vue-id="6b79763c-1" nodes="{{nodes}}" lazy-load="{{lazyLoad}}" loadVideo="{{loadVideo}}" bind:__l="__l"></trees><block wx:for="{{imgs}}" wx:for-item="item" wx:for-index="index" wx:key="index"><image id="{{index}}" src="{{item}}" hidden="{{true}}" data-event-opts="{{[['load',[['_load',['$event']]]]]}}" bindload="__e"></image></block></view></view>
|
||||
@ -0,0 +1 @@
|
||||
@-webkit-keyframes show{0%{opacity:0}100%{opacity:1}}@keyframes show{0%{opacity:0}100%{opacity:1}}:host{display:block;overflow:scroll;-webkit-overflow-scrolling:touch}
|
||||
@ -0,0 +1,44 @@
|
||||
var inlineTags = {
|
||||
abbr: 1,
|
||||
b: 1,
|
||||
big: 1,
|
||||
code: 1,
|
||||
del: 1,
|
||||
em: 1,
|
||||
i: 1,
|
||||
ins: 1,
|
||||
label: 1,
|
||||
q: 1,
|
||||
small: 1,
|
||||
span: 1,
|
||||
strong: 1
|
||||
}
|
||||
module.exports = {
|
||||
// 从顶层标签的样式中取出一些给 rich-text
|
||||
getStyle: function(style) {
|
||||
if (style) {
|
||||
var i, j, res = '';
|
||||
if ((i = style.indexOf('display')) != -1)
|
||||
res = style.substring(i, (j = style.indexOf(';', i)) == -1 ? style.length : j);
|
||||
if ((i = style.indexOf('float')) != -1)
|
||||
res += ';' + style.substring(i, (j = style.indexOf(';', i)) == -1 ? style.length : j);
|
||||
return res;
|
||||
}
|
||||
},
|
||||
// 处理懒加载
|
||||
getNode: function(item, imgLoad) {
|
||||
if (!imgLoad && item.attrs.i != '0') {
|
||||
var img = {
|
||||
name: 'img',
|
||||
attrs: JSON.parse(JSON.stringify(item.attrs))
|
||||
}
|
||||
delete img.attrs.src;
|
||||
img.attrs.style += ';width:20px;height:20px';
|
||||
return [img];
|
||||
} else return [item];
|
||||
},
|
||||
// 是否通过 rich-text 显示
|
||||
useRichText: function(item) {
|
||||
return !item.c && !inlineTags[item.name] && (item.attrs.style || '').indexOf('display:inline') == -1;
|
||||
}
|
||||
}
|
||||
@ -0,0 +1,10 @@
|
||||
(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["components/jyf-parser/libs/trees"],{"24ecc":function(t,e,r){},"3e6c":function(t,e,r){"use strict";e["a"]=function(t){t.options.wxsCallMethods||(t.options.wxsCallMethods=[])}},"5fb0":function(t,e,r){"use strict";r.d(e,"b",(function(){return i})),r.d(e,"c",(function(){return n})),r.d(e,"a",(function(){}));var i=function(){var t=this.$createElement;this._self._c},n=[]},"941e":function(t,e,r){"use strict";(function(t,i){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,t.Parser={};var n={components:{trees:function(){Promise.resolve().then(function(){return resolve(r("ac75"))}.bind(null,r)).catch(r.oe)}},name:"trees",data:function(){return{controls:{},imgLoad:!1,loadVideo:!0}},props:{nodes:Array,lazyLoad:Boolean},mounted:function(){this.top=this.$parent;while("parser"!=this.top.$options.name){if(this.top.top){this.top=this.top.top;break}this.top=this.top.$parent}},beforeDestroy:function(){this.observer&&this.observer.disconnect()},methods:{play:function(t){if(this.top.videoContexts.length>1&&this.top.autopause)for(var e=this.top.videoContexts.length;e--;)this.top.videoContexts[e].id!=t.currentTarget.dataset.id&&this.top.videoContexts[e].pause()},imgtap:function(e){var r=e.currentTarget.dataset.attrs;if(!r.ignore){var n=!0,o={id:e.target.id,src:r.src,ignore:function(){return n=!1}};if(t.Parser.onImgtap&&t.Parser.onImgtap(o),this.top.$emit("imgtap",o),n){var s=this.top.imgList,a=s[r.i]?parseInt(r.i):(s=[r.src],0);i.previewImage({current:a,urls:s})}}},imglongtap:function(t){var e=t.item.dataset.attrs;e.ignore||this.top.$emit("imglongtap",{id:t.target.id,src:e.src})},linkpress:function(e){var r=!0,n=e.currentTarget.dataset.attrs;if(n.ignore=function(){return r=!1},t.Parser.onLinkpress&&t.Parser.onLinkpress(n),this.top.$emit("linkpress",n),r){if(n["app-id"])return i.navigateToMiniProgram({appId:n["app-id"],path:n.path});n.href&&("#"==n.href[0]?this.top.useAnchor&&this.top.navigateTo({id:n.href.substring(1)}):0==n.href.indexOf("http")||0==n.href.indexOf("//")?i.setClipboardData({data:n.href,success:function(){return i.showToast({title:"链接已复制"})}}):i.navigateTo({url:n.href}))}},error:function(t){var e,r=t.currentTarget,n=r.dataset.from;if("video"==n||"audio"==n){var o=this.controls[r.id]?this.controls[r.id].index+1:1;o<r.dataset.source.length&&this.$set(this.controls,r.id+".index",o),"video"==n&&(e=i.createVideoContext(r.id,this))}this.top&&this.top.$emit("error",{source:n,target:r,errMsg:t.detail.errMsg,errCode:t.detail.errCode,context:e})},_loadVideo:function(t){this.$set(this.controls,t.currentTarget.id,{play:!0,index:0})}}};e.default=n}).call(this,r("c8ba"),r("543d")["default"])},"9b8a":function(t,e,r){"use strict";var i=r("24ecc"),n=r.n(i);n.a},ac75:function(t,e,r){"use strict";r.r(e);var i=r("5fb0"),n=r("f42b");for(var o in n)["default"].indexOf(o)<0&&function(t){r.d(e,t,(function(){return n[t]}))}(o);r("9b8a");var s=r("f0c5"),a=r("3e6c"),c=Object(s["a"])(n["default"],i["b"],i["c"],!1,null,null,null,!1,i["a"],void 0);"function"===typeof a["a"]&&Object(a["a"])(c),e["default"]=c.exports},f42b:function(t,e,r){"use strict";r.r(e);var i=r("941e"),n=r.n(i);for(var o in i)["default"].indexOf(o)<0&&function(t){r.d(e,t,(function(){return i[t]}))}(o);e["default"]=n.a}}]);
|
||||
;(global["webpackJsonp"] = global["webpackJsonp"] || []).push([
|
||||
'components/jyf-parser/libs/trees-create-component',
|
||||
{
|
||||
'components/jyf-parser/libs/trees-create-component':(function(module, exports, __webpack_require__){
|
||||
__webpack_require__('543d')['createComponent'](__webpack_require__("ac75"))
|
||||
})
|
||||
},
|
||||
[['components/jyf-parser/libs/trees-create-component']]
|
||||
]);
|
||||
@ -0,0 +1,6 @@
|
||||
{
|
||||
"component": true,
|
||||
"usingComponents": {
|
||||
"trees": "/components/jyf-parser/libs/trees"
|
||||
}
|
||||
}
|
||||
File diff suppressed because one or more lines are too long
@ -0,0 +1,18 @@
|
||||
._a{display:inline;color:#366092;word-break:break-all;padding:1.5px 0 1.5px 0}._hover{opacity:.7;text-decoration:underline}._img{display:inline-block;text-indent:0}:host{display:inline}.interlayer{align-content:inherit;align-items:inherit;display:inherit;flex-direction:inherit;flex-wrap:inherit;justify-content:inherit;width:100%;white-space:inherit}._b,
|
||||
._strong{font-weight:700}._blockquote,
|
||||
._div,
|
||||
._p,
|
||||
._ol,
|
||||
._ul,
|
||||
._li{display:block}._code{font-family:monospace}._del{text-decoration:line-through}._em,
|
||||
._i{font-style:italic}._h1{font-size:2em}._h2{font-size:1.5em}._h3{font-size:1.17em}._h5{font-size:.83em}._h6{font-size:.67em}._h1,
|
||||
._h2,
|
||||
._h3,
|
||||
._h4,
|
||||
._h5,
|
||||
._h6{display:block;font-weight:700}._ins{text-decoration:underline}._li{flex:1;width:0}._ol-bef{margin-right:5px;text-align:right;width:36px}._ul-bef{line-height:normal;margin:0 12px 0 23px}._ol-bef,
|
||||
._ul_bef{flex:none;-webkit-user-select:none;user-select:none}._ul-p1{display:inline-block;height:.3em;line-height:.3em;overflow:hidden;width:.3em}._ul-p2{border:.05em solid #000;border-radius:50%;display:inline-block;height:.23em;width:.23em}._q::before{content:'"'}._q::after{content:'"'}._sub{font-size:smaller;vertical-align:sub}._sup{font-size:smaller;vertical-align:super}.__bdo,
|
||||
.__bdi,
|
||||
.__ruby,
|
||||
.__rt,
|
||||
._entity{display:inline-block}._video{background-color:#000;display:inline-block;height:225px;position:relative;width:300px}._video::after{border-color:transparent transparent transparent #fff;border-style:solid;border-width:15px 0 15px 30px;content:"";left:50%;margin:-15px 0 0 -15px;position:absolute;top:50%}
|
||||
10
crmeb/public/statics/mp_view/components/kefuIcon/index.js
Normal file
10
crmeb/public/statics/mp_view/components/kefuIcon/index.js
Normal file
@ -0,0 +1,10 @@
|
||||
(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["components/kefuIcon/index"],{"138b":function(t,e,n){"use strict";n.r(e);var u=n("d59a"),o=n("b129");for(var c in o)["default"].indexOf(c)<0&&function(t){n.d(e,t,(function(){return o[t]}))}(c);n("3e39");var f=n("f0c5"),i=Object(f["a"])(o["default"],u["b"],u["c"],!1,null,null,null,!1,u["a"],void 0);e["default"]=i.exports},"3e39":function(t,e,n){"use strict";var u=n("785f"),o=n.n(u);o.a},"785f":function(t,e,n){},"7e9f":function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var u=n("f9f0"),o=(getApp(),{name:"kefuIcon",props:{ids:{type:Number,default:0},routineContact:{type:Number,default:0},storeInfo:{type:Object,default:function(){}},goodsCon:{type:Number,default:0}},data:function(){return{top:"480"}},mounted:function(){},methods:{goCustomer:function(){(0,u.getCustomer)("/pages/extension/customer_list/chat?productId=".concat(this.ids))},setTouchMove:function(t){t.touches[0].clientY<480&&t.touches[0].clientY>66&&(this.top=t.touches[0].clientY)}},created:function(){}});e.default=o},b129:function(t,e,n){"use strict";n.r(e);var u=n("7e9f"),o=n.n(u);for(var c in u)["default"].indexOf(c)<0&&function(t){n.d(e,t,(function(){return u[t]}))}(c);e["default"]=o.a},d59a:function(t,e,n){"use strict";n.d(e,"b",(function(){return u})),n.d(e,"c",(function(){return o})),n.d(e,"a",(function(){}));var u=function(){var t=this.$createElement;this._self._c},o=[]}}]);
|
||||
;(global["webpackJsonp"] = global["webpackJsonp"] || []).push([
|
||||
'components/kefuIcon/index-create-component',
|
||||
{
|
||||
'components/kefuIcon/index-create-component':(function(module, exports, __webpack_require__){
|
||||
__webpack_require__('543d')['createComponent'](__webpack_require__("138b"))
|
||||
})
|
||||
},
|
||||
[['components/kefuIcon/index-create-component']]
|
||||
]);
|
||||
@ -0,0 +1,4 @@
|
||||
{
|
||||
"component": true,
|
||||
"usingComponents": {}
|
||||
}
|
||||
@ -0,0 +1 @@
|
||||
<block wx:if="{{routineContact==0}}"><view data-event-opts="{{[['touchmove',[['setTouchMove',['$event']]]],['tap',[['goCustomer',['$event']]]]]}}" class="acea-row row-center-wrapper cartf iconfont icon-kefu3" style="{{'top:'+(top+'px')+';'}}" catchtouchmove="__e" bindtap="__e"></view></block><block wx:else><block wx:if="{{routineContact==1&&!goodsCon}}"><button class="acea-row row-center-wrapper cartf iconfont icon-kefu3" style="{{'top:'+(top+'px')+';'}}" open-type="contact" data-event-opts="{{[['touchmove',[['setTouchMove',['$event']]]]]}}" catchtouchmove="__e"></button></block><block wx:else><block wx:if="{{routineContact==1&&goodsCon}}"><button class="acea-row row-center-wrapper cartf iconfont icon-kefu3" style="{{'top:'+(top+'px')+';'}}" open-type="contact" send-message-title="{{storeInfo.store_name}}" send-message-img="{{storeInfo.image}}" send-message-path="{{'/pages/goods_details/index?id='+storeInfo.id}}" show-message-card="{{true}}" data-event-opts="{{[['touchmove',[['setTouchMove',['$event']]]]]}}" catchtouchmove="__e"></button></block></block></block>
|
||||
@ -0,0 +1 @@
|
||||
.cartf{width:96rpx;height:96rpx;background:hsla(0,0%,100%,.8);box-shadow:0 3rpx 16rpx rgba(0,0,0,.08);-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);border-radius:50%;font-size:47rpx;color:#666;position:fixed;right:15rpx;z-index:9}
|
||||
10
crmeb/public/statics/mp_view/components/menuIcon.js
Normal file
10
crmeb/public/statics/mp_view/components/menuIcon.js
Normal file
@ -0,0 +1,10 @@
|
||||
(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["components/menuIcon"],{"141a":function(t,e,n){"use strict";n.r(e);var o=n("2b35"),i=n("4440");for(var u in i)["default"].indexOf(u)<0&&function(t){n.d(e,t,(function(){return i[t]}))}(u);n("f4d2");var c=n("f0c5"),a=Object(c["a"])(i["default"],o["b"],o["c"],!1,null,null,null,!1,o["a"],void 0);e["default"]=a.exports},"2b35":function(t,e,n){"use strict";n.d(e,"b",(function(){return o})),n.d(e,"c",(function(){return i})),n.d(e,"a",(function(){}));var o=function(){var t=this.$createElement;this._self._c},i=[]},4440:function(t,e,n){"use strict";n.r(e);var o=n("cc17"),i=n.n(o);for(var u in o)["default"].indexOf(u)<0&&function(t){n.d(e,t,(function(){return o[t]}))}(u);e["default"]=i.a},b7e5:function(t,e,n){},cc17:function(t,e,n){"use strict";(function(t){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n={name:"menuIcon",data:function(){return{Active:!1,returnShow:!0,homeTop:20,text_opacity:0,menuButton:{},iconList:[{name:this.$t("首页"),iconName:"icon-shouye8",path:"/pages/index/index",jumpType:1},{name:this.$t("购物车"),iconName:"icon-gouwuche7",path:"/pages/order_addcart/order_addcart",jumpType:1},{name:this.$t("搜索"),iconName:"icon-sousuo6",path:"/pages/goods/goods_search/index",jumpType:0},{name:this.$t("我的收藏"),iconName:"icon-shoucang3",path:"/pages/users/user_goods_collection/index",jumpType:0},{name:this.$t("个人中心"),iconName:"icon-yonghu1",path:"/pages/user/index",jumpType:1}]}},props:{showMenuIcon:{type:Boolean,default:!1},opacity:{type:Number,default:1}},watch:{showMenuIcon:function(t){this.Active=t},opacity:function(t){this.text_opacity=t}},mounted:function(){var e=this,n=getCurrentPages();this.returnShow=1!==n.length,this.$nextTick((function(){e.menuButton=t.getMenuButtonBoundingClientRect();var n=t.createSelectorQuery().in(e);n.select("#home").boundingClientRect((function(t){e.homeTop=2*e.menuButton.top+e.menuButton.height-t.height+2})).exec()}))},methods:{open:function(){this.Active=!this.Active,this.Active&&this.$emit("open",!0)},returns:function(){t.navigateBack()},jumpUrl:function(e,n){(1===n?t.switchTab:t.navigateTo)({url:e})}}};e.default=n}).call(this,n("543d")["default"])},f4d2:function(t,e,n){"use strict";var o=n("b7e5"),i=n.n(o);i.a}}]);
|
||||
;(global["webpackJsonp"] = global["webpackJsonp"] || []).push([
|
||||
'components/menuIcon-create-component',
|
||||
{
|
||||
'components/menuIcon-create-component':(function(module, exports, __webpack_require__){
|
||||
__webpack_require__('543d')['createComponent'](__webpack_require__("141a"))
|
||||
})
|
||||
},
|
||||
[['components/menuIcon-create-component']]
|
||||
]);
|
||||
4
crmeb/public/statics/mp_view/components/menuIcon.json
Normal file
4
crmeb/public/statics/mp_view/components/menuIcon.json
Normal file
@ -0,0 +1,4 @@
|
||||
{
|
||||
"component": true,
|
||||
"usingComponents": {}
|
||||
}
|
||||
1
crmeb/public/statics/mp_view/components/menuIcon.wxml
Normal file
1
crmeb/public/statics/mp_view/components/menuIcon.wxml
Normal file
@ -0,0 +1 @@
|
||||
<view><view class="{{['home','acea-row','row-center-wrapper',returnShow?'p10':'p20',text_opacity>=1?'opacity':'']}}" style="{{'margin-top:'+(menuButton.top+'px')+';'+('width:'+(menuButton.width+'px')+';')}}" id="home"><block wx:if="{{returnShow}}"><view data-event-opts="{{[['tap',[['returns',['$event']]]]]}}" class="{{['iconfont','icon-xiangzuo',text_opacity>=1?'opacity':'']}}" bindtap="__e"></view></block><block wx:if="{{returnShow}}"><view class="line"></view></block><view class="animation-box"><transition vue-id="86873e9a-1" name="fade" bind:__l="__l" vue-slots="{{['default']}}"><block wx:if="{{!Active}}"><view data-event-opts="{{[['tap',[['open',['$event']]]]]}}" class="{{['iconfont','icon-gengduo4',text_opacity>=1?'opacity':'']}}" bindtap="__e"></view></block></transition><transition vue-id="86873e9a-2" name="fade" mode="out-in" bind:__l="__l" vue-slots="{{['default']}}"><block wx:if="{{Active}}"><view data-event-opts="{{[['tap',[['open',['$event']]]]]}}" class="{{['iconfont','icon-guanbi5',text_opacity>=1?'opacity':'']}}" bindtap="__e"></view></block></transition></view><block wx:if="{{Active}}"><view data-event-opts="{{[['tap',[['open',['$event']]]]]}}" class="{{['homeCon','bg-color',Active===true?'active':'']}}" bindtap="__e"><block wx:for="{{iconList}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view data-event-opts="{{[['tap',[['jumpUrl',['$0','$1'],[[['iconList','',index,'path']],[['iconList','',index,'jumpType']]]]]]]}}" class="homeCon-box" bindtap="__e"><text class="{{['iconfont',item.iconName]}}"></text><text class="text">{{item.name}}</text></view></block></view></block></view></view>
|
||||
4
crmeb/public/statics/mp_view/components/menuIcon.wxss
Normal file
4
crmeb/public/statics/mp_view/components/menuIcon.wxss
Normal file
@ -0,0 +1,4 @@
|
||||
.home.opacity{background:#fff;border:1px solid #d7d7d7}.home{color:#333;position:fixed;height:62rpx;z-index:99;left:33rpx;border:1px solid #d7d7d7;background:hsla(0,0%,100%,.8);border-radius:30rpx;display:flex;align-items:center;justify-content:space-around}.home .opacity{color:#000}.home .icon-gengduo4,
|
||||
.home .icon-guanbi5{position:absolute;width:40rpx;font-weight:700}.home .icon-xiangzuo{font-weight:700;line-height:28rpx}.home .icon-gengduo4{font-size:28rpx;text-align:center}.home .animation-box{position:relative;width:40rpx;height:28rpx}.icon-guanbi5{font-size:28rpx;text-align:center}.home .homeCon{display:flex;flex-direction:column;font-size:26rpx;padding:4rpx;opacity:0;border:1px solid #f2f2f2}.home .homeCon::before{content:"";width:0;height:0;border-left:15rpx solid transparent;border-right:15rpx solid transparent;border-bottom:17rpx solid #fff;position:absolute;top:-15rpx;right:66rpx;border-bottom-color:#f2f2f2}.home .homeCon::after{content:"";width:0;height:0;border-left:15rpx solid transparent;border-right:15rpx solid transparent;border-bottom:17rpx solid #fff;position:absolute;top:-13rpx;right:66rpx}.home .homeCon .homeCon-box{display:flex;align-items:center;flex-wrap:nowrap;width:100%;padding:15rpx 20rpx}.home .homeCon .homeCon-box .text{display:flex;flex-wrap:nowrap}.home .homeCon .iconfont{display:flex;align-items:center;padding:5rpx 3rpx;margin-right:5rpx}.home .homeCon .homeCon-box:nth-child(even){border-top:1px solid #f2f2f2;border-bottom:1px solid #f2f2f2}.home .homeCon.active{position:absolute;opacity:1;top:75rpx;-webkit-animation:bounceInLeft .5s cubic-bezier(.215,.31,.655,1);animation:bounceInLeft .5s cubic-bezier(.215,.31,.655,1);width:-webkit-max-content;width:max-content;display:flex;justify-content:center;align-items:center;border-radius:10rpx;color:#333;background:#fff!important;box-shadow:0rpx 3rpx 10rpx 2rpx rgba(0,0,0,.03)}.home .line{width:2rpx;height:26rpx;margin:0 18rpx 0 16rpx;background:#fff}.home .line.opacity{color:#050505;background-color:#050505}.home .icon-xiangzuo{font-size:28rpx}.fade-enter-active,
|
||||
.fade-leave-active{transition:opacity .3s}.fade-enter,
|
||||
.fade-leave-to{opacity:0}.p10{padding:0 25rpx}.p20{padding:0 40rpx}
|
||||
Some files were not shown because too many files have changed in this diff Show More
Loading…
x
Reference in New Issue
Block a user