mirror of
https://github.com/crmeb/CRMEB.git
synced 2026-10-30 06:20:50 +00:00
更新开源小程序下载代码
This commit is contained in:
parent
f22f3f9d6a
commit
8686f34587
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')
|
||||
249
crmeb/public/statics/mp_view/app.json
Normal file
249
crmeb/public/statics/mp_view/app.json
Normal file
@ -0,0 +1,249 @@
|
||||
{
|
||||
"pages": [
|
||||
"pages/guide/index",
|
||||
"pages/index/index",
|
||||
"pages/order_addcart/order_addcart",
|
||||
"pages/user/index",
|
||||
"pages/goods_cate/goods_cate",
|
||||
"pages/retrieve_password/index"
|
||||
],
|
||||
"subPackages": [
|
||||
{
|
||||
"root": "pages/news_list",
|
||||
"pages": [
|
||||
"index"
|
||||
],
|
||||
"name": "news_list"
|
||||
},
|
||||
{
|
||||
"root": "pages/goods_list",
|
||||
"pages": [
|
||||
"index"
|
||||
],
|
||||
"name": "goods_list"
|
||||
},
|
||||
{
|
||||
"root": "pages/goods_search",
|
||||
"pages": [
|
||||
"index"
|
||||
],
|
||||
"name": "goods_search"
|
||||
},
|
||||
{
|
||||
"root": "pages/customer_list",
|
||||
"pages": [
|
||||
"index",
|
||||
"chat"
|
||||
],
|
||||
"name": "customer_list"
|
||||
},
|
||||
{
|
||||
"root": "pages/news_details",
|
||||
"pages": [
|
||||
"index"
|
||||
],
|
||||
"name": "news_details"
|
||||
},
|
||||
{
|
||||
"root": "pages/order_pay_status",
|
||||
"pages": [
|
||||
"index",
|
||||
"payLottery"
|
||||
],
|
||||
"name": "order_pay_status_index"
|
||||
},
|
||||
{
|
||||
"root": "pages/live_list",
|
||||
"pages": [
|
||||
"index"
|
||||
],
|
||||
"name": "live_list"
|
||||
},
|
||||
{
|
||||
"root": "pages/users",
|
||||
"pages": [
|
||||
"user_vip_areer/index",
|
||||
"privacy/index",
|
||||
"message_center/index",
|
||||
"message_center/messageDetail",
|
||||
"user_invoice_order/index",
|
||||
"order_refund_goods/index",
|
||||
"scan_login/index",
|
||||
"order_details/index",
|
||||
"user_invoice_list/index",
|
||||
"user_invoice_form/index",
|
||||
"admin_order_detail/index",
|
||||
"wechat_login/index",
|
||||
"retrievePassword/index",
|
||||
"user_info/index",
|
||||
"user_get_coupon/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",
|
||||
"order_confirm/index",
|
||||
"goods_details_store/index",
|
||||
"promoter-list/index",
|
||||
"promoter-order/index",
|
||||
"promoter_rank/index",
|
||||
"commission_rank/index",
|
||||
"order_list/index",
|
||||
"goods_logistics/index",
|
||||
"user_return_list/index",
|
||||
"goods_return/index",
|
||||
"goods_return_list/index",
|
||||
"login/index",
|
||||
"goods_comment_list/index",
|
||||
"goods_comment_con/index",
|
||||
"goods_comment_con/lottery_comment",
|
||||
"payment_on_behalf/index",
|
||||
"payment_on_behalf/pay_status",
|
||||
"staff_list/index"
|
||||
],
|
||||
"name": "users",
|
||||
"plugins": {
|
||||
"live-player-plugin": {
|
||||
"version": "1.3.2",
|
||||
"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",
|
||||
"presell_details/index",
|
||||
"lottery/grids/index",
|
||||
"lottery/grids/record"
|
||||
],
|
||||
"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"
|
||||
],
|
||||
"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": "你的位置信息将用于和门店的距离长度"
|
||||
}
|
||||
},
|
||||
"usingComponents": {
|
||||
"skeleton": "/components/skeleton/index",
|
||||
"page-loading": "/components/pageLoading"
|
||||
}
|
||||
}
|
||||
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
9
crmeb/public/statics/mp_view/common/main.wxss
Normal file
9
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
20
crmeb/public/statics/mp_view/common/vendor.js
Normal file
20
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"],{"1e0d":function(t,e,n){"use strict";var o;n.d(e,"b",(function(){return a})),n.d(e,"c",(function(){return i})),n.d(e,"a",(function(){return o}));var a=function(){var t=this,e=t.$createElement;t._self._c},i=[]},"420f":function(t,e,n){"use strict";n.r(e);var o=n("1e0d"),a=n("fd31");for(var i in a)"default"!==i&&function(t){n.d(e,t,(function(){return a[t]}))}(i);n("5472");var u,s=n("f0c5"),d=Object(s["a"])(a["default"],o["b"],o["c"],!1,null,"03cc894a",null,!1,o["a"],u);e["default"]=d.exports},5472:function(t,e,n){"use strict";var o=n("7e77"),a=n.n(o);a.a},"7e77":function(t,e,n){},e1ef:function(t,e,n){"use strict";(function(t){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var o=c(n("0c53")),a=n("1346"),i=n("a1ea"),u=n("26cb"),s=c(n("2f12")),d=c(n("6b37"));function c(t){return t&&t.__esModule?t:{default:t}}var r=getApp(),f={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,u.mapGetters)(["isLogin","userInfo"]),watch:{isLogin:function(t){!0===t&&this.$emit("onLoadFun",this.userInfo)}},mounted:function(){this.getLogoUrl();var t=this;this.isLogin||o.default.has(i.STATE_R_KEY)?this.setAuthStatus():wx.login({success:function(e){o.default.set(i.STATE_R_KEY,e.code,10800);var n=r.globalData.spid?r.globalData.spid:"";(0,a.silenceAuth)({code:e.code,spread:n,spid:r.globalData.code}).then((function(e){if(void 0!==e.data.key&&e.data.key)t.authKey=e.data.key;else{r.globalData.code=0;var n=e.data.expires_time-o.default.time();d.default.commit("LOGIN",{token:e.data.token,time:n})}})).catch((function(t){}))}})},methods:{setAuthStatus:function(){var t=this;s.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(e){var n=this;s.default.getUserInfo().then((function(o){var a=o.userInfo;a.code=e,a.spread_spid=r.globalData.spid,a.spread_code=r.globalData.code,s.default.authUserInfo(a).then((function(e){t.hideLoading(),n.$emit("authColse",!1),n.$emit("onLoadFun",n.userInfo)})).catch((function(e){t.hideLoading(),t.showToast({title:e.msg,icon:"none",duration:2e3})}))})).catch((function(e){t.hideLoading()}))},getUserPhoneNumber:function(e,n,o){var i=this;(0,a.getUserPhone)({encryptedData:e,iv:n,code:o,spid:r.globalData.spid,spread:r.globalData.code}).then((function(e){var n=e.data.expires_time-i.$Cache.time();i.$store.commit("LOGIN",{token:e.data.token,time:n}),i.$emit("authColse",!1),i.$emit("onLoadFun",e.data.userInfo),t.hideLoading()})).catch((function(e){t.hideLoading()}))},setUserInfo:function(e){var n=this;t.showLoading({title:"正在登录中"}),s.default.getCode().then((function(t){n.getUserPhoneNumber(e.detail.encryptedData,e.detail.iv,t)})).catch((function(e){t.hideLoading()}))},getLogoUrl:function(){var t=this;o.default.has(i.LOGO_URL)?this.logoUrl=o.default.get(i.LOGO_URL):(0,a.getLogo)().then((function(e){t.logoUrl=e.data.logo_url,o.default.set(i.LOGO_URL,t.logoUrl)}))},close:function(){var e=getCurrentPages();e[e.length-1];this.isGoIndex?t.navigateTo({url:"/pages/index/index"}):this.$emit("authColse",!1)}}};e.default=f}).call(this,n("543d")["default"])},fd31:function(t,e,n){"use strict";n.r(e);var o=n("e1ef"),a=n.n(o);for(var i in o)"default"!==i&&function(t){n.d(e,t,(function(){return o[t]}))}(i);e["default"]=a.a}}]);
|
||||
;(global["webpackJsonp"] = global["webpackJsonp"] || []).push([
|
||||
'components/Authorize-create-component',
|
||||
{
|
||||
'components/Authorize-create-component':(function(module, exports, __webpack_require__){
|
||||
__webpack_require__('543d')['createComponent'](__webpack_require__("420f"))
|
||||
})
|
||||
},
|
||||
[['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-03cc894a"><block wx:if="{{isShowAuth}}"><view class="Popup data-v-03cc894a"><image src="{{logoUrl}}" class="data-v-03cc894a"></image><view class="title data-v-03cc894a">授权提醒</view><view class="tip data-v-03cc894a">请授权头像等信息,以便为您提供更好的服务</view><view class="bottom flex data-v-03cc894a"><view data-event-opts="{{[['tap',[['close',['$event']]]]]}}" class="item data-v-03cc894a" bindtap="__e">随便逛逛</view><button class="item grant data-v-03cc894a" 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-03cc894a" 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-03cc894a{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-03cc894a{width:150rpx;height:150rpx;margin:-67rpx auto 0 auto;display:block;border:8rpx solid #fff;border-radius:50%}.Popup .title.data-v-03cc894a{font-size:28rpx;color:#000;text-align:center;margin-top:30rpx}.Popup .tip.data-v-03cc894a{font-size:22rpx;color:#555;padding:0 24rpx;margin-top:25rpx}.Popup .bottom .item.data-v-03cc894a{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-03cc894a{width:100%}.flex.data-v-03cc894a{display:flex}.Popup .bottom .item.grant.data-v-03cc894a{font-size:28rpx;color:#fff;font-weight:700;background-color:var(--view-theme);border-radius:0;padding:0}.mask.data-v-03cc894a{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"],{"0058":function(n,t,e){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var a={name:"Loading",props:{loaded:{type:Boolean,default:!1},loading:{type:Boolean,default:!1}}};t.default=a},"251a":function(n,t,e){"use strict";e.r(t);var a=e("0058"),u=e.n(a);for(var o in a)"default"!==o&&function(n){e.d(t,n,(function(){return a[n]}))}(o);t["default"]=u.a},"48b9":function(n,t,e){"use strict";e.r(t);var a=e("e989"),u=e("251a");for(var o in u)"default"!==o&&function(n){e.d(t,n,(function(){return u[n]}))}(o);e("51a6");var r,c=e("f0c5"),f=Object(c["a"])(u["default"],a["b"],a["c"],!1,null,null,null,!1,a["a"],r);t["default"]=f.exports},"51a6":function(n,t,e){"use strict";var a=e("d12a"),u=e.n(a);u.a},d12a:function(n,t,e){},e989:function(n,t,e){"use strict";var a;e.d(t,"b",(function(){return u})),e.d(t,"c",(function(){return o})),e.d(t,"a",(function(){return a}));var u=function(){var n=this,t=n.$createElement;n._self._c},o=[]}}]);
|
||||
;(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__("48b9"))
|
||||
})
|
||||
},
|
||||
[['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>正在加载中</view></block><block wx:else><view>上拉加载更多</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}
|
||||
10
crmeb/public/statics/mp_view/components/PriceChange/index.js
Normal file
10
crmeb/public/statics/mp_view/components/PriceChange/index.js
Normal file
@ -0,0 +1,10 @@
|
||||
(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["components/PriceChange/index"],{"2fc0":function(e,r,n){"use strict";var t=n("b26e"),c=n.n(t);c.a},"3fea":function(e,r,n){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.default=void 0;var t={name:"PriceChange",components:{},props:{change:Boolean,orderInfo:Object,status:String},data:function(){return{focus:!1,price:0,refund_price:0,remark:""}},watch:{orderInfo:function(e){this.price=this.orderInfo.pay_price,this.refund_price=this.orderInfo.pay_price,this.remark=""}},mounted:function(){},methods:{priceChange:function(){this.focus=!0},close:function(){this.price=this.orderInfo.pay_price,this.$emit("closechange",!1)},save:function(){var e=this;e.$emit("savePrice",{price:e.price,refund_price:e.refund_price,type:1,remark:e.remark})},refuse:function(){var e=this;e.$emit("savePrice",{price:e.price,refund_price:e.refund_price,type:2,remark:e.remark})}}};r.default=t},4479:function(e,r,n){"use strict";n.r(r);var t=n("7f8e"),c=n("a552");for(var i in c)"default"!==i&&function(e){n.d(r,e,(function(){return c[e]}))}(i);n("2fc0");var a,u=n("f0c5"),o=Object(u["a"])(c["default"],t["b"],t["c"],!1,null,null,null,!1,t["a"],a);r["default"]=o.exports},"7f8e":function(e,r,n){"use strict";var t;n.d(r,"b",(function(){return c})),n.d(r,"c",(function(){return i})),n.d(r,"a",(function(){return t}));var c=function(){var e=this,r=e.$createElement;e._self._c},i=[]},a552:function(e,r,n){"use strict";n.r(r);var t=n("3fea"),c=n.n(t);for(var i in t)"default"!==i&&function(e){n.d(r,e,(function(){return t[e]}))}(i);r["default"]=c.a},b26e:function(e,r,n){}}]);
|
||||
;(global["webpackJsonp"] = global["webpackJsonp"] || []).push([
|
||||
'components/PriceChange/index-create-component',
|
||||
{
|
||||
'components/PriceChange/index-create-component':(function(module, exports, __webpack_require__){
|
||||
__webpack_require__('543d')['createComponent'](__webpack_require__("4479"))
|
||||
})
|
||||
},
|
||||
[['components/PriceChange/index-create-component']]
|
||||
]);
|
||||
@ -0,0 +1,4 @@
|
||||
{
|
||||
"component": true,
|
||||
"usingComponents": {}
|
||||
}
|
||||
@ -0,0 +1 @@
|
||||
<view><view class="{{['priceChange',change===true?'on':'']}}"><view class="priceTitle">{{''+(status==0?orderInfo.refund_status===1?"立即退款":"一键改价":"订单备注")+''}}<label data-event-opts="{{[['tap',[['close',['$event']]]]]}}" class="iconfont icon-guanbi _span" bindtap="__e"></label></view><block wx:if="{{status==0}}"><view class="listChange"><block wx:if="{{orderInfo.refund_status===0}}"><view class="item acea-row row-between-wrapper"><view>商品总价(¥)</view><view class="money">{{''+orderInfo.total_price}}<label class="iconfont icon-suozi _span"></label></view></view></block><block wx:if="{{orderInfo.refund_status===0}}"><view class="item acea-row row-between-wrapper"><view>原始邮费(¥)</view><view class="money">{{''+orderInfo.pay_postage}}<label class="iconfont icon-suozi _span"></label></view></view></block><block wx:if="{{orderInfo.refund_status===0}}"><view class="item acea-row row-between-wrapper"><view>实际支付(¥)</view><view class="money"><input class="{{[focus===true?'on':'']}}" type="text" data-event-opts="{{[['focus',[['priceChange',['$event']]]],['input',[['__set_model',['','price','$event',[]]]]]]}}" value="{{price}}" bindfocus="__e" bindinput="__e"/></view></view></block><block wx:if="{{orderInfo.refund_status===1}}"><view class="item acea-row row-between-wrapper"><view>实际支付(¥)</view><view class="money">{{''+orderInfo.pay_price}}<label class="iconfont icon-suozi _span"></label></view></view></block><block wx:if="{{orderInfo.refund_status===1}}"><view class="item acea-row row-between-wrapper"><view>退款金额(¥)</view><view class="money"><input class="{{[focus===true?'on':'']}}" type="text" data-event-opts="{{[['focus',[['priceChange',['$event']]]],['input',[['__set_model',['','refund_price','$event',[]]]]]]}}" value="{{refund_price}}" bindfocus="__e" bindinput="__e"/></view></view></block></view></block><block wx:else><view class="listChange"><textarea placeholder="{{orderInfo.remark?orderInfo.remark:'请填写备注信息...'}}" data-event-opts="{{[['input',[['__set_model',['','remark','$event',[]]]]]]}}" value="{{remark}}" bindinput="__e"></textarea></view></block><view data-event-opts="{{[['tap',[['save',['$event']]]]]}}" class="modify" bindtap="__e">{{''+(status==1||orderInfo.refund_status==0?"立即修改":"确认退款")+''}}</view><block wx:if="{{orderInfo.refund_status==1&&status==0}}"><view data-event-opts="{{[['tap',[['refuse',['$event']]]]]}}" class="modify1" bindtap="__e">拒绝退款</view></block></view><view data-event-opts="{{[['touchmove',[['',['$event']]]]]}}" hidden="{{!(change===true)}}" class="mask" bindtouchmove="__e"></view></view>
|
||||
File diff suppressed because one or more lines are too long
@ -0,0 +1,10 @@
|
||||
(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["components/addressWindow/index"],{"1f47":function(t,e,n){"use strict";n.r(e);var a=n("82c4"),s=n.n(a);for(var i in a)"default"!==i&&function(t){n.d(e,t,(function(){return a[t]}))}(i);e["default"]=s.a},"796f":function(t,e,n){},"82c4":function(t,e,n){"use strict";(function(t){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var a=n("3474"),s={props:{pagesUrl:{type:String,default:""},address:{type:Object,default:function(){return{address:!0,addressId:0}}},isLog:{type:Boolean,default:!1}},data:function(){return{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;(0,a.getAddressList)({page:1,limit:5}).then((function(e){for(var n=e.data,a=0,s=n.length;a<s;a++)n[a].id==t.address.addressId&&(t.active=a);t.$set(t,"addressList",n),t.is_loading=!1}))}}};e.default=s}).call(this,n("543d")["default"])},9250:function(t,e,n){"use strict";n.r(e);var a=n("cab3"),s=n("1f47");for(var i in s)"default"!==i&&function(t){n.d(e,t,(function(){return s[t]}))}(i);n("9b3c");var r,d=n("f0c5"),c=Object(d["a"])(s["default"],a["b"],a["c"],!1,null,"8090a722",null,!1,a["a"],r);e["default"]=c.exports},"9b3c":function(t,e,n){"use strict";var a=n("796f"),s=n.n(a);s.a},cab3:function(t,e,n){"use strict";var a;n.d(e,"b",(function(){return s})),n.d(e,"c",(function(){return i})),n.d(e,"a",(function(){return a}));var s=function(){var t=this,e=t.$createElement;t._self._c},i=[]}}]);
|
||||
;(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__("9250"))
|
||||
})
|
||||
},
|
||||
[['components/addressWindow/index-create-component']]
|
||||
]);
|
||||
@ -0,0 +1,4 @@
|
||||
{
|
||||
"component": true,
|
||||
"usingComponents": {}
|
||||
}
|
||||
@ -0,0 +1 @@
|
||||
<view class="data-v-8090a722"><view class="{{['address-window','data-v-8090a722',address.address==true?'on':'']}}"><view class="title data-v-8090a722">选择地址<text data-event-opts="{{[['tap',[['close',['$event']]]]]}}" class="iconfont icon-guanbi data-v-8090a722" bindtap="__e"></text></view><view class="list data-v-8090a722"><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-8090a722',active==index?'font-num':'']}}" bindtap="__e"><text class="{{['iconfont','icon-ditu','data-v-8090a722',active==index?'font-num':'']}}"></text><view class="address data-v-8090a722"><view class="{{['name','data-v-8090a722',active==index?'font-num':'']}}">{{item.real_name}}<text class="phone data-v-8090a722">{{item.phone}}</text></view><view class="line1 data-v-8090a722">{{item.province+item.city+item.district+item.detail}}</view></view><text class="{{['iconfont','icon-complete','data-v-8090a722',active==index?'font-num':'']}}"></text></view></block></view><block wx:if="{{!is_loading&&!addressList.length}}"><view class="pictrue data-v-8090a722"><image src="../../static/images/noAddress.png" class="data-v-8090a722"></image></view></block><view data-event-opts="{{[['tap',[['goAddressPages',['$event']]]]]}}" class="addressBnt bg-color data-v-8090a722" bindtap="__e">选择其它地址</view></view><view class="mask data-v-8090a722" catchtouchmove="true" hidden="{{address.address==false}}" data-event-opts="{{[['tap',[['close',['$event']]]]]}}" bindtap="__e"></view></view>
|
||||
@ -0,0 +1 @@
|
||||
.address-window.data-v-8090a722{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-8090a722{-webkit-transform:translateZ(0);transform:translateZ(0)}.address-window .title.data-v-8090a722{font-size:32rpx;font-weight:700;text-align:center;height:123rpx;line-height:123rpx;position:relative}.address-window .title .iconfont.data-v-8090a722{position:absolute;right:30rpx;color:#8a8a8a;font-size:35rpx}.address-window .list .item.data-v-8090a722{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-8090a722{font-size:37rpx;color:#2c2c2c}.address-window .list .item .iconfont.icon-complete.data-v-8090a722{font-size:30rpx;color:#fff}.address-window .list .item .address.data-v-8090a722{width:560rpx}.address-window .list .item .address .name.data-v-8090a722{font-size:28rpx;font-weight:700;color:#282828;margin-bottom:4rpx}.address-window .list .item .address .name .phone.data-v-8090a722{margin-left:18rpx}.address-window .addressBnt.data-v-8090a722{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-8090a722{width:414rpx;height:336rpx;margin:0 auto}.address-window .pictrue image.data-v-8090a722{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"],{"235c":function(t,n,e){},"54c7":function(t,n,e){"use strict";var u;e.d(n,"b",(function(){return c})),e.d(n,"c",(function(){return a})),e.d(n,"a",(function(){return u}));var c=function(){var t=this,n=t.$createElement;t._self._c},a=[]},"9c0d":function(t,n,e){"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},afb3:function(t,n,e){"use strict";e.r(n);var u=e("54c7"),c=e("b082");for(var a in c)"default"!==a&&function(t){e.d(n,t,(function(){return c[t]}))}(a);e("fde2");var i,r=e("f0c5"),o=Object(r["a"])(c["default"],u["b"],u["c"],!1,null,null,null,!1,u["a"],i);n["default"]=o.exports},b082:function(t,n,e){"use strict";e.r(n);var u=e("9c0d"),c=e.n(u);for(var a in u)"default"!==a&&function(t){e.d(n,t,(function(){return u[t]}))}(a);n["default"]=c.a},fde2:function(t,n,e){"use strict";var u=e("235c"),c=e.n(u);c.a}}]);
|
||||
;(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__("afb3"))
|
||||
})
|
||||
},
|
||||
[['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">已选商品</view><view data-event-opts="{{[['tap',[['subDel',['$event']]]]]}}" class="del acea-row row-middle" bindtap="__e"><view class="iconfont icon-shanchu1"></view>清空</view></view><view class="list"><block wx:for="{{cartData.cartList}}" 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.productInfo.attrInfo}}"><image src="{{item.productInfo.attrInfo.image}}"></image></block><block wx:else><image src="{{item.productInfo.image}}"></image></block><block wx:if="{{!item.status||!item.attrStatus}}"><view class="mantle"></view></block></view><view class="txtPic"><view class="{{['name','line2',item.attrStatus&&item.status?'':'on']}}">{{item.productInfo.store_name}}</view><block wx:if="{{item.attrStatus&&item.status}}"><view><block wx:if="{{item.productInfo.attrInfo}}"><view class="info">{{item.productInfo.attrInfo.suk}}</view></block><view class="bottom acea-row row-between-wrapper"><view class="money">¥<text class="num">{{item.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.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.attrStatus}}"><view class="noBnt">已售罄</view></block><block wx:else><block wx:if="{{!item.status}}"><view class="noBnt">已下架</view></block></block></block><block wx:if="{{!item.status||!item.attrStatus}}"><view class="delTxt acea-row row-right"><text data-event-opts="{{[['tap',[['oneDel',['$0',index],[[['cartData.cartList','',index,'id']]]]]]]}}" bindtap="__e">删除</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/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"],{"25dd":function(t,e,n){},"2a88":function(t,e,n){"use strict";n.r(e);var u=n("5349"),a=n("8ddf");for(var o in a)"default"!==o&&function(t){n.d(e,t,(function(){return a[t]}))}(o);n("4df8");var r,d=n("f0c5"),i=Object(d["a"])(a["default"],u["b"],u["c"],!1,null,null,null,!1,u["a"],r);e["default"]=i.exports},"2edb":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},"4df8":function(t,e,n){"use strict";var u=n("25dd"),a=n.n(u);a.a},5349:function(t,e,n){"use strict";var u;n.d(e,"b",(function(){return a})),n.d(e,"c",(function(){return o})),n.d(e,"a",(function(){return u}));var a=function(){var t=this,e=t.$createElement;t._self._c},o=[]},"8ddf":function(t,e,n){"use strict";n.r(e);var u=n("2edb"),a=n.n(u);for(var o in u)"default"!==o&&function(t){n.d(e,t,(function(){return u[t]}))}(o);e["default"]=a.a}}]);
|
||||
;(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__("2a88"))
|
||||
})
|
||||
},
|
||||
[['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"],{"2e94":function(t,n,e){"use strict";e.r(n);var o=e("3ffa"),u=e.n(o);for(var i in o)"default"!==i&&function(t){e.d(n,t,(function(){return o[t]}))}(i);n["default"]=u.a},"3ffa":function(t,n,e){"use strict";(function(t){Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var o=e("7fe6"),u={props:{openType:{type:Number,default:0},coupon:{type:Object,default:function(){return{}}}},data:function(){return{type:0}},methods:{close:function(){this.$emit("ChangCouponsClone"),this.type=0},getCouponUser:function(n,e){var u=this,i=u.coupon.list;if(1==i[n].is_use&&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=u}).call(this,e("543d")["default"])},6411:function(t,n,e){"use strict";e.r(n);var o=e("c296"),u=e("2e94");for(var i in u)"default"!==i&&function(t){e.d(n,t,(function(){return u[t]}))}(i);e("8084");var c,a=e("f0c5"),s=Object(a["a"])(u["default"],o["b"],o["c"],!1,null,"77404317",null,!1,o["a"],c);n["default"]=s.exports},8084:function(t,n,e){"use strict";var o=e("cd2f"),u=e.n(o);u.a},c296:function(t,n,e){"use strict";var o;e.d(n,"b",(function(){return u})),e.d(n,"c",(function(){return i})),e.d(n,"a",(function(){return o}));var u=function(){var t=this,n=t.$createElement;t._self._c},i=[]},cd2f:function(t,n,e){}}]);
|
||||
;(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__("6411"))
|
||||
})
|
||||
},
|
||||
[['components/couponListWindow/index-create-component']]
|
||||
]);
|
||||
@ -0,0 +1,4 @@
|
||||
{
|
||||
"component": true,
|
||||
"usingComponents": {}
|
||||
}
|
||||
@ -0,0 +1 @@
|
||||
<view class="data-v-77404317"><view class="{{['coupon-list-window','data-v-77404317',coupon.coupon==true?'on':'']}}"><block wx:if="{{coupon.count}}"><view class="nav acea-row row-around data-v-77404317"><block wx:if="{{coupon.count[2]}}"><view data-event-opts="{{[['tap',[['setType',[2]]]]]}}" class="{{['data-v-77404317','acea-row','row-middle',coupon.type===2?'on':'']}}" bindtap="__e">商品券</view></block><block wx:if="{{coupon.count[1]}}"><view data-event-opts="{{[['tap',[['setType',[1]]]]]}}" class="{{['data-v-77404317','acea-row','row-middle',coupon.type===1?'on':'']}}" bindtap="__e">品类券</view></block><block wx:if="{{coupon.count[0]}}"><view data-event-opts="{{[['tap',[['setType',[0]]]]]}}" class="{{['data-v-77404317','acea-row','row-middle',coupon.type===0?'on':'']}}" bindtap="__e">通用券</view></block></view></block><block wx:else><view class="title data-v-77404317">优惠券<text data-event-opts="{{[['tap',[['close',['$event']]]]]}}" class="iconfont icon-guanbi data-v-77404317" bindtap="__e"></text></view></block><block wx:if="{{coupon.count}}"><view class="occupy data-v-77404317"></view></block><block wx:if="{{coupon.list.length}}"><view class="coupon-list data-v-77404317"><block wx:for="{{coupon.list}}" 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-77404317',(item.receive_type===4)?'svip':'']}}" bindtap="__e"><view class="moneyCon acea-row row-center-wrapper data-v-77404317"><view class="{{['money','acea-row','row-column','row-center-wrapper','data-v-77404317',item.is_use&&coupon.count?'moneyGray':'']}}"><view class="data-v-77404317">¥<text class="num data-v-77404317">{{item.coupon_price}}</text></view><block wx:if="{{item.use_min_price>0}}"><view class="pic-num data-v-77404317">{{"满"+item.use_min_price+"元可用"}}</view></block><block wx:else><view class="pic-num data-v-77404317">无门槛券</view></block></view></view><view class="text data-v-77404317"><view class="{{['condition','line2','data-v-77404317',coupon.count?'':'order']}}"><block wx:if="{{item.type===0}}"><label class="{{['line-title','_span','data-v-77404317',item.is_use&&coupon.count?'gray':'']}}">通用劵</label></block><block wx:else><block wx:if="{{item.type===1}}"><label class="{{['line-title','_span','data-v-77404317',item.is_use&&coupon.count?'gray':'']}}">品类券</label></block><block wx:else><label class="{{['line-title','_span','data-v-77404317',item.is_use&&coupon.count?'gray':'']}}">商品券</label></block></block><block wx:if="{{item.receive_type===4}}"><image class="pic data-v-77404317" src="../../static/images/fvip.png"></image></block><label class="name _span data-v-77404317">{{item.title}}</label></view><view class="data acea-row row-between-wrapper data-v-77404317"><block wx:if="{{item.coupon_time}}"><view class="data-v-77404317">{{"领取后"+item.coupon_time+"天内可用"}}</view></block><block wx:else><view class="data-v-77404317">{{(item.start_time?item.start_time+"-":"")+item.end_time}}</view></block><block wx:if="{{coupon.count}}"><view class="data-v-77404317"><block wx:if="{{item.is_use}}"><view class="bnt gray data-v-77404317">{{item.use_title||'已领取'}}</view></block><block wx:else><view class="bnt bg-color data-v-77404317">{{coupon.statusTile||'立即领取'}}</view></block></view></block><block wx:else><view class="orderCou data-v-77404317"><block wx:if="{{item.is_use}}"><view class="{{['iconfont','icon-xuanzhong11','data-v-77404317',item.receive_type===4?'svip':'font-num']}}"></view></block><block wx:else><view class="iconfont icon-weixuan data-v-77404317"></view></block></view></block></view></view></view></block></view></block><block wx:else><view class="pictrue data-v-77404317"><image src="../../static/images/noCoupon.png" class="data-v-77404317"></image></view></block></view><view class="mask data-v-77404317" catchtouchmove="true" hidden="{{coupon.coupon==false}}" data-event-opts="{{[['tap',[['close',['$event']]]]]}}" bindtap="__e"></view></view>
|
||||
@ -0,0 +1 @@
|
||||
.orderCou.data-v-77404317{position:absolute;right:20rpx;top:50%;margin-top:-20rpx}.orderCou .iconfont.data-v-77404317{font-size:40rpx}.orderCou .svip.data-v-77404317{color:#edbb75}.coupon-list .item .text.data-v-77404317{position:relative}.coupon-list .item .text .condition.order.data-v-77404317{width:350rpx}.coupon-list-window .coupon-list .text .condition .pic.data-v-77404317{width:30rpx;height:30rpx;margin-right:10rpx;vertical-align:middle}.coupon-list-window .coupon-list .text .condition .name.data-v-77404317{vertical-align:middle;font-size:26rpx;font-weight:500}.coupon-list-window.data-v-77404317{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-77404317{-webkit-transform:translateZ(0);transform:translateZ(0)}.coupon-list-window .title.data-v-77404317{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-77404317{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-77404317{margin:0 0 50rpx 0;height:721rpx;padding-top:28rpx;overflow:auto}.coupon-list-window .pictrue.data-v-77404317{width:414rpx;height:336rpx;margin:192rpx auto 243rpx auto}.coupon-list-window .pictrue image.data-v-77404317{width:100%;height:100%}.pic-num.data-v-77404317{color:#fff;font-size:24rpx}.line-title.data-v-77404317{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-77404317{border-color:#c1c1c1!important;color:#c1c1c1!important;background-color:#f7f7f7!important}.nav.data-v-77404317{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-77404317{border-top:5rpx solid transparent;border-bottom:5rpx solid transparent}.nav .acea-row.on.data-v-77404317{border-bottom-color:var(--view-theme);color:#282828}.nav .acea-row.data-v-77404317:only-child{border-bottom-color:transparent}.occupy.data-v-77404317{height:106rpx}.coupon-list .item.data-v-77404317{margin-bottom:18rpx;box-shadow:0 2rpx 10rpx rgba(0,0,0,.06)}.coupon-list .item .money.data-v-77404317{font-weight:400}
|
||||
@ -0,0 +1,10 @@
|
||||
(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["components/couponWindow/index"],{"4fee":function(n,t,e){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var u=o(e("c83f"));function o(n){return n&&n.__esModule?n:{default:n}}var r={props:{window:{type:Boolean|String|Number,default:!1},couponList:{type:Array,default:function(){return[]}},couponImage:{type:String,default:""}},mixins:[u.default],data:function(){return{}},methods:{close:function(){this.$emit("onColse")}}};t.default=r},6310:function(n,t,e){"use strict";var u=e("b0ac"),o=e.n(u);o.a},7841:function(n,t,e){"use strict";e.r(t);var u=e("d536"),o=e("ebba");for(var r in o)"default"!==r&&function(n){e.d(t,n,(function(){return o[n]}))}(r);e("6310");var a,c=e("f0c5"),f=Object(c["a"])(o["default"],u["b"],u["c"],!1,null,"2a047954",null,!1,u["a"],a);t["default"]=f.exports},b0ac:function(n,t,e){},d536:function(n,t,e){"use strict";var u;e.d(t,"b",(function(){return o})),e.d(t,"c",(function(){return r})),e.d(t,"a",(function(){return u}));var o=function(){var n=this,t=n.$createElement;n._self._c},r=[]},ebba:function(n,t,e){"use strict";e.r(t);var u=e("4fee"),o=e.n(u);for(var r in u)"default"!==r&&function(n){e.d(t,n,(function(){return u[n]}))}(r);t["default"]=o.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__("7841"))
|
||||
})
|
||||
},
|
||||
[['components/couponWindow/index-create-component']]
|
||||
]);
|
||||
@ -0,0 +1,4 @@
|
||||
{
|
||||
"usingComponents": {},
|
||||
"component": true
|
||||
}
|
||||
@ -0,0 +1 @@
|
||||
<view style="{{(colorStyle)}}" class="data-v-2a047954"><view class="{{['coupon-window','data-v-2a047954',window==true?'on':'']}}"><image class="co-bag data-v-2a047954" src="../../static/images/co-bag.png" mode></image><view class="couponWinList data-v-2a047954"><block wx:for="{{couponList}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view class="item acea-row row-between-wrapper data-v-2a047954"><view class="money font-color data-v-2a047954">¥<text class="num data-v-2a047954">{{item.coupon_price}}</text></view><view class="text data-v-2a047954"><view class="name data-v-2a047954">{{"购物满"+item.use_min_price+"减"+item.coupon_price}}</view><block wx:if="{{item.coupon_time}}"><view class="data-v-2a047954">{{"领取后"+item.coupon_time+"天内可用"}}</view></block><block wx:else><view class="data-v-2a047954">{{''+(item.start_time?item.start_time+'-':'')+(item.end_time===0?'不限时':item.end_time)+''}}</view></block></view></view></block></view><view class="lid data-v-2a047954"><navigator class="bnt data-v-2a047954" hover-class="none" url="/pages/users/user_get_coupon/index">立即领取</navigator><view data-event-opts="{{[['tap',[['close',['$event']]]]]}}" class="iconfont icon-guanbi3 data-v-2a047954" bindtap="__e"></view></view></view><view class="mask data-v-2a047954" catchtouchmove="true" hidden="{{window==false}}"></view></view>
|
||||
@ -0,0 +1 @@
|
||||
.mask.data-v-2a047954{z-index:9999}.coupon-window.data-v-2a047954{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-2a047954{width:100%;height:250rpx;z-index:33333;top:-40rpx;position:absolute}.coupon-window.data-v-2a047954: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-2a047954{-webkit-transform:translateZ(0);transform:translateZ(0)}.coupon-window .couponWinList.data-v-2a047954{width:480rpx;margin:157rpx 0 0 50rpx;height:340rpx;overflow-y:scroll}.coupon-window .couponWinList .item.data-v-2a047954{width:100%;height:120rpx;background-color:#fff;position:relative;margin-bottom:17rpx;position:relative;z-index:99999}.coupon-window .couponWinList .item .left.data-v-2a047954{border-right:1px dashed #ccc}.coupon-window .couponWinList .label.data-v-2a047954{width:28rpx;height:64rpx;display:block;position:absolute;top:0;right:12rpx}.coupon-window .couponWinList .item.data-v-2a047954::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-2a047954::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-2a047954{width:130rpx;text-align:center;font-size:26rpx;font-weight:700}.coupon-window .couponWinList .item .min_money.data-v-2a047954{color:#ccc;font-size:18rpx;text-align:center}.coupon-window .couponWinList .item .money .num.data-v-2a047954{font-size:40rpx}.coupon-window .couponWinList .item .text.data-v-2a047954{width:349rpx;font-size:22rpx;color:#ccc;padding:0 29rpx;box-sizing:border-box}.coupon-window .couponWinList .item .text .image.data-v-2a047954{width:32rpx;height:32rpx;display:inline-block;vertical-align:bottom;margin-right:10rpx}.coupon-window .couponWinList .item .text .name.data-v-2a047954{font-size:26rpx;color:var(--view-priceColor);font-weight:700;margin-bottom:9rpx;width:250rpx}.coupon-window .lid.data-v-2a047954{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-2a047954: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-2a047954{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-2a047954{color:#fff;font-size:60rpx;text-align:center;margin-top:87rpx}
|
||||
@ -0,0 +1,10 @@
|
||||
(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["components/cusPreviewImg/index"],{"4a8b":function(t,e,n){"use strict";n.r(e);var r=n("e83b"),u=n("89e6");for(var i in u)"default"!==i&&function(t){n.d(e,t,(function(){return u[t]}))}(i);n("5d3b");var a,c=n("f0c5"),o=Object(c["a"])(u["default"],r["b"],r["c"],!1,null,"ee6c747a",null,!1,r["a"],a);e["default"]=o.exports},"577a":function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.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")}}};e.default=r},"5d3b":function(t,e,n){"use strict";var r=n("df6a"),u=n.n(r);u.a},"89e6":function(t,e,n){"use strict";n.r(e);var r=n("577a"),u=n.n(r);for(var i in r)"default"!==i&&function(t){n.d(e,t,(function(){return r[t]}))}(i);e["default"]=u.a},df6a:function(t,e,n){},e83b:function(t,e,n){"use strict";var r;n.d(e,"b",(function(){return u})),n.d(e,"c",(function(){return i})),n.d(e,"a",(function(){return r}));var u=function(){var t=this,e=t.$createElement,n=(t._self._c,t.showBox&&t.list.length>0?Number(t.currentIndex):null);t.$mp.data=Object.assign({},{$root:{m0:n}})},i=[]}}]);
|
||||
;(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__("4a8b"))
|
||||
})
|
||||
},
|
||||
[['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-ee6c747a" catchtouchmove="__e"><view data-event-opts="{{[['tap',[['close',['$event']]]]]}}" class="mask data-v-ee6c747a" bindtap="__e"><swiper class="mask-swiper data-v-ee6c747a" 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-ee6c747a"><image class="mask-swiper-img data-v-ee6c747a" src="{{src.image}}" mode="widthFix"></image><view class="mask_sku data-v-ee6c747a"><text class="sku_name data-v-ee6c747a">{{src.suk}}</text><text class="sku_price data-v-ee6c747a">{{"¥"+src.price}}</text></view></swiper-item></block></swiper></view><block wx:if="{{list.length>0}}"><view class="pagebox data-v-ee6c747a">{{$root.m0+1+" / "+list.length}}</view></block></view></block>
|
||||
@ -0,0 +1 @@
|
||||
.previewImg.data-v-ee6c747a{position:fixed;top:0;left:0;z-index:300;width:100%;height:100%}.previewImg .mask.data-v-ee6c747a{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-ee6c747a{width:100%;height:100%}.previewImg .mask-swiper-img.data-v-ee6c747a{width:100%}.previewImg .pagebox.data-v-ee6c747a{position:absolute;width:100%;bottom:20rpx;z-index:300;color:#fff;text-align:center}.mask_sku.data-v-ee6c747a{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-ee6c747a{font-size:12px;border:1px solid #fff;padding:10rpx 30rpx 10rpx;border-radius:40px;box-sizing:border-box}.mask_sku .sku_price.data-v-ee6c747a{padding-top:10px}.font12.data-v-ee6c747a{font-size:24rpx}.share_btn.data-v-ee6c747a{position:absolute;top:70rpx;right:50rpx;font-size:40rpx;color:#fff;z-index:300}.flex-column.data-v-ee6c747a{flex-direction:column}.justify-center.data-v-ee6c747a{justify-content:center}.align-center.data-v-ee6c747a{align-items:center}
|
||||
10
crmeb/public/statics/mp_view/components/d_goodList/index.js
Normal file
10
crmeb/public/statics/mp_view/components/d_goodList/index.js
Normal file
@ -0,0 +1,10 @@
|
||||
(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["components/d_goodList/index"],{"7b67":function(t,n,e){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var a={name:"d_goodList",props:{dataConfig:{type:Object,default:function(){}},tempArr:{type:Array,default:[]},isLogin:{type:Boolean,default:!1}},data:function(){return{}},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.$emit("ChangeCartNumDan",!1,t,n)},CartNumAdd:function(t,n){this.$emit("ChangeCartNumDan",!0,t,n)}}};n.default=a},"936d":function(t,n,e){"use strict";var a;e.d(n,"b",(function(){return u})),e.d(n,"c",(function(){return o})),e.d(n,"a",(function(){return a}));var u=function(){var t=this,n=t.$createElement;t._self._c},o=[]},a085:function(t,n,e){},bbd8:function(t,n,e){"use strict";var a=e("a085"),u=e.n(a);u.a},dd16:function(t,n,e){"use strict";e.r(n);var a=e("7b67"),u=e.n(a);for(var o in a)"default"!==o&&function(t){e.d(n,t,(function(){return a[t]}))}(o);n["default"]=u.a},fb7a:function(t,n,e){"use strict";e.r(n);var a=e("936d"),u=e("dd16");for(var o in u)"default"!==o&&function(t){e.d(n,t,(function(){return u[t]}))}(o);e("bbd8");var i,r=e("f0c5"),c=Object(r["a"])(u["default"],a["b"],a["c"],!1,null,null,null,!1,a["a"],i);n["default"]=c.exports}}]);
|
||||
;(global["webpackJsonp"] = global["webpackJsonp"] || []).push([
|
||||
'components/d_goodList/index-create-component',
|
||||
{
|
||||
'components/d_goodList/index-create-component':(function(module, exports, __webpack_require__){
|
||||
__webpack_require__('543d')['createComponent'](__webpack_require__("fb7a"))
|
||||
})
|
||||
},
|
||||
[['components/d_goodList/index-create-component']]
|
||||
]);
|
||||
@ -0,0 +1,4 @@
|
||||
{
|
||||
"usingComponents": {},
|
||||
"component": true
|
||||
}
|
||||
@ -0,0 +1 @@
|
||||
<view class="goodsList"><block wx:for="{{tempArr}}" 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.activity&&item.activity.type==='1'}}"><label class="pictrue_log pictrue_log_class _span">秒杀</label></block><block wx:if="{{item.activity&&item.activity.type==='2'}}"><label class="pictrue_log pictrue_log_class _span">砍价</label></block><block wx:if="{{item.activity&&item.activity.type==='3'}}"><label class="pictrue_log pictrue_log_class _span">拼团</label></block><block wx:if="{{item.recommend_image}}"><image src="{{item.recommend_image}}" mode></image></block><block wx:else><image src="{{item.image}}" mode></image></block></view><view class="text line2">{{item.store_name}}</view><view class="bottom acea-row row-between-wrapper"><view class="sales acea-row row-middle"><view class="money font-color"><text>¥</text>{{item.price}}</view><view>{{"已售 "+item.sales}}</view></view><block wx:if="{{item.stock>0}}"><view><block wx:if="{{item.activity&&(item.activity.type==='1'||item.activity.type==='2'||item.activity.type==='3')||item.is_virtual||!item.cart_button}}"><view class="bnt">立即购买</view></block><block wx:else><view><block wx:if="{{item.spec_type}}"><view data-event-opts="{{[['tap',[['goCartDuo',['$0'],[[['tempArr','',index]]]]]]]}}" class="bnt" catchtap="__e">加入购物车<block wx:if="{{isLogin&&item.cart_num}}"><view class="num">{{item.cart_num}}</view></block></view></block><block wx:if="{{!item.spec_type&&!item.cart_num}}"><view data-event-opts="{{[['tap',[['goCartDan',['$0',index],[[['tempArr','',index]]]]]]]}}" class="bnt" catchtap="__e">加入购物车</view></block><block wx:if="{{!item.spec_type&&item.cart_num}}"><view class="cart acea-row row-middle"><view data-event-opts="{{[['tap',[['CartNumDes',[index,'$0'],[[['tempArr','',index]]]]]]]}}" class="pictrue iconfont icon-jianhao" catchtap="__e"></view><view class="num">{{item.cart_num}}</view><view data-event-opts="{{[['tap',[['CartNumAdd',[index,'$0'],[[['tempArr','',index]]]]]]]}}" class="pictrue iconfont icon-jiahao" catchtap="__e"></view></view></block></view></block></view></block><block wx:else><view class="bnt end">已售罄</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{width:100%;height:290rpx;border-radius:16rpx;position:relative}.goodsList .item .pictrue image{width:100%;height:100%;border-radius:10rpx}.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/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"],{"18ff":function(t,n,e){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var u={props:{title:{type:String,default:"暂无记录"}}};n.default=u},"676c":function(t,n,e){"use strict";e.r(n);var u=e("18ff"),r=e.n(u);for(var c in u)"default"!==c&&function(t){e.d(n,t,(function(){return u[t]}))}(c);n["default"]=r.a},"838d":function(t,n,e){"use strict";var u;e.d(n,"b",(function(){return r})),e.d(n,"c",(function(){return c})),e.d(n,"a",(function(){return u}));var r=function(){var t=this,n=t.$createElement;t._self._c},c=[]},9156:function(t,n,e){},e42b:function(t,n,e){"use strict";var u=e("9156"),r=e.n(u);r.a},e972:function(t,n,e){"use strict";e.r(n);var u=e("838d"),r=e("676c");for(var c in r)"default"!==c&&function(t){e.d(n,t,(function(){return r[t]}))}(c);e("e42b");var f,a=e("f0c5"),o=Object(a["a"])(r["default"],u["b"],u["c"],!1,null,null,null,!1,u["a"],f);n["default"]=o.exports}}]);
|
||||
;(global["webpackJsonp"] = global["webpackJsonp"] || []).push([
|
||||
'components/emptyPage-create-component',
|
||||
{
|
||||
'components/emptyPage-create-component':(function(module, exports, __webpack_require__){
|
||||
__webpack_require__('543d')['createComponent'](__webpack_require__("e972"))
|
||||
})
|
||||
},
|
||||
[['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="/static/images/empty-box.png"></image><view class="txt">{{title}}</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"],{"35e1":function(t,n,e){"use strict";e.r(n);var a=e("7e61"),u=e.n(a);for(var o in a)"default"!==o&&function(t){e.d(n,t,(function(){return a[t]}))}(o);n["default"]=u.a},"71f9":function(t,n,e){},"7e61":function(t,n,e){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var a={name:"d_goodList",props:{dataConfig:{type:Object,default:function(){}},tempArr:{type:Array,default:[]},isLogin:{type:Boolean,default:!1}},data:function(){return{}},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.$emit("ChangeCartNumDan",!1,t,n)},CartNumAdd:function(t,n){this.$emit("ChangeCartNumDan",!0,t,n)}}};n.default=a},"9eaa":function(t,n,e){"use strict";var a;e.d(n,"b",(function(){return u})),e.d(n,"c",(function(){return o})),e.d(n,"a",(function(){return a}));var u=function(){var t=this,n=t.$createElement;t._self._c},o=[]},d128:function(t,n,e){"use strict";e.r(n);var a=e("9eaa"),u=e("35e1");for(var o in u)"default"!==o&&function(t){e.d(n,t,(function(){return u[t]}))}(o);e("f40a");var i,r=e("f0c5"),f=Object(r["a"])(u["default"],a["b"],a["c"],!1,null,null,null,!1,a["a"],i);n["default"]=f.exports},f40a:function(t,n,e){"use strict";var a=e("71f9"),u=e.n(a);u.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__("d128"))
|
||||
})
|
||||
},
|
||||
[['components/goodClass/index-create-component']]
|
||||
]);
|
||||
@ -0,0 +1,4 @@
|
||||
{
|
||||
"usingComponents": {},
|
||||
"component": true
|
||||
}
|
||||
@ -0,0 +1 @@
|
||||
<view class="goodsList"><block wx:for="{{tempArr}}" 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.activity&&item.activity.type==='1'}}"><label class="pictrue_log pictrue_log_class _span">秒杀</label></block><block wx:if="{{item.activity&&item.activity.type==='2'}}"><label class="pictrue_log pictrue_log_class _span">砍价</label></block><block wx:if="{{item.activity&&item.activity.type==='3'}}"><label class="pictrue_log pictrue_log_class _span">拼团</label></block><image src="{{item.image}}" mode></image></view><view class="pictxt"><view class="text line2">{{item.store_name}}</view><view class="bottom acea-row row-between-wrapper"><view class="money font-color"><text class="sign">¥</text>{{item.price+''}}</view><block wx:if="{{item.stock>0}}"><view><block wx:if="{{item.activity&&(item.activity.type==='1'||item.activity.type==='2'||item.activity.type==='3')}}"><view class="iconfont icon-gouwuche6 acea-row row-center-wrapper"></view></block><block wx:else><view><block wx:if="{{item.spec_type}}"><view data-event-opts="{{[['tap',[['goCartDuo',['$0'],[[['tempArr','',index]]]]]]]}}" class="bnt acea-row row-center-wrapper" catchtap="__e">选规格<block wx:if="{{isLogin&&item.cart_num}}"><text class="num">{{item.cart_num}}</text></block></view></block><block wx:if="{{!item.spec_type&&!item.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.spec_type&&item.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.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">已售罄</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"],{"0aa1":function(t,n,e){"use strict";e.r(n);var a=e("ae55"),u=e("e7da");for(var o in u)"default"!==o&&function(t){e.d(n,t,(function(){return u[t]}))}(o);e("f2a7");var i,r=e("f0c5"),c=Object(r["a"])(u["default"],a["b"],a["c"],!1,null,"48f8e84b",null,!1,a["a"],i);n["default"]=c.exports},"5eb1":function(t,n,e){"use strict";(function(t){Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var a=e("26cb"),u=e("4729"),o={computed:(0,a.mapGetters)(["uid"]),props:{status:{type:Number,default:0},bastList:{type:Array,default:function(){return[]}}},data:function(){return{}},methods:{goDetail:function(n){var e=this;(0,u.goPage)().then((function(a){(0,u.goShopDetail)(n,e.uid).then((function(e){t.navigateTo({url:"/pages/goods_details/index?id=".concat(n.id)})}))}))}}};n.default=o}).call(this,e("543d")["default"])},7616:function(t,n,e){},ae55:function(t,n,e){"use strict";var a;e.d(n,"b",(function(){return u})),e.d(n,"c",(function(){return o})),e.d(n,"a",(function(){return a}));var u=function(){var t=this,n=t.$createElement;t._self._c},o=[]},e7da:function(t,n,e){"use strict";e.r(n);var a=e("5eb1"),u=e.n(a);for(var o in a)"default"!==o&&function(t){e.d(n,t,(function(){return a[t]}))}(o);n["default"]=u.a},f2a7:function(t,n,e){"use strict";var a=e("7616"),u=e.n(a);u.a}}]);
|
||||
;(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__("0aa1"))
|
||||
})
|
||||
},
|
||||
[['components/goodList/index-create-component']]
|
||||
]);
|
||||
@ -0,0 +1,4 @@
|
||||
{
|
||||
"usingComponents": {},
|
||||
"component": true
|
||||
}
|
||||
@ -0,0 +1 @@
|
||||
<view class="goodList data-v-48f8e84b"><scroll-view style="height:100%;" scroll-y="true" scroll-with-animation="true" class="data-v-48f8e84b"><block wx:for="{{bastList}}" wx:for-item="item" wx:for-index="index" wx:key="index"><block class="data-v-48f8e84b"><view class="item acea-row row-between-wrapper data-v-48f8e84b" hover-class="none" data-event-opts="{{[['tap',[['goDetail',['$0'],[[['bastList','',index]]]]]]]}}" bindtap="__e"><view class="pictrue data-v-48f8e84b"><image src="{{item.image}}" class="data-v-48f8e84b"></image><block wx:if="{{item.activity&&item.activity.type==='1'}}"><label class="pictrue_log pictrue_log_class _span data-v-48f8e84b">秒杀</label></block><block wx:if="{{item.activity&&item.activity.type==='2'}}"><label class="pictrue_log pictrue_log_class _span data-v-48f8e84b">砍价</label></block><block wx:if="{{item.activity&&item.activity.type==='3'}}"><label class="pictrue_log pictrue_log_class _span data-v-48f8e84b">拼团</label></block></view><view class="underline data-v-48f8e84b"><view class="text data-v-48f8e84b"><view class="line1 data-v-48f8e84b">{{item.store_name}}</view><view class="money font-color data-v-48f8e84b">¥<text class="num data-v-48f8e84b">{{item.price}}</text></view><block wx:if="{{item.is_vip&&item.vip_price&&item.vip_price>0}}"><view class="vip-money acea-row row-middle data-v-48f8e84b">{{"¥"+(item.vip_price||0)+''}}<image src="../../static/images/vip.png" class="data-v-48f8e84b"></image><text class="num data-v-48f8e84b">{{"已售"+item.sales+item.unit_name}}</text></view></block><block wx:else><view class="vip-money acea-row row-middle data-v-48f8e84b"><text class="num data-v-48f8e84b">{{"已售"+item.sales+item.unit_name}}</text></view></block></view></view></view></block></block></scroll-view></view>
|
||||
@ -0,0 +1 @@
|
||||
.goodList .item.data-v-48f8e84b{position:relative;padding-left:30rpx}.goodList .item .pictrue.data-v-48f8e84b{width:180rpx;height:180rpx;position:relative}.goodList .item .pictrue image.data-v-48f8e84b{width:100%;height:100%;border-radius:20rpx}.goodList .item .pictrue .numPic.data-v-48f8e84b{position:absolute;left:7rpx;top:7rpx;width:40rpx;height:40rpx;border-radius:50%}.goodList .item .underline.data-v-48f8e84b{padding:30rpx 30rpx 30rpx 0;border-bottom:1px solid #f5f5f5}.goodList .item:nth-last-child(1) .underline.data-v-48f8e84b{border-bottom:0}.goodList .item .text.data-v-48f8e84b{font-size:30rpx;color:#222;width:489rpx}.goodList .item .text .money.data-v-48f8e84b{font-size:26rpx;font-weight:700;margin-top:50rpx}.goodList .item .text .money .num.data-v-48f8e84b{font-size:34rpx}.goodList .item .text .vip-money.data-v-48f8e84b{font-size:24rpx;color:#282828;font-weight:700;margin-top:15rpx}.goodList .item .text .vip-money image.data-v-48f8e84b{width:66rpx;height:25rpx;margin-right:8rpx;margin-left:8rpx}.goodList .item .text .vip-money .num.data-v-48f8e84b{font-size:22rpx;color:#aaa;font-weight:400;margin-top:-2rpx}.goodList .item .text .vip-money .num ~ .num.data-v-48f8e84b{margin-left:22rpx}.goodList .item .iconfont.data-v-48f8e84b{position:absolute;right:30rpx;width:50rpx;height:50rpx;border-radius:50%;font-size:30rpx;bottom:38rpx}
|
||||
@ -0,0 +1,10 @@
|
||||
(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["components/goodsWaterfall/goodsWaterfall"],{"3e0c":function(t,i,a){"use strict";(function(t){Object.defineProperty(i,"__esModule",{value:!0}),i.default=void 0;var s=a("4729"),e={name:"goodsWaterfall",props:{dataLists:{default:[]}},data:function(){return{lists1:[],lists2:[],list1Height:0,list2Height:0,tmp_data:[],loaded:[],loadErr:[],showLoad:!1}},methods:{goGoodsDetail:function(i){var a=this;(0,s.goPage)().then((function(e){(0,s.goShopDetail)(i,a.uid).then((function(a){t.navigateTo({url:"/pages/goods_details/index?id=".concat(i.id)})}))}))},refresData:function(){this.hideLoadFlag();var t=this;if(t.list1Height=0,t.list2Height=0,t.lists1=[],t.lists2=[],!this.tmp_data.length)return t.list1Height=0,t.list2Height=0,t.lists1=[],void(t.lists2=[]);if(this.tmp_data.length)for(var i=0;i<this.tmp_data.length;i++)t.list1Height>t.list2Height?(t.list2Height+=this.tmp_data[i].img_height,t.lists2.push(this.tmp_data[i]),1):(t.list1Height+=this.tmp_data[i].img_height,t.lists1.push(this.tmp_data[i]),1),this.tmp_data.length},imgLoad:function(t){this.loaded.push(t.target.id),this.tmp_data[t.target.id]["img_height"]=167.5*t.detail.height/t.detail.width},imgError:function(t){this.loadErr.push(t.target.id)},showLoadFlag:function(){this.showLoad||(this.showLoad=!0)},hideLoadFlag:function(){this.showLoad&&(t.hideLoading(),this.showLoad=!1)}},mounted:function(){var t=this;t.tmp_data=t.dataLists,t.showLoadFlag()},watch:{dataLists:function(){this.loaded=[],this.loadErr=[],this.tmp_data=this.dataLists,this.showLoadFlag()},loaded:function(t){this.refresData()},loadErr:function(){}}};i.default=e}).call(this,a("543d")["default"])},"89bf":function(t,i,a){},cd73:function(t,i,a){"use strict";a.r(i);var s=a("d31c"),e=a("f9c1");for(var o in e)"default"!==o&&function(t){a.d(i,t,(function(){return e[t]}))}(o);a("f9f1");var n,d=a("f0c5"),h=Object(d["a"])(e["default"],s["b"],s["c"],!1,null,"1e4e6cd1",null,!1,s["a"],n);i["default"]=h.exports},d31c:function(t,i,a){"use strict";var s;a.d(i,"b",(function(){return e})),a.d(i,"c",(function(){return o})),a.d(i,"a",(function(){return s}));var e=function(){var t=this,i=t.$createElement;t._self._c},o=[]},f9c1:function(t,i,a){"use strict";a.r(i);var s=a("3e0c"),e=a.n(s);for(var o in s)"default"!==o&&function(t){a.d(i,t,(function(){return s[t]}))}(o);i["default"]=e.a},f9f1:function(t,i,a){"use strict";var s=a("89bf"),e=a.n(s);e.a}}]);
|
||||
;(global["webpackJsonp"] = global["webpackJsonp"] || []).push([
|
||||
'components/goodsWaterfall/goodsWaterfall-create-component',
|
||||
{
|
||||
'components/goodsWaterfall/goodsWaterfall-create-component':(function(module, exports, __webpack_require__){
|
||||
__webpack_require__('543d')['createComponent'](__webpack_require__("cd73"))
|
||||
})
|
||||
},
|
||||
[['components/goodsWaterfall/goodsWaterfall-create-component']]
|
||||
]);
|
||||
@ -0,0 +1,4 @@
|
||||
{
|
||||
"component": true,
|
||||
"usingComponents": {}
|
||||
}
|
||||
@ -0,0 +1 @@
|
||||
<view class="data-v-1e4e6cd1"><view class="feng_flow data-v-1e4e6cd1"><view class="flow_block data-v-1e4e6cd1"><block wx:for="{{lists1}}" wx:for-item="item" wx:for-index="i1" wx:key="i1"><view data-event-opts="{{[['tap',[['goGoodsDetail',['$0'],[[['lists1','',i1]]]]]]]}}" class="product-list pr10 data-v-1e4e6cd1" bindtap="__e"><view class="product-item data-v-1e4e6cd1"><image style="width:100%;" src="{{item.image}}" mode="widthFix" fade-show="{{true}}" class="data-v-1e4e6cd1"></image><view class="info data-v-1e4e6cd1"><view class="title line2 data-v-1e4e6cd1">{{item.store_name}}</view><block wx:if="{{item.activity&&item.activity.type==='1'}}"><view class="tag data-v-1e4e6cd1">秒杀</view></block><block wx:if="{{item.activity&&item.activity.type==='2'}}"><view class="tag data-v-1e4e6cd1">砍价</view></block><block wx:if="{{item.activity&&item.activity.type==='3'}}"><view class="tag data-v-1e4e6cd1">拼团</view></block><view class="price-box data-v-1e4e6cd1"><view class="data-v-1e4e6cd1"><text class="data-v-1e4e6cd1">¥</text>{{''+item.price+''}}</view><view class="sales data-v-1e4e6cd1">{{'已售 '+item.sales+''}}</view></view></view></view></view></block></view><view class="flow_block data-v-1e4e6cd1"><block wx:for="{{lists2}}" wx:for-item="item2" wx:for-index="i2" wx:key="i2"><view data-event-opts="{{[['tap',[['goGoodsDetail',['$0'],[[['lists2','',i2]]]]]]]}}" class="product-list pl10 data-v-1e4e6cd1" bindtap="__e"><view class="product-item data-v-1e4e6cd1"><image style="width:100%;" src="{{item2.image}}" mode="widthFix" fade-show="{{true}}" class="data-v-1e4e6cd1"></image><view class="info data-v-1e4e6cd1"><view class="title line2 data-v-1e4e6cd1">{{item2.store_name}}</view><block wx:if="{{item2.activity&&item2.activity.type==='1'}}"><view class="tag data-v-1e4e6cd1">秒杀</view></block><block wx:if="{{item2.activity&&item2.activity.type==='2'}}"><view class="tag data-v-1e4e6cd1">砍价</view></block><block wx:if="{{item2.activity&&item2.activity.type==='3'}}"><view class="tag data-v-1e4e6cd1">拼团</view></block><view class="price-box data-v-1e4e6cd1"><view class="data-v-1e4e6cd1"><text class="data-v-1e4e6cd1">¥</text>{{''+item2.price+''}}</view><view class="sales data-v-1e4e6cd1">{{'已售 '+item2.sales+''}}</view></view></view></view></view></block></view></view><view class="feng_flow data-v-1e4e6cd1" style="display:none;"><view class="flow_block data-v-1e4e6cd1"><block wx:for="{{dataLists}}" wx:for-item="data" wx:for-index="da_i" wx:key="da_i"><view class="flow_item data-v-1e4e6cd1"><image style="width:100%;" src="{{data.image}}" id="{{da_i}}" mode="widthFix" data-event-opts="{{[['error',[['imgError',['$event']]]],['load',[['imgLoad',['$event']]]]]}}" binderror="__e" bindload="__e" class="data-v-1e4e6cd1"></image></view></block></view><view class="flow_block data-v-1e4e6cd1"></view></view></view>
|
||||
@ -0,0 +1 @@
|
||||
.feng_flow.data-v-1e4e6cd1{display:flex;margin:0 30rpx}.flow_block.data-v-1e4e6cd1{display:flex;flex:1;flex-direction:column;width:100%}.flow_item.data-v-1e4e6cd1{margin:15rpx;border-radius:20rpx;background:#f4f4f4;overflow:hidden}.flow_item_con.data-v-1e4e6cd1{padding:10rpx 20rpx 20rpx}.flow_item_title.data-v-1e4e6cd1{position:relative;font-size:32rpx;font-weight:700;margin-bottom:5rpx}.flow_item_des.data-v-1e4e6cd1{font-size:24rpx}.pl10.data-v-1e4e6cd1{padding-left:10rpx}.pr10.data-v-1e4e6cd1{padding-right:10rpx}.product-list.data-v-1e4e6cd1{display:flex}.product-list .product-item.data-v-1e4e6cd1{position:relative;width:100%;background:#fff;border-radius:10rpx;margin-bottom:20rpx}.product-list .product-item image.data-v-1e4e6cd1{width:100%;border-radius:10rpx 10rpx 0 0}.product-list .product-item .info.data-v-1e4e6cd1{padding:14rpx 16rpx}.product-list .product-item .info .title.data-v-1e4e6cd1{font-size:28rpx}.product-list .product-item .info .tag.data-v-1e4e6cd1{border-radius:4rpx;border:1px solid var(--view-theme);color:var(--view-theme);font-size:20rpx;padding:0rpx 4rpx;margin:10rpx 0;width:-webkit-max-content;width:max-content}.product-list .product-item .info .price-box.data-v-1e4e6cd1{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-1e4e6cd1{font-size:28rpx}.product-list .product-item .info .price-box .sales.data-v-1e4e6cd1{color:#999;font-size:24rpx;font-weight:400}
|
||||
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"],{"0887":function(t,n,e){"use strict";var a=e("724d"),i=e.n(a);i.a},3235:function(t,n,e){"use strict";(function(t){Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var e={data:function(){return{autoplay:!1,duration:500,jumpover:"跳过",experience:"立即体验",timecount:void 0,times:0}},props:{advData:{type:Object,default:function(){}},closeType:{type:Number,default:1}},mounted:function(){this.timer()},methods:{timer:function(){var t=this;this.times=this.advData.time;var n=this.advData.time||5;this.timecount=setInterval((function(){n--,t.times=n,n<=0&&(clearInterval(t.timecount),t.launchFlag())}),1e3)},launchFlag:function(){clearInterval(this.timecount),t.switchTab({url:"/pages/index/index"})},jump:function(n){n&&(-1!=n.indexOf("http")?t.navigateTo({url:"/pages/annex/web_view/index?url=".concat(n)}):t.navigateTo({url:n,fail:function(){t.switchTab({url:n})}}),clearInterval(this.timecount))}}};n.default=e}).call(this,e("543d")["default"])},"724d":function(t,n,e){},7382:function(t,n,e){"use strict";e.r(n);var a=e("b50b"),i=e("9e06");for(var u in i)"default"!==u&&function(t){e.d(n,t,(function(){return i[t]}))}(u);e("0887");var c,r=e("f0c5"),o=Object(r["a"])(i["default"],a["b"],a["c"],!1,null,"7b22866f",null,!1,a["a"],c);n["default"]=o.exports},"9e06":function(t,n,e){"use strict";e.r(n);var a=e("3235"),i=e.n(a);for(var u in a)"default"!==u&&function(t){e.d(n,t,(function(){return a[t]}))}(u);n["default"]=i.a},b50b:function(t,n,e){"use strict";var a;e.d(n,"b",(function(){return i})),e.d(n,"c",(function(){return u})),e.d(n,"a",(function(){return a}));var i=function(){var t=this,n=t.$createElement;t._self._c},u=[]}}]);
|
||||
;(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__("7382"))
|
||||
})
|
||||
},
|
||||
[['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 @@
|
||||
{
|
||||
"usingComponents": {},
|
||||
"component": true
|
||||
}
|
||||
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-7b22866f"><block wx:if="{{advData.type=='pic'&&advData.value.length}}"><swiper class="swiper data-v-7b22866f" 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-7b22866f"><view class="swiper-item data-v-7b22866f"><view class="swiper-item-img data-v-7b22866f"><image src="{{item.img}}" mode="scaleToFill" class="data-v-7b22866f"></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-7b22866f"><video class="vid data-v-7b22866f" 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-7b22866f" catchtap="__e">跳过<block wx:if="{{closeType==1}}"><text class="data-v-7b22866f">{{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-7b22866f,
|
||||
.content.data-v-7b22866f{width:100%;height:100%;background-size:100% auto;padding:0}.swiper.data-v-7b22866f{width:100%;height:100vh;background:#fff}.swiper-item.data-v-7b22866f{width:100%;height:100%;text-align:center;position:relative;display:flex;align-items:flex-end;flex-direction:column-reverse}.swiper-item-img.data-v-7b22866f{width:100%;height:100vh;margin:0 auto}.swiper-item-img image.data-v-7b22866f{width:100%;height:100%}.jump-over.data-v-7b22866f{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-7b22866f{right:30rpx;top:80rpx}.video-box.data-v-7b22866f{width:100vw;height:100vh}.video-box .vid.data-v-7b22866f{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"],{2178:function(t,e,n){"use strict";n.r(e);var o=n("50298"),c=n.n(o);for(var u in o)"default"!==u&&function(t){n.d(e,t,(function(){return o[t]}))}(u);e["default"]=c.a},"48ea":function(t,e,n){"use strict";var o=n("66e8"),c=n.n(o);c.a},50298:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var o=n("26cb"),c=u(n("c83f"));function u(t){return t&&t.__esModule?t:{default:t}}var r={name:"Home",props:{},mixins:[c.default],data:function(){return{top:"545"}},computed:(0,o.mapGetters)(["homeActive"]),methods:{setTouchMove:function(t){var e=this;t.touches[0].clientY<545&&t.touches[0].clientY>66&&(e.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},"66e8":function(t,e,n){},c872:function(t,e,n){"use strict";var o;n.d(e,"b",(function(){return c})),n.d(e,"c",(function(){return u})),n.d(e,"a",(function(){return o}));var c=function(){var t=this,e=t.$createElement;t._self._c},u=[]},f497:function(t,e,n){"use strict";n.r(e);var o=n("c872"),c=n("2178");for(var u in c)"default"!==u&&function(t){n.d(e,t,(function(){return c[t]}))}(u);n("48ea");var r,i=n("f0c5"),a=Object(i["a"])(c["default"],o["b"],o["c"],!1,null,"1c218412",null,!1,o["a"],r);e["default"]=a.exports}}]);
|
||||
;(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__("f497"))
|
||||
})
|
||||
},
|
||||
[['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-1c218412"><view style="touch-action:none;" class="data-v-1c218412"><view class="home data-v-1c218412" 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-1c218412',homeActive===true?'on':'']}}"><navigator class="iconfont icon-shouye-xianxing data-v-1c218412" hover-class="none" open-type="switchTab" url="/pages/index/index"></navigator><navigator class="iconfont icon-caigou-xianxing data-v-1c218412" hover-class="none" open-type="switchTab" url="/pages/order_addcart/order_addcart"></navigator><navigator class="iconfont icon-yonghu1 data-v-1c218412" hover-class="none" open-type="switchTab" url="/pages/user/index"></navigator></view></block><view data-event-opts="{{[['tap',[['open',['$event']]]]]}}" class="pictrueBox data-v-1c218412" bindtap="__e"><view class="pictrue data-v-1c218412"><image class="image data-v-1c218412" src="{{homeActive===true?'/static/images/close.gif':'/static/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-1c218412{width:130rpx;height:120rpx}.home.data-v-1c218412{position:fixed;color:#fff;text-align:center;z-index:999;right:15rpx;display:flex}.home .homeCon.data-v-1c218412{border-radius:50rpx;opacity:0;height:0;color:var(--view-theme);width:0}.home .homeCon.on.data-v-1c218412{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}.home .homeCon .iconfont.data-v-1c218412{font-size:48rpx;color:#fff;display:inline-block;margin:0 auto}.home .pictrue.data-v-1c218412{width:86rpx;height:86rpx;border-radius:50%;margin:0 auto;background-color:var(--view-theme)}.home .pictrue .image.data-v-1c218412{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"],{"147a":function(e,n,a){"use strict";var t=a("9ae8"),o=a.n(t);o.a},"843b":function(e,n,a){"use strict";(function(e){Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var a={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:"首页",icon:"icon-shouye8",url:"/pages/index/index",after:"dialog_after"},{name:"搜索",icon:"icon-sousuo6",url:"/pages/goods_search/index",after:"dialog_after"},{name:"购物车",icon:"icon-gouwuche7",url:"/pages/order_addcart/order_addcart",after:"dialog_after"},{name:"我的收藏",icon:"icon-shoucang3",url:"/pages/users/user_goods_collection/index",after:"dialog_after"},{name:"个人中心",icon:"icon-gerenzhongxin1",url:"/pages/user/index"}]}},methods:{linkPage:function(n){-1==["/pages/goods_cate/goods_cate","/pages/order_addcart/order_addcart","/pages/user/index","/pages/index/index"].indexOf(n)?e.navigateTo({url:n}):e.switchTab({url:n})}},created:function(){},beforeDestroy:function(){}};n.default=a}).call(this,a("543d")["default"])},"9ae8":function(e,n,a){},a02b:function(e,n,a){"use strict";a.r(n);var t=a("bcce"),o=a("e225");for(var r in o)"default"!==r&&function(e){a.d(n,e,(function(){return o[e]}))}(r);a("147a");var u,i=a("f0c5"),c=Object(i["a"])(o["default"],t["b"],t["c"],!1,null,"45b60d19",null,!1,t["a"],u);n["default"]=c.exports},bcce:function(e,n,a){"use strict";var t;a.d(n,"b",(function(){return o})),a.d(n,"c",(function(){return r})),a.d(n,"a",(function(){return t}));var o=function(){var e=this,n=e.$createElement;e._self._c},r=[]},e225:function(e,n,a){"use strict";a.r(n);var t=a("843b"),o=a.n(t);for(var r in t)"default"!==r&&function(e){a.d(n,e,(function(){return t[e]}))}(r);n["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__("a02b"))
|
||||
})
|
||||
},
|
||||
[['components/homeList/index-create-component']]
|
||||
]);
|
||||
@ -0,0 +1,4 @@
|
||||
{
|
||||
"component": true,
|
||||
"usingComponents": {}
|
||||
}
|
||||
@ -0,0 +1 @@
|
||||
<view hidden="{{!(currentPage)}}" class="{{['animated','dialog_nav','data-v-45b60d19',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-45b60d19',item.after]}}" bindtap="__e"><text class="{{['iconfont','data-v-45b60d19',item.icon]}}"></text><text class="pl-20 data-v-45b60d19">{{item.name}}</text></view></block></view>
|
||||
@ -0,0 +1 @@
|
||||
.dialog_nav.data-v-45b60d19{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-45b60d19::before{content:"";width:0;height:0;border-left:15rpx solid transparent;border-right:15rpx solid transparent;border-bottom:30rpx solid #fff;position:absolute;top:-23rpx;right:36rpx;border-bottom-color:#f2f2f2}.dialog_nav.data-v-45b60d19::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;right:36rpx}.dialog_nav.dialogIndex.data-v-45b60d19{left:14rpx}.dialog_nav.dialogIndex.data-v-45b60d19::before{left:-160rpx!important}.dialog_nav.dialogGoods.data-v-45b60d19::before{left:-170rpx}.dialog_nav_item.data-v-45b60d19{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-45b60d19{font-size:32rpx;margin-right:26rpx}.dialog_after.data-v-45b60d19 ::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"],{2377:function(t,n,a){"use strict";var e=a("d46d"),o=a.n(e);o.a},"391a":function(t,n,a){"use strict";var e;a.d(n,"b",(function(){return o})),a.d(n,"c",(function(){return i})),a.d(n,"a",(function(){return e}));var o=function(){var t=this,n=t.$createElement;t._self._c},i=[]},c308:function(t,n,a){"use strict";a.r(n);var e=a("d3bd"),o=a.n(e);for(var i in e)"default"!==i&&function(t){a.d(n,t,(function(){return e[t]}))}(i);n["default"]=o.a},d3bd:function(t,n,a){"use strict";(function(t){Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var e=a("4729"),o={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(o){(0,e.goShopDetail)(n,a.uid).then((function(a){t.navigateTo({url:"/pages/goods_details/index?id=".concat(n.id)})}))}))}},mounted:function(){var t=this;t.tmp_data=t.dataLists},watch:{dataLists:function(){this.loaded=[],this.loadErr=[],this.tmp_data=this.dataLists}}};n.default=o}).call(this,a("543d")["default"])},d46d:function(t,n,a){},ec50:function(t,n,a){"use strict";a.r(n);var e=a("391a"),o=a("c308");for(var i in o)"default"!==i&&function(t){a.d(n,t,(function(){return o[t]}))}(i);a("2377");var d,u=a("f0c5"),c=Object(u["a"])(o["default"],e["b"],e["c"],!1,null,"47c19207",null,!1,e["a"],d);n["default"]=c.exports}}]);
|
||||
;(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__("ec50"))
|
||||
})
|
||||
},
|
||||
[['components/indexGoods/index-create-component']]
|
||||
]);
|
||||
@ -0,0 +1,4 @@
|
||||
{
|
||||
"usingComponents": {},
|
||||
"component": true
|
||||
}
|
||||
@ -0,0 +1 @@
|
||||
<view class="data-v-47c19207"><view class="list data-v-47c19207"><view class="product-box data-v-47c19207"><block wx:for="{{tmp_data}}" 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-47c19207" bindtap="__e"><view class="product-item data-v-47c19207"><image style="width:100%;" src="{{item.image}}" mode="scaleToFill" fade-show="{{true}}" class="data-v-47c19207"></image><view class="info data-v-47c19207"><view class="title line2 data-v-47c19207"><block wx:if="{{item.activity&&item.activity.type==='1'}}"><text class="tag data-v-47c19207">秒杀</text></block><block wx:if="{{item.activity&&item.activity.type==='2'}}"><text class="tag data-v-47c19207">砍价</text></block><block wx:if="{{item.activity&&item.activity.type==='3'}}"><text class="tag data-v-47c19207">拼团</text></block><block wx:if="{{item.checkCoupon}}"><text class="tag data-v-47c19207">券</text></block>{{''+item.store_name+''}}</view><view class="price-box data-v-47c19207"><view class="data-v-47c19207"><text class="data-v-47c19207">¥</text>{{''+item.price+''}}</view><view class="sales data-v-47c19207">{{'已售 '+item.sales+''}}</view></view></view></view></view></block></view></view></view>
|
||||
@ -0,0 +1 @@
|
||||
.list.data-v-47c19207{display:flex;margin:0 30rpx}.product-box.data-v-47c19207{display:flex;flex:1;flex-wrap:wrap;width:100%}.flow_item.data-v-47c19207{margin:15rpx;border-radius:20rpx;background:#f4f4f4;overflow:hidden}.flow_item_con.data-v-47c19207{padding:10rpx 20rpx 20rpx}.flow_item_title.data-v-47c19207{position:relative;font-size:32rpx;font-weight:700;margin-bottom:5rpx}.flow_item_des.data-v-47c19207{font-size:24rpx}.pl10.data-v-47c19207{padding-left:10rpx}.product-list.data-v-47c19207{display:flex;width:calc(50% - 16rpx);margin:2rpx 8rpx}.product-list .product-item.data-v-47c19207{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 image.data-v-47c19207{width:100%;height:330rpx;border-radius:10rpx 10rpx 0 0}.product-list .product-item .info.data-v-47c19207{flex:1;padding:14rpx 16rpx;display:flex;flex-direction:column;justify-content:space-between}.product-list .product-item .info .title.data-v-47c19207{font-size:28rpx;height:76rpx}.product-list .product-item .info .tag.data-v-47c19207{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-47c19207{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-47c19207{font-size:28rpx}.product-list .product-item .info .price-box .sales.data-v-47c19207{color:#999;font-size:24rpx;font-weight:400}
|
||||
@ -0,0 +1,10 @@
|
||||
(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["components/invoiceModal/index"],{"6f9e":function(t,n,e){},"77f9":function(t,n,e){"use strict";var u=e("6f9e"),a=e.n(u);a.a},"8d27":function(t,n,e){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var u=a(e("c83f"));function a(t){return t&&t.__esModule?t:{default:t}}var c={data:function(){return{}},mixins:[u.default],props:{aleartStatus:{type:Boolean,default:!1},invoiceData:{type:Object,default:function(){}}},methods:{close:function(){this.$emit("close")}}};n.default=c},9653:function(t,n,e){"use strict";var u;e.d(n,"b",(function(){return a})),e.d(n,"c",(function(){return c})),e.d(n,"a",(function(){return u}));var a=function(){var t=this,n=t.$createElement;t._self._c},c=[]},a19a:function(t,n,e){"use strict";e.r(n);var u=e("8d27"),a=e.n(u);for(var c in u)"default"!==c&&function(t){e.d(n,t,(function(){return u[t]}))}(c);n["default"]=a.a},d4c0:function(t,n,e){"use strict";e.r(n);var u=e("9653"),a=e("a19a");for(var c in a)"default"!==c&&function(t){e.d(n,t,(function(){return a[t]}))}(c);e("77f9");var o,r=e("f0c5"),f=Object(r["a"])(a["default"],u["b"],u["c"],!1,null,"2d990a04",null,!1,u["a"],o);n["default"]=f.exports}}]);
|
||||
;(global["webpackJsonp"] = global["webpackJsonp"] || []).push([
|
||||
'components/invoiceModal/index-create-component',
|
||||
{
|
||||
'components/invoiceModal/index-create-component':(function(module, exports, __webpack_require__){
|
||||
__webpack_require__('543d')['createComponent'](__webpack_require__("d4c0"))
|
||||
})
|
||||
},
|
||||
[['components/invoiceModal/index-create-component']]
|
||||
]);
|
||||
@ -0,0 +1,4 @@
|
||||
{
|
||||
"component": true,
|
||||
"usingComponents": {}
|
||||
}
|
||||
@ -0,0 +1 @@
|
||||
<block wx:if="{{aleartStatus}}"><view class="aleart data-v-2d990a04" style="{{(colorStyle)}}"><view class="icon-top data-v-2d990a04"><text class="iconfont icon-fapiao2 data-v-2d990a04" style="{{(invoiceData.is_invoice?'background-color: var(--view-theme)':'background-color: #999')}}"></text><view class="data-v-2d990a04">{{''+(invoiceData.is_invoice?'已开票':'未开票')+''}}</view></view><view class="aleart-body data-v-2d990a04"><view class="body-head data-v-2d990a04">发票信息</view><view class="label data-v-2d990a04"><view class="data-v-2d990a04">发票抬头</view><view class="label-value data-v-2d990a04">{{''+invoiceData.name+''}}</view></view><view class="label data-v-2d990a04"><view class="data-v-2d990a04">发票抬头类型</view><view class="label-value data-v-2d990a04">{{''+(invoiceData.header_type==1?"个人":'企业')+''}}</view></view><view class="label data-v-2d990a04"><view class="data-v-2d990a04">发票类型</view><view class="label-value data-v-2d990a04">{{''+(invoiceData.type==1?"电子普通发票":'电子专用发票')+''}}</view></view><block wx:if="{{invoiceData.duty_number}}"><view class="label data-v-2d990a04"><view class="data-v-2d990a04">企业税号</view><view class="label-value data-v-2d990a04">{{''+invoiceData.duty_number+''}}</view></view></block><view class="body-head data-v-2d990a04">联系信息</view><view class="label data-v-2d990a04"><view class="data-v-2d990a04">真实姓名</view><view class="label-value data-v-2d990a04">{{''+invoiceData.name+''}}</view></view><view class="label data-v-2d990a04"><view class="data-v-2d990a04">联系电话</view><view class="label-value data-v-2d990a04">{{''+invoiceData.drawer_phone+''}}</view></view><view class="label data-v-2d990a04"><view class="data-v-2d990a04">联系邮箱</view><view class="label-value data-v-2d990a04">{{''+invoiceData.email+''}}</view></view></view><view data-event-opts="{{[['tap',[['close',['$event']]]]]}}" class="btn data-v-2d990a04" bindtap="__e">确认</view></view></block>
|
||||
@ -0,0 +1 @@
|
||||
.aleart.data-v-2d990a04{width:80%;position:fixed;left:50%;-webkit-transform:translateX(-50%);transform:translateX(-50%);z-index:9999;top:45%;margin-top:-357rpx;background-color:#fff;padding:30rpx;border-radius:12rpx;background-image:-webkit-gradient(linear,50% 0,0 100%,from(transparent),color-stop(.5,transparent),color-stop(.5,#999),to(#999)),-webkit-gradient(linear,50% 0,100% 100%,from(transparent),color-stop(.5,transparent),color-stop(.5,#999),to(#999));background-size:20rpx 10rpx;background-repeat:repeat-x;background-position:0 100%}.aleart .icon-top.data-v-2d990a04{margin-left:calc(50% - 40rpx);margin-top:-40rpx;display:flex;flex-direction:column;align-items:center;border-radius:50%;width:100rpx;height:100rpx}.aleart .icon-top .icon-fapiao2.data-v-2d990a04{text-align:center;border-radius:50%;font-size:80rpx;color:#fff;background-color:var(--view-theme);padding:20rpx;border:4rpx solid #fff;margin-top:-40rpx}.aleart .title.data-v-2d990a04{font-size:34rpx;color:var(--view-theme);font-weight:700;text-align:center;padding-bottom:10rpx;border-bottom:1px solid var(--view-op-ten)}.aleart .aleart-body.data-v-2d990a04{display:flex;justify-content:center;flex-direction:column;padding:60rpx 0}.aleart .aleart-body .body-head.data-v-2d990a04{font-size:30rpx;font-weight:700;padding-bottom:10rpx;border-bottom:1px solid #eee;margin:10rpx 0}.aleart .aleart-body .label.data-v-2d990a04{width:100%;display:flex;justify-content:space-between;margin-bottom:15rpx;color:#333;font-size:28rpx}.aleart .aleart-body .label .label-value.data-v-2d990a04{color:#666}.aleart .btn.data-v-2d990a04{width:100%;padding:15rpx 0;color:#fff;background:var(--view-theme);border-radius:20px;text-align:center;margin-bottom:30rpx}
|
||||
@ -0,0 +1,10 @@
|
||||
(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["components/invoicePicker/index"],{"82a6":function(n,t,e){"use strict";e.r(t);var i=e("8cf0"),u=e.n(i);for(var r in i)"default"!==r&&function(n){e.d(t,n,(function(){return i[n]}))}(r);t["default"]=u.a},"8cf0":function(n,t,e){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i={data:function(){return{invId:0}},props:{invShow:{type:Boolean,default:!1},invList:{type:Array,default:function(){return[]}},invChecked:{type:String,default:""},isSpecial:{type:Boolean,default:!1},urlQuery:{type:String,default:""},isOrder:{type:Number,default:0},orderId:{type:String,default:""}},methods:{invClose:function(n){this.$emit("inv-close")},invChange:function(n){this.isOrder?this.invId=n.detail.value:this.$emit("inv-change",n.detail.value)},invSub:function(){this.$emit("inv-change",this.invId||this.invChecked)},invCancel:function(){this.$emit("inv-cancel")}}};t.default=i},"926d":function(n,t,e){"use strict";var i;e.d(t,"b",(function(){return u})),e.d(t,"c",(function(){return r})),e.d(t,"a",(function(){return i}));var u=function(){var n=this,t=n.$createElement;n._self._c},r=[]},b241:function(n,t,e){"use strict";var i=e("e8d5"),u=e.n(i);u.a},e23e:function(n,t,e){"use strict";e.r(t);var i=e("926d"),u=e("82a6");for(var r in u)"default"!==r&&function(n){e.d(t,n,(function(){return u[n]}))}(r);e("b241");var a,c=e("f0c5"),o=Object(c["a"])(u["default"],i["b"],i["c"],!1,null,"7956625c",null,!1,i["a"],a);t["default"]=o.exports},e8d5:function(n,t,e){}}]);
|
||||
;(global["webpackJsonp"] = global["webpackJsonp"] || []).push([
|
||||
'components/invoicePicker/index-create-component',
|
||||
{
|
||||
'components/invoicePicker/index-create-component':(function(module, exports, __webpack_require__){
|
||||
__webpack_require__('543d')['createComponent'](__webpack_require__("e23e"))
|
||||
})
|
||||
},
|
||||
[['components/invoicePicker/index-create-component']]
|
||||
]);
|
||||
@ -0,0 +1,4 @@
|
||||
{
|
||||
"component": true,
|
||||
"usingComponents": {}
|
||||
}
|
||||
@ -0,0 +1 @@
|
||||
<view class="data-v-7956625c"><view data-event-opts="{{[['touchmove',[['',['$event']]]],['tap',[['invClose',['$event']]]]]}}" class="{{['data-v-7956625c',(invShow)?'mask':'']}}" catchtouchmove="__e" bindtap="__e"></view><view class="{{['popup','data-v-7956625c',(invShow)?'on':'']}}"><view class="popup-hd data-v-7956625c">抬头选择<text data-event-opts="{{[['tap',[['invClose',['$event']]]]]}}" class="iconfont icon-guanbi data-v-7956625c" bindtap="__e"></text></view><scroll-view class="popup-bd data-v-7956625c" scroll-y="true"><block wx:if="{{invList.length}}"><radio-group name="inv" data-event-opts="{{[['change',[['invChange',['$event']]]]]}}" bindchange="__e" class="data-v-7956625c"><block wx:for="{{invList}}" wx:for-item="item" wx:for-index="index" wx:key="id"><block wx:if="{{item.type===1||item.type===2&&isSpecial}}"><label class="acea-row row-middle item data-v-7956625c"><radio class="radio data-v-7956625c" value="{{item.id}}" checked="{{item.id===invChecked}}"></radio><view class="text data-v-7956625c"><view class="acea-row row-middle data-v-7956625c"><view class="name-wrap acea-row row-middle data-v-7956625c"><view class="name-group data-v-7956625c"><view class="name data-v-7956625c">{{item.name}}</view><block wx:if="{{item.is_default}}"><view class="default data-v-7956625c">默认</view></block></view></view><view class="{{['type','data-v-7956625c',(item.type===2)?'special':'']}}">{{''+(item.header_type===1?'个人':'企业')+(item.type===1?'普通':'专用')+'发票'}}</view></view><view class="acea-row row-bottom data-v-7956625c"><view class="info-wrap data-v-7956625c"><view class="email data-v-7956625c">{{"联系邮箱 "+item.email}}</view><block wx:if="{{item.header_type===1}}"><view class="tel data-v-7956625c">{{"联系电话 "+item.drawer_phone+''}}</view></block><block wx:else><view class="number data-v-7956625c">{{"企业税号 "+item.duty_number}}</view></block></view><block wx:if="{{!isOrder}}"><navigator class="navigator data-v-7956625c" url="{{'/pages/users/user_invoice_form/index?from=order_confirm&id='+item.id+'&'+urlQuery}}" hover-class="none"><text class="iconfont icon-bianji data-v-7956625c"></text>编辑</navigator></block><block wx:else><navigator class="navigator data-v-7956625c" url="{{'/pages/users/user_invoice_form/index?from=order_details&id='+item.id+'&order_id='+orderId}}" hover-class="none"><text class="iconfont icon-bianji data-v-7956625c"></text>编辑</navigator></block></view></view></label></block></block></radio-group></block><block wx:else><view class="empty data-v-7956625c"><image class="image data-v-7956625c" src="/static/images/noInvoice.png"></image><view class="data-v-7956625c">您还没有添加发票信息哟~</view></view></block></scroll-view><view class="popup-ft data-v-7956625c"><block wx:if="{{!isOrder}}"><navigator class="navigator data-v-7956625c" url="{{'/pages/users/user_invoice_form/index?from=order_confirm&'+urlQuery}}" hover-class="none"><text class="iconfont icon-fapiao data-v-7956625c"></text>添加新的抬头</navigator></block><block wx:else><navigator class="navigator data-v-7956625c" url="{{'/pages/users/user_invoice_form/index?order_id='+orderId+'&from=order_details'}}" hover-class="none"><text class="iconfont icon-fapiao data-v-7956625c"></text>添加新的抬头</navigator></block><button class="button data-v-7956625c" plain="{{true}}" data-event-opts="{{[['tap',[['invCancel',['$event']]]]]}}" bindtap="__e">不开发票</button><block wx:if="{{isOrder}}"><button class="button data-v-7956625c" plain="{{true}}" data-event-opts="{{[['tap',[['invSub',['$event']]]]]}}" bindtap="__e">确认提交</button></block></view></view></view>
|
||||
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@ -0,0 +1,6 @@
|
||||
{
|
||||
"component": true,
|
||||
"usingComponents": {
|
||||
"trees": "/components/jyf-parser/libs/trees"
|
||||
}
|
||||
}
|
||||
@ -0,0 +1 @@
|
||||
<view><block wx:if="{{!nodes.length}}"><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"],{"8f28":function(t,e,r){"use strict";var i;r.d(e,"b",(function(){return n})),r.d(e,"c",(function(){return o})),r.d(e,"a",(function(){return i}));var n=function(){var t=this,e=t.$createElement;t._self._c},o=[]},a1e1:function(t,e,r){"use strict";var i=function(t){t.options.wxsCallMethods||(t.options.wxsCallMethods=[])};e["a"]=i},a25c:function(t,e,r){"use strict";(function(t,i){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,t.Parser={};var n=function(){Promise.resolve().then(function(){return resolve(r("da7a"))}.bind(null,r)).catch(r.oe)},o={components:{trees:n},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 a=this.top.imgList,s=a[r.i]?parseInt(r.i):(a=[r.src],0);i.previewImage({current:s,urls:a})}}},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=o}).call(this,r("c8ba"),r("543d")["default"])},ce03:function(t,e,r){"use strict";var i=r("dc9a"),n=r.n(i);n.a},da7a:function(t,e,r){"use strict";r.r(e);var i=r("8f28"),n=r("de50");for(var o in n)"default"!==o&&function(t){r.d(e,t,(function(){return n[t]}))}(o);r("ce03");var a,s=r("f0c5"),c=r("a1e1"),u=Object(s["a"])(n["default"],i["b"],i["c"],!1,null,null,null,!1,i["a"],a);"function"===typeof c["a"]&&Object(c["a"])(u),e["default"]=u.exports},dc9a:function(t,e,r){},de50:function(t,e,r){"use strict";r.r(e);var i=r("a25c"),n=r.n(i);for(var o in i)"default"!==o&&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__("da7a"))
|
||||
})
|
||||
},
|
||||
[['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"],{"0629":function(t,e,n){"use strict";n.r(e);var u=n("b3a4"),o=n.n(u);for(var c in u)"default"!==c&&function(t){n.d(e,t,(function(){return u[t]}))}(c);e["default"]=o.a},"1a3e":function(t,e,n){"use strict";n.r(e);var u=n("d7c1"),o=n("0629");for(var c in o)"default"!==c&&function(t){n.d(e,t,(function(){return o[t]}))}(c);n("dd0b");var r,a=n("f0c5"),f=Object(a["a"])(o["default"],u["b"],u["c"],!1,null,null,null,!1,u["a"],r);e["default"]=f.exports},"71cf":function(t,e,n){},b3a4:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var u=n("00fa"),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/customer_list/chat?productId=".concat(this.ids))},setTouchMove:function(t){var e=this;t.touches[0].clientY<480&&t.touches[0].clientY>66&&(e.top=t.touches[0].clientY)}},created:function(){}});e.default=o},d7c1:function(t,e,n){"use strict";var u;n.d(e,"b",(function(){return o})),n.d(e,"c",(function(){return c})),n.d(e,"a",(function(){return u}));var o=function(){var t=this,e=t.$createElement;t._self._c},c=[]},dd0b:function(t,e,n){"use strict";var u=n("71cf"),o=n.n(u);o.a}}]);
|
||||
;(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__("1a3e"))
|
||||
})
|
||||
},
|
||||
[['components/kefuIcon/index-create-component']]
|
||||
]);
|
||||
@ -0,0 +1,4 @@
|
||||
{
|
||||
"component": true,
|
||||
"usingComponents": {}
|
||||
}
|
||||
@ -0,0 +1 @@
|
||||
<block wx:if="{{routineContact==0}}"><navigator class="acea-row row-center-wrapper cartf iconfont icon-kefu3" style="{{'top:'+(top+'px')+';'}}" url="{{'/pages/customer_list/chat?productId='+ids}}" hover-class="none" data-event-opts="{{[['touchmove',[['setTouchMove',['$event']]]]]}}" catchtouchmove="__e"></navigator></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:#fff;box-shadow:0 3rpx 16rpx rgba(0,0,0,.08);border-radius:50%;font-size:47rpx;color:#666;position:fixed;right:15rpx;z-index:9}
|
||||
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