1 |
- (window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-service-service"],{"0045":function(t,i,e){var a=e("4bad");i=a(!1),i.push([t.i,'@charset "UTF-8";\n/**\n * 这里是uni-app内置的常用样式变量\n *\n * uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量\n * 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App\n *\n */\n/**\n * 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能\n *\n * 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件\n */.u-swiper-wrap[data-v-ed5844a8]{overflow:visible!important}.u-swiper-wrap uni-swiper[data-v-ed5844a8]{border-radius:%?20?%;overflow:hidden;-webkit-transform:translateY(0);transform:translateY(0);box-shadow:%?0?% %?40?% %?40?% %?-30?% grey}.u-swiper-wrap .u-swiper-indicator[data-v-ed5844a8]{bottom:%?-23?%!important}.u-swiper-wrap .u-swiper-indicator .u-indicator-item-rect[data-v-ed5844a8]{border-radius:%?2?%;height:%?4?%;width:%?20?%}.u-swiper-wrap .u-swiper-indicator .u-indicator-item-rect.u-indicator-item-rect-active[data-v-ed5844a8]{width:%?50?%;background:#be0000}.u-input__textarea[data-v-ed5844a8]{padding:%?0?%!important}.u-list-item[data-v-ed5844a8]{margin-left:%?0?%!important;width:%?100?%!important;height:%?100?%!important}.u-add-tips[data-v-ed5844a8]{margin-top:%?0?%!important}.custom-list-item[data-v-ed5844a8]{padding:%?0?% %?30?%}\n/* 颜色变量 */\n/* 行为相关颜色 */\n/* 文字基本颜色 */\n/* 背景颜色 */\n/* 边框颜色 */\n/* 尺寸变量 */\n/* 文字尺寸 */\n/* 图片尺寸 */\n/* Border Radius */\n/* 水平间距 */\n/* 垂直间距 */\n/* 透明度 */\n/* 文章场景相关 */.service-list.custom-list[data-v-ed5844a8],\n.service-list .custom-list[data-v-ed5844a8],\n.swiper[data-v-ed5844a8]{height:calc(100vh - %?60?% - var(--window-top));background:#fff}.service-list-item[data-v-ed5844a8]{padding:%?30?% %?0?%;margin:%?0?% %?30?%;position:relative}.service-list-item .service-list-item-img[data-v-ed5844a8]{margin-right:%?37?%}.service-list-item .service-list-item-text[data-v-ed5844a8]{height:%?180?%}.service-list-item .service-list-item-text .service-list-item-title[data-v-ed5844a8]{font-size:%?32?%;font-weight:500;line-height:%?48?%}.service-list-item .service-list-item-text .service-list-item-content[data-v-ed5844a8]{font-size:%?24?%;font-weight:400;color:#777;line-height:%?36?%}.service-list-item[data-v-ed5844a8]::after{content:"";display:block;height:%?1?%;width:100%;background:#ddd;position:absolute;bottom:%?0?%}',""]),t.exports=i},"0be2":function(t,i,e){"use strict";e.r(i);var a=e("88f4"),n=e.n(a);for(var r in a)["default"].indexOf(r)<0&&function(t){e.d(i,t,(function(){return a[t]}))}(r);i["default"]=n.a},"112c":function(t,i,e){"use strict";e.d(i,"b",(function(){return n})),e.d(i,"c",(function(){return r})),e.d(i,"a",(function(){return a}));var a={uImage:e("9df5").default},n=function(){var t=this,i=t.$createElement,e=t._self._c||i;return e("v-uni-view",{staticClass:"page"},[e("custom-tabs",{attrs:{options:t.tabList,active:t.activeTab},on:{"update:active":function(i){arguments[0]=i=t.$handleEvent(i),t.activeTab=i}}}),e("v-uni-swiper",{staticClass:"swiper",attrs:{current:t.activeTab}},[e("v-uni-swiper-item",[e("custom-list",{staticClass:"service-list"},t._l(t.recruitServiceList,(function(i,a){return e("v-uni-view",{key:i.id,staticClass:"service-list-item u-flex",on:{click:function(i){arguments[0]=i=t.$handleEvent(i),t.navigateTo("/pages/service/serviceJoin/serviceJoin")}}},[e("v-uni-view",{staticClass:"service-list-item-img"},[e("u-image",{attrs:{"border-radius":10,width:"220rpx",height:"180rpx",src:i.img}})],1),e("v-uni-view",{staticClass:"service-list-item-text u-flex-col u-row-between"},[e("v-uni-view",{staticClass:"service-list-item-title"},[t._v(t._s(i.title))]),e("v-uni-view",{staticClass:"service-list-item-content"},[t._v(t._s(i.content))])],1)],1)})),1)],1),e("v-uni-swiper-item",[e("custom-list",{staticClass:"service-list"},t._l(t.recruitServiceList,(function(i,a){return e("v-uni-view",{key:i.id,staticClass:"service-list-item u-flex"},[e("v-uni-view",{staticClass:"service-list-item-img"},[e("u-image",{attrs:{"border-radius":10,width:"220rpx",height:"180rpx",src:i.img}})],1),e("v-uni-view",{staticClass:"service-list-item-text u-flex-col u-row-between"},[e("v-uni-view",{staticClass:"service-list-item-title"},[t._v(t._s(i.title))]),e("v-uni-view",{staticClass:"service-list-item-content"},[t._v(t._s(i.content))])],1)],1)})),1)],1)],1)],1)},r=[]},"1b21":function(t,i,e){"use strict";var a;e.d(i,"b",(function(){return n})),e.d(i,"c",(function(){return r})),e.d(i,"a",(function(){return a}));var n=function(){var t=this,i=t.$createElement,e=t._self._c||i;return e("v-uni-view",{staticClass:"custom-tabs"},t._l(t.options,(function(i,a){return e("v-uni-view",{key:a,staticClass:"custom-tabs-item",class:{active:t.currentTab===a},on:{click:function(i){arguments[0]=i=t.$handleEvent(i),t.tabClick(a)}}},[t._v(t._s(i))])})),1)},r=[]},"1ce3":function(t,i,e){"use strict";e.r(i);var a=e("cb0a"),n=e.n(a);for(var r in a)["default"].indexOf(r)<0&&function(t){e.d(i,t,(function(){return a[t]}))}(r);i["default"]=n.a},2388:function(t,i,e){var a=e("4bad");i=a(!1),i.push([t.i,"uni-page-body[data-v-ed5844a8]{background:#f8f8f8}body.?%PAGE?%[data-v-ed5844a8]{background:#f8f8f8}",""]),t.exports=i},"290d":function(t,i,e){var a=e("2388");"string"===typeof a&&(a=[[t.i,a,""]]),a.locals&&(t.exports=a.locals);var n=e("4f06").default;n("a4660914",a,!0,{sourceMap:!1,shadowMode:!1})},"337a":function(t,i,e){var a=e("4bad");i=a(!1),i.push([t.i,'@charset "UTF-8";\n/**\n * 这里是uni-app内置的常用样式变量\n *\n * uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量\n * 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App\n *\n */\n/**\n * 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能\n *\n * 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件\n */.u-swiper-wrap[data-v-57919bd3]{overflow:visible!important}.u-swiper-wrap uni-swiper[data-v-57919bd3]{border-radius:%?20?%;overflow:hidden;-webkit-transform:translateY(0);transform:translateY(0);box-shadow:%?0?% %?40?% %?40?% %?-30?% grey}.u-swiper-wrap .u-swiper-indicator[data-v-57919bd3]{bottom:%?-23?%!important}.u-swiper-wrap .u-swiper-indicator .u-indicator-item-rect[data-v-57919bd3]{border-radius:%?2?%;height:%?4?%;width:%?20?%}.u-swiper-wrap .u-swiper-indicator .u-indicator-item-rect.u-indicator-item-rect-active[data-v-57919bd3]{width:%?50?%;background:#be0000}.u-input__textarea[data-v-57919bd3]{padding:%?0?%!important}.u-list-item[data-v-57919bd3]{margin-left:%?0?%!important;width:%?100?%!important;height:%?100?%!important}.u-add-tips[data-v-57919bd3]{margin-top:%?0?%!important}.custom-list-item[data-v-57919bd3]{padding:%?0?% %?30?%}\n/* 颜色变量 */\n/* 行为相关颜色 */\n/* 文字基本颜色 */\n/* 背景颜色 */\n/* 边框颜色 */\n/* 尺寸变量 */\n/* 文字尺寸 */\n/* 图片尺寸 */\n/* Border Radius */\n/* 水平间距 */\n/* 垂直间距 */\n/* 透明度 */\n/* 文章场景相关 */.custom-tabs[data-v-57919bd3]{width:100%;height:%?60?%;font-size:%?24?%;display:-webkit-box;display:-webkit-flex;display:flex;background:#fff;border-bottom:%?1?% solid #ddd}.custom-tabs-item[data-v-57919bd3]{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center;-webkit-box-align:center;-webkit-align-items:center;align-items:center;-webkit-box-flex:1;-webkit-flex:1;flex:1;position:relative;color:#aaa}.custom-tabs-item.active[data-v-57919bd3]{color:#000}.custom-tabs-item[data-v-57919bd3]:not(:last-of-type)::after{content:" ";display:block;height:%?30?%;width:%?1?%;background:#ddd;position:absolute;right:%?0?%}',""]),t.exports=i},"3b02":function(t,i,e){"use strict";var a=e("d71d"),n=e.n(a);n.a},"709f":function(t,i,e){"use strict";Object.defineProperty(i,"__esModule",{value:!0}),i.default=void 0,e("a9e3");var a={name:"CustomTabs",props:{options:{type:Array,default:[]},active:{type:Number,default:0}},data:function(){return{currentTab:0}},methods:{tabClick:function(t){this.currentTab=t,this.$emit("update:active",t)}}};i.default=a},"7ba5":function(t,i,e){var a=e("337a");"string"===typeof a&&(a=[[t.i,a,""]]),a.locals&&(t.exports=a.locals);var n=e("4f06").default;n("0e2ae4d8",a,!0,{sourceMap:!1,shadowMode:!1})},"88f4":function(t,i,e){"use strict";var a=e("4ea4");Object.defineProperty(i,"__esModule",{value:!0}),i.default=void 0;var n=a(e("a380")),r=a(e("4a04")),o={components:{CustomTabs:n.default,CustomList:r.default},data:function(){return{tabList:["待认领","我的"],activeTab:0,recruitServiceList:[{img:"https://gimg2.baidu.com/image_search/src=http%3A%2F%2Fimg.mp.itc.cn%2Fupload%2F20170421%2F783b585813c04aa7afb3991697b5f351_th.jpeg&refer=http%3A%2F%2Fimg.mp.itc.cn&app=2002&size=f9999,10000&q=a80&n=0&g=0n&fmt=jpeg?sec=1629612156&t=579a6261323a96ba2d8394d9492e8f2c",title:"文明旅游志愿者“上岗”,景区多了一道靓丽风景线",content:"4月以来,随着我市各个景区的游客逐渐增多,景区内出现了这样…"}],myServiceList:[]}},methods:{navigateTo:function(t){uni.navigateTo({url:t})}}};i.default=o},"9df5":function(t,i,e){"use strict";e.r(i);var a=e("d478"),n=e("1ce3");for(var r in n)["default"].indexOf(r)<0&&function(t){e.d(i,t,(function(){return n[t]}))}(r);e("fd40");var o,s=e("f0c5"),d=Object(s["a"])(n["default"],a["b"],a["c"],!1,null,"3fdd3616",null,!1,a["a"],o);i["default"]=d.exports},"9f26":function(t,i,e){"use strict";e.r(i);var a=e("112c"),n=e("0be2");for(var r in n)["default"].indexOf(r)<0&&function(t){e.d(i,t,(function(){return n[t]}))}(r);e("bb59"),e("3b02");var o,s=e("f0c5"),d=Object(s["a"])(n["default"],a["b"],a["c"],!1,null,"ed5844a8",null,!1,a["a"],o);i["default"]=d.exports},a380:function(t,i,e){"use strict";e.r(i);var a=e("1b21"),n=e("f0e2");for(var r in n)["default"].indexOf(r)<0&&function(t){e.d(i,t,(function(){return n[t]}))}(r);e("a3dc");var o,s=e("f0c5"),d=Object(s["a"])(n["default"],a["b"],a["c"],!1,null,"57919bd3",null,!1,a["a"],o);i["default"]=d.exports},a3dc:function(t,i,e){"use strict";var a=e("7ba5"),n=e.n(a);n.a},b77c:function(t,i,e){var a=e("4bad");i=a(!1),i.push([t.i,'@charset "UTF-8";\n/**\n * 这里是uni-app内置的常用样式变量\n *\n * uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量\n * 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App\n *\n */\n/**\n * 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能\n *\n * 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件\n */.u-swiper-wrap[data-v-3fdd3616]{overflow:visible!important}.u-swiper-wrap uni-swiper[data-v-3fdd3616]{border-radius:%?20?%;overflow:hidden;-webkit-transform:translateY(0);transform:translateY(0);box-shadow:%?0?% %?40?% %?40?% %?-30?% grey}.u-swiper-wrap .u-swiper-indicator[data-v-3fdd3616]{bottom:%?-23?%!important}.u-swiper-wrap .u-swiper-indicator .u-indicator-item-rect[data-v-3fdd3616]{border-radius:%?2?%;height:%?4?%;width:%?20?%}.u-swiper-wrap .u-swiper-indicator .u-indicator-item-rect.u-indicator-item-rect-active[data-v-3fdd3616]{width:%?50?%;background:#be0000}.u-input__textarea[data-v-3fdd3616]{padding:%?0?%!important}.u-list-item[data-v-3fdd3616]{margin-left:%?0?%!important;width:%?100?%!important;height:%?100?%!important}.u-add-tips[data-v-3fdd3616]{margin-top:%?0?%!important}.custom-list-item[data-v-3fdd3616]{padding:%?0?% %?30?%}\n/* 颜色变量 */\n/* 行为相关颜色 */\n/* 文字基本颜色 */\n/* 背景颜色 */\n/* 边框颜色 */\n/* 尺寸变量 */\n/* 文字尺寸 */\n/* 图片尺寸 */\n/* Border Radius */\n/* 水平间距 */\n/* 垂直间距 */\n/* 透明度 */\n/* 文章场景相关 */.u-image[data-v-3fdd3616]{position:relative;-webkit-transition:opacity .5s ease-in-out;transition:opacity .5s ease-in-out}.u-image__image[data-v-3fdd3616]{width:100%;height:100%}.u-image__loading[data-v-3fdd3616], .u-image__error[data-v-3fdd3616]{position:absolute;top:0;left:0;width:100%;height:100%;\ndisplay:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-webkit-flex-direction:row;flex-direction:row;\n-webkit-box-align:center;-webkit-align-items:center;align-items:center;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center;background-color:#f3f4f6;color:#909399;font-size:%?46?%}',""]),t.exports=i},bb59:function(t,i,e){"use strict";var a=e("290d"),n=e.n(a);n.a},cb0a:function(t,i,e){"use strict";Object.defineProperty(i,"__esModule",{value:!0}),i.default=void 0,e("a9e3");var a={name:"u-image",props:{src:{type:String,default:""},mode:{type:String,default:"aspectFill"},width:{type:[String,Number],default:"100%"},height:{type:[String,Number],default:"auto"},shape:{type:String,default:"square"},borderRadius:{type:[String,Number],default:0},lazyLoad:{type:Boolean,default:!0},showMenuByLongpress:{type:Boolean,default:!0},loadingIcon:{type:String,default:"photo"},errorIcon:{type:String,default:"error-circle"},showLoading:{type:Boolean,default:!0},showError:{type:Boolean,default:!0},fade:{type:Boolean,default:!0},webp:{type:Boolean,default:!1},duration:{type:[String,Number],default:500},bgColor:{type:String,default:"#f3f4f6"}},data:function(){return{isError:!1,loading:!0,opacity:1,durationTime:this.duration,backgroundStyle:{}}},watch:{src:{immediate:!0,handler:function(t){t?this.isError=!1:(this.isError=!0,this.loading=!1)}}},computed:{wrapStyle:function(){var t={};return t.width=this.$u.addUnit(this.width),t.height=this.$u.addUnit(this.height),t.borderRadius="circle"==this.shape?"50%":this.$u.addUnit(this.borderRadius),t.overflow=this.borderRadius>0?"hidden":"visible",this.fade&&(t.opacity=this.opacity,t.transition="opacity ".concat(Number(this.durationTime)/1e3,"s ease-in-out")),t}},methods:{onClick:function(){this.$emit("click")},onErrorHandler:function(t){this.loading=!1,this.isError=!0,this.$emit("error",t)},onLoadHandler:function(){var t=this;if(this.loading=!1,this.isError=!1,this.$emit("load"),!this.fade)return this.removeBgColor();this.opacity=0,this.durationTime=0,setTimeout((function(){t.durationTime=t.duration,t.opacity=1,setTimeout((function(){t.removeBgColor()}),t.durationTime)}),50)},removeBgColor:function(){this.backgroundStyle={backgroundColor:"transparent"}}}};i.default=a},d478:function(t,i,e){"use strict";e.d(i,"b",(function(){return n})),e.d(i,"c",(function(){return r})),e.d(i,"a",(function(){return a}));var a={uIcon:e("f86b").default},n=function(){var t=this,i=t.$createElement,e=t._self._c||i;return e("v-uni-view",{staticClass:"u-image",style:[t.wrapStyle,t.backgroundStyle],on:{click:function(i){arguments[0]=i=t.$handleEvent(i),t.onClick.apply(void 0,arguments)}}},[t.isError?t._e():e("v-uni-image",{staticClass:"u-image__image",style:{borderRadius:"circle"==t.shape?"50%":t.$u.addUnit(t.borderRadius)},attrs:{src:t.src,mode:t.mode,"lazy-load":t.lazyLoad,"show-menu-by-longpress":t.showMenuByLongpress},on:{error:function(i){arguments[0]=i=t.$handleEvent(i),t.onErrorHandler.apply(void 0,arguments)},load:function(i){arguments[0]=i=t.$handleEvent(i),t.onLoadHandler.apply(void 0,arguments)}}}),t.showLoading&&t.loading?e("v-uni-view",{staticClass:"u-image__loading",style:{borderRadius:"circle"==t.shape?"50%":t.$u.addUnit(t.borderRadius),backgroundColor:this.bgColor}},[t.$slots.loading?t._t("loading"):e("u-icon",{attrs:{name:t.loadingIcon,width:t.width,height:t.height}})],2):t._e(),t.showError&&t.isError&&!t.loading?e("v-uni-view",{staticClass:"u-image__error",style:{borderRadius:"circle"==t.shape?"50%":t.$u.addUnit(t.borderRadius)}},[t.$slots.error?t._t("error"):e("u-icon",{attrs:{name:t.errorIcon,width:t.width,height:t.height}})],2):t._e()],1)},r=[]},d71d:function(t,i,e){var a=e("0045");"string"===typeof a&&(a=[[t.i,a,""]]),a.locals&&(t.exports=a.locals);var n=e("4f06").default;n("5ada248a",a,!0,{sourceMap:!1,shadowMode:!1})},f0aa:function(t,i,e){var a=e("b77c");"string"===typeof a&&(a=[[t.i,a,""]]),a.locals&&(t.exports=a.locals);var n=e("4f06").default;n("0004ca92",a,!0,{sourceMap:!1,shadowMode:!1})},f0e2:function(t,i,e){"use strict";e.r(i);var a=e("709f"),n=e.n(a);for(var r in a)["default"].indexOf(r)<0&&function(t){e.d(i,t,(function(){return a[t]}))}(r);i["default"]=n.a},fd40:function(t,i,e){"use strict";var a=e("f0aa"),n=e.n(a);n.a}}]);
|