1 |
- (window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-mine-shuangchuang"],{"0357":function(t,e,n){"use strict";n.d(e,"b",(function(){return a})),n.d(e,"c",(function(){return s})),n.d(e,"a",(function(){return i}));var i={uIcon:n("0af8").default},a=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("v-uni-view",{staticClass:"u-search",style:{margin:t.margin},on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.clickHandler.apply(void 0,arguments)}}},[n("v-uni-view",{staticClass:"u-content",style:{backgroundColor:t.bgColor,borderRadius:"round"==t.shape?"100rpx":"10rpx",border:t.borderStyle,height:t.height+"rpx"}},[n("v-uni-view",{staticClass:"u-icon-wrap"},[n("u-icon",{staticClass:"u-clear-icon",attrs:{size:30,name:t.searchIcon,color:t.searchIconColor?t.searchIconColor:t.color}})],1),n("v-uni-input",{staticClass:"u-input",style:[{textAlign:t.inputAlign,color:t.color,backgroundColor:t.bgColor},t.inputStyle],attrs:{"confirm-type":"search",value:t.value,disabled:t.disabled,focus:t.focus,maxlength:t.maxlength,"placeholder-class":"u-placeholder-class",placeholder:t.placeholder,"placeholder-style":"color: "+t.placeholderColor,type:"text"},on:{blur:function(e){arguments[0]=e=t.$handleEvent(e),t.blur.apply(void 0,arguments)},confirm:function(e){arguments[0]=e=t.$handleEvent(e),t.search.apply(void 0,arguments)},input:function(e){arguments[0]=e=t.$handleEvent(e),t.inputChange.apply(void 0,arguments)},focus:function(e){arguments[0]=e=t.$handleEvent(e),t.getFocus.apply(void 0,arguments)}}}),t.keyword&&t.clearabled&&t.focused?n("v-uni-view",{staticClass:"u-close-wrap",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.clear.apply(void 0,arguments)}}},[n("u-icon",{staticClass:"u-clear-icon",attrs:{name:"close-circle-fill",size:"34",color:"#c0c4cc"}})],1):t._e()],1),n("v-uni-view",{staticClass:"u-action",class:[t.showActionBtn||t.show?"u-action-active":""],style:[t.actionStyle],on:{click:function(e){e.stopPropagation(),e.preventDefault(),arguments[0]=e=t.$handleEvent(e),t.custom.apply(void 0,arguments)}}},[t._v(t._s(t.actionText))])],1)},s=[]},"0ba7":function(t,e,n){var i=n("24fb");e=i(!1),e.push([t.i,'@charset "UTF-8";\n/**\n * 下方引入的为uView UI的集成样式文件,为scss预处理器,其中包含了一些"u-"开头的自定义变量\n * 使用的时候,请将下面的一行复制到您的uniapp项目根目录的uni.scss中即可\n * uView自定义的css类名和scss变量,均以"u-"开头,不会造成冲突,请放心使用 \n */uni-page-body[data-v-929553d6]{position:relative;background-color:#f7f7f7}.shuangchaung .enptyStatus[data-v-929553d6]{display:flex;justify-content:center;align-items:center;flex-direction:column;padding:30px 10px}.shuangchaung .enptyStatus uni-image[data-v-929553d6]{width:120px;height:150px;margin-top:100px}.shuangchaung .enptyStatus .words[data-v-929553d6]{color:#ffae21;font-size:18px;padding-top:18px}.shuangchaung .search[data-v-929553d6]{background-color:#fff;padding:8px 15px;display:flex;justify-items:center;justify-content:center;align-items:center}.shuangchaung .search .search-button[data-v-929553d6]{padding:0 10px;color:#d12727;font-size:15px;text-align:center}.shuangchaung .search .u-demo-block__content[data-v-929553d6]{flex:1}.shuangchaung .search[data-v-929553d6] .u-action{color:#d12727!important}.shuangchaung .item_wrap[data-v-929553d6]{padding:15px}.shuangchaung .item_wrap .item[data-v-929553d6]{background-color:#fff;opacity:1;border-radius:4px;padding:16px 15px;position:relative;display:flex;align-items:center;justify-content:space-between;margin-bottom:10px;overflow:hidden}.shuangchaung .item_wrap .item .right[data-v-929553d6]{width:30%;flex-shrink:0;border-left:1px solid #eee;text-align:center;display:flex;align-items:center;justify-content:space-between}.shuangchaung .item_wrap .item .right uni-text[data-v-929553d6]{display:block;font-size:12px;color:#999}.shuangchaung .item_wrap .item .right .nums[data-v-929553d6]{display:inline-block;width:70%;text-align:center;font-size:20px;color:#d12727;padding-left:5px}.shuangchaung .item_wrap .item .right .detail[data-v-929553d6]{display:flex;align-items:center;justify-content:center;flex-shrink:0;width:25px;height:25px;text-align:center;border-radius:50%;border:1px solid #eee;color:#999;font-size:16px}.shuangchaung .item_wrap .item .left[data-v-929553d6]{width:70%;flex-shrink:0}.shuangchaung .item_wrap .item .left .center[data-v-929553d6]{flex-shrink:0}.shuangchaung .item_wrap .item .left .center .title[data-v-929553d6]{font-size:16px;color:#333;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.shuangchaung .item_wrap .item .left .center .name[data-v-929553d6]{margin-top:5px;font-size:14px;color:#666;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;display:flex;align-items:center;justify-content:space-between}.shuangchaung .item_wrap .item .left .center .name uni-text[data-v-929553d6]{flex-shrink:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.shuangchaung .item_wrap .item .left .center .name uni-text[data-v-929553d6]:first-child{width:calc(100% - 75px)}.shuangchaung .item_wrap .item .left .center .name .success[data-v-929553d6]{display:inline-block;color:#67c23a;background-color:rgba(103,194,58,.2);padding:2px 5px;font-size:12px;border-radius:3px;margin-right:15px}.shuangchaung .item_wrap .item .left .center .name .wrang[data-v-929553d6]{display:inline-block;color:#f56c6c;background-color:rgba(245,108,108,.2);padding:2px 5px;font-size:12px;border-radius:3px;margin-right:15px}.shuangchaung .item_wrap .item .left .center .name .wait[data-v-929553d6]{display:inline-block;color:#e6a23c;background-color:rgba(230,162,60,.2);padding:2px 5px;font-size:12px;border-radius:3px;margin-right:15px}body.?%PAGE?%[data-v-929553d6]{background-color:#f7f7f7}',""]),t.exports=e},"3c9f":function(t,e,n){"use strict";n.d(e,"b",(function(){return a})),n.d(e,"c",(function(){return s})),n.d(e,"a",(function(){return i}));var i={uSticky:n("66c1").default,uSearch:n("cbc6").default,uIcon:n("0af8").default},a=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("v-uni-view",{staticClass:"shuangchaung"},[i("u-sticky",[i("v-uni-view",{staticClass:"search"},[i("v-uni-view",{staticClass:"u-demo-block__content"},[i("v-uni-view",{staticClass:"u-page__tag-item"},[i("u-search",{attrs:{placeholder:"请输入项目标题","show-action":!1,shape:"square"},on:{search:function(e){arguments[0]=e=t.$handleEvent(e),t.searchActive()},clear:function(e){arguments[0]=e=t.$handleEvent(e),t.clearActive()}},model:{value:t.searchValue,callback:function(e){t.searchValue=e},expression:"searchValue"}})],1)],1),i("v-uni-view",{staticClass:"search-button",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.searchActive()}}},[t._v("搜索")])],1)],1),i("v-uni-view",{staticClass:"item_wrap"},[0==t.list.length?i("v-uni-view",{staticClass:"empty"},[i("v-uni-view",{staticClass:"enptyStatus"},[i("v-uni-image",{attrs:{src:n("b055"),mode:""}}),i("v-uni-view",{staticClass:"words"},[t._v("暂无内容")])],1)],1):t._e(),t._l(t.list,(function(e,n){return i("v-uni-view",{key:n,staticClass:"item"},[i("v-uni-view",{staticClass:"left"},[i("v-uni-view",{staticClass:"center"},[i("v-uni-view",{staticClass:"title"},[t._v(t._s(e.title))]),i("v-uni-view",{staticClass:"name"},[i("v-uni-text",[t._v("导师:"+t._s(e.truename))]),1==e.check_status?i("v-uni-text",{staticClass:"success"},[t._v("审核成功")]):t._e(),2==e.check_status?i("v-uni-text",{staticClass:"wrang"},[t._v("审核失败")]):t._e(),0==e.check_status?i("v-uni-text",{staticClass:"wait"},[t._v("待审核")]):t._e()],1)],1)],1),i("v-uni-view",{staticClass:"right"},[i("v-uni-text",{staticClass:"nums"},[t._v(t._s(e.sign_up_count)+"/"+t._s(e.student_nums))]),i("v-uni-view",{staticClass:"detail",on:{click:function(n){arguments[0]=n=t.$handleEvent(n),t.to_detail(e.id)}}},[i("u-icon",{attrs:{name:"arrow-right",color:"#999",size:"24"}})],1)],1)],1)}))],2)],1)},s=[]},"3dcd":function(t,e,n){"use strict";n.r(e);var i=n("7819"),a=n.n(i);for(var s in i)"default"!==s&&function(t){n.d(e,t,(function(){return i[t]}))}(s);e["default"]=a.a},"3eb6":function(t,e,n){"use strict";n.r(e);var i=n("bc59"),a=n.n(i);for(var s in i)"default"!==s&&function(t){n.d(e,t,(function(){return i[t]}))}(s);e["default"]=a.a},"5b64":function(t,e,n){"use strict";var i=n("7b0a"),a=n.n(i);a.a},"66c1":function(t,e,n){"use strict";n.r(e);var i=n("85c2"),a=n("3eb6");for(var s in a)"default"!==s&&function(t){n.d(e,t,(function(){return a[t]}))}(s);n("5b64");var o,c=n("f0c5"),r=Object(c["a"])(a["default"],i["b"],i["c"],!1,null,"1ef8cf66",null,!1,i["a"],o);e["default"]=r.exports},"70d3":function(t,e,n){var i=n("0ba7");i.__esModule&&(i=i.default),"string"===typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals);var a=n("4f06").default;a("f42cbeca",i,!0,{sourceMap:!1,shadowMode:!1})},7819:function(t,e,n){"use strict";var i=n("4ea4");n("99af"),Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,n("96cf");var a=i(n("1da1")),s={data:function(){return{list:[],page:1,last:!1,searchValue:""}},onShow:function(){this.page=1,this.list=[],this.last=!1,this.getList()},onLoad:function(){return(0,a.default)(regeneratorRuntime.mark((function t(){return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:case"end":return t.stop()}}),t)})))()},onReachBottom:function(){this.last||this.page++,console.log(this.page,"oooooooooooooooooo"),this.getList()},methods:{searchActive:function(){this.list=[],this.page=1,this.last=!1,console.log(this.searchValue,"用户点击了搜索"),this.getList()},clearActive:function(){this.list=[],this.page=1,this.last=!1,this.getList(),console.log(this.searchValue,"用户点击了搜索---")},getList:function(){var t=this;this.$u.get("/innovation",{title:this.searchValue,page:this.page,per_page:15}).then((function(e){console.log(e,"ppp");var n=e.data.list;console.log(e,"course1"),t.page>1&&0==n.length?(uni.showToast({title:"暂无更多",icon:"none"}),t.last=!0):t.list=t.list.concat(n)}))},getStart:function(t){return new Date(t).getTime()},getEnd:function(t){return new Date(t).getTime()},getNow:function(){return Date.now()},to_detail:function(t){console.log("详情"),uni.navigateTo({url:"./shuangchuang_detail?id="+t})}}};e.default=s},"7b0a":function(t,e,n){var i=n("c576");i.__esModule&&(i=i.default),"string"===typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals);var a=n("4f06").default;a("98fd5504",i,!0,{sourceMap:!1,shadowMode:!1})},"7c0c":function(t,e,n){"use strict";n.r(e);var i=n("8b51"),a=n.n(i);for(var s in i)"default"!==s&&function(t){n.d(e,t,(function(){return i[t]}))}(s);e["default"]=a.a},"85c2":function(t,e,n){"use strict";var i;n.d(e,"b",(function(){return a})),n.d(e,"c",(function(){return s})),n.d(e,"a",(function(){return i}));var a=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("v-uni-view",{},[n("v-uni-view",{staticClass:"u-sticky-wrap",class:[t.elClass],style:{height:t.fixed?t.height+"px":"auto",backgroundColor:t.bgColor}},[n("v-uni-view",{staticClass:"u-sticky",style:{position:t.fixed?"fixed":"static",top:t.stickyTop+"px",left:t.left+"px",width:"auto"==t.width?"auto":t.width+"px",zIndex:t.uZIndex}},[t._t("default")],2)],1)],1)},s=[]},"8a8d":function(t,e,n){"use strict";n.r(e);var i=n("3c9f"),a=n("3dcd");for(var s in a)"default"!==s&&function(t){n.d(e,t,(function(){return a[t]}))}(s);n("c62a");var o,c=n("f0c5"),r=Object(c["a"])(a["default"],i["b"],i["c"],!1,null,"929553d6",null,!1,i["a"],o);e["default"]=r.exports},"8b51":function(t,e,n){"use strict";n("a9e3"),Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var i={name:"u-search",props:{shape:{type:String,default:"round"},bgColor:{type:String,default:"#f2f2f2"},placeholder:{type:String,default:"请输入关键字"},clearabled:{type:Boolean,default:!0},focus:{type:Boolean,default:!1},showAction:{type:Boolean,default:!0},actionStyle:{type:Object,default:function(){return{}}},actionText:{type:String,default:"搜索"},inputAlign:{type:String,default:"left"},disabled:{type:Boolean,default:!1},animation:{type:Boolean,default:!1},borderColor:{type:String,default:"none"},value:{type:String,default:""},height:{type:[Number,String],default:64},inputStyle:{type:Object,default:function(){return{}}},maxlength:{type:[Number,String],default:"-1"},searchIconColor:{type:String,default:""},color:{type:String,default:"#606266"},placeholderColor:{type:String,default:"#909399"},margin:{type:String,default:"0"},searchIcon:{type:String,default:"search"}},data:function(){return{keyword:"",showClear:!1,show:!1,focused:this.focus}},watch:{keyword:function(t){this.$emit("input",t),this.$emit("change",t)},value:{immediate:!0,handler:function(t){this.keyword=t}}},computed:{showActionBtn:function(){return!(this.animation||!this.showAction)},borderStyle:function(){return this.borderColor?"1px solid ".concat(this.borderColor):"none"}},methods:{inputChange:function(t){this.keyword=t.detail.value},clear:function(){var t=this;this.keyword="",this.$nextTick((function(){t.$emit("clear")}))},search:function(t){this.$emit("search",t.detail.value);try{uni.hideKeyboard()}catch(t){}},custom:function(){this.$emit("custom",this.keyword);try{uni.hideKeyboard()}catch(t){}},getFocus:function(){this.focused=!0,this.animation&&this.showAction&&(this.show=!0),this.$emit("focus",this.keyword)},blur:function(){var t=this;setTimeout((function(){t.focused=!1}),100),this.show=!1,this.$emit("blur",this.keyword)},clickHandler:function(){this.disabled&&this.$emit("click")}}};e.default=i},"8b99":function(t,e,n){var i=n("24fb");e=i(!1),e.push([t.i,'@charset "UTF-8";\n/**\n * 下方引入的为uView UI的集成样式文件,为scss预处理器,其中包含了一些"u-"开头的自定义变量\n * 使用的时候,请将下面的一行复制到您的uniapp项目根目录的uni.scss中即可\n * uView自定义的css类名和scss变量,均以"u-"开头,不会造成冲突,请放心使用 \n */.u-search[data-v-05573061]{display:flex;flex-direction:row;align-items:center;flex:1}.u-content[data-v-05573061]{display:flex;flex-direction:row;align-items:center;padding:0 %?18?%;flex:1}.u-clear-icon[data-v-05573061]{display:flex;flex-direction:row;align-items:center}.u-input[data-v-05573061]{flex:1;font-size:%?28?%;line-height:1;margin:0 %?10?%;color:#909399}.u-close-wrap[data-v-05573061]{width:%?40?%;height:100%;display:flex;flex-direction:row;align-items:center;justify-content:center;border-radius:50%}.u-placeholder-class[data-v-05573061]{color:#909399}.u-action[data-v-05573061]{font-size:%?28?%;color:#303133;width:0;overflow:hidden;transition:all .3s;white-space:nowrap;text-align:center}.u-action-active[data-v-05573061]{width:%?80?%;margin-left:%?10?%}',""]),t.exports=e},b055:function(t,e,n){t.exports=n.p+"static/img/empty.f330efae.png"},b9f2:function(t,e,n){"use strict";var i=n("e6f9"),a=n.n(i);a.a},bc59:function(t,e,n){"use strict";n("a9e3"),Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var i={name:"u-sticky",props:{offsetTop:{type:[Number,String],default:0},index:{type:[Number,String],default:""},enable:{type:Boolean,default:!0},h5NavHeight:{type:[Number,String],default:44},bgColor:{type:String,default:"#ffffff"},zIndex:{type:[Number,String],default:""}},data:function(){return{fixed:!1,height:"auto",stickyTop:0,elClass:this.$u.guid(),left:0,width:"auto"}},watch:{offsetTop:function(t){this.initObserver()},enable:function(t){0==t?(this.fixed=!1,this.disconnectObserver("contentObserver")):this.initObserver()}},computed:{uZIndex:function(){return this.zIndex?this.zIndex:this.$u.zIndex.sticky}},mounted:function(){this.initObserver()},methods:{initObserver:function(){var t=this;this.enable&&(this.stickyTop=0!=this.offsetTop?uni.upx2px(this.offsetTop)+this.h5NavHeight:this.h5NavHeight,this.disconnectObserver("contentObserver"),this.$uGetRect("."+this.elClass).then((function(e){t.height=e.height,t.left=e.left,t.width=e.width,t.$nextTick((function(){t.observeContent()}))})))},observeContent:function(){var t=this;this.disconnectObserver("contentObserver");var e=this.createIntersectionObserver({thresholds:[.95,.98,1]});e.relativeToViewport({top:-this.stickyTop}),e.observe("."+this.elClass,(function(e){t.enable&&t.setFixed(e.boundingClientRect.top)})),this.contentObserver=e},setFixed:function(t){var e=t<this.stickyTop;e?this.$emit("fixed",this.index):this.fixed&&this.$emit("unfixed",this.index),this.fixed=e},disconnectObserver:function(t){var e=this[t];e&&e.disconnect()}},beforeDestroy:function(){this.disconnectObserver("contentObserver")}};e.default=i},c576:function(t,e,n){var i=n("24fb");e=i(!1),e.push([t.i,'@charset "UTF-8";\n/**\n * 下方引入的为uView UI的集成样式文件,为scss预处理器,其中包含了一些"u-"开头的自定义变量\n * 使用的时候,请将下面的一行复制到您的uniapp项目根目录的uni.scss中即可\n * uView自定义的css类名和scss变量,均以"u-"开头,不会造成冲突,请放心使用 \n */.u-sticky[data-v-1ef8cf66]{z-index:9999999999}',""]),t.exports=e},c62a:function(t,e,n){"use strict";var i=n("70d3"),a=n.n(i);a.a},cbc6:function(t,e,n){"use strict";n.r(e);var i=n("0357"),a=n("7c0c");for(var s in a)"default"!==s&&function(t){n.d(e,t,(function(){return a[t]}))}(s);n("b9f2");var o,c=n("f0c5"),r=Object(c["a"])(a["default"],i["b"],i["c"],!1,null,"05573061",null,!1,i["a"],o);e["default"]=r.exports},e6f9:function(t,e,n){var i=n("8b99");i.__esModule&&(i=i.default),"string"===typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals);var a=n("4f06").default;a("4b6736f5",i,!0,{sourceMap:!1,shadowMode:!1})}}]);
|