pages-recommend-sick.754395d5.js 6.7 KB

1
  1. (window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-recommend-sick"],{3059:function(t,a,e){"use strict";e.r(a);var n=e("661a"),i=e("611b");for(var o in i)"default"!==o&&function(t){e.d(a,t,(function(){return i[t]}))}(o);e("db37");var c,r=e("f0c5"),s=Object(r["a"])(i["default"],n["b"],n["c"],!1,null,"c5ffc4aa",null,!1,n["a"],c);a["default"]=s.exports},5796:function(t,a,e){var n=e("24fb");a=n(!1),a.push([t.i,'@charset "UTF-8";\n/* 页面左右间距 */\n/* 文字尺寸 */\n/*文字颜色*/\n/* 边框颜色 */\n/*颜色*/\n/* 图片加载中颜色 */\n/* 行为相关颜色 */\n/* 功能栏字体大小 */\n/*功能栏左侧小图标*/uni-page-body[data-v-c5ffc4aa]{height:100%}.content-money[data-v-c5ffc4aa]{padding-bottom:%?30?%;background:#f8f8f8}.content-money .buttom-box[data-v-c5ffc4aa]{background-color:#fff;text-align:center;margin:0 %?30?%;padding:%?30?% 0;border-radius:%?15?%;margin-top:%?-60?%}.content-money .buttom-box .buttom[data-v-c5ffc4aa]{font-size:%?32?%;flex-grow:1}.content-money .buttom-box .buttom .money[data-v-c5ffc4aa]{font-weight:700;font-size:%?32?%;color:#6786fb}.content-money .buttom-box .text[data-v-c5ffc4aa]{color:#666}.content-money .buttom-box .interval[data-v-c5ffc4aa]{width:%?2?%;height:%?60?%;background-color:#eee}.content-money .buttom-box .icon[data-v-c5ffc4aa]{height:%?50?%;width:%?48?%;margin:0 auto}.content-money .buttom-box .icon .icon-img[data-v-c5ffc4aa]{width:100%;height:100%}.money-box[data-v-c5ffc4aa]{background:linear-gradient(52deg,#7e99fe,#978ffa);height:%?320?%;color:#fff;text-align:center;padding-top:%?60?%}.money-box .money_name[data-v-c5ffc4aa]{width:100%;text-align:center;font-size:%?36?%;padding-bottom:%?25?%}.money-box .money[data-v-c5ffc4aa]{font-size:%?44?%}.navbar[data-v-c5ffc4aa]{display:flex;height:40px;padding:0 5px;background:#fff;box-shadow:0 1px 5px rgba(0,0,0,.06);position:relative;z-index:10}.navbar .nav-item[data-v-c5ffc4aa]{flex:1;display:flex;justify-content:center;align-items:center;height:100%;font-size:15px;color:#303133;position:relative}.navbar .nav-item.current[data-v-c5ffc4aa]{color:#6786fb}.navbar .nav-item.current[data-v-c5ffc4aa]:after{content:"";position:absolute;left:50%;bottom:0;-webkit-transform:translateX(-50%);transform:translateX(-50%);width:44px;height:0;border-bottom:2px solid #6786fb}.swiper-box[data-v-c5ffc4aa]{padding-top:%?10?%;background:#fff}.swiper-box .order-item[data-v-c5ffc4aa]{margin:0 %?24?%;padding:%?20?% 0;line-height:1.5;border-bottom:1px solid #f0f0f0}.swiper-box .order-item .title-box[data-v-c5ffc4aa]{width:100%}.swiper-box .order-item .title-box .title-avatar[data-v-c5ffc4aa]{width:%?80?%;height:%?80?%;border-radius:50%;margin-right:%?20?%}.swiper-box .order-item .title-box .title-avatar uni-image[data-v-c5ffc4aa]{width:100%;height:100%;border-radius:100%}.swiper-box .order-item .title-box .list_tpl[data-v-c5ffc4aa]{width:85%}.swiper-box .order-item .title-box .list_tpl .title[data-v-c5ffc4aa]{font-size:%?30?%;color:#606266;font-weight:500;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.swiper-box .order-item .title-box .list_tpl .time[data-v-c5ffc4aa]{font-size:%?22?%;color:#909399}.list-scroll-content[data-v-c5ffc4aa]{height:100%}.content[data-v-c5ffc4aa]{height:100%}.content .empty-content[data-v-c5ffc4aa]{background-color:#fff}',""]),t.exports=a},"611b":function(t,a,e){"use strict";e.r(a);var n=e("a1db"),i=e.n(n);for(var o in n)"default"!==o&&function(t){e.d(a,t,(function(){return n[t]}))}(o);a["default"]=i.a},"661a":function(t,a,e){"use strict";e.d(a,"b",(function(){return i})),e.d(a,"c",(function(){return o})),e.d(a,"a",(function(){return n}));var n={uniLoadMore:e("d47b").default},i=function(){var t=this,a=t.$createElement,e=t._self._c||a;return e("v-uni-view",{staticClass:"content"},[e("v-uni-view",{staticClass:"content-money"},[e("v-uni-view",{staticClass:"money-box"},[e("v-uni-view",{staticClass:"money_name money"},[t._v(t._s(t.all))]),e("v-uni-view",{staticClass:"money_name"},[t._v("推荐奖励")])],1),e("v-uni-view",{staticClass:"flex buttom-box"},[e("v-uni-view",{staticClass:"buttom"},[e("v-uni-view",{staticClass:"money"},[t._v(t._s(t.total||0))]),e("v-uni-text",{staticClass:"text"},[t._v("推荐用户")])],1),e("v-uni-view",{staticClass:"interval"}),e("v-uni-view",{staticClass:"buttom"},[e("v-uni-view",{staticClass:"money"},[t._v(t._s(t.totalLevel||0))]),e("v-uni-text",{staticClass:"text"},[t._v("推荐医生")])],1)],1)],1),e("v-uni-view",{staticClass:"navbar"},t._l(t.navList,(function(a,n){return e("v-uni-view",{key:n,staticClass:"nav-item",class:{current:t.tabCurrentIndex===n},on:{click:function(a){arguments[0]=a=t.$handleEvent(a),t.tabClick(n)}}},[t._v(t._s(a.text))])})),1),e("v-uni-swiper",{staticClass:"swiper-box",style:{height:t.maxheight+"px"},attrs:{current:t.tabCurrentIndex,duration:"300"},on:{change:function(a){arguments[0]=a=t.$handleEvent(a),t.changeTab.apply(void 0,arguments)}}},t._l(t.navList,(function(a,n){return e("v-uni-swiper-item",{key:n,staticClass:"tab-content"},[e("v-uni-scroll-view",{staticClass:"list-scroll-content",attrs:{"scroll-y":!0},on:{scrolltolower:function(a){arguments[0]=a=t.$handleEvent(a),t.loadData.apply(void 0,arguments)}}},[!0===a.loaded&&0===a.orderList.length?e("empty"):t._e(),t._l(a.orderList,(function(a,n){return e("v-uni-view",{key:n,staticClass:"order-item flex"},[e("v-uni-view",{staticClass:"title-box flex_item"},[e("v-uni-view",{staticClass:"title-avatar"},[e("v-uni-image",{attrs:{src:a.avatar}})],1),e("v-uni-view",{staticClass:"list_tpl"},[e("v-uni-view",{staticClass:"title"},[e("v-uni-text",[t._v(t._s(a.nickname))])],1),e("v-uni-view",{staticClass:"time"},[e("v-uni-text",[t._v(t._s(a.time))])],1)],1)],1)],1)})),e("uni-load-more",{attrs:{status:a.loadingType}})],2)],1)})),1)],1)},o=[]},a1db:function(t,a,e){"use strict";var n=e("4ea4");e("ac1f"),Object.defineProperty(a,"__esModule",{value:!0}),a.default=void 0;e("26cb");var i=n(e("d47b")),o=n(e("e60f")),c={components:{empty:o.default,uniLoadMore:i.default},onReady:function(){var t=this;uni.createSelectorQuery().select(".content").fields({size:!0},(function(a){t.maxheight=a.height-Math.floor(a.width/750*570)})).exec()},data:function(){return{maxheight:"",tabCurrentIndex:0,navList:[{state:0,text:"用户",loadingType:"more",orderList:[],page:1,limit:10},{state:1,text:"医生",loadingType:"more",orderList:[],page:1,limit:10}],all:0,list:"",total:"",totalLevel:""}},onLoad:function(t){},onShow:function(){},methods:{navto:function(t){uni.navigateTo({url:t})},changeTab:function(t){this.tabCurrentIndex=t.target.current},tabClick:function(t){this.tabCurrentIndex=t}}};a.default=c},bbdc:function(t,a,e){var n=e("5796");"string"===typeof n&&(n=[[t.i,n,""]]),n.locals&&(t.exports=n.locals);var i=e("4f06").default;i("27997fa0",n,!0,{sourceMap:!1,shadowMode:!1})},db37:function(t,a,e){"use strict";var n=e("bbdc"),i=e.n(n);i.a}}]);