This commit is contained in:
2025-12-20 08:34:16 +08:00
commit 9d4fdc7242
872 changed files with 3536 additions and 0 deletions

1
pages/goods/cart.js Normal file

File diff suppressed because one or more lines are too long

14
pages/goods/cart.json Normal file
View File

@@ -0,0 +1,14 @@
{
"navigationBarTitleText": "购物车",
"usingComponents": {
"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
pages/goods/cart.wxml Normal file

File diff suppressed because one or more lines are too long

1
pages/goods/cart.wxss Normal file

File diff suppressed because one or more lines are too long

1
pages/goods/category.js Normal file
View File

@@ -0,0 +1 @@
(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["pages/goods/category"],{2741:function(n,e,t){"use strict";t.r(e);var o=t("93c6"),i=t("3c19");for(var a in i)["default"].indexOf(a)<0&&function(n){t.d(e,n,(function(){return i[n]}))}(a);t("afed");var r=t("828b"),c=Object(r["a"])(i["default"],o["b"],o["c"],!1,null,null,null,!1,o["a"],void 0);e["default"]=c.exports},"3c19":function(n,e,t){"use strict";t.r(e);var o=t("7f22"),i=t.n(o);for(var a in o)["default"].indexOf(a)<0&&function(n){t.d(e,n,(function(){return o[n]}))}(a);e["default"]=i.a},"7f22":function(n,e,t){"use strict";(function(n){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={components:{},data:function(){return{diyData:null}},onLoad:function(){this.$langConfig.refresh(),n.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(t){0==t.code&&t.data&&(e.diyData=t.data,e.diyData.value&&(e.diyData=JSON.parse(e.diyData.value),e.$refs.loadingCover&&e.$refs.loadingCover.hide()),n.stopPullDownRefresh())}})},toLogin:function(){this.$refs.login.open("/pages/goods/category")}},onPullDownRefresh:function(){n.hideTabBar(),this.getDiyInfo()}};e.default=t}).call(this,t("df3c")["default"])},"93c6":function(n,e,t){"use strict";t.d(e,"b",(function(){return i})),t.d(e,"c",(function(){return a})),t.d(e,"a",(function(){return o}));var o={diyCategory:function(){return t.e("components/diy-components/diy-category").then(t.bind(null,"ab27"))},nsLogin:function(){return Promise.all([t.e("common/vendor"),t.e("components/ns-login/ns-login")]).then(t.bind(null,"17d0"))},loadingCover:function(){return t.e("components/loading-cover/loading-cover").then(t.bind(null,"0773"))},diyBottomNav:function(){return t.e("components/diy-components/diy-bottom-nav").then(t.bind(null,"e526"))}},i=function(){var n=this.$createElement;this._self._c},a=[]},afed:function(n,e,t){"use strict";var o=t("e939"),i=t.n(o);i.a},bb44:function(n,e,t){"use strict";(function(n,e){var o=t("47a9");t("1dee");o(t("3240"));var i=o(t("2741"));n.__webpack_require_UNI_MP_PLUGIN__=t,e(i.default)}).call(this,t("3223")["default"],t("df3c")["createPage"])},e939:function(n,e,t){}},[["bb44","common/runtime","common/vendor"]]]);

11
pages/goods/category.json Normal file
View File

@@ -0,0 +1,11 @@
{
"disableScroll": true,
"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"
}
}

View 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>

View 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
pages/goods/detail.js Normal file

File diff suppressed because one or more lines are too long

18
pages/goods/detail.json Normal file
View File

@@ -0,0 +1,18 @@
{
"navigationBarTitleText": "商品详情",
"usingComponents": {
"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-form": "/components/ns-form/ns-form",
"ns-goods-action": "/components/ns-goods-action/ns-goods-action",
"ns-goods-action-button": "/components/ns-goods-action-button/ns-goods-action-button",
"ns-goods-action-icon": "/components/ns-goods-action-icon/ns-goods-action-icon",
"hover-nav": "/components/hover-nav/hover-nav",
"ns-login": "/components/ns-login/ns-login",
"loading-cover": "/components/loading-cover/loading-cover",
"to-top": "/components/toTop/toTop"
}
}

1
pages/goods/detail.wxml Normal file

File diff suppressed because one or more lines are too long

20
pages/goods/detail.wxss Normal file

File diff suppressed because one or more lines are too long

1
pages/goods/list.js Normal file

File diff suppressed because one or more lines are too long

11
pages/goods/list.json Normal file
View File

@@ -0,0 +1,11 @@
{
"navigationBarTitleText": "商品列表",
"usingComponents": {
"diy-icon": "/components/diy-components/diy-icon",
"ns-empty": "/components/ns-empty/ns-empty",
"uni-drawer": "/components/uni-drawer/uni-drawer",
"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
pages/goods/list.wxml Normal file

File diff suppressed because one or more lines are too long

4
pages/goods/list.wxss Normal file

File diff suppressed because one or more lines are too long