您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符
 
 

2 行
10 KiB

  1. (self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[4800],{91288:function(e,r,t){"use strict";var n=t(85893);t(67294);r.Z=function(e){var r=e.pageTitle;return(0,n.jsx)("div",{className:"page-title-area",children:(0,n.jsx)("div",{className:"d-table",children:(0,n.jsx)("div",{className:"d-table-cell",children:(0,n.jsx)("div",{className:"container",children:(0,n.jsx)("h2",{children:r})})})})})}},82337:function(e,r,t){"use strict";var n=t(85893),i=(t(67294),t(41664)),s=t(85611),c=t(39704);r.Z=function(e){var r=e.id,t=(0,s.e1)().addToast,l=(0,c.I0)();return(0,n.jsx)(i.default,{href:"#",children:(0,n.jsx)("a",{onClick:function(e){e.preventDefault(),l({type:"ADD_TO_CART",id:r}),t("Cart Added Successfully",{appearance:"success"})},className:"add-to-cart-btn",children:"Add to Cart"})})}},35246:function(e,r,t){"use strict";t.r(r),t.d(r,{default:function(){return v}});var n=t(85893),i=(t(67294),t(8805)),s=t(16918),c=t(91288),l=t(26265),o=t(41664),a=t(83206),d=t(47811),u=t(39130),p=t(39704),f=t(82337);function h(e,r){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);r&&(n=n.filter((function(r){return Object.getOwnPropertyDescriptor(e,r).enumerable}))),t.push.apply(t,n)}return t}function j(e){for(var r=1;r<arguments.length;r++){var t=null!=arguments[r]?arguments[r]:{};r%2?h(Object(t),!0).forEach((function(r){(0,l.Z)(e,r,t[r])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):h(Object(t)).forEach((function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r))}))}return e}var m=function(){var e=(0,p.v9)((function(e){return e.products}));return(0,n.jsx)("div",{className:"shop-area ptb-80",children:(0,n.jsxs)("div",{className:"container",children:[(0,n.jsx)("div",{className:"woocommerce-topbar",children:(0,n.jsxs)("div",{className:"row align-items-center",children:[(0,n.jsx)("div",{className:"col-lg-9 col-md-7 col-sm-7",children:(0,n.jsx)("div",{className:"woocommerce-result-count",children:(0,n.jsx)("p",{children:"Showing 1-8 of 14 results"})})}),(0,n.jsx)("div",{className:"col-lg-3 col-md-5 col-sm-5",children:(0,n.jsx)("div",{className:"woocommerce-topbar-ordering",children:(0,n.jsxs)("select",{className:"form-select",children:[(0,n.jsx)("option",{value:"1",children:"Sort by Popularity"}),(0,n.jsx)("option",{value:"2",children:"Sort by Average Rating"}),(0,n.jsx)("option",{value:"3",children:"Sort by Latest"}),(0,n.jsx)("option",{value:"4",children:"Sort by price: Low to High"}),(0,n.jsx)("option",{value:"5",children:"Sort by price: High to Low"}),(0,n.jsx)("option",{value:"6",children:"Sort by New"})]})})})]})}),(0,n.jsxs)("div",{className:"row justify-content-md-center",children:[e.map((function(e){return(0,n.jsx)("div",{className:"col-lg-3 col-md-6 col-sm-6",children:(0,n.jsxs)("div",{className:"single-products",children:[(0,n.jsxs)("div",{className:"products-image",children:[(0,n.jsx)("img",{src:e.image,alt:e.name}),(0,n.jsxs)("ul",{children:[(0,n.jsx)("li",{children:(0,n.jsx)("a",{href:"#",children:(0,n.jsx)(a.Z,{})})}),(0,n.jsx)("li",{children:(0,n.jsx)("a",{href:"#",children:(0,n.jsx)(d.Z,{})})}),(0,n.jsx)("li",{children:(0,n.jsx)(o.default,{href:"/products/[id]",as:"/products/".concat(e.id),children:(0,n.jsx)("a",{children:(0,n.jsx)(u.Z,{})})})})]})]}),(0,n.jsxs)("div",{className:"products-content",children:[(0,n.jsx)("h3",{children:(0,n.jsx)(o.default,{href:"/products/[id]",as:"/products/".concat(e.id),children:(0,n.jsx)("a",{children:e.name})})}),(0,n.jsxs)("span",{children:["$",e.price]}),(0,n.jsxs)("ul",{children:[(0,n.jsx)("li",{children:(0,n.jsx)("i",{className:"flaticon-star-1"})}),(0,n.jsx)("li",{children:(0,n.jsx)("i",{className:"flaticon-star-1"})}),(0,n.jsx)("li",{children:(0,n.jsx)("i",{className:"flaticon-star-1"})}),(0,n.jsx)("li",{children:(0,n.jsx)("i",{className:"flaticon-star-1"})}),(0,n.jsx)("li",{children:(0,n.jsx)("i",{className:"flaticon-star-1"})})]}),(0,n.jsx)(f.Z,j({},e))]})]})},e.id)})),(0,n.jsx)("div",{className:"col-lg-12 col-md-12 col-sm-12",children:(0,n.jsx)("div",{className:"pagination-area",children:(0,n.jsx)("nav",{"aria-label":"Page navigation",children:(0,n.jsxs)("ul",{className:"pagination justify-content-center",children:[(0,n.jsx)("li",{className:"page-item",children:(0,n.jsx)("a",{className:"page-link",href:"#",children:"Prev"})}),(0,n.jsx)("li",{className:"page-item active",children:(0,n.jsx)("a",{className:"page-link",href:"#",children:"1"})}),(0,n.jsx)("li",{className:"page-item",children:(0,n.jsx)("a",{className:"page-link",href:"#",children:"2"})}),(0,n.jsx)("li",{className:"page-item",children:(0,n.jsx)("a",{className:"page-link",href:"#",children:"3"})}),(0,n.jsx)("li",{className:"page-item",children:(0,n.jsx)("a",{className:"page-link",href:"#",children:"Next"})})]})})})})]})]})})},v=function(){return(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(i.Z,{}),(0,n.jsx)(c.Z,{pageTitle:"Products"}),(0,n.jsx)(m,{}),(0,n.jsx)(s.Z,{})]})}},7102:function(e,r,t){(window.__NEXT_P=window.__NEXT_P||[]).push(["/shop",function(){return t(35246)}])},47811:function(e,r,t){"use strict";var n=t(67294),i=t(45697),s=t.n(i);function c(){return(c=Object.assign||function(e){for(var r=1;r<arguments.length;r++){var t=arguments[r];for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])}return e}).apply(this,arguments)}function l(e,r){if(null==e)return{};var t,n,i=function(e,r){if(null==e)return{};var t,n,i={},s=Object.keys(e);for(n=0;n<s.length;n++)t=s[n],r.indexOf(t)>=0||(i[t]=e[t]);return i}(e,r);if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(e);for(n=0;n<s.length;n++)t=s[n],r.indexOf(t)>=0||Object.prototype.propertyIsEnumerable.call(e,t)&&(i[t]=e[t])}return i}var o=(0,n.forwardRef)((function(e,r){var t=e.color,i=void 0===t?"currentColor":t,s=e.size,o=void 0===s?24:s,a=l(e,["color","size"]);return n.createElement("svg",c({ref:r,xmlns:"http://www.w3.org/2000/svg",width:o,height:o,viewBox:"0 0 24 24",fill:"none",stroke:i,strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},a),n.createElement("path",{d:"M20.84 4.61a5.5 5.5 0 0 0-7.78 0L12 5.67l-1.06-1.06a5.5 5.5 0 0 0-7.78 7.78l1.06 1.06L12 21.23l7.78-7.78 1.06-1.06a5.5 5.5 0 0 0 0-7.78z"}))}));o.propTypes={color:s().string,size:s().oneOfType([s().string,s().number])},o.displayName="Heart",r.Z=o},39130:function(e,r,t){"use strict";var n=t(67294),i=t(45697),s=t.n(i);function c(){return(c=Object.assign||function(e){for(var r=1;r<arguments.length;r++){var t=arguments[r];for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])}return e}).apply(this,arguments)}function l(e,r){if(null==e)return{};var t,n,i=function(e,r){if(null==e)return{};var t,n,i={},s=Object.keys(e);for(n=0;n<s.length;n++)t=s[n],r.indexOf(t)>=0||(i[t]=e[t]);return i}(e,r);if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(e);for(n=0;n<s.length;n++)t=s[n],r.indexOf(t)>=0||Object.prototype.propertyIsEnumerable.call(e,t)&&(i[t]=e[t])}return i}var o=(0,n.forwardRef)((function(e,r){var t=e.color,i=void 0===t?"currentColor":t,s=e.size,o=void 0===s?24:s,a=l(e,["color","size"]);return n.createElement("svg",c({ref:r,xmlns:"http://www.w3.org/2000/svg",width:o,height:o,viewBox:"0 0 24 24",fill:"none",stroke:i,strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},a),n.createElement("path",{d:"M10 13a5 5 0 0 0 7.54.54l3-3a5 5 0 0 0-7.07-7.07l-1.72 1.71"}),n.createElement("path",{d:"M14 11a5 5 0 0 0-7.54-.54l-3 3a5 5 0 0 0 7.07 7.07l1.71-1.71"}))}));o.propTypes={color:s().string,size:s().oneOfType([s().string,s().number])},o.displayName="Link",r.Z=o},83206:function(e,r,t){"use strict";var n=t(67294),i=t(45697),s=t.n(i);function c(){return(c=Object.assign||function(e){for(var r=1;r<arguments.length;r++){var t=arguments[r];for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])}return e}).apply(this,arguments)}function l(e,r){if(null==e)return{};var t,n,i=function(e,r){if(null==e)return{};var t,n,i={},s=Object.keys(e);for(n=0;n<s.length;n++)t=s[n],r.indexOf(t)>=0||(i[t]=e[t]);return i}(e,r);if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(e);for(n=0;n<s.length;n++)t=s[n],r.indexOf(t)>=0||Object.prototype.propertyIsEnumerable.call(e,t)&&(i[t]=e[t])}return i}var o=(0,n.forwardRef)((function(e,r){var t=e.color,i=void 0===t?"currentColor":t,s=e.size,o=void 0===s?24:s,a=l(e,["color","size"]);return n.createElement("svg",c({ref:r,xmlns:"http://www.w3.org/2000/svg",width:o,height:o,viewBox:"0 0 24 24",fill:"none",stroke:i,strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},a),n.createElement("circle",{cx:"11",cy:"11",r:"8"}),n.createElement("line",{x1:"21",y1:"21",x2:"16.65",y2:"16.65"}))}));o.propTypes={color:s().string,size:s().oneOfType([s().string,s().number])},o.displayName="Search",r.Z=o},73549:function(e,r,t){"use strict";var n=t(67294),i=t(45697),s=t.n(i);function c(){return(c=Object.assign||function(e){for(var r=1;r<arguments.length;r++){var t=arguments[r];for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])}return e}).apply(this,arguments)}function l(e,r){if(null==e)return{};var t,n,i=function(e,r){if(null==e)return{};var t,n,i={},s=Object.keys(e);for(n=0;n<s.length;n++)t=s[n],r.indexOf(t)>=0||(i[t]=e[t]);return i}(e,r);if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(e);for(n=0;n<s.length;n++)t=s[n],r.indexOf(t)>=0||Object.prototype.propertyIsEnumerable.call(e,t)&&(i[t]=e[t])}return i}var o=(0,n.forwardRef)((function(e,r){var t=e.color,i=void 0===t?"currentColor":t,s=e.size,o=void 0===s?24:s,a=l(e,["color","size"]);return n.createElement("svg",c({ref:r,xmlns:"http://www.w3.org/2000/svg",width:o,height:o,viewBox:"0 0 24 24",fill:"none",stroke:i,strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"},a),n.createElement("circle",{cx:"9",cy:"21",r:"1"}),n.createElement("circle",{cx:"20",cy:"21",r:"1"}),n.createElement("path",{d:"M1 1h4l2.68 13.39a2 2 0 0 0 2 1.61h9.72a2 2 0 0 0 2-1.61L23 6H6"}))}));o.propTypes={color:s().string,size:s().oneOfType([s().string,s().number])},o.displayName="ShoppingCart",r.Z=o}},function(e){e.O(0,[3023,8206,9774,2888,179],(function(){return r=7102,e(e.s=r);var r}));var r=e.O();_N_E=r}]);
  2. //# sourceMappingURL=shop-d9b0999c562eb19688d0.js.map