mirror of
https://github.com/crmeb/CRMEB.git
synced 2026-10-29 14:01:07 +00:00
提交小程序默认编译码
This commit is contained in:
parent
e474430fd1
commit
c0bb9c70e6
4
crmeb/public/view/mp_view/app.js
Executable file
4
crmeb/public/view/mp_view/app.js
Executable file
@ -0,0 +1,4 @@
|
||||
|
||||
require('./common/runtime.js')
|
||||
require('./common/vendor.js')
|
||||
require('./common/main.js')
|
||||
181
crmeb/public/view/mp_view/app.json
Executable file
181
crmeb/public/view/mp_view/app.json
Executable file
@ -0,0 +1,181 @@
|
||||
{
|
||||
"pages": [
|
||||
"pages/index/index",
|
||||
"pages/order_addcart/order_addcart",
|
||||
"pages/user/index",
|
||||
"pages/goods_cate/goods_cate",
|
||||
"pages/retrieve_password/index",
|
||||
"pages/customer_list/index",
|
||||
"pages/customer_list/chat",
|
||||
"pages/goods_list/index",
|
||||
"pages/news_list/index",
|
||||
"pages/news_details/index",
|
||||
"pages/goods_search/index",
|
||||
"pages/order_pay_status/index",
|
||||
"pages/order_pay_status/payLottery",
|
||||
"pages/live_list/index"
|
||||
],
|
||||
"subPackages": [
|
||||
{
|
||||
"root": "pages/users",
|
||||
"pages": [
|
||||
"user_vip_areer/index",
|
||||
"privacy/index",
|
||||
"message_center/index",
|
||||
"message_center/messageDetail",
|
||||
"user_invoice_order/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",
|
||||
"login/index",
|
||||
"goods_comment_list/index",
|
||||
"goods_comment_con/index",
|
||||
"goods_comment_con/lottery_comment"
|
||||
],
|
||||
"name": "users",
|
||||
"plugins": {
|
||||
"live-player-plugin": {
|
||||
"version": "1.3.0",
|
||||
"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/columnGoods",
|
||||
"pages": [
|
||||
"HotNewGoods/index",
|
||||
"HotNewGoods/feedback"
|
||||
],
|
||||
"name": "columnGoods"
|
||||
},
|
||||
{
|
||||
"root": "pages/annex",
|
||||
"pages": [
|
||||
"web_view/index",
|
||||
"offline_pay/index",
|
||||
"offline_result/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": {
|
||||
"page-loading": "/components/pageLoading"
|
||||
}
|
||||
}
|
||||
3
crmeb/public/view/mp_view/app.wxss
Executable file
3
crmeb/public/view/mp_view/app.wxss
Executable file
@ -0,0 +1,3 @@
|
||||
@import './common/main.wxss';
|
||||
|
||||
[data-custom-hidden="true"],[bind-data-custom-hidden="true"]{display: none !important;}
|
||||
1
crmeb/public/view/mp_view/common/main.js
Executable file
1
crmeb/public/view/mp_view/common/main.js
Executable file
File diff suppressed because one or more lines are too long
9
crmeb/public/view/mp_view/common/main.wxss
Executable file
9
crmeb/public/view/mp_view/common/main.wxss
Executable file
File diff suppressed because one or more lines are too long
4
crmeb/public/view/mp_view/common/runtime.js
Executable file
4
crmeb/public/view/mp_view/common/runtime.js
Executable file
File diff suppressed because one or more lines are too long
20
crmeb/public/view/mp_view/common/vendor.js
Executable file
20
crmeb/public/view/mp_view/common/vendor.js
Executable file
File diff suppressed because one or more lines are too long
10
crmeb/public/view/mp_view/components/Authorize.js
Executable file
10
crmeb/public/view/mp_view/components/Authorize.js
Executable file
@ -0,0 +1,10 @@
|
||||
(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["components/Authorize"],{"0076":function(t,e,n){"use strict";n.r(e);var o=n("7567"),a=n("9bc2");for(var i in a)"default"!==i&&function(t){n.d(e,t,(function(){return a[t]}))}(i);n("261f");var u,s=n("f0c5"),c=Object(s["a"])(a["default"],o["b"],o["c"],!1,null,"03cc894a",null,!1,o["a"],u);e["default"]=c.exports},"261f":function(t,e,n){"use strict";var o=n("f52a"),a=n.n(o);a.a},7567: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=[]},"9bc2":function(t,e,n){"use strict";n.r(e);var o=n("9c74"),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},"9c74":function(t,e,n){"use strict";(function(t){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var o=d(n("149a")),a=n("6f0b"),i=n("2805"),u=n("26cb"),s=d(n("00d7")),c=d(n("b195"));function d(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();c.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"])},f52a:function(t,e,n){}}]);
|
||||
;(global["webpackJsonp"] = global["webpackJsonp"] || []).push([
|
||||
'components/Authorize-create-component',
|
||||
{
|
||||
'components/Authorize-create-component':(function(module, exports, __webpack_require__){
|
||||
__webpack_require__('543d')['createComponent'](__webpack_require__("0076"))
|
||||
})
|
||||
},
|
||||
[['components/Authorize-create-component']]
|
||||
]);
|
||||
4
crmeb/public/view/mp_view/components/Authorize.json
Executable file
4
crmeb/public/view/mp_view/components/Authorize.json
Executable file
@ -0,0 +1,4 @@
|
||||
{
|
||||
"usingComponents": {},
|
||||
"component": true
|
||||
}
|
||||
1
crmeb/public/view/mp_view/components/Authorize.wxml
Executable file
1
crmeb/public/view/mp_view/components/Authorize.wxml
Executable 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/view/mp_view/components/Authorize.wxss
Executable file
1
crmeb/public/view/mp_view/components/Authorize.wxss
Executable 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/view/mp_view/components/Loading/index.js
Executable file
10
crmeb/public/view/mp_view/components/Loading/index.js
Executable file
@ -0,0 +1,10 @@
|
||||
(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["components/Loading/index"],{"0405":function(n,t,e){"use strict";var u;e.d(t,"b",(function(){return a})),e.d(t,"c",(function(){return o})),e.d(t,"a",(function(){return u}));var a=function(){var n=this,t=n.$createElement;n._self._c},o=[]},"09b3":function(n,t,e){"use strict";e.r(t);var u=e("167b"),a=e.n(u);for(var o in u)"default"!==o&&function(n){e.d(t,n,(function(){return u[n]}))}(o);t["default"]=a.a},"0c5f":function(n,t,e){},"167b":function(n,t,e){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var u={name:"Loading",props:{loaded:{type:Boolean,default:!1},loading:{type:Boolean,default:!1}}};t.default=u},a48f:function(n,t,e){"use strict";e.r(t);var u=e("0405"),a=e("09b3");for(var o in a)"default"!==o&&function(n){e.d(t,n,(function(){return a[n]}))}(o);e("d419");var r,c=e("f0c5"),f=Object(c["a"])(a["default"],u["b"],u["c"],!1,null,null,null,!1,u["a"],r);t["default"]=f.exports},d419:function(n,t,e){"use strict";var u=e("0c5f"),a=e.n(u);a.a}}]);
|
||||
;(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__("a48f"))
|
||||
})
|
||||
},
|
||||
[['components/Loading/index-create-component']]
|
||||
]);
|
||||
4
crmeb/public/view/mp_view/components/Loading/index.json
Executable file
4
crmeb/public/view/mp_view/components/Loading/index.json
Executable file
@ -0,0 +1,4 @@
|
||||
{
|
||||
"component": true,
|
||||
"usingComponents": {}
|
||||
}
|
||||
1
crmeb/public/view/mp_view/components/Loading/index.wxml
Executable file
1
crmeb/public/view/mp_view/components/Loading/index.wxml
Executable file
@ -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>
|
||||
1
crmeb/public/view/mp_view/components/Loading/index.wxss
Executable file
1
crmeb/public/view/mp_view/components/Loading/index.wxss
Executable file
@ -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/view/mp_view/components/addressWindow/index.js
Executable file
10
crmeb/public/view/mp_view/components/addressWindow/index.js
Executable file
@ -0,0 +1,10 @@
|
||||
(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["components/addressWindow/index"],{"3baf":function(t,e,n){},"4b39":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=[]},"4fe8":function(t,e,n){"use strict";(function(t){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var a=n("3023"),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"])},"66d7":function(t,e,n){"use strict";n.r(e);var a=n("4fe8"),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},6861:function(t,e,n){"use strict";n.r(e);var a=n("4b39"),s=n("66d7");for(var i in s)"default"!==i&&function(t){n.d(e,t,(function(){return s[t]}))}(i);n("a1ac");var r,d=n("f0c5"),u=Object(d["a"])(s["default"],a["b"],a["c"],!1,null,"c9928554",null,!1,a["a"],r);e["default"]=u.exports},a1ac:function(t,e,n){"use strict";var a=n("3baf"),s=n.n(a);s.a}}]);
|
||||
;(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__("6861"))
|
||||
})
|
||||
},
|
||||
[['components/addressWindow/index-create-component']]
|
||||
]);
|
||||
4
crmeb/public/view/mp_view/components/addressWindow/index.json
Executable file
4
crmeb/public/view/mp_view/components/addressWindow/index.json
Executable file
@ -0,0 +1,4 @@
|
||||
{
|
||||
"usingComponents": {},
|
||||
"component": true
|
||||
}
|
||||
1
crmeb/public/view/mp_view/components/addressWindow/index.wxml
Executable file
1
crmeb/public/view/mp_view/components/addressWindow/index.wxml
Executable file
@ -0,0 +1 @@
|
||||
<view class="data-v-c9928554"><view class="{{['address-window','data-v-c9928554',address.address==true?'on':'']}}"><view class="title data-v-c9928554">选择地址<text data-event-opts="{{[['tap',[['close',['$event']]]]]}}" class="iconfont icon-guanbi data-v-c9928554" bindtap="__e"></text></view><view class="list data-v-c9928554"><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-c9928554',active==index?'font-num':'']}}" bindtap="__e"><text class="{{['iconfont','icon-ditu','data-v-c9928554',active==index?'font-num':'']}}"></text><view class="address data-v-c9928554"><view class="{{['name','data-v-c9928554',active==index?'font-num':'']}}">{{item.real_name}}<text class="phone data-v-c9928554">{{item.phone}}</text></view><view class="line1 data-v-c9928554">{{item.province+item.city+item.district+item.detail}}</view></view><text class="{{['iconfont','icon-complete','data-v-c9928554',active==index?'font-num':'']}}"></text></view></block></view><block wx:if="{{!is_loading&&!addressList.length}}"><view class="pictrue data-v-c9928554"><image src="../../static/images/noAddress.png" class="data-v-c9928554"></image></view></block><view data-event-opts="{{[['tap',[['goAddressPages',['$event']]]]]}}" class="addressBnt bg-color data-v-c9928554" bindtap="__e">选择其它地址</view></view><view class="mask data-v-c9928554" catchtouchmove="true" hidden="{{address.address==false}}" data-event-opts="{{[['tap',[['close',['$event']]]]]}}" bindtap="__e"></view></view>
|
||||
1
crmeb/public/view/mp_view/components/addressWindow/index.wxss
Executable file
1
crmeb/public/view/mp_view/components/addressWindow/index.wxss
Executable file
@ -0,0 +1 @@
|
||||
.address-window.data-v-c9928554{background-color:#fff;position:fixed;bottom:0;left:0;width:100%;z-index:101;-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-c9928554{-webkit-transform:translateZ(0);transform:translateZ(0)}.address-window .title.data-v-c9928554{font-size:32rpx;font-weight:700;text-align:center;height:123rpx;line-height:123rpx;position:relative}.address-window .title .iconfont.data-v-c9928554{position:absolute;right:30rpx;color:#8a8a8a;font-size:35rpx}.address-window .list .item.data-v-c9928554{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-c9928554{font-size:37rpx;color:#2c2c2c}.address-window .list .item .iconfont.icon-complete.data-v-c9928554{font-size:30rpx;color:#fff}.address-window .list .item .address.data-v-c9928554{width:560rpx}.address-window .list .item .address .name.data-v-c9928554{font-size:28rpx;font-weight:700;color:#282828;margin-bottom:4rpx}.address-window .list .item .address .name .phone.data-v-c9928554{margin-left:18rpx}.address-window .addressBnt.data-v-c9928554{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-c9928554{width:414rpx;height:336rpx;margin:0 auto}.address-window .pictrue image.data-v-c9928554{width:100%;height:100%}
|
||||
10
crmeb/public/view/mp_view/components/cartList/index.js
Executable file
10
crmeb/public/view/mp_view/components/cartList/index.js
Executable file
@ -0,0 +1,10 @@
|
||||
(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["components/cartList/index"],{"10e8":function(t,n,e){"use strict";e.r(n);var u=e("b3a2"),a=e("eb44");for(var i in a)"default"!==i&&function(t){e.d(n,t,(function(){return a[t]}))}(i);e("d35e");var c,r=e("f0c5"),o=Object(r["a"])(a["default"],u["b"],u["c"],!1,null,null,null,!1,u["a"],c);n["default"]=o.exports},"1d1a":function(t,n,e){},3817: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},b3a2:function(t,n,e){"use strict";var u;e.d(n,"b",(function(){return a})),e.d(n,"c",(function(){return i})),e.d(n,"a",(function(){return u}));var a=function(){var t=this,n=t.$createElement;t._self._c},i=[]},d35e:function(t,n,e){"use strict";var u=e("1d1a"),a=e.n(u);a.a},eb44:function(t,n,e){"use strict";e.r(n);var u=e("3817"),a=e.n(u);for(var i in u)"default"!==i&&function(t){e.d(n,t,(function(){return u[t]}))}(i);n["default"]=a.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__("10e8"))
|
||||
})
|
||||
},
|
||||
[['components/cartList/index-create-component']]
|
||||
]);
|
||||
4
crmeb/public/view/mp_view/components/cartList/index.json
Executable file
4
crmeb/public/view/mp_view/components/cartList/index.json
Executable file
@ -0,0 +1,4 @@
|
||||
{
|
||||
"component": true,
|
||||
"usingComponents": {}
|
||||
}
|
||||
1
crmeb/public/view/mp_view/components/cartList/index.wxml
Executable file
1
crmeb/public/view/mp_view/components/cartList/index.wxml
Executable file
@ -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>
|
||||
1
crmeb/public/view/mp_view/components/cartList/index.wxss
Executable file
1
crmeb/public/view/mp_view/components/cartList/index.wxss
Executable file
@ -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/view/mp_view/components/countDown/index.js
Executable file
10
crmeb/public/view/mp_view/components/countDown/index.js
Executable file
@ -0,0 +1,10 @@
|
||||
(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["components/countDown/index"],{"1eb4":function(t,e,n){"use strict";n.r(e);var u=n("5b6d"),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},5947:function(t,e,n){"use strict";n.r(e);var u=n("7057"),a=n("1eb4");for(var o in a)"default"!==o&&function(t){n.d(e,t,(function(){return a[t]}))}(o);n("bfef");var r,i=n("f0c5"),f=Object(i["a"])(a["default"],u["b"],u["c"],!1,null,null,null,!1,u["a"],r);e["default"]=f.exports},"5b6d":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},7057: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=[]},bfef:function(t,e,n){"use strict";var u=n("c533"),a=n.n(u);a.a},c533:function(t,e,n){}}]);
|
||||
;(global["webpackJsonp"] = global["webpackJsonp"] || []).push([
|
||||
'components/countDown/index-create-component',
|
||||
{
|
||||
'components/countDown/index-create-component':(function(module, exports, __webpack_require__){
|
||||
__webpack_require__('543d')['createComponent'](__webpack_require__("5947"))
|
||||
})
|
||||
},
|
||||
[['components/countDown/index-create-component']]
|
||||
]);
|
||||
4
crmeb/public/view/mp_view/components/countDown/index.json
Executable file
4
crmeb/public/view/mp_view/components/countDown/index.json
Executable file
@ -0,0 +1,4 @@
|
||||
{
|
||||
"component": true,
|
||||
"usingComponents": {}
|
||||
}
|
||||
1
crmeb/public/view/mp_view/components/countDown/index.wxml
Executable file
1
crmeb/public/view/mp_view/components/countDown/index.wxml
Executable file
@ -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>
|
||||
1
crmeb/public/view/mp_view/components/countDown/index.wxss
Executable file
1
crmeb/public/view/mp_view/components/countDown/index.wxss
Executable file
@ -0,0 +1 @@
|
||||
.time{display:flex;justify-content:center}.red{color:var(--view-theme);margin:0 4rpx}
|
||||
10
crmeb/public/view/mp_view/components/couponListWindow/index.js
Executable file
10
crmeb/public/view/mp_view/components/couponListWindow/index.js
Executable file
@ -0,0 +1,10 @@
|
||||
(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["components/couponListWindow/index"],{"04ca":function(t,n,e){"use strict";e.r(n);var o=e("ced4"),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},2942: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=[]},"6a59":function(t,n,e){"use strict";var o=e("eb0c"),u=e.n(o);u.a},9134:function(t,n,e){"use strict";e.r(n);var o=e("2942"),u=e("04ca");for(var i in u)"default"!==i&&function(t){e.d(n,t,(function(){return u[t]}))}(i);e("6a59");var c,a=e("f0c5"),s=Object(a["a"])(u["default"],o["b"],o["c"],!1,null,"37fa621b",null,!1,o["a"],c);n["default"]=s.exports},ced4:function(t,n,e){"use strict";(function(t){Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var o=e("45d9"),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"])},eb0c: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__("9134"))
|
||||
})
|
||||
},
|
||||
[['components/couponListWindow/index-create-component']]
|
||||
]);
|
||||
4
crmeb/public/view/mp_view/components/couponListWindow/index.json
Executable file
4
crmeb/public/view/mp_view/components/couponListWindow/index.json
Executable file
@ -0,0 +1,4 @@
|
||||
{
|
||||
"usingComponents": {},
|
||||
"component": true
|
||||
}
|
||||
1
crmeb/public/view/mp_view/components/couponListWindow/index.wxml
Executable file
1
crmeb/public/view/mp_view/components/couponListWindow/index.wxml
Executable file
@ -0,0 +1 @@
|
||||
<view class="data-v-37fa621b"><view class="{{['coupon-list-window','data-v-37fa621b',coupon.coupon==true?'on':'']}}"><block wx:if="{{coupon.count}}"><view class="nav acea-row row-around data-v-37fa621b"><block wx:if="{{coupon.count[2]}}"><view data-event-opts="{{[['tap',[['setType',[2]]]]]}}" class="{{['data-v-37fa621b','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-37fa621b','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-37fa621b','acea-row','row-middle',coupon.type===0?'on':'']}}" bindtap="__e">通用券</view></block></view></block><block wx:else><view class="title data-v-37fa621b">优惠券<text data-event-opts="{{[['tap',[['close',['$event']]]]]}}" class="iconfont icon-guanbi data-v-37fa621b" bindtap="__e"></text></view></block><block wx:if="{{coupon.count}}"><view class="occupy data-v-37fa621b"></view></block><block wx:if="{{coupon.list.length}}"><view class="coupon-list data-v-37fa621b"><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-37fa621b',(item.receive_type===4)?'svip':'']}}" bindtap="__e"><view class="moneyCon acea-row row-center-wrapper data-v-37fa621b"><view class="{{['money','acea-row','row-column','row-center-wrapper','data-v-37fa621b',item.is_use&&coupon.count?'moneyGray':'']}}"><view class="data-v-37fa621b">¥<text class="num data-v-37fa621b">{{item.coupon_price}}</text></view><block wx:if="{{item.use_min_price>0}}"><view class="pic-num data-v-37fa621b">{{"满"+item.use_min_price+"元可用"}}</view></block><block wx:else><view class="pic-num data-v-37fa621b">无门槛券</view></block></view></view><view class="text data-v-37fa621b"><view class="{{['condition','line2','data-v-37fa621b',coupon.count?'':'order']}}"><block wx:if="{{item.type===0}}"><label class="{{['line-title','_span','data-v-37fa621b',item.is_use&&coupon.count?'gray':'']}}">通用劵</label></block><block wx:else><block wx:if="{{item.type===1}}"><label class="{{['line-title','_span','data-v-37fa621b',item.is_use&&coupon.count?'gray':'']}}">品类券</label></block><block wx:else><label class="{{['line-title','_span','data-v-37fa621b',item.is_use&&coupon.count?'gray':'']}}">商品券</label></block></block><block wx:if="{{item.receive_type===4}}"><image class="pic data-v-37fa621b" src="../../static/images/fvip.png"></image></block><label class="name _span data-v-37fa621b">{{item.title}}</label></view><view class="data acea-row row-between-wrapper data-v-37fa621b"><block wx:if="{{item.coupon_time}}"><view class="data-v-37fa621b">{{"领取后"+item.coupon_time+"天内可用"}}</view></block><block wx:else><view class="data-v-37fa621b">{{(item.start_time?item.start_time+"-":"")+item.end_time}}</view></block><block wx:if="{{coupon.count}}"><view class="data-v-37fa621b"><block wx:if="{{item.is_use}}"><view class="bnt gray data-v-37fa621b">{{item.use_title||'已领取'}}</view></block><block wx:else><view class="bnt bg-color data-v-37fa621b">{{coupon.statusTile||'立即领取'}}</view></block></view></block><block wx:else><view class="orderCou data-v-37fa621b"><block wx:if="{{item.is_use}}"><view class="{{['iconfont','icon-xuanzhong11','data-v-37fa621b',item.receive_type===4?'svip':'font-num']}}"></view></block><block wx:else><view class="iconfont icon-weixuan data-v-37fa621b"></view></block></view></block></view></view></view></block></view></block><block wx:else><view class="pictrue data-v-37fa621b"><image src="../../static/images/noCoupon.png" class="data-v-37fa621b"></image></view></block></view><view class="mask data-v-37fa621b" catchtouchmove="true" hidden="{{coupon.coupon==false}}" data-event-opts="{{[['tap',[['close',['$event']]]]]}}" bindtap="__e"></view></view>
|
||||
1
crmeb/public/view/mp_view/components/couponListWindow/index.wxss
Executable file
1
crmeb/public/view/mp_view/components/couponListWindow/index.wxss
Executable file
@ -0,0 +1 @@
|
||||
.orderCou.data-v-37fa621b{position:absolute;right:20rpx;top:50%;margin-top:-20rpx}.orderCou .iconfont.data-v-37fa621b{font-size:40rpx}.orderCou .svip.data-v-37fa621b{color:#edbb75}.coupon-list .item .text.data-v-37fa621b{position:relative}.coupon-list .item .text .condition.order.data-v-37fa621b{width:350rpx}.coupon-list-window .coupon-list .text .condition .pic.data-v-37fa621b{width:30rpx;height:30rpx;margin-right:10rpx;vertical-align:middle}.coupon-list-window .coupon-list .text .condition .name.data-v-37fa621b{vertical-align:middle;font-size:26rpx;font-weight:500}.coupon-list-window.data-v-37fa621b{position:fixed;bottom:0;left:0;width:100%;background-color:#fff;border-radius:16rpx 16rpx 0 0;z-index:555;-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-37fa621b{-webkit-transform:translateZ(0);transform:translateZ(0)}.coupon-list-window .title.data-v-37fa621b{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-37fa621b{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-37fa621b{margin:0 0 50rpx 0;height:721rpx;padding-top:28rpx;overflow:auto}.coupon-list-window .pictrue.data-v-37fa621b{width:414rpx;height:336rpx;margin:192rpx auto 243rpx auto}.coupon-list-window .pictrue image.data-v-37fa621b{width:100%;height:100%}.pic-num.data-v-37fa621b{color:#fff;font-size:24rpx}.line-title.data-v-37fa621b{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-37fa621b{border-color:#c1c1c1!important;color:#c1c1c1!important;background-color:#f7f7f7!important}.nav.data-v-37fa621b{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-37fa621b{border-top:5rpx solid transparent;border-bottom:5rpx solid transparent}.nav .acea-row.on.data-v-37fa621b{border-bottom-color:var(--view-theme);color:#282828}.nav .acea-row.data-v-37fa621b:only-child{border-bottom-color:transparent}.occupy.data-v-37fa621b{height:106rpx}.coupon-list .item.data-v-37fa621b{margin-bottom:18rpx;box-shadow:0 2rpx 10rpx rgba(0,0,0,.06)}.coupon-list .item .money.data-v-37fa621b{font-weight:400}
|
||||
10
crmeb/public/view/mp_view/components/couponWindow/index.js
Executable file
10
crmeb/public/view/mp_view/components/couponWindow/index.js
Executable file
@ -0,0 +1,10 @@
|
||||
(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["components/couponWindow/index"],{2163:function(n,t,e){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var u=o(e("cd99"));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},"5ba9":function(n,t,e){},"91f7":function(n,t,e){"use strict";e.r(t);var u=e("e436"),o=e("b5ee");for(var r in o)"default"!==r&&function(n){e.d(t,n,(function(){return o[n]}))}(r);e("a4db");var a,c=e("f0c5"),i=Object(c["a"])(o["default"],u["b"],u["c"],!1,null,"05703c83",null,!1,u["a"],a);t["default"]=i.exports},a4db:function(n,t,e){"use strict";var u=e("5ba9"),o=e.n(u);o.a},b5ee:function(n,t,e){"use strict";e.r(t);var u=e("2163"),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},e436: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=[]}}]);
|
||||
;(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__("91f7"))
|
||||
})
|
||||
},
|
||||
[['components/couponWindow/index-create-component']]
|
||||
]);
|
||||
4
crmeb/public/view/mp_view/components/couponWindow/index.json
Executable file
4
crmeb/public/view/mp_view/components/couponWindow/index.json
Executable file
@ -0,0 +1,4 @@
|
||||
{
|
||||
"component": true,
|
||||
"usingComponents": {}
|
||||
}
|
||||
1
crmeb/public/view/mp_view/components/couponWindow/index.wxml
Executable file
1
crmeb/public/view/mp_view/components/couponWindow/index.wxml
Executable file
@ -0,0 +1 @@
|
||||
<view style="{{(colorStyle)}}" class="data-v-05703c83"><view class="{{['coupon-window','data-v-05703c83',window==true?'on':'']}}"><image class="co-bag data-v-05703c83" src="../../static/images/co-bag.png" mode></image><view class="couponWinList data-v-05703c83"><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-05703c83"><view class="money font-color data-v-05703c83">¥<text class="num data-v-05703c83">{{item.coupon_price}}</text></view><view class="text data-v-05703c83"><view class="name data-v-05703c83">{{"购物满"+item.use_min_price+"减"+item.coupon_price}}</view><block wx:if="{{item.coupon_time}}"><view class="data-v-05703c83">{{"领取后"+item.coupon_time+"天内可用"}}</view></block><block wx:else><view class="data-v-05703c83">{{(item.start_time?item.start_time+'-':'')+(item.end_time===0?'不限时':item.end_time)}}</view></block></view></view></block></view><view class="lid data-v-05703c83"><navigator class="bnt data-v-05703c83" hover-class="none" url="/pages/users/user_get_coupon/index">立即领取</navigator><view data-event-opts="{{[['tap',[['close',['$event']]]]]}}" class="iconfont icon-guanbi3 data-v-05703c83" bindtap="__e"></view></view></view><view class="mask data-v-05703c83" catchtouchmove="true" hidden="{{window==false}}"></view></view>
|
||||
1
crmeb/public/view/mp_view/components/couponWindow/index.wxss
Executable file
1
crmeb/public/view/mp_view/components/couponWindow/index.wxss
Executable file
@ -0,0 +1 @@
|
||||
.mask.data-v-05703c83{z-index:9999}.coupon-window.data-v-05703c83{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-05703c83{width:100%;height:250rpx;z-index:33333;top:-40rpx;position:absolute}.coupon-window.data-v-05703c83: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-05703c83{-webkit-transform:translateZ(0);transform:translateZ(0)}.coupon-window .couponWinList.data-v-05703c83{width:480rpx;margin:157rpx 0 0 50rpx;height:340rpx;overflow:auto}.coupon-window .couponWinList .item.data-v-05703c83{width:100%;height:120rpx;background-color:#fff;position:relative;margin-bottom:17rpx;position:relative;z-index:99999}.coupon-window .couponWinList .item .left.data-v-05703c83{border-right:1px dashed #ccc}.coupon-window .couponWinList .label.data-v-05703c83{width:28rpx;height:64rpx;display:block;position:absolute;top:0;right:12rpx}.coupon-window .couponWinList .item.data-v-05703c83::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-05703c83::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-05703c83{width:130rpx;text-align:center;font-size:26rpx;font-weight:700}.coupon-window .couponWinList .item .min_money.data-v-05703c83{color:#ccc;font-size:18rpx;text-align:center}.coupon-window .couponWinList .item .money .num.data-v-05703c83{font-size:40rpx}.coupon-window .couponWinList .item .text.data-v-05703c83{width:349rpx;font-size:22rpx;color:#ccc;padding:0 29rpx;box-sizing:border-box}.coupon-window .couponWinList .item .text .image.data-v-05703c83{width:32rpx;height:32rpx;display:inline-block;vertical-align:bottom;margin-right:10rpx}.coupon-window .couponWinList .item .text .name.data-v-05703c83{font-size:26rpx;color:var(--view-priceColor);font-weight:700;margin-bottom:9rpx;width:250rpx}.coupon-window .lid.data-v-05703c83{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-05703c83: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-05703c83{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-05703c83{color:#fff;font-size:60rpx;text-align:center;margin-top:87rpx}
|
||||
10
crmeb/public/view/mp_view/components/d_goodList/index.js
Executable file
10
crmeb/public/view/mp_view/components/d_goodList/index.js
Executable file
@ -0,0 +1,10 @@
|
||||
(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["components/d_goodList/index"],{1689:function(t,n,e){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var u={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=u},"7b1b":function(t,n,e){"use strict";e.r(n);var u=e("1689"),a=e.n(u);for(var o in u)"default"!==o&&function(t){e.d(n,t,(function(){return u[t]}))}(o);n["default"]=a.a},"7b32":function(t,n,e){"use strict";e.r(n);var u=e("9e32"),a=e("7b1b");for(var o in a)"default"!==o&&function(t){e.d(n,t,(function(){return a[t]}))}(o);e("c144");var i,r=e("f0c5"),c=Object(r["a"])(a["default"],u["b"],u["c"],!1,null,null,null,!1,u["a"],i);n["default"]=c.exports},"9e32":function(t,n,e){"use strict";var u;e.d(n,"b",(function(){return a})),e.d(n,"c",(function(){return o})),e.d(n,"a",(function(){return u}));var a=function(){var t=this,n=t.$createElement;t._self._c},o=[]},c144:function(t,n,e){"use strict";var u=e("d259"),a=e.n(u);a.a},d259:function(t,n,e){}}]);
|
||||
;(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__("7b32"))
|
||||
})
|
||||
},
|
||||
[['components/d_goodList/index-create-component']]
|
||||
]);
|
||||
4
crmeb/public/view/mp_view/components/d_goodList/index.json
Executable file
4
crmeb/public/view/mp_view/components/d_goodList/index.json
Executable file
@ -0,0 +1,4 @@
|
||||
{
|
||||
"component": true,
|
||||
"usingComponents": {}
|
||||
}
|
||||
1
crmeb/public/view/mp_view/components/d_goodList/index.wxml
Executable file
1
crmeb/public/view/mp_view/components/d_goodList/index.wxml
Executable file
@ -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}}"><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>
|
||||
1
crmeb/public/view/mp_view/components/d_goodList/index.wxss
Executable file
1
crmeb/public/view/mp_view/components/d_goodList/index.wxss
Executable file
@ -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/view/mp_view/components/emptyPage.js
Executable file
10
crmeb/public/view/mp_view/components/emptyPage.js
Executable file
@ -0,0 +1,10 @@
|
||||
(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["components/emptyPage"],{"51bd":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},"5bf7":function(t,n,e){"use strict";var u=e("700c"),r=e.n(u);r.a},"700c":function(t,n,e){},9058:function(t,n,e){"use strict";e.r(n);var u=e("51bd"),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},c4dc:function(t,n,e){"use strict";e.r(n);var u=e("d9b3"),r=e("9058");for(var c in r)"default"!==c&&function(t){e.d(n,t,(function(){return r[t]}))}(c);e("5bf7");var a,f=e("f0c5"),o=Object(f["a"])(r["default"],u["b"],u["c"],!1,null,null,null,!1,u["a"],a);n["default"]=o.exports},d9b3: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=[]}}]);
|
||||
;(global["webpackJsonp"] = global["webpackJsonp"] || []).push([
|
||||
'components/emptyPage-create-component',
|
||||
{
|
||||
'components/emptyPage-create-component':(function(module, exports, __webpack_require__){
|
||||
__webpack_require__('543d')['createComponent'](__webpack_require__("c4dc"))
|
||||
})
|
||||
},
|
||||
[['components/emptyPage-create-component']]
|
||||
]);
|
||||
4
crmeb/public/view/mp_view/components/emptyPage.json
Executable file
4
crmeb/public/view/mp_view/components/emptyPage.json
Executable file
@ -0,0 +1,4 @@
|
||||
{
|
||||
"component": true,
|
||||
"usingComponents": {}
|
||||
}
|
||||
1
crmeb/public/view/mp_view/components/emptyPage.wxml
Executable file
1
crmeb/public/view/mp_view/components/emptyPage.wxml
Executable 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/view/mp_view/components/emptyPage.wxss
Executable file
1
crmeb/public/view/mp_view/components/emptyPage.wxss
Executable 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/view/mp_view/components/goodClass/index.js
Executable file
10
crmeb/public/view/mp_view/components/goodClass/index.js
Executable file
@ -0,0 +1,10 @@
|
||||
(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["components/goodClass/index"],{"0252":function(t,n,e){"use strict";e.r(n);var a=e("0cb0"),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},"0cb0":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},2441: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=[]},5672:function(t,n,e){"use strict";e.r(n);var a=e("2441"),u=e("0252");for(var o in u)"default"!==o&&function(t){e.d(n,t,(function(){return u[t]}))}(o);e("63ba");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},"63ba":function(t,n,e){"use strict";var a=e("bb73"),u=e.n(a);u.a},bb73:function(t,n,e){}}]);
|
||||
;(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__("5672"))
|
||||
})
|
||||
},
|
||||
[['components/goodClass/index-create-component']]
|
||||
]);
|
||||
4
crmeb/public/view/mp_view/components/goodClass/index.json
Executable file
4
crmeb/public/view/mp_view/components/goodClass/index.json
Executable file
@ -0,0 +1,4 @@
|
||||
{
|
||||
"usingComponents": {},
|
||||
"component": true
|
||||
}
|
||||
1
crmeb/public/view/mp_view/components/goodClass/index.wxml
Executable file
1
crmeb/public/view/mp_view/components/goodClass/index.wxml
Executable file
@ -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" 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="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 end">已售罄</view></block></view></view></view></block></view>
|
||||
1
crmeb/public/view/mp_view/components/goodClass/index.wxss
Executable file
1
crmeb/public/view/mp_view/components/goodClass/index.wxss
Executable file
@ -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;width:212rpx}.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:46rpx;line-height:46rpx;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:12rpx;color:#fff;border-radius:15px;position:absolute;right:-13rpx;top:-11rpx;font-size:16rpx;padding:0 11rpx;background-color:var(--view-priceColor);height:32rpx;line-height:32rpx}
|
||||
10
crmeb/public/view/mp_view/components/goodList/index.js
Executable file
10
crmeb/public/view/mp_view/components/goodList/index.js
Executable file
@ -0,0 +1,10 @@
|
||||
(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["components/goodList/index"],{"0034":function(t,n,e){"use strict";(function(t){Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var u=e("26cb"),a=e("7f94"),o={computed:(0,u.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,a.goPage)().then((function(u){(0,a.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"])},"12a0":function(t,n,e){"use strict";e.r(n);var u=e("0034"),a=e.n(u);for(var o in u)"default"!==o&&function(t){e.d(n,t,(function(){return u[t]}))}(o);n["default"]=a.a},"18d7":function(t,n,e){"use strict";var u=e("880e"),a=e.n(u);a.a},"880e":function(t,n,e){},b0b2:function(t,n,e){"use strict";e.r(n);var u=e("fc13"),a=e("12a0");for(var o in a)"default"!==o&&function(t){e.d(n,t,(function(){return a[t]}))}(o);e("18d7");var i,r=e("f0c5"),c=Object(r["a"])(a["default"],u["b"],u["c"],!1,null,"48f8e84b",null,!1,u["a"],i);n["default"]=c.exports},fc13:function(t,n,e){"use strict";var u;e.d(n,"b",(function(){return a})),e.d(n,"c",(function(){return o})),e.d(n,"a",(function(){return u}));var a=function(){var t=this,n=t.$createElement;t._self._c},o=[]}}]);
|
||||
;(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__("b0b2"))
|
||||
})
|
||||
},
|
||||
[['components/goodList/index-create-component']]
|
||||
]);
|
||||
4
crmeb/public/view/mp_view/components/goodList/index.json
Executable file
4
crmeb/public/view/mp_view/components/goodList/index.json
Executable file
@ -0,0 +1,4 @@
|
||||
{
|
||||
"component": true,
|
||||
"usingComponents": {}
|
||||
}
|
||||
1
crmeb/public/view/mp_view/components/goodList/index.wxml
Executable file
1
crmeb/public/view/mp_view/components/goodList/index.wxml
Executable file
@ -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>
|
||||
1
crmeb/public/view/mp_view/components/goodList/index.wxss
Executable file
1
crmeb/public/view/mp_view/components/goodList/index.wxss
Executable file
@ -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}
|
||||
10
crmeb/public/view/mp_view/components/goodsWaterfall/goodsWaterfall.js
Executable file
10
crmeb/public/view/mp_view/components/goodsWaterfall/goodsWaterfall.js
Executable file
@ -0,0 +1,10 @@
|
||||
(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["components/goodsWaterfall/goodsWaterfall"],{"47b0":function(t,a,i){"use strict";i.r(a);var s=i("b5ae"),o=i("b6d8");for(var e in o)"default"!==e&&function(t){i.d(a,t,(function(){return o[t]}))}(e);i("4a79");var n,d=i("f0c5"),h=Object(d["a"])(o["default"],s["b"],s["c"],!1,null,"06b5baac",null,!1,s["a"],n);a["default"]=h.exports},"4a79":function(t,a,i){"use strict";var s=i("7937"),o=i.n(s);o.a},7937:function(t,a,i){},a74a:function(t,a,i){"use strict";(function(t){Object.defineProperty(a,"__esModule",{value:!0}),a.default=void 0;var s=i("7f94"),o={name:"goodsWaterfall",props:{dataLists:{default:[]}},data:function(){return{lists1:[],lists2:[],list1Height:0,list2Height:0,tmp_data:[],loaded:[],loadErr:[],showLoad:!1}},methods:{goGoodsDetail:function(a){var i=this;(0,s.goPage)().then((function(o){(0,s.goShopDetail)(a,i.uid).then((function(i){t.navigateTo({url:"/pages/goods_details/index?id=".concat(a.id)})}))}))},refresData:function(){if(this.hideLoadFlag(),!(this.loaded.length+this.loadErr.length<this.tmp_data.length)){var t=this;this.tmp_data.length||(t.list1Height=0,t.list2Height=0,t.lists1=[],t.lists2=[]),this.tmp_data.map((function(a,i){t.list1Height>t.list2Height?(t.list2Height+=a.img_height,t.lists2.push(a)):(t.list1Height+=a.img_height,t.lists1.push(a))}))}},imgLoad:function(t){this.loaded.push(t.target.id),this.tmp_data[t.target.id]["img_width"]=t.detail.width,this.tmp_data[t.target.id]["img_height"]=t.detail.height},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(){this.refresData()},loadErr:function(){this.refresData()}}};a.default=o}).call(this,i("543d")["default"])},b5ae:function(t,a,i){"use strict";var s;i.d(a,"b",(function(){return o})),i.d(a,"c",(function(){return e})),i.d(a,"a",(function(){return s}));var o=function(){var t=this,a=t.$createElement;t._self._c},e=[]},b6d8:function(t,a,i){"use strict";i.r(a);var s=i("a74a"),o=i.n(s);for(var e in s)"default"!==e&&function(t){i.d(a,t,(function(){return s[t]}))}(e);a["default"]=o.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__("47b0"))
|
||||
})
|
||||
},
|
||||
[['components/goodsWaterfall/goodsWaterfall-create-component']]
|
||||
]);
|
||||
4
crmeb/public/view/mp_view/components/goodsWaterfall/goodsWaterfall.json
Executable file
4
crmeb/public/view/mp_view/components/goodsWaterfall/goodsWaterfall.json
Executable file
@ -0,0 +1,4 @@
|
||||
{
|
||||
"component": true,
|
||||
"usingComponents": {}
|
||||
}
|
||||
1
crmeb/public/view/mp_view/components/goodsWaterfall/goodsWaterfall.wxml
Executable file
1
crmeb/public/view/mp_view/components/goodsWaterfall/goodsWaterfall.wxml
Executable file
@ -0,0 +1 @@
|
||||
<view class="data-v-06b5baac"><view class="feng_flow data-v-06b5baac"><view class="flow_block data-v-06b5baac"><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-06b5baac" bindtap="__e"><view class="product-item data-v-06b5baac"><image style="width:100%;" src="{{item.image}}" mode="widthFix" class="data-v-06b5baac"></image><view class="info data-v-06b5baac"><view class="title line2 data-v-06b5baac">{{item.store_name}}</view><block wx:if="{{item.activity&&item.activity.type==='1'}}"><view class="tag data-v-06b5baac">秒杀</view></block><block wx:if="{{item.activity&&item.activity.type==='2'}}"><view class="tag data-v-06b5baac">砍价</view></block><block wx:if="{{item.activity&&item.activity.type==='3'}}"><view class="tag data-v-06b5baac">拼团</view></block><view class="price-box data-v-06b5baac"><view class="data-v-06b5baac"><text class="data-v-06b5baac">¥</text>{{''+item.price+''}}</view><view class="sales data-v-06b5baac">{{'已售 '+item.sales+''}}</view></view></view></view></view></block></view><view class="flow_block data-v-06b5baac"><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-06b5baac" bindtap="__e"><view class="product-item data-v-06b5baac"><image style="width:100%;" src="{{item2.image}}" mode="widthFix" class="data-v-06b5baac"></image><view class="info data-v-06b5baac"><view class="title line2 data-v-06b5baac">{{item2.store_name}}</view><block wx:if="{{item2.activity&&item2.activity.type==='1'}}"><view class="tag data-v-06b5baac">秒杀</view></block><block wx:if="{{item2.activity&&item2.activity.type==='2'}}"><view class="tag data-v-06b5baac">砍价</view></block><block wx:if="{{item2.activity&&item2.activity.type==='3'}}"><view class="tag data-v-06b5baac">拼团</view></block><view class="price-box data-v-06b5baac"><view class="data-v-06b5baac"><text class="data-v-06b5baac">¥</text>{{''+item2.price+''}}</view><view class="sales data-v-06b5baac">{{'已售 '+item2.sales+''}}</view></view></view></view></view></block></view></view><view class="feng_flow data-v-06b5baac" style="display:none;"><view class="flow_block data-v-06b5baac"><block wx:for="{{dataLists}}" wx:for-item="data" wx:for-index="da_i" wx:key="da_i"><view class="flow_item data-v-06b5baac"><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-06b5baac"></image></view></block></view><view class="flow_block data-v-06b5baac"></view></view></view>
|
||||
1
crmeb/public/view/mp_view/components/goodsWaterfall/goodsWaterfall.wxss
Executable file
1
crmeb/public/view/mp_view/components/goodsWaterfall/goodsWaterfall.wxss
Executable file
@ -0,0 +1 @@
|
||||
.feng_flow.data-v-06b5baac{display:flex;margin:0 30rpx}.flow_block.data-v-06b5baac{display:flex;flex:1;flex-direction:column;width:100%}.flow_item.data-v-06b5baac{margin:15rpx;border-radius:20rpx;background:#f4f4f4;overflow:hidden}.flow_item_con.data-v-06b5baac{padding:10rpx 20rpx 20rpx}.flow_item_title.data-v-06b5baac{position:relative;font-size:32rpx;font-weight:700;margin-bottom:5rpx}.flow_item_des.data-v-06b5baac{font-size:24rpx}.pl10.data-v-06b5baac{padding-left:10rpx}.pr10.data-v-06b5baac{padding-right:10rpx}.product-list.data-v-06b5baac{display:flex}.product-list .product-item.data-v-06b5baac{position:relative;width:100%;background:#fff;border-radius:10rpx;margin-bottom:20rpx}.product-list .product-item image.data-v-06b5baac{width:100%;height:330rpx;border-radius:10rpx 10rpx 0 0}.product-list .product-item .info.data-v-06b5baac{padding:14rpx 16rpx}.product-list .product-item .info .title.data-v-06b5baac{font-size:28rpx}.product-list .product-item .info .tag.data-v-06b5baac{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-06b5baac{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-06b5baac{font-size:28rpx}.product-list .product-item .info .price-box .sales.data-v-06b5baac{color:#999;font-size:24rpx;font-weight:400}
|
||||
10
crmeb/public/view/mp_view/components/home/index.js
Executable file
10
crmeb/public/view/mp_view/components/home/index.js
Executable file
@ -0,0 +1,10 @@
|
||||
(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["components/home/index"],{"1f5f":function(t,e,n){"use strict";n.r(e);var c=n("60b2"),o=n("e7c1");for(var u in o)"default"!==u&&function(t){n.d(e,t,(function(){return o[t]}))}(u);n("e1a9");var r,i=n("f0c5"),a=Object(i["a"])(o["default"],c["b"],c["c"],!1,null,"1c218412",null,!1,c["a"],r);e["default"]=a.exports},"60b2":function(t,e,n){"use strict";var c;n.d(e,"b",(function(){return o})),n.d(e,"c",(function(){return u})),n.d(e,"a",(function(){return c}));var o=function(){var t=this,e=t.$createElement;t._self._c},u=[]},"6bc6":function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var c=n("26cb"),o=u(n("cd99"));function u(t){return t&&t.__esModule?t:{default:t}}var r={name:"Home",props:{},mixins:[o.default],data:function(){return{top:"545"}},computed:(0,c.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},9259:function(t,e,n){},e1a9:function(t,e,n){"use strict";var c=n("9259"),o=n.n(c);o.a},e7c1:function(t,e,n){"use strict";n.r(e);var c=n("6bc6"),o=n.n(c);for(var u in c)"default"!==u&&function(t){n.d(e,t,(function(){return c[t]}))}(u);e["default"]=o.a}}]);
|
||||
;(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__("1f5f"))
|
||||
})
|
||||
},
|
||||
[['components/home/index-create-component']]
|
||||
]);
|
||||
4
crmeb/public/view/mp_view/components/home/index.json
Executable file
4
crmeb/public/view/mp_view/components/home/index.json
Executable file
@ -0,0 +1,4 @@
|
||||
{
|
||||
"component": true,
|
||||
"usingComponents": {}
|
||||
}
|
||||
1
crmeb/public/view/mp_view/components/home/index.wxml
Executable file
1
crmeb/public/view/mp_view/components/home/index.wxml
Executable 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/view/mp_view/components/home/index.wxss
Executable file
1
crmeb/public/view/mp_view/components/home/index.wxss
Executable 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/view/mp_view/components/invoiceModal/index.js
Executable file
10
crmeb/public/view/mp_view/components/invoiceModal/index.js
Executable file
@ -0,0 +1,10 @@
|
||||
(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["components/invoiceModal/index"],{"275e":function(t,e,n){"use strict";var u;n.d(e,"b",(function(){return a})),n.d(e,"c",(function(){return c})),n.d(e,"a",(function(){return u}));var a=function(){var t=this,e=t.$createElement;t._self._c},c=[]},"2f8c":function(t,e,n){"use strict";var u=n("9c79"),a=n.n(u);a.a},"6c79":function(t,e,n){"use strict";n.r(e);var u=n("275e"),a=n("8e55");for(var c in a)"default"!==c&&function(t){n.d(e,t,(function(){return a[t]}))}(c);n("2f8c");var o,r=n("f0c5"),i=Object(r["a"])(a["default"],u["b"],u["c"],!1,null,"2d990a04",null,!1,u["a"],o);e["default"]=i.exports},"8e55":function(t,e,n){"use strict";n.r(e);var u=n("e75a"),a=n.n(u);for(var c in u)"default"!==c&&function(t){n.d(e,t,(function(){return u[t]}))}(c);e["default"]=a.a},"9c79":function(t,e,n){},e75a:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var u=a(n("cd99"));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")}}};e.default=c}}]);
|
||||
;(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__("6c79"))
|
||||
})
|
||||
},
|
||||
[['components/invoiceModal/index-create-component']]
|
||||
]);
|
||||
4
crmeb/public/view/mp_view/components/invoiceModal/index.json
Executable file
4
crmeb/public/view/mp_view/components/invoiceModal/index.json
Executable file
@ -0,0 +1,4 @@
|
||||
{
|
||||
"component": true,
|
||||
"usingComponents": {}
|
||||
}
|
||||
1
crmeb/public/view/mp_view/components/invoiceModal/index.wxml
Executable file
1
crmeb/public/view/mp_view/components/invoiceModal/index.wxml
Executable file
@ -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>
|
||||
1
crmeb/public/view/mp_view/components/invoiceModal/index.wxss
Executable file
1
crmeb/public/view/mp_view/components/invoiceModal/index.wxss
Executable file
@ -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}
|
||||
10
crmeb/public/view/mp_view/components/invoicePicker/index.js
Executable file
10
crmeb/public/view/mp_view/components/invoicePicker/index.js
Executable file
@ -0,0 +1,10 @@
|
||||
(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["components/invoicePicker/index"],{"2b7f":function(n,t,e){"use strict";var i=e("aab8"),u=e.n(i);u.a},"704c":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},"7e10":function(n,t,e){"use strict";var i;e.d(t,"b",(function(){return u})),e.d(t,"c",(function(){return a})),e.d(t,"a",(function(){return i}));var u=function(){var n=this,t=n.$createElement;n._self._c},a=[]},"7e7e":function(n,t,e){"use strict";e.r(t);var i=e("7e10"),u=e("9980");for(var a in u)"default"!==a&&function(n){e.d(t,n,(function(){return u[n]}))}(a);e("2b7f");var r,c=e("f0c5"),o=Object(c["a"])(u["default"],i["b"],i["c"],!1,null,"7956625c",null,!1,i["a"],r);t["default"]=o.exports},9980:function(n,t,e){"use strict";e.r(t);var i=e("704c"),u=e.n(i);for(var a in i)"default"!==a&&function(n){e.d(t,n,(function(){return i[n]}))}(a);t["default"]=u.a},aab8: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__("7e7e"))
|
||||
})
|
||||
},
|
||||
[['components/invoicePicker/index-create-component']]
|
||||
]);
|
||||
4
crmeb/public/view/mp_view/components/invoicePicker/index.json
Executable file
4
crmeb/public/view/mp_view/components/invoicePicker/index.json
Executable file
@ -0,0 +1,4 @@
|
||||
{
|
||||
"component": true,
|
||||
"usingComponents": {}
|
||||
}
|
||||
1
crmeb/public/view/mp_view/components/invoicePicker/index.wxml
Executable file
1
crmeb/public/view/mp_view/components/invoicePicker/index.wxml
Executable file
@ -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>
|
||||
1
crmeb/public/view/mp_view/components/invoicePicker/index.wxss
Executable file
1
crmeb/public/view/mp_view/components/invoicePicker/index.wxss
Executable file
File diff suppressed because one or more lines are too long
10
crmeb/public/view/mp_view/components/jyf-parser/jyf-parser.js
Executable file
10
crmeb/public/view/mp_view/components/jyf-parser/jyf-parser.js
Executable file
File diff suppressed because one or more lines are too long
6
crmeb/public/view/mp_view/components/jyf-parser/jyf-parser.json
Executable file
6
crmeb/public/view/mp_view/components/jyf-parser/jyf-parser.json
Executable file
@ -0,0 +1,6 @@
|
||||
{
|
||||
"component": true,
|
||||
"usingComponents": {
|
||||
"trees": "/components/jyf-parser/libs/trees"
|
||||
}
|
||||
}
|
||||
1
crmeb/public/view/mp_view/components/jyf-parser/jyf-parser.wxml
Executable file
1
crmeb/public/view/mp_view/components/jyf-parser/jyf-parser.wxml
Executable file
@ -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>
|
||||
1
crmeb/public/view/mp_view/components/jyf-parser/jyf-parser.wxss
Executable file
1
crmeb/public/view/mp_view/components/jyf-parser/jyf-parser.wxss
Executable file
@ -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}
|
||||
44
crmeb/public/view/mp_view/components/jyf-parser/libs/handler.wxs
Executable file
44
crmeb/public/view/mp_view/components/jyf-parser/libs/handler.wxs
Executable file
@ -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;
|
||||
}
|
||||
}
|
||||
10
crmeb/public/view/mp_view/components/jyf-parser/libs/trees.js
Executable file
10
crmeb/public/view/mp_view/components/jyf-parser/libs/trees.js
Executable file
@ -0,0 +1,10 @@
|
||||
(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["components/jyf-parser/libs/trees"],{"164b":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=[]},"267e":function(t,e,r){"use strict";r.r(e);var i=r("164b"),n=r("7ed8");for(var o in n)"default"!==o&&function(t){r.d(e,t,(function(){return n[t]}))}(o);r("453b");var s,a=r("f0c5"),u=r("eda2"),c=Object(a["a"])(n["default"],i["b"],i["c"],!1,null,null,null,!1,i["a"],s);"function"===typeof u["a"]&&Object(u["a"])(c),e["default"]=c.exports},"453b":function(t,e,r){"use strict";var i=r("cdeb"),n=r.n(i);n.a},"7ed8":function(t,e,r){"use strict";r.r(e);var i=r("b954"),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},b954: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("267e"))}.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 s=this.top.imgList,a=s[r.i]?parseInt(r.i):(s=[r.src],0);i.previewImage({current:a,urls:s})}}},imglongtap:function(t){var e=t.item.dataset.attrs;e.ignore||this.top.$emit("imglongtap",{id:t.target.id,src:e.src})},linkpress:function(e){var r=!0,n=e.currentTarget.dataset.attrs;if(n.ignore=function(){return r=!1},t.Parser.onLinkpress&&t.Parser.onLinkpress(n),this.top.$emit("linkpress",n),r){if(n["app-id"])return i.navigateToMiniProgram({appId:n["app-id"],path:n.path});n.href&&("#"==n.href[0]?this.top.useAnchor&&this.top.navigateTo({id:n.href.substring(1)}):0==n.href.indexOf("http")||0==n.href.indexOf("//")?i.setClipboardData({data:n.href,success:function(){return i.showToast({title:"链接已复制"})}}):i.navigateTo({url:n.href}))}},error:function(t){var e,r=t.currentTarget,n=r.dataset.from;if("video"==n||"audio"==n){var o=this.controls[r.id]?this.controls[r.id].index+1:1;o<r.dataset.source.length&&this.$set(this.controls,r.id+".index",o),"video"==n&&(e=i.createVideoContext(r.id,this))}this.top&&this.top.$emit("error",{source:n,target:r,errMsg:t.detail.errMsg,errCode:t.detail.errCode,context:e})},_loadVideo:function(t){this.$set(this.controls,t.currentTarget.id,{play:!0,index:0})}}};e.default=o}).call(this,r("c8ba"),r("543d")["default"])},cdeb:function(t,e,r){},eda2:function(t,e,r){"use strict";var i=function(t){t.options.wxsCallMethods||(t.options.wxsCallMethods=[])};e["a"]=i}}]);
|
||||
;(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__("267e"))
|
||||
})
|
||||
},
|
||||
[['components/jyf-parser/libs/trees-create-component']]
|
||||
]);
|
||||
6
crmeb/public/view/mp_view/components/jyf-parser/libs/trees.json
Executable file
6
crmeb/public/view/mp_view/components/jyf-parser/libs/trees.json
Executable file
@ -0,0 +1,6 @@
|
||||
{
|
||||
"component": true,
|
||||
"usingComponents": {
|
||||
"trees": "/components/jyf-parser/libs/trees"
|
||||
}
|
||||
}
|
||||
2
crmeb/public/view/mp_view/components/jyf-parser/libs/trees.wxml
Executable file
2
crmeb/public/view/mp_view/components/jyf-parser/libs/trees.wxml
Executable file
File diff suppressed because one or more lines are too long
18
crmeb/public/view/mp_view/components/jyf-parser/libs/trees.wxss
Executable file
18
crmeb/public/view/mp_view/components/jyf-parser/libs/trees.wxss
Executable file
@ -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/view/mp_view/components/kefuIcon/index.js
Executable file
10
crmeb/public/view/mp_view/components/kefuIcon/index.js
Executable file
@ -0,0 +1,10 @@
|
||||
(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["components/kefuIcon/index"],{"0471":function(t,e,n){"use strict";n.r(e);var u=n("ebf2"),o=n("4c61");for(var c in o)"default"!==c&&function(t){n.d(e,t,(function(){return o[t]}))}(c);n("1a42");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},"1a42":function(t,e,n){"use strict";var u=n("7972"),o=n.n(u);o.a},"4c61":function(t,e,n){"use strict";n.r(e);var u=n("c2f3"),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},7972:function(t,e,n){},c2f3:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var u=n("7500"),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},ebf2: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=[]}}]);
|
||||
;(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__("0471"))
|
||||
})
|
||||
},
|
||||
[['components/kefuIcon/index-create-component']]
|
||||
]);
|
||||
4
crmeb/public/view/mp_view/components/kefuIcon/index.json
Executable file
4
crmeb/public/view/mp_view/components/kefuIcon/index.json
Executable file
@ -0,0 +1,4 @@
|
||||
{
|
||||
"usingComponents": {},
|
||||
"component": true
|
||||
}
|
||||
1
crmeb/public/view/mp_view/components/kefuIcon/index.wxml
Executable file
1
crmeb/public/view/mp_view/components/kefuIcon/index.wxml
Executable file
@ -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>
|
||||
1
crmeb/public/view/mp_view/components/kefuIcon/index.wxss
Executable file
1
crmeb/public/view/mp_view/components/kefuIcon/index.wxss
Executable file
@ -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}
|
||||
10
crmeb/public/view/mp_view/components/login_mobile/index.js
Executable file
10
crmeb/public/view/mp_view/components/login_mobile/index.js
Executable file
@ -0,0 +1,10 @@
|
||||
(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["components/login_mobile/index"],{"4e42":function(t,e,n){},7404:function(t,e,n){"use strict";(function(t){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var i=c(n("a34a")),o=c(n("e3be")),u=c(n("00d7")),a=n("3023");n("45d9");function c(t){return t&&t.__esModule?t:{default:t}}function r(t,e,n,i,o,u,a){try{var c=t[u](a),r=c.value}catch(s){return void n(s)}c.done?e(r):Promise.resolve(r).then(i,o)}function s(t){return function(){var e=this,n=arguments;return new Promise((function(i,o){var u=t.apply(e,n);function a(t){r(u,i,o,a,c,"next",t)}function c(t){r(u,i,o,a,c,"throw",t)}a(void 0)}))}}var l=getApp(),d={name:"login_mobile",props:{isUp:{type:Boolean,default:!1},authKey:{type:String,default:""}},data:function(){return{keyCode:"",account:"",codeNum:""}},mixins:[o.default],mounted:function(){this.getCode()},methods:{code:function(){var t=this;return s(i.default.mark((function e(){var n;return i.default.wrap((function(e){while(1)switch(e.prev=e.next){case 0:if(n=t,n.account){e.next=3;break}return e.abrupt("return",n.$util.Tips({title:"请填写手机号码"}));case 3:if(/^1(3|4|5|7|8|9|6)\d{9}$/i.test(n.account)){e.next=5;break}return e.abrupt("return",n.$util.Tips({title:"请输入正确的手机号码"}));case 5:return e.next=7,(0,a.registerVerify)({phone:n.account,key:n.keyCode}).then((function(t){n.$util.Tips({title:t.msg}),n.sendCode()})).catch((function(t){return n.$util.Tips({title:t})}));case 7:case"end":return e.stop()}}),e)})))()},getCode:function(){var t=this;(0,a.getCodeApi)().then((function(e){t.keyCode=e.data.key})).catch((function(e){t.$util.Tips({title:e})}))},close:function(){this.$emit("close",!1)},loginBtn:function(){var e=this,n=this;return n.account?/^1(3|4|5|7|8|9|6)\d{9}$/i.test(n.account)?n.codeNum?/^[\w\d]+$/i.test(n.codeNum)?(t.showLoading({title:"正在登录中"}),void u.default.getCode().then((function(t){e.phoneSilenceAuth(t)})).catch((function(e){t.hideLoading()}))):n.$util.Tips({title:"请输入正确的验证码"}):n.$util.Tips({title:"请填写验证码"}):n.$util.Tips({title:"请输入正确的手机号码"}):n.$util.Tips({title:"请填写手机号码"})},phoneSilenceAuth:function(t){var e=this,n=this;(0,a.phoneSilenceAuth)({code:t,spread_spid:l.globalData.spid,spread_code:l.globalData.code,phone:this.account,captcha:this.codeNum}).then((function(t){var n=t.data.expires_time-e.$Cache.time();e.$store.commit("LOGIN",{token:t.data.token,time:n}),e.getUserInfo()})).catch((function(t){n.$util.Tips({title:t})}))},getUserInfo:function(){var e=this;(0,a.getUserInfo)().then((function(n){t.hideLoading(),e.userInfo=n.data,e.$store.commit("SETUID",n.data.uid),e.$store.commit("UPDATE_USERINFO",n.data),e.$util.Tips({title:"登录成功",icon:"success"},{tab:3}),e.close()}))}}};e.default=d}).call(this,n("543d")["default"])},"8a3a":function(t,e,n){"use strict";n.r(e);var i=n("7404"),o=n.n(i);for(var u in i)"default"!==u&&function(t){n.d(e,t,(function(){return i[t]}))}(u);e["default"]=o.a},"9d3f":function(t,e,n){"use strict";var i=n("4e42"),o=n.n(i);o.a},a251:function(t,e,n){"use strict";n.r(e);var i=n("fc2b"),o=n("8a3a");for(var u in o)"default"!==u&&function(t){n.d(e,t,(function(){return o[t]}))}(u);n("9d3f");var a,c=n("f0c5"),r=Object(c["a"])(o["default"],i["b"],i["c"],!1,null,null,null,!1,i["a"],a);e["default"]=r.exports},fc2b:function(t,e,n){"use strict";var i;n.d(e,"b",(function(){return o})),n.d(e,"c",(function(){return u})),n.d(e,"a",(function(){return i}));var o=function(){var t=this,e=t.$createElement;t._self._c},u=[]}}]);
|
||||
;(global["webpackJsonp"] = global["webpackJsonp"] || []).push([
|
||||
'components/login_mobile/index-create-component',
|
||||
{
|
||||
'components/login_mobile/index-create-component':(function(module, exports, __webpack_require__){
|
||||
__webpack_require__('543d')['createComponent'](__webpack_require__("a251"))
|
||||
})
|
||||
},
|
||||
[['components/login_mobile/index-create-component']]
|
||||
]);
|
||||
4
crmeb/public/view/mp_view/components/login_mobile/index.json
Executable file
4
crmeb/public/view/mp_view/components/login_mobile/index.json
Executable file
@ -0,0 +1,4 @@
|
||||
{
|
||||
"component": true,
|
||||
"usingComponents": {}
|
||||
}
|
||||
1
crmeb/public/view/mp_view/components/login_mobile/index.wxml
Executable file
1
crmeb/public/view/mp_view/components/login_mobile/index.wxml
Executable file
@ -0,0 +1 @@
|
||||
<block wx:if="{{isUp}}"><view><view data-event-opts="{{[['tap',[['close',['$event']]]]]}}" class="mobile-bg" bindtap="__e"></view><view class="{{['mobile-mask','animated',(isUp)?'slideInUp':'']}}"><view class="input-item"><input type="text" placeholder="输入手机号" maxlength="11" data-event-opts="{{[['input',[['__set_model',['','account','$event',[]]]]]]}}" value="{{account}}" bindinput="__e"/></view><view class="input-item"><input type="text" placeholder="输入验证码" maxlength="6" data-event-opts="{{[['input',[['__set_model',['','codeNum','$event',[]]]]]]}}" value="{{codeNum}}" bindinput="__e"/><button class="code" disabled="{{disabled}}" data-event-opts="{{[['tap',[['code',['$event']]]]]}}" bindtap="__e">{{text}}</button></view><view data-event-opts="{{[['tap',[['loginBtn',['$event']]]]]}}" class="sub_btn" bindtap="__e">立即登录</view></view></view></block>
|
||||
1
crmeb/public/view/mp_view/components/login_mobile/index.wxss
Executable file
1
crmeb/public/view/mp_view/components/login_mobile/index.wxss
Executable file
@ -0,0 +1 @@
|
||||
.mobile-bg{position:fixed;left:0;top:0;width:100%;height:100%;background:rgba(0,0,0,.5)}.mobile-mask{z-index:20;position:fixed;left:0;bottom:0;width:100%;padding:67rpx 30rpx;background:#fff}.mobile-mask .input-item{display:flex;justify-content:space-between;width:100%;height:86rpx;margin-bottom:38rpx}.mobile-mask .input-item input{flex:1;display:block;height:100%;padding-left:40rpx;border-radius:43rpx;border:1px solid #dcdcdc}.mobile-mask .input-item .code{display:flex;align-items:center;justify-content:center;width:220rpx;height:86rpx;margin-left:30rpx;background:var(--view-minorColorT);font-size:28rpx;color:var(--view-theme);border-radius:43rpx}.mobile-mask .input-item .code[disabled]{background:rgba(0,0,0,.05);color:#999}.mobile-mask .sub_btn{width:690rpx;height:86rpx;line-height:86rpx;margin-top:60rpx;background:var(--view-theme);border-radius:43rpx;color:#fff;font-size:28rpx;text-align:center}.animated{-webkit-animation-duration:.4s;animation-duration:.4s}
|
||||
10
crmeb/public/view/mp_view/components/login_mobile/routine_phone.js
Executable file
10
crmeb/public/view/mp_view/components/login_mobile/routine_phone.js
Executable file
@ -0,0 +1,10 @@
|
||||
(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["components/login_mobile/routine_phone"],{"0b7d":function(t,e,n){"use strict";n.r(e);var o=n("6216"),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},6216:function(t,e,n){"use strict";(function(t){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var o=u(n("00d7")),a=n("3023"),i=n("6f0b");function u(t){return t&&t.__esModule?t:{default:t}}var r=getApp(),c={name:"routine_phone",props:{isPhoneBox:{type:Boolean,default:!1},logoUrl:{type:String,default:""},authKey:{type:String,default:""}},data:function(){return{keyCode:"",account:"",codeNum:"",isStatus:!1}},mounted:function(){},methods:{getphonenumber:function(e){var n=this;t.showLoading({title:"加载中"}),o.default.getCode().then((function(t){n.getUserPhoneNumber(e.detail.encryptedData,e.detail.iv,t)})).catch((function(e){t.hideLoading()}))},getUserPhoneNumber:function(e,n,o){var a=this;(0,i.getUserPhone)({encryptedData:e,iv:n,code:o,spread_spid:r.globalData.spid,spread_code:r.globalData.code,key:this.authKey}).then((function(t){var e=t.data.expires_time-a.$Cache.time();a.$store.commit("LOGIN",{token:t.data.token,time:e}),a.getUserInfo()})).catch((function(e){t.hideLoading()}))},getUserInfo:function(){var e=this,n=this;(0,a.getUserInfo)().then((function(o){t.hideLoading(),n.userInfo=o.data,n.$store.commit("SETUID",o.data.uid),n.$store.commit("UPDATE_USERINFO",o.data),n.isStatus=!0,e.close()}))},close:function(){this.$emit("close",{isStatus:this.isStatus})}}};e.default=c}).call(this,n("543d")["default"])},8449: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=[]},9076:function(t,e,n){"use strict";n.r(e);var o=n("8449"),a=n("0b7d");for(var i in a)"default"!==i&&function(t){n.d(e,t,(function(){return a[t]}))}(i);n("e32c");var u,r=n("f0c5"),c=Object(r["a"])(a["default"],o["b"],o["c"],!1,null,null,null,!1,o["a"],u);e["default"]=c.exports},a110:function(t,e,n){},e32c:function(t,e,n){"use strict";var o=n("a110"),a=n.n(o);a.a}}]);
|
||||
;(global["webpackJsonp"] = global["webpackJsonp"] || []).push([
|
||||
'components/login_mobile/routine_phone-create-component',
|
||||
{
|
||||
'components/login_mobile/routine_phone-create-component':(function(module, exports, __webpack_require__){
|
||||
__webpack_require__('543d')['createComponent'](__webpack_require__("9076"))
|
||||
})
|
||||
},
|
||||
[['components/login_mobile/routine_phone-create-component']]
|
||||
]);
|
||||
4
crmeb/public/view/mp_view/components/login_mobile/routine_phone.json
Executable file
4
crmeb/public/view/mp_view/components/login_mobile/routine_phone.json
Executable file
@ -0,0 +1,4 @@
|
||||
{
|
||||
"component": true,
|
||||
"usingComponents": {}
|
||||
}
|
||||
1
crmeb/public/view/mp_view/components/login_mobile/routine_phone.wxml
Executable file
1
crmeb/public/view/mp_view/components/login_mobile/routine_phone.wxml
Executable file
@ -0,0 +1 @@
|
||||
<block wx:if="{{isPhoneBox}}"><view><view data-event-opts="{{[['tap',[['close',['$event']]]]]}}" class="mobile-bg" bindtap="__e"></view><view class="{{['mobile-mask','animated',(isUp)?'slideInUp':'']}}"><view class="info-box"><image src="{{logoUrl}}"></image><view class="title">获取授权</view><view class="txt">获取微信的手机号授权</view></view><button class="sub_btn" open-type="getPhoneNumber" data-event-opts="{{[['getphonenumber',[['getphonenumber',['$event']]]]]}}" bindgetphonenumber="__e">获取微信手机号</button></view></view></block>
|
||||
1
crmeb/public/view/mp_view/components/login_mobile/routine_phone.wxss
Executable file
1
crmeb/public/view/mp_view/components/login_mobile/routine_phone.wxss
Executable file
@ -0,0 +1 @@
|
||||
.mobile-bg{position:fixed;left:0;top:0;width:100%;height:100%;background:rgba(0,0,0,.5)}.mobile-mask{z-index:20;position:fixed;left:0;bottom:0;width:100%;padding:67rpx 30rpx;background:#fff}.mobile-mask .info-box{display:flex;flex-direction:column;align-items:center;justify-content:center}.mobile-mask .info-box image{width:150rpx;height:150rpx;border-radius:10rpx}.mobile-mask .info-box .title{margin-top:30rpx;margin-bottom:20rpx;font-size:36rpx}.mobile-mask .info-box .txt{font-size:30rpx;color:#868686}.mobile-mask .sub_btn{width:690rpx;height:86rpx;line-height:86rpx;margin-top:60rpx;background:var(--view-theme);border-radius:43rpx;color:#fff;font-size:28rpx;text-align:center}.animated{-webkit-animation-duration:.4s;animation-duration:.4s}
|
||||
10
crmeb/public/view/mp_view/components/lottery/index.js
Executable file
10
crmeb/public/view/mp_view/components/lottery/index.js
Executable file
@ -0,0 +1,10 @@
|
||||
(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["components/lottery/index"],{"0a78":function(t,e,n){"use strict";n.r(e);var r=n("93c5"),c=n("d1cc");for(var u in c)"default"!==u&&function(t){n.d(e,t,(function(){return c[t]}))}(u);n("5ba2");var o,i=n("f0c5"),a=Object(i["a"])(c["default"],r["b"],r["c"],!1,null,"7dd29e8c",null,!1,r["a"],o);e["default"]=a.exports},"5ba2":function(t,e,n){"use strict";var r=n("a3c7"),c=n.n(r);c.a},"93c5":function(t,e,n){"use strict";var r;n.d(e,"b",(function(){return c})),n.d(e,"c",(function(){return u})),n.d(e,"a",(function(){return r}));var c=function(){var t=this,e=t.$createElement;t._self._c},u=[]},a3c7:function(t,e,n){},d1cc:function(t,e,n){"use strict";n.r(e);var r=n("e7e5"),c=n.n(r);for(var u in r)"default"!==u&&function(t){n.d(e,t,(function(){return r[t]}))}(u);e["default"]=c.a},e7e5:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var r=c(n("b64c"));function c(t){return t&&t.__esModule?t:{default:t}}function u(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function o(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?u(Object(n),!0).forEach((function(e){i(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):u(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}function i(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var a={data:function(){return{current_index:-1,lotteryBtn:!0}},props:{prizeData:{type:Array,default:function(){return[]}}},onLoad:function(){},methods:{luck_draw:function(t){if(this.lotteryBtn){this.lotteryBtn=!1;var e=t.currentTarget.dataset.index,n=this;8==e&&this.$emit("get_winingIndex",(function(t){var e=t;new r.default(o({domData:n.prizeData},e),(function(t,r){n.current_index=t,e.winingIndex==t&&e.totalCount==r&&(n.lotteryBtn=!0,n.$emit("luck_draw_finish",n.prizeData[t]))}))}))}}}};e.default=a}}]);
|
||||
;(global["webpackJsonp"] = global["webpackJsonp"] || []).push([
|
||||
'components/lottery/index-create-component',
|
||||
{
|
||||
'components/lottery/index-create-component':(function(module, exports, __webpack_require__){
|
||||
__webpack_require__('543d')['createComponent'](__webpack_require__("0a78"))
|
||||
})
|
||||
},
|
||||
[['components/lottery/index-create-component']]
|
||||
]);
|
||||
4
crmeb/public/view/mp_view/components/lottery/index.json
Executable file
4
crmeb/public/view/mp_view/components/lottery/index.json
Executable file
@ -0,0 +1,4 @@
|
||||
{
|
||||
"component": true,
|
||||
"usingComponents": {}
|
||||
}
|
||||
1
crmeb/public/view/mp_view/components/lottery/index.wxml
Executable file
1
crmeb/public/view/mp_view/components/lottery/index.wxml
Executable file
@ -0,0 +1 @@
|
||||
<view class="lottery_container data-v-7dd29e8c"><view class="grid_wrap data-v-7dd29e8c"><view class="lottery_wrap data-v-7dd29e8c"><view class="lottery_grid _ul data-v-7dd29e8c"><block wx:for="{{prizeData}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view class="{{['_li','data-v-7dd29e8c',(current_index==index&&index!=8)?'active':'']}}" data-index="{{index}}" data-event-opts="{{[['tap',[['luck_draw',['$event']]]]]}}" bindtap="__e"><view class="{{['lottery-msg','data-v-7dd29e8c',(index!=8)?'in_line':'']}}"><block wx:if="{{index!=8}}"><image class="grid_img data-v-7dd29e8c" mode="aspectFit" src="{{item.image}}" alt></image></block><block wx:if="{{index!=8}}"><text class="name data-v-7dd29e8c">{{''+(index==8?'抽奖':item.name)+''}}</text></block><block wx:else><image class="lottery-click data-v-7dd29e8c" src="../../static/images/lottery-click.png" mode></image></block></view></view></block></view></view></view></view>
|
||||
6
crmeb/public/view/mp_view/components/lottery/index.wxss
Executable file
6
crmeb/public/view/mp_view/components/lottery/index.wxss
Executable file
@ -0,0 +1,6 @@
|
||||
._li.data-v-7dd29e8c{list-style:none}._ul.data-v-7dd29e8c,
|
||||
._li.data-v-7dd29e8c{margin:0;padding:0}.lottery_container.data-v-7dd29e8c{width:100%;height:100%}.grid_wrap.data-v-7dd29e8c{width:100%;height:100%;position:relative}.grid_wrap .lottery_wrap_border.data-v-7dd29e8c{position:absolute;top:0;left:0;width:100%;height:100%}.grid_wrap .lottery_wrap_border ._ul.data-v-7dd29e8c{position:absolute;display:flex;align-items:center;justify-content:center}.grid_wrap .lottery_wrap_border ._ul ._li.data-v-7dd29e8c{border-radius:50%;width:17rpx;height:17rpx;background-color:#bce0e9}.grid_wrap .lottery_wrap_border ._ul ._li.data-v-7dd29e8c:nth-child(even){width:24rpx;height:24rpx;background-color:#f5fbc8}.grid_wrap .lottery_wrap_border ._ul.data-v-7dd29e8c:nth-child(odd){width:100%;height:35rpx;left:0;right:0;flex-direction:row}.grid_wrap .lottery_wrap_border ._ul:nth-child(odd) ._li.data-v-7dd29e8c{margin:0 10rpx}.grid_wrap .lottery_wrap_border ._ul.data-v-7dd29e8c:nth-child(even){width:35rpx;height:100%;top:0;bottom:0;flex-direction:column}.grid_wrap .lottery_wrap_border ._ul:nth-child(even) ._li.data-v-7dd29e8c{margin:10rpx 0}.grid_wrap .lottery_wrap_border ._ul.data-v-7dd29e8c:nth-child(3){bottom:0}.grid_wrap .lottery_wrap_border ._ul.data-v-7dd29e8c:nth-child(4){right:0}.grid_wrap .lottery_wrap_border ._ul:nth-child(1) ._li.data-v-7dd29e8c:nth-child(odd),
|
||||
.grid_wrap .lottery_wrap_border ._ul:nth-child(4) ._li.data-v-7dd29e8c:nth-child(odd){-webkit-animation:blink_large-data-v-7dd29e8c 1s linear infinite;animation:blink_large-data-v-7dd29e8c 1s linear infinite}.grid_wrap .lottery_wrap_border ._ul:nth-child(1) ._li.data-v-7dd29e8c:nth-child(even),
|
||||
.grid_wrap .lottery_wrap_border ._ul:nth-child(4) ._li.data-v-7dd29e8c:nth-child(even){-webkit-animation:blink_small-data-v-7dd29e8c 1s linear infinite;animation:blink_small-data-v-7dd29e8c 1s linear infinite}.grid_wrap .lottery_wrap_border ._ul:nth-child(3) ._li.data-v-7dd29e8c:nth-child(even),
|
||||
.grid_wrap .lottery_wrap_border ._ul:nth-child(2) ._li.data-v-7dd29e8c:nth-child(even){width:17rpx;height:17rpx;background-color:#bce0e9;-webkit-animation:blink_large-data-v-7dd29e8c 1s linear infinite;animation:blink_large-data-v-7dd29e8c 1s linear infinite}.grid_wrap .lottery_wrap_border ._ul:nth-child(3) ._li.data-v-7dd29e8c:nth-child(odd),
|
||||
.grid_wrap .lottery_wrap_border ._ul:nth-child(2) ._li.data-v-7dd29e8c:nth-child(odd){width:24rpx;height:24rpx;background-color:#f5fbc8;-webkit-animation:blink_small-data-v-7dd29e8c 1s linear infinite;animation:blink_small-data-v-7dd29e8c 1s linear infinite}.grid_wrap .lottery_wrap.data-v-7dd29e8c{width:100%;height:100%;font-size:14rpx;position:absolute;top:50%;left:50%;-webkit-transform:translate(-50%,-50%);transform:translate(-50%,-50%);z-index:1}.grid_wrap .lottery_wrap .lottery_grid.data-v-7dd29e8c{width:100%;height:100%;position:relative}.grid_wrap .lottery_wrap .lottery_grid ._li.data-v-7dd29e8c{width:30%;height:30%;display:flex;flex-direction:column;align-items:center;justify-content:center;float:left;position:absolute;border-radius:12rpx;color:#e74435;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-size:20rpx;margin:4px;padding:4px}.grid_wrap .lottery_wrap .lottery_grid ._li .in_line.data-v-7dd29e8c{border:1px dashed #ff7f5f;border-radius:12rpx;width:100%;height:100%;display:flex;flex-direction:column;justify-content:center;align-items:center;text-overflow:ellipsis;white-space:nowrap;overflow:hidden;padding:0 4rpx}.grid_wrap .lottery_wrap .lottery_grid ._li .grid_img.data-v-7dd29e8c{width:50%;height:50%}.grid_wrap .lottery_wrap .lottery_grid .active.data-v-7dd29e8c{background:#ffd18d!important;box-shadow:0rpx 8rpx 0rpx 0rpx #ffd18d;color:#0e62ff}.grid_wrap .lottery_wrap .lottery_grid ._li.data-v-7dd29e8c:nth-of-type(1){left:1%;top:1%;background:linear-gradient(0deg,#fff2f2,#fff)}.grid_wrap .lottery_wrap .lottery_grid ._li.data-v-7dd29e8c:nth-of-type(2){left:34%;top:1%;background:linear-gradient(0deg,#fff2f2,#fff)}.grid_wrap .lottery_wrap .lottery_grid ._li.data-v-7dd29e8c:nth-of-type(3){left:67%;top:1%;background:linear-gradient(0deg,#fff2f2,#fff)}.grid_wrap .lottery_wrap .lottery_grid ._li.data-v-7dd29e8c:nth-of-type(4){left:67%;top:34%;background:linear-gradient(0deg,#fff2f2,#fff)}.grid_wrap .lottery_wrap .lottery_grid ._li.data-v-7dd29e8c:nth-of-type(5){left:67%;top:67%;background:linear-gradient(0deg,#fff2f2,#fff)}.grid_wrap .lottery_wrap .lottery_grid ._li.data-v-7dd29e8c:nth-of-type(6){left:34%;top:67%;background:linear-gradient(0deg,#fff2f2,#fff)}.grid_wrap .lottery_wrap .lottery_grid ._li.data-v-7dd29e8c:nth-of-type(7){left:1%;top:67%;background:linear-gradient(0deg,#fff2f2,#fff)}.grid_wrap .lottery_wrap .lottery_grid ._li.data-v-7dd29e8c:nth-of-type(8){left:1%;top:34%;background:linear-gradient(0deg,#fff2f2,#fff)}.grid_wrap .lottery_wrap .lottery_grid ._li.data-v-7dd29e8c:nth-of-type(9){left:34%;top:34%;cursor:pointer;color:#fff;font-size:40rpx;font-weight:bolder}@-webkit-keyframes blink_large-data-v-7dd29e8c{to{width:24rpx;height:24rpx;background-color:#f5fbc8}}@keyframes blink_large-data-v-7dd29e8c{to{width:24rpx;height:24rpx;background-color:#f5fbc8}}@-webkit-keyframes blink_small-data-v-7dd29e8c{to{width:17rpx;height:17rpx;background-color:#bce0e9}}@keyframes blink_small-data-v-7dd29e8c{to{width:17rpx;height:17rpx;background-color:#bce0e9}}.lottery-msg.data-v-7dd29e8c{width:100%;height:100%;padding:0 4rpx}.lottery-click.data-v-7dd29e8c{width:100%;height:100%}
|
||||
10
crmeb/public/view/mp_view/components/menuIcon.js
Executable file
10
crmeb/public/view/mp_view/components/menuIcon.js
Executable file
@ -0,0 +1,10 @@
|
||||
(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["components/menuIcon"],{"00ec":function(e,n,t){"use strict";t.r(n);var o=t("7a67"),a=t.n(o);for(var i in o)"default"!==i&&function(e){t.d(n,e,(function(){return o[e]}))}(i);n["default"]=a.a},3771:function(e,n,t){},"6bfa":function(e,n,t){"use strict";var o;t.d(n,"b",(function(){return a})),t.d(n,"c",(function(){return i})),t.d(n,"a",(function(){return o}));var a=function(){var e=this,n=e.$createElement;e._self._c},i=[]},"7a67":function(e,n,t){"use strict";(function(e){Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var t={name:"menuIcon",data:function(){return{Active:!1,returnShow:!0,homeTop:20,text_opacity:0,iconList:[{name:"首页",iconName:"icon-shouye8",path:"/pages/index/index",jumpType:1},{name:"购物车",iconName:"icon-gouwuche7",path:"/pages/order_addcart/order_addcart",jumpType:1},{name:"搜索",iconName:"icon-sousuo6",path:"/pages/goods_search/index",jumpType:0},{name:"收藏",iconName:"icon-shoucang3",path:"/pages/users/user_goods_collection/index",jumpType:0},{name:"我的",iconName:"icon-yonghu1",path:"/pages/user/index",jumpType:1},{name:"首页",iconName:"icon-shouye8",path:"/pages/index/index",jumpType:1}]}},props:{showMenuIcon:{type:Boolean,default:!1},opacity:{type:Number,default:1}},watch:{showMenuIcon:function(e){this.Active=e},opacity:function(e){this.text_opacity=e}},mounted:function(){var n=this,t=getCurrentPages();this.returnShow=1!==t.length,this.$nextTick((function(){var t=e.getMenuButtonBoundingClientRect(),o=e.createSelectorQuery().in(n);o.select("#home").boundingClientRect((function(e){n.homeTop=2*t.top+t.height-e.height})).exec()}))},methods:{open:function(){this.Active=!this.Active,this.Active&&this.$emit("open",!0)},returns:function(){e.navigateBack()},jumpUrl:function(n,t){(1===t?e.switchTab:e.navigateTo)({url:n})}}};n.default=t}).call(this,t("543d")["default"])},"9a72":function(e,n,t){"use strict";t.r(n);var o=t("6bfa"),a=t("00ec");for(var i in a)"default"!==i&&function(e){t.d(n,e,(function(){return a[e]}))}(i);t("d45a");var c,u=t("f0c5"),r=Object(u["a"])(a["default"],o["b"],o["c"],!1,null,null,null,!1,o["a"],c);n["default"]=r.exports},d45a:function(e,n,t){"use strict";var o=t("3771"),a=t.n(o);a.a}}]);
|
||||
;(global["webpackJsonp"] = global["webpackJsonp"] || []).push([
|
||||
'components/menuIcon-create-component',
|
||||
{
|
||||
'components/menuIcon-create-component':(function(module, exports, __webpack_require__){
|
||||
__webpack_require__('543d')['createComponent'](__webpack_require__("9a72"))
|
||||
})
|
||||
},
|
||||
[['components/menuIcon-create-component']]
|
||||
]);
|
||||
4
crmeb/public/view/mp_view/components/menuIcon.json
Executable file
4
crmeb/public/view/mp_view/components/menuIcon.json
Executable file
@ -0,0 +1,4 @@
|
||||
{
|
||||
"usingComponents": {},
|
||||
"component": true
|
||||
}
|
||||
1
crmeb/public/view/mp_view/components/menuIcon.wxml
Executable file
1
crmeb/public/view/mp_view/components/menuIcon.wxml
Executable file
@ -0,0 +1 @@
|
||||
<view><view class="{{['home','acea-row','row-center-wrapper',returnShow?'p10':'p20',text_opacity>=1?'opacity':'']}}" style="{{'top:'+(homeTop+'rpx')+';'}}" id="home"><block wx:if="{{returnShow}}"><view data-event-opts="{{[['tap',[['returns',['$event']]]]]}}" class="{{['iconfont','icon-xiangzuo',text_opacity>=1?'opacity':'']}}" bindtap="__e"></view></block><block wx:if="{{returnShow}}"><view class="{{['line',text_opacity>=1?'opacity':'']}}"></view></block><view class="animation-box"><transition vue-id="86873e9a-1" name="fade" bind:__l="__l" vue-slots="{{['default']}}"><block wx:if="{{!Active}}"><view data-event-opts="{{[['tap',[['open',['$event']]]]]}}" class="{{['iconfont','icon-gengduo4',text_opacity>=1?'opacity':'']}}" bindtap="__e"></view></block></transition><transition vue-id="86873e9a-2" name="fade" mode="out-in" bind:__l="__l" vue-slots="{{['default']}}"><block wx:if="{{Active}}"><view data-event-opts="{{[['tap',[['open',['$event']]]]]}}" class="{{['iconfont','icon-guanbi5',text_opacity>=1?'opacity':'']}}" bindtap="__e"></view></block></transition></view><block wx:if="{{Active}}"><view data-event-opts="{{[['tap',[['open',['$event']]]]]}}" class="{{['homeCon','bg-color',Active===true?'active':'']}}" bindtap="__e"><block wx:for="{{iconList}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view data-event-opts="{{[['tap',[['jumpUrl',['$0','$1'],[[['iconList','',index,'path']],[['iconList','',index,'jumpType']]]]]]]}}" class="homeCon-box" bindtap="__e"><text class="{{['iconfont',item.iconName]}}"></text><text class="text">{{item.name}}</text></view></block></view></block></view></view>
|
||||
4
crmeb/public/view/mp_view/components/menuIcon.wxss
Executable file
4
crmeb/public/view/mp_view/components/menuIcon.wxss
Executable file
@ -0,0 +1,4 @@
|
||||
.home.opacity{background:#fff;border:1px solid #f2f2f2}.home{color:#fff;position:fixed;height:56rpx;z-index:99;left:33rpx;background:hsla(0,0%,74.5%,.5);border-radius:30rpx;display:flex;align-items:center}.home .opacity{color:#050505}.home .icon-gengduo4,
|
||||
.home .icon-guanbi5{position:absolute;width:40rpx}.home .icon-gengduo4{font-size:28rpx;text-align:center}.home .animation-box{position:relative;width:39rpx;height:28rpx}.icon-guanbi5{font-size:28rpx;text-align:center}.home .homeCon{display:flex;flex-direction:column;font-size:26rpx;padding:4rpx;opacity:0;border:1px solid #f2f2f2}.home .homeCon::before{content:"";width:0;height:0;border-left:15rpx solid transparent;border-right:15rpx solid transparent;border-bottom:17rpx solid #fff;position:absolute;top:-15rpx;right:66rpx;border-bottom-color:#f2f2f2}.home .homeCon::after{content:"";width:0;height:0;border-left:15rpx solid transparent;border-right:15rpx solid transparent;border-bottom:17rpx solid #fff;position:absolute;top:-13rpx;right:66rpx}.home .homeCon .homeCon-box{display:flex;align-items:center;flex-wrap:nowrap;width:100%;padding:15rpx 18rpx}.home .homeCon .homeCon-box .text{display:flex;flex-wrap:nowrap}.home .homeCon .iconfont{display:flex;align-items:center;padding:5rpx 3rpx;margin-right:5rpx}.home .homeCon .homeCon-box:nth-child(even){border-top:1px solid #f2f2f2;border-bottom:1px solid #f2f2f2}.home .homeCon.active{position:absolute;opacity:1;top:75rpx;-webkit-animation:bounceInLeft .5s cubic-bezier(.215,.31,.655,1);animation:bounceInLeft .5s cubic-bezier(.215,.31,.655,1);width:-webkit-max-content;width:max-content;display:flex;justify-content:center;align-items:center;border-radius:10rpx;color:#333;background:#fff!important;box-shadow:0rpx 3rpx 10rpx 2rpx rgba(0,0,0,.03)}.home .line{width:2rpx;height:24rpx;margin:0 12rpx 0 10rpx;background:hsla(0,0%,100%,.25)}.home .line.opacity{color:#050505;background-color:#050505}.home .icon-xiangzuo{font-size:28rpx}.fade-enter-active,
|
||||
.fade-leave-active{transition:opacity .3s}.fade-enter,
|
||||
.fade-leave-to{opacity:0}.p10{padding:0 20rpx}.p20{padding:0 40rpx}
|
||||
10
crmeb/public/view/mp_view/components/mp-html/mp-html.js
Executable file
10
crmeb/public/view/mp_view/components/mp-html/mp-html.js
Executable file
@ -0,0 +1,10 @@
|
||||
(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["components/mp-html/mp-html"],{"162b":function(t,e,n){"use strict";n.r(e);var o=n("bc79"),i=n.n(o);for(var r in o)"default"!==r&&function(t){n.d(e,t,(function(){return o[t]}))}(r);e["default"]=i.a},"6bcd":function(t,e,n){},"80f0":function(t,e,n){"use strict";var o;n.d(e,"b",(function(){return i})),n.d(e,"c",(function(){return r})),n.d(e,"a",(function(){return o}));var i=function(){var t=this,e=t.$createElement;t._self._c},r=[]},"85dc":function(t,e,n){"use strict";n.r(e);var o=n("80f0"),i=n("162b");for(var r in i)"default"!==r&&function(t){n.d(e,t,(function(){return i[t]}))}(r);n("9d92");var c,a=n("f0c5"),l=Object(a["a"])(i["default"],o["b"],o["c"],!1,null,null,null,!1,o["a"],c);e["default"]=l.exports},"9d92":function(t,e,n){"use strict";var o=n("6bcd"),i=n.n(o);i.a},bc79:function(t,e,n){"use strict";(function(t){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var o=[],i=n("3dac"),r=function(){n.e("components/mp-html/node/node").then(function(){return resolve(n("1e7d"))}.bind(null,n)).catch(n.oe)},c={name:"mp-html",data:function(){return{nodes:[]}},props:{content:String,copyLink:{type:Boolean,default:!0},domain:String,errorImg:{type:String,default:""},lazyLoad:{type:Boolean,default:!1},loadingImg:{type:String,default:""},pauseVideo:{type:Boolean,default:!0},previewImg:{type:Boolean,default:!0},scrollTable:Boolean,selectable:Boolean,setTitle:{type:Boolean,default:!0},showImgMenu:{type:Boolean,default:!0},tagStyle:Object,useAnchor:null},components:{node:r},watch:{content:function(t){this.setContent(t)}},created:function(){this.plugins=[];for(var t=o.length;t--;)this.plugins.push(new o[t](this))},mounted:function(){this.content&&!this.nodes.length&&this.setContent(this.content)},beforeDestroy:function(){this._hook("onDetached"),clearInterval(this._timer)},methods:{in:function(t,e,n){t&&e&&n&&(this._in={page:t,selector:e,scrollTop:n})},navigateTo:function(e,n){var o=this;return new Promise((function(i,r){if(!o.useAnchor)return r("Anchor is disabled");n=n||parseInt(o.useAnchor)||0;var c=" ";c=">>>";var a=t.createSelectorQuery().in(o._in?o._in.page:o).select((o._in?o._in.selector:"._root")+(e?"".concat(c,"#").concat(e):"")).boundingClientRect();o._in?a.select(o._in.selector).scrollOffset().select(o._in.selector).boundingClientRect():a.selectViewport().scrollOffset(),a.exec((function(e){if(!e[0])return r("Label not found");var c=e[1].scrollTop+e[0].top-(e[2]?e[2].top:0)+n;o._in?o._in.page[o._in.scrollTop]=c:t.pageScrollTo({scrollTop:c,duration:300}),i()}))}))},getText:function(){var t="";return function e(n){for(var o=0;o<n.length;o++){var i=n[o];if("text"==i.type)t+=i.text.replace(/&/g,"&");else if("br"==i.name)t+="\n";else{var r="p"==i.name||"div"==i.name||"tr"==i.name||"li"==i.name||"h"==i.name[0]&&i.name[1]>"0"&&i.name[1]<"7";r&&t&&"\n"!=t[t.length-1]&&(t+="\n"),i.children&&e(i.children),r&&"\n"!=t[t.length-1]?t+="\n":"td"!=i.name&&"th"!=i.name||(t+="\t")}}}(this.nodes),t},getRect:function(){var e=this;return new Promise((function(n,o){t.createSelectorQuery().in(e).select("#_root").boundingClientRect().exec((function(t){return t[0]?n(t[0]):o("Root label not found")}))}))},setContent:function(t,e){var n=this;e&&this.imgList||(this.imgList=[]);var o,r=new i(this).parse(t);this.$set(this,"nodes",e?(this.nodes||[]).concat(r):r),this._videos=[],this.$nextTick((function(){n._hook("onLoad"),n.$emit("load")})),clearInterval(this._timer),this._timer=setInterval((function(){n.getRect().then((function(t){t.height==o&&(n.$emit("ready",t),clearInterval(n._timer)),o=t.height})).catch((function(){}))}),350)},_hook:function(t){for(var e=o.length;e--;)this.plugins[e][t]&&this.plugins[e][t]()}}};e.default=c}).call(this,n("543d")["default"])}}]);
|
||||
;(global["webpackJsonp"] = global["webpackJsonp"] || []).push([
|
||||
'components/mp-html/mp-html-create-component',
|
||||
{
|
||||
'components/mp-html/mp-html-create-component':(function(module, exports, __webpack_require__){
|
||||
__webpack_require__('543d')['createComponent'](__webpack_require__("85dc"))
|
||||
})
|
||||
},
|
||||
[['components/mp-html/mp-html-create-component']]
|
||||
]);
|
||||
6
crmeb/public/view/mp_view/components/mp-html/mp-html.json
Executable file
6
crmeb/public/view/mp_view/components/mp-html/mp-html.json
Executable file
@ -0,0 +1,6 @@
|
||||
{
|
||||
"component": true,
|
||||
"usingComponents": {
|
||||
"node": "/components/mp-html/node/node"
|
||||
}
|
||||
}
|
||||
1
crmeb/public/view/mp_view/components/mp-html/mp-html.wxml
Executable file
1
crmeb/public/view/mp_view/components/mp-html/mp-html.wxml
Executable file
@ -0,0 +1 @@
|
||||
<view class="{{[(selectable?'_select ':'')+'_root']}}" id="_root"><block wx:if="{{!nodes[0]}}"><slot></slot></block><block wx:else><node vue-id="ecb6c454-1" childs="{{nodes}}" opts="{{[lazyLoad,loadingImg,errorImg,showImgMenu]}}" bind:__l="__l"></node></block></view>
|
||||
1
crmeb/public/view/mp_view/components/mp-html/mp-html.wxss
Executable file
1
crmeb/public/view/mp_view/components/mp-html/mp-html.wxss
Executable file
@ -0,0 +1 @@
|
||||
._root{overflow:auto;-webkit-overflow-scrolling:touch}._select{-webkit-user-select:text;user-select:text}
|
||||
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