服务器提交
This commit is contained in:
1
public/weapp/pages/goods/cart.js
Executable file
1
public/weapp/pages/goods/cart.js
Executable file
File diff suppressed because one or more lines are too long
16
public/weapp/pages/goods/cart.json
Executable file
16
public/weapp/pages/goods/cart.json
Executable file
@@ -0,0 +1,16 @@
|
||||
{
|
||||
"navigationStyle": "custom",
|
||||
"navigationBarTitleText": "购物车",
|
||||
"usingComponents": {
|
||||
"ns-navbar": "/components/ns-navbar/ns-navbar",
|
||||
"uni-number-box": "/components/uni-number-box/uni-number-box",
|
||||
"ns-empty": "/components/ns-empty/ns-empty",
|
||||
"ns-goods-recommend": "/components/ns-goods-recommend/ns-goods-recommend",
|
||||
"uni-popup": "/components/uni-popup/uni-popup",
|
||||
"diy-bottom-nav": "/components/diy-components/diy-bottom-nav",
|
||||
"ns-goods-sku": "/components/ns-goods-sku/ns-goods-sku",
|
||||
"loading-cover": "/components/loading-cover/loading-cover",
|
||||
"ns-login": "/components/ns-login/ns-login",
|
||||
"to-top": "/components/toTop/toTop"
|
||||
}
|
||||
}
|
||||
1
public/weapp/pages/goods/cart.wxml
Executable file
1
public/weapp/pages/goods/cart.wxml
Executable file
File diff suppressed because one or more lines are too long
1
public/weapp/pages/goods/cart.wxss
Executable file
1
public/weapp/pages/goods/cart.wxss
Executable file
File diff suppressed because one or more lines are too long
1
public/weapp/pages/goods/category.js
Executable file
1
public/weapp/pages/goods/category.js
Executable file
@@ -0,0 +1 @@
|
||||
(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["pages/goods/category"],{3079:function(t,e,a){"use strict";var i=a("7a69"),n=a.n(i);n.a},"690b":function(t,e,a){"use strict";a.d(e,"b",(function(){return n})),a.d(e,"c",(function(){return o})),a.d(e,"a",(function(){return i}));var i={diyCategory:function(){return a.e("components/diy-components/diy-category").then(a.bind(null,"4fbd"))},nsLogin:function(){return Promise.all([a.e("common/vendor"),a.e("components/ns-login/ns-login")]).then(a.bind(null,"2910"))},loadingCover:function(){return a.e("components/loading-cover/loading-cover").then(a.bind(null,"c003"))},diyBottomNav:function(){return a.e("components/diy-components/diy-bottom-nav").then(a.bind(null,"2532"))}},n=function(){var t=this.$createElement;this._self._c},o=[]},"7a69":function(t,e,a){},e9ff:function(t,e,a){"use strict";(function(t){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var a={components:{},data:function(){return{diyData:null,mpShareData:null}},onLoad:function(){t.hideTabBar(),this.getDiyInfo()},onShow:function(){this.$refs.category&&this.$refs.category[0].pageShow()},onUnload:function(){!this.storeToken&&this.$refs.login&&this.$refs.login.cancelCompleteInfo()},methods:{getDiyInfo:function(){var e=this;this.$api.sendRequest({url:"/api/diyview/info",data:{name:"DIY_VIEW_GOODS_CATEGORY"},success:function(a){0==a.code&&a.data&&(e.diyData=a.data,e.diyData.value&&(e.diyData=JSON.parse(e.diyData.value),e.setPublicShare(),e.setMpShare(),e.$refs.loadingCover&&e.$refs.loadingCover.hide()),t.stopPullDownRefresh())}})},setMpShare:function(){var t=this.$util.getCurrentRoute().path;this.$store.state.memberInfo&&this.$store.state.memberInfo.member_id&&(t=this.$util.getCurrentShareRoute(this.$store.state.memberInfo.member_id).path);var e={title:this.diyData.global.weappShareTitle,path:t,imageUrl:this.$util.img(this.diyData.global.weappShareImage),success:function(t){},fail:function(t){}},a={title:this.diyData.global.weappShareTitle,query:t,imageUrl:this.$util.img(this.diyData.global.weappShareImage)};this.mpShareData={appMessage:e,timeLine:a},this.mpShareData.timeLine.query=this.mpShareData.timeLine.query.split("?")[1]||""},setPublicShare:function(){var t=this.$config.h5Domain+"/pages/goods/category",e=this.$store.state.globalStoreInfo;e&&(t+="?store_id="+e.store_id),this.$util.setPublicShare({title:this.diyData.global.wechatShareTitle||this.diyData.global.title,desc:this.diyData.global.wechatShareDesc,link:t,imgUrl:this.diyData.global.weappShareImage?this.$util.img(this.diyData.global.weappShareImage):this.$util.img(this.siteInfo.logo_square)})},toLogin:function(){this.$refs.login.open("/pages/goods/category")}},onPullDownRefresh:function(){t.hideTabBar(),this.getDiyInfo()},onShareAppMessage:function(){return this.mpShareData.appMessage},onShareTimeline:function(){return this.mpShareData.timeLine}};e.default=a}).call(this,a("df3c")["default"])},f049:function(t,e,a){"use strict";a.r(e);var i=a("e9ff"),n=a.n(i);for(var o in i)["default"].indexOf(o)<0&&function(t){a.d(e,t,(function(){return i[t]}))}(o);e["default"]=n.a},f98b:function(t,e,a){"use strict";(function(t,e){var i=a("47a9");a("d381");i(a("3240"));var n=i(a("fd7f"));t.__webpack_require_UNI_MP_PLUGIN__=a,e(n.default)}).call(this,a("3223")["default"],a("df3c")["createPage"])},fd7f:function(t,e,a){"use strict";a.r(e);var i=a("690b"),n=a("f049");for(var o in n)["default"].indexOf(o)<0&&function(t){a.d(e,t,(function(){return n[t]}))}(o);a("3079");var r=a("828b"),s=Object(r["a"])(n["default"],i["b"],i["c"],!1,null,null,null,!1,i["a"],void 0);e["default"]=s.exports}},[["f98b","common/runtime","common/vendor"]]]);
|
||||
12
public/weapp/pages/goods/category.json
Executable file
12
public/weapp/pages/goods/category.json
Executable file
@@ -0,0 +1,12 @@
|
||||
{
|
||||
"disableScroll": true,
|
||||
"navigationStyle": "custom",
|
||||
"navigationBarTitleText": "商品分类",
|
||||
"enablePullDownRefresh": true,
|
||||
"usingComponents": {
|
||||
"diy-category": "/components/diy-components/diy-category",
|
||||
"ns-login": "/components/ns-login/ns-login",
|
||||
"loading-cover": "/components/loading-cover/loading-cover",
|
||||
"diy-bottom-nav": "/components/diy-components/diy-bottom-nav"
|
||||
}
|
||||
}
|
||||
1
public/weapp/pages/goods/category.wxml
Executable file
1
public/weapp/pages/goods/category.wxml
Executable file
@@ -0,0 +1 @@
|
||||
<page-meta page-style="{{themeColor}}"></page-meta><view><block wx:if="{{diyData}}"><block><block wx:for="{{diyData.value}}" wx:for-item="item" wx:for-index="index" wx:key="index"><block><block wx:if="{{item.componentName=='GoodsCategory'}}"><view><diy-category class="vue-ref-in-for" vue-id="{{'8fad5394-1-'+index}}" value="{{item}}" data-ref="category" data-event-opts="{{[['^tologin',[['toLogin']]]]}}" bind:tologin="__e" bind:__l="__l"></diy-category></view></block></block></block></block></block><ns-login class="vue-ref" vue-id="8fad5394-2" data-ref="login" bind:__l="__l"></ns-login><loading-cover class="vue-ref" vue-id="8fad5394-3" data-ref="loadingCover" bind:__l="__l"></loading-cover><privacy-popup class="vue-ref" vue-id="8fad5394-4" data-ref="privacyPopup" bind:__l="__l"></privacy-popup><view id="tab-bar"><diy-bottom-nav vue-id="8fad5394-5" bind:__l="__l"></diy-bottom-nav></view></view>
|
||||
1
public/weapp/pages/goods/category.wxss
Executable file
1
public/weapp/pages/goods/category.wxss
Executable file
@@ -0,0 +1 @@
|
||||
.uni-popup__wrapper.uni-center{background:rgba(0,0,0,.6)}.uni-popup__wrapper-box{border-radius:0!important}.uni-popup__wrapper.uni-custom.center .uni-popup__wrapper-box{overflow-y:visible}.loading-layer{background:#fff!important}.category-template-4 .template-four .uni-popup__wrapper-box{border-radius:0 0 14px 14px!important;overflow:hidden}.category-template-4 .content-wrap .categoty-goods-wrap .goods-list{margin-top:30rpx}.category-template-4 .content-wrap .goods-list .goods-item .footer-wrap .right-wrap .num-action{width:46rpx;height:46rpx}.uni-page-refresh-inner .uni-page-refresh__path{stroke:#010101!important}
|
||||
1
public/weapp/pages/goods/detail.js
Executable file
1
public/weapp/pages/goods/detail.js
Executable file
File diff suppressed because one or more lines are too long
17
public/weapp/pages/goods/detail.json
Executable file
17
public/weapp/pages/goods/detail.json
Executable file
@@ -0,0 +1,17 @@
|
||||
{
|
||||
"navigationStyle": "custom",
|
||||
"usingComponents": {
|
||||
"ns-navbar": "/components/ns-navbar/ns-navbar",
|
||||
"goods-detail-view": "/components/goods-detail-view/goods-detail-view",
|
||||
"uni-count-down": "/components/uni-count-down/uni-count-down",
|
||||
"ns-goods-promotion": "/components/ns-goods-promotion/ns-goods-promotion",
|
||||
"ns-goods-sku": "/components/ns-goods-sku/ns-goods-sku",
|
||||
"uni-popup": "/components/uni-popup/uni-popup",
|
||||
"ns-goods-action": "/components/ns-goods-action/ns-goods-action",
|
||||
"ns-goods-action-icon": "/components/ns-goods-action-icon/ns-goods-action-icon",
|
||||
"ns-goods-action-button": "/components/ns-goods-action-button/ns-goods-action-button",
|
||||
"ns-login": "/components/ns-login/ns-login",
|
||||
"loading-cover": "/components/loading-cover/loading-cover",
|
||||
"to-top": "/components/toTop/toTop"
|
||||
}
|
||||
}
|
||||
1
public/weapp/pages/goods/detail.wxml
Executable file
1
public/weapp/pages/goods/detail.wxml
Executable file
File diff suppressed because one or more lines are too long
20
public/weapp/pages/goods/detail.wxss
Executable file
20
public/weapp/pages/goods/detail.wxss
Executable file
File diff suppressed because one or more lines are too long
1
public/weapp/pages/goods/list.js
Executable file
1
public/weapp/pages/goods/list.js
Executable file
File diff suppressed because one or more lines are too long
12
public/weapp/pages/goods/list.json
Executable file
12
public/weapp/pages/goods/list.json
Executable file
@@ -0,0 +1,12 @@
|
||||
{
|
||||
"navigationBarTitleText": "商品列表",
|
||||
"usingComponents": {
|
||||
"diy-icon": "/components/diy-components/diy-icon",
|
||||
"ns-empty": "/components/ns-empty/ns-empty",
|
||||
"uni-drawer": "/components/uni-drawer/uni-drawer",
|
||||
"hover-nav": "/components/hover-nav/hover-nav",
|
||||
"loading-cover": "/components/loading-cover/loading-cover",
|
||||
"uni-tag": "/components/uni-tag/uni-tag",
|
||||
"ns-goods-sku-index": "/components/ns-goods-sku/ns-goods-sku-index"
|
||||
}
|
||||
}
|
||||
1
public/weapp/pages/goods/list.wxml
Executable file
1
public/weapp/pages/goods/list.wxml
Executable file
File diff suppressed because one or more lines are too long
4
public/weapp/pages/goods/list.wxss
Executable file
4
public/weapp/pages/goods/list.wxss
Executable file
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user