yunshangxie/unpackage/dist/build/h5/static/js/pages-index-goods_my.8b26ff...

1 line
15 KiB
JavaScript
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-index-goods_my","pages-index-home"],{"0931":function(t,n,e){"use strict";e.r(n);var i=e("d76d"),a=e("4505");for(var r in a)["default"].indexOf(r)<0&&function(t){e.d(n,t,(function(){return a[t]}))}(r);var o=e("f0c5"),l=Object(o["a"])(a["default"],i["b"],i["c"],!1,null,"7f81c4bc",null,!1,i["a"],void 0);n["default"]=l.exports},2003:function(t,n,e){"use strict";e("7a82");var i=e("4ea4").default;Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0,e("a9e3"),e("caad"),e("2532"),e("fb6a"),e("baa5");var a=i(e("16ca")),r={mixins:[a.default],options:{virtualHost:!0},name:"tn-tag",props:{index:{type:[Number,String],default:"0"},shape:{type:String,default:""},size:{type:String,default:""},width:{type:String,default:""},height:{type:String,default:""},padding:{type:String,default:""},margin:{type:String,default:"0"},plain:{type:Boolean,default:!1},originLeft:{type:Boolean,default:!1},originRight:{type:Boolean,default:!1}},computed:{tagClass:function(){var t="";switch(this.shape){case"radius":t+=" tn-radius";break;case"circle":t+=" tn-round";break;case"circleLeft":t+=" tn-tag--fillet-left";break;case"circleRight":t+=" tn-tag--fillet-right";break}if(this.plain&&(t+=" tn-tag--plain tn-border-solid",""!==this.backgroundColor&&this.backgroundColor.includes("tn-bg"))){var n=this.backgroundColor.slice(this.backgroundColor.lastIndexOf("-")+1);t+=" tn-border-".concat(n)}return this.originLeft&&(t+=" tn-tag--origin-left"),this.originRight&&(t+=" tn-tag--origin-right"),t},tagStyle:function(){var t={};switch(this.size){case"sm":t.padding="0 12rpx",t.fontSize="20rpx",t.height="32rpx";break;case"lg":t.padding="0 20rpx",t.fontSize="28rpx",t.height="62rpx";break;default:t.padding="0 16rpx",t.fontSize="24rpx",t.height="48rpx";break}return t.width=this.width||"120rpx",t.height=this.height||t.height,t.padding=this.padding||t.padding,this.margin&&(t.margin=this.margin),this.fontColorStyle&&(t.color=this.fontColorStyle),0!==this.fontSize&&(t.fontSize=this.fontSize+this.fontUnit),this.backgroundColorClass||(t.backgroundColor=this.plain?"":this.backgroundColorStyle||"#FFFFFF",this.plain&&(t.borderColor=this.backgroundColorStyle||"#080808")),t}},data:function(){return{}},methods:{handleClick:function(){this.$emit("click",{index:Number(this.index)}),this.$emit("tap",{index:Number(this.index)})}}};n.default=r},"29fd":function(t,n,e){var i=e("24fb");n=i(!1),n.push([t.i,'@charset "UTF-8";\r\n/**\r\n * 下方引入的为Tuniao UI的集成样式文件为scss预处理器其中包含了一些"tn-"开头的自定义变量\r\n * 使用的时候请将下面的一行复制到您的uniapp项目根目录的uni.scss中即可\r\n * Tuniao UI自定义的css类名和scss变量均以"tn-"开头,不会造成冲突,请放心使用 \r\n */.tn-btn[data-v-d2dc7f56]{position:relative;display:inline-flex;align-items:center;justify-content:center;box-sizing:border-box;line-height:1;text-align:center;text-decoration:none;overflow:visible;-webkit-transform:translate(%?0?%,%?0?%);transform:translate(%?0?%,%?0?%);border-radius:%?12?%;margin:0}.tn-btn--plain[data-v-d2dc7f56]{background-color:initial!important;background-image:none}.tn-btn--plain.tn-round[data-v-d2dc7f56]{border-radius:%?1000?%!important}',""]),t.exports=n},3023:function(t,n,e){"use strict";e.r(n);var i=e("6386"),a=e("c8b6");for(var r in a)["default"].indexOf(r)<0&&function(t){e.d(n,t,(function(){return a[t]}))}(r);e("37b6");var o=e("f0c5"),l=Object(o["a"])(a["default"],i["b"],i["c"],!1,null,"d81ec1c8",null,!1,i["a"],void 0);n["default"]=l.exports},"37b6":function(t,n,e){"use strict";var i=e("9089"),a=e.n(i);a.a},4505:function(t,n,e){"use strict";e.r(n);var i=e("fbe1"),a=e.n(i);for(var r in i)["default"].indexOf(r)<0&&function(t){e.d(n,t,(function(){return i[t]}))}(r);n["default"]=a.a},6386:function(t,n,e){"use strict";e.d(n,"b",(function(){return i})),e.d(n,"c",(function(){return a})),e.d(n,"a",(function(){}));var i=function(){var t=this,n=t.$createElement,e=t._self._c||n;return e("v-uni-view",{staticClass:"tn-tag-class tn-tag",class:[t.tagClass,t.backgroundColorClass,t.fontColorClass],style:[t.tagStyle],on:{click:function(n){arguments[0]=n=t.$handleEvent(n),t.handleClick.apply(void 0,arguments)}}},[t._t("default")],2)},a=[]},7139:function(t,n,e){"use strict";e.r(n);var i=e("80e7"),a=e.n(i);for(var r in i)["default"].indexOf(r)<0&&function(t){e.d(n,t,(function(){return i[t]}))}(r);n["default"]=a.a},"80e7":function(t,n,e){"use strict";e("7a82");var i=e("4ea4").default;Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0,e("a9e3"),e("c975"),e("fb6a"),e("baa5"),e("caad"),e("2532");var a=i(e("16ca")),r=e("e725"),o={mixins:[a.default],name:"tn-button",behaviors:["wx://form-field-button"],props:{index:{type:[Number,String],default:0},shape:{type:String,default:"default"},shadow:{type:Boolean,default:!1},width:{type:String,default:"auto"},height:{type:String,default:""},size:{type:String,default:""},fontBold:{type:Boolean,default:!1},padding:{type:String,default:"0 30rpx"},margin:{type:String,default:""},plain:{type:Boolean,default:!1},border:{type:Boolean,default:!0},borderBold:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1},loading:{type:Boolean,default:!1},formType:{type:String,default:""},openType:{type:String,default:""},blockRepeatClick:{type:Boolean,default:!1},scene:{type:String,default:"none"},blockTime:{type:Number,default:200}},computed:{buttonClass:function(){var t="";switch(this.shape){case"icon":case"round":t+=" tn-round";break}if(this.shadow)if(""!==this.backgroundColorClass&&-1!=this.backgroundColorClass.indexOf("tn-bg")){var n=this.backgroundColor.slice(this.backgroundColor.lastIndexOf("-")+1);t+=" tn-shadow-".concat(n)}else t+=" tn-shadow-blur";if(this.fontBold&&(t+=" tn-text-bold"),this.plain&&(t+=" tn-btn--plain",this.border&&(t+=" tn-border-solid",this.borderBold&&(t+=" tn-bold-border"),""!==this.backgroundColor&&this.backgroundColor.includes("tn-bg")))){var e=this.backgroundColor.slice(this.backgroundColor.lastIndexOf("-")+1);t+=" tn-border-".concat(e)}return t},buttonStyle:function(){var t={};switch(this.size){case"sm":t.padding="0 20rpx",t.fontSize="22rpx",t.height=this.height||"48rpx";break;case"lg":t.padding="0 40rpx",t.fontSize="32rpx",t.height=this.height||"80rpx";break;default:t.padding="0 30rpx",t.fontSize="28rpx",t.height=this.height||"64rpx"}return this.padding&&(t.padding=this.padding),this.margin&&(t.margin=this.margin),this.fontSize&&(t.fontSize=this.fontSize+this.fontUnit),t.width="icon"===this.shape?t.height:this.width,t.padding="icon"===this.shape?"0":t.padding,this.fontColorStyle&&(t.color=this.fontColorStyle),this.backgroundColorClass||(this.plain?t.borderColor=this.backgroundColorStyle||"#080808":t.backgroundColor=this.backgroundColorStyle||"#FFFFFF"),this.shadow&&!this.backgroundColorClass&&(-1!=this.backgroundColorStyle.indexOf("#")?t.boxShadow="6rpx 6rpx 8rpx ".concat(this.backgroundColorStyle||"#000000","10"):-1==this.backgroundColorStyle.indexOf("rgb")&&-1==this.backgroundColorStyle.indexOf("rgba")&&this.backgroundColorStyle||(t.boxShadow="6rpx 6rpx 8rpx ".concat(this.backgroundColorStyle||"rgba(0, 0, 0, 0.1)"))),t}},data:function(){return{}},watch:{blockTime:{handler:function(t,n){this.initScene()}}},mounted:function(){this.initScene()},methods:{initScene:function(){this.debounceClick=(0,r.debounceFun)((function(){this.emitClick()}),this.blockTime),this.throttleClick=(0,r.throttleFun)((function(){this.emitClick()}),this.blockTime)},debounceClick:(0,r.debounceFun)((function(){this.emitClick()}),200),throttleClick:(0,r.throttleFun)((function(){this.emitClick()}),200),emitClick:function(){this.$emit("click",{index:Number(this.index)}),this.$emit("tap",{index:Number(this.index)})},handleClick:function(){this.disabled||(this.blockRepeatClick?this.throttleClick():"none"===this.scene?this.emitClick():"debounce"==this.scene?this.debounceClick():this.throttleClick())},handleGetUserInfo:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=t.detail,e=void 0===n?{}:n;this.$emit("getuserinfo",e)},handleContact:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=t.detail,e=void 0===n?{}:n;this.$emit("contact",e)},handleGetPhoneNumber:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=t.detail,e=void 0===n?{}:n;this.$emit("getphonenumber",e)},handleError:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=t.detail,e=void 0===n?{}:n;this.$emit("error",e)}}};n.default=o},"83d5":function(t,n,e){var i=e("24fb");n=i(!1),n.push([t.i,'@charset "UTF-8";\r\n/**\r\n * 下方引入的为Tuniao UI的集成样式文件为scss预处理器其中包含了一些"tn-"开头的自定义变量\r\n * 使用的时候请将下面的一行复制到您的uniapp项目根目录的uni.scss中即可\r\n * Tuniao UI自定义的css类名和scss变量均以"tn-"开头,不会造成冲突,请放心使用 \r\n */.tn-tag[data-v-d81ec1c8]{vertical-align:middle;position:relative;display:inline-flex;align-items:center;justify-content:center;box-sizing:border-box;font-family:Helvetica Neue,Helvetica,sans-serif;white-space:nowrap}.tn-tag--fillet-left[data-v-d81ec1c8]{border-radius:%?50?% 0 0 %?50?%}.tn-tag--fillet-right[data-v-d81ec1c8]{border-radius:0 %?50?% %?50?% 0}.tn-tag--plain[data-v-d81ec1c8]{background-color:initial!important;background-image:none}.tn-tag--plain.tn-round[data-v-d81ec1c8]{border-radius:%?1000?%!important}.tn-tag--plain.tn-radius[data-v-d81ec1c8]{border-radius:%?12?%!important}.tn-tag--origin-left[data-v-d81ec1c8]{-webkit-transform-origin:0 center;transform-origin:0 center}.tn-tag--origin-right[data-v-d81ec1c8]{-webkit-transform-origin:100% center;transform-origin:100% center}',""]),t.exports=n},9089:function(t,n,e){var i=e("83d5");i.__esModule&&(i=i.default),"string"===typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals);var a=e("4f06").default;a("2bc82f16",i,!0,{sourceMap:!1,shadowMode:!1})},baa5:function(t,n,e){var i=e("23e7"),a=e("e58c");i({target:"Array",proto:!0,forced:a!==[].lastIndexOf},{lastIndexOf:a})},c262:function(t,n,e){"use strict";var i=e("c348"),a=e.n(i);a.a},c348:function(t,n,e){var i=e("29fd");i.__esModule&&(i=i.default),"string"===typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals);var a=e("4f06").default;a("63d66e22",i,!0,{sourceMap:!1,shadowMode:!1})},c8b6:function(t,n,e){"use strict";e.r(n);var i=e("2003"),a=e.n(i);for(var r in i)["default"].indexOf(r)<0&&function(t){e.d(n,t,(function(){return i[t]}))}(r);n["default"]=a.a},d76d:function(t,n,e){"use strict";e.d(n,"b",(function(){return a})),e.d(n,"c",(function(){return r})),e.d(n,"a",(function(){return i}));var i={tnNavBar:e("5d27").default,tnTabs:e("8772").default,tnTag:e("3023").default,tnButton:e("f566").default},a=function(){var t=this,n=t.$createElement,e=t._self._c||n;return e("v-uni-view",{staticStyle:{"letter-spacing":"1rpx"}},[e("tn-nav-bar",{attrs:{isBack:!1,backTitle:"",bottomShadow:!0,backgroundColor:"#FFFFFF"}},[e("v-uni-view",{staticClass:"custom-nav tn-flex tn-flex-col-center tn-flex-row-left"},[e("v-uni-view",{staticStyle:{"padding-left":"15rpx"},on:{click:function(n){arguments[0]=n=t.$handleEvent(n),t.goBack()}}},[e("v-uni-text",{staticClass:"tn-icon-left",staticStyle:{"font-size":"40rpx"}})],1),e("v-uni-view",{staticClass:"tn-margin-top",staticStyle:{"text-shadow":"1rpx 0 0 #FFF, 0 1rpx 0 #FFF, -1rpx 0 0 #FFF , 0 -1rpx 0 #FFF"}},[e("tn-tabs",{attrs:{list:[{name:"供需记录"}],current:t.topCurrent,activeColor:"#000",bold:!1,fontSize:36}})],1)],1)],1),e("v-uni-view",{style:{paddingTop:t.vuex_custom_bar_height+10+"px"}},[e("v-uni-view",{staticStyle:{padding:"10rpx 30rpx 100rpx 30rpx"}},t._l(3,(function(n,i){return e("v-uni-view",{staticStyle:{"background-color":"#FFF",padding:"20rpx","border-radius":"20rpx","box-shadow":"0rpx 0rpx 10rpx 0rpx rgba(12,0,5,0.1)","margin-bottom":"30rpx"},on:{click:function(n){arguments[0]=n=t.$handleEvent(n),t.openUrl("/pages/index/goods_info")}}},[e("v-uni-view",{staticClass:"tn-text-ellipsis"},[i%2==0?e("tn-tag",{attrs:{shape:"radius",size:"sm",backgroundColor:"tn-main-gradient-red--reverse",width:"60rpx"}},[t._v("需求")]):t._e(),i%2!=0?e("tn-tag",{attrs:{shape:"radius",size:"sm",backgroundColor:"tn-main-gradient-blue",width:"60rpx"}},[t._v("供应")]):t._e(),e("v-uni-text",{staticStyle:{"vertical-align":"middle","padding-left":"20rpx","font-size":"30rpx"}},[t._v("劲捷飞燕系列P056C旅拍三脚架碳纤维摄影旅拍三脚架碳纤维摄影")])],1),e("v-uni-view",{staticStyle:{"font-size":"24rpx",color:"#808080","margin-top":"20rpx"}},[t._v("洛阳灵睿网络技术有限公司")]),e("v-uni-view",[e("tn-tag",{attrs:{shape:"radius",width:"auto",backgroundColor:"#F7F7F7",fontColor:"#808080"}},[t._v("洛阳市")]),e("tn-tag",{attrs:{shape:"radius",margin:"20rpx",width:"auto",backgroundColor:"#EBF4F7",fontColor:"#3377FF"}},[t._v("合作意向18人")]),e("tn-tag",{attrs:{shape:"radius",width:"auto",backgroundColor:"#F7F3EB",fontColor:"#FF8C19"}},[t._v("项目金额1万以下")])],1),e("v-uni-view",{staticClass:"tn-flex tn-flex-row-between tn-flex-col-center tn-flex-row-center",staticStyle:{"margin-top":"20rpx"}},[e("v-uni-view",{staticStyle:{color:"#808080","font-size":"24rpx"}},[t._v("2023-12-19")]),e("v-uni-view",[e("tn-button",{attrs:{shape:"round",fontSize:22,width:"160rpx",height:"50rpx",backgroundColor:"tn-main-gradient-orange",fontColor:"#ffffff"}},[t._v("查看详情")])],1)],1)],1)})),1)],1)],1)},r=[]},e235:function(t,n,e){"use strict";e.d(n,"b",(function(){return i})),e.d(n,"c",(function(){return a})),e.d(n,"a",(function(){}));var i=function(){var t=this,n=t.$createElement,e=t._self._c||n;return e("v-uni-button",{staticClass:"tn-btn-class tn-btn",class:[t.buttonClass,t.backgroundColorClass,t.fontColorClass],style:[t.buttonStyle],attrs:{"hover-class":"tn-hover",loading:t.loading,disabled:t.disabled,"form-type":t.formType,"open-type":t.openType},on:{getuserinfo:function(n){arguments[0]=n=t.$handleEvent(n),t.handleGetUserInfo.apply(void 0,arguments)},getphonenumber:function(n){arguments[0]=n=t.$handleEvent(n),t.handleGetPhoneNumber.apply(void 0,arguments)},contact:function(n){arguments[0]=n=t.$handleEvent(n),t.handleContact.apply(void 0,arguments)},error:function(n){arguments[0]=n=t.$handleEvent(n),t.handleError.apply(void 0,arguments)},click:function(n){arguments[0]=n=t.$handleEvent(n),t.handleClick.apply(void 0,arguments)}}},[t._t("default")],2)},a=[]},e725:function(t,n,e){"use strict";e("7a82"),Object.defineProperty(n,"__esModule",{value:!0}),n.debounceFun=function(t){var n,e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:500;return function(){for(var i=this,a=arguments.length,r=new Array(a),o=0;o<a;o++)r[o]=arguments[o];clearTimeout(n),n=setTimeout((function(){t.apply(i,r)}),e)}},n.throttleFun=function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:500,e=null;return function(){for(var i=this,a=arguments.length,r=new Array(a),o=0;o<a;o++)r[o]=arguments[o];e||(e=setTimeout((function(){e=null,console.log("执行了"),t.apply(i,r)}),n))}}},f566:function(t,n,e){"use strict";e.r(n);var i=e("e235"),a=e("7139");for(var r in a)["default"].indexOf(r)<0&&function(t){e.d(n,t,(function(){return a[t]}))}(r);e("c262");var o=e("f0c5"),l=Object(o["a"])(a["default"],i["b"],i["c"],!1,null,"d2dc7f56",null,!1,i["a"],void 0);n["default"]=l.exports},fbe1:function(t,n,e){"use strict";e("7a82"),Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var i={data:function(){return{topCurrent:0}},methods:{openUrl:function(t){uni.navigateTo({url:t})},goBack:function(){getCurrentPages().length>1?uni.navigateBack():uni.redirectTo({url:"/pages/index/index"})}}};n.default=i}}]);