You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
1 lines
15 KiB
1 lines
15 KiB
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-xiaoxi-index"],{"0fa8":function(t,i,e){"use strict";e.r(i);var a=e("7b73"),n=e("3cbf");for(var s in n)["default"].indexOf(s)<0&&function(t){e.d(i,t,(function(){return n[t]}))}(s);e("1b7b");var c=e("828b"),r=Object(c["a"])(n["default"],a["b"],a["c"],!1,null,"928a20ca",null,!1,a["a"],void 0);i["default"]=r.exports},"13d7":function(t,i,e){"use strict";e("6a54"),Object.defineProperty(i,"__esModule",{value:!0}),i.default=void 0;var a={data:function(){return{tabIndex:0,current:0,list:[{name:"消息"},{name:"好友"}],activeStyle:{fontSize:"35rpx"}}},onLoad:function(){},methods:{clearInfo:function(){uni.showModal({title:"提示",content:"确定要清空所有未读消息吗?",confirmColor:"#000",success:function(t){t.confirm&&uni.showToast({title:"清除成功"})}})},selectItem:function(t){this.tabIndex=t},changeTabs:function(t){this.current=t}}};i.default=a},"1b7b":function(t,i,e){"use strict";var a=e("3165"),n=e.n(a);n.a},"1c35f":function(t,i,e){var a=e("c86c");i=a(!1),i.push([t.i,'@charset "UTF-8";\r\n/**\r\n * 这里是uni-app内置的常用样式变量\r\n *\r\n * uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量\r\n * 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App\r\n *\r\n */\r\n/**\r\n * 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能\r\n *\r\n * 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件\r\n */\r\n/* 颜色变量 */\r\n/* 行为相关颜色 */\r\n/* 文字基本颜色 */\r\n/* 背景颜色 */\r\n/* 边框颜色 */\r\n/* 尺寸变量 */\r\n/* 文字尺寸 */\r\n/* 图片尺寸 */\r\n/* Border Radius */\r\n/* 水平间距 */\r\n/* 垂直间距 */\r\n/* 透明度 */\r\n/* 文章场景相关 */.u-navbar[data-v-928a20ca]{width:100%}.u-navbar-fixed[data-v-928a20ca]{position:fixed;left:0;right:0;top:0;z-index:991}.u-status-bar[data-v-928a20ca]{width:100%}.u-navbar-inner[data-v-928a20ca]{display:flex;flex-direction:row;justify-content:space-between;position:relative;align-items:center}.u-back-wrap[data-v-928a20ca]{display:flex;flex-direction:row;align-items:center;flex:1;flex-grow:0;padding:%?14?% %?14?% %?14?% %?24?%}.u-back-text[data-v-928a20ca]{padding-left:%?4?%;font-size:%?30?%}.u-navbar-content-title[data-v-928a20ca]{display:flex;flex-direction:row;align-items:center;justify-content:center;flex:1;position:absolute;left:0;right:0;height:%?60?%;text-align:center;flex-shrink:0}.u-navbar-centent-slot[data-v-928a20ca]{flex:1}.u-title[data-v-928a20ca]{line-height:%?60?%;font-size:%?32?%;flex:1}.u-navbar-right[data-v-928a20ca]{flex:1;display:flex;flex-direction:row;align-items:center;justify-content:flex-end}.u-slot-content[data-v-928a20ca]{flex:1;display:flex;flex-direction:row;align-items:center}',""]),t.exports=i},"1ce4":function(t,i){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACwAAAAsCAYAAAAehFoBAAAAAXNSR0IArs4c6QAABBFJREFUWEftmF1oXEUUx///uW5VRAVtLZUke2duLRJFEX3wA0FBk/oixiaCiK1frwo+KQgB+yD6JOiz31Kx2lYEsa2ggigIooha+tA7czcJkdgqWE1cWPceM8vdssT9yN3dkg3NPO0yM2d+9z9nzpk5xDprXGe8ODeBR0ZGTBAEe0leC0Ct2LVURH6uVqvTMzMzttcd7VnhoaGhCwuFwi8kdTsYEXGVSuWaubm5f3qB7hk4DMNxpdThBohjABaz/xcBGK33pWm6M0mSI2sKrLWeIrnfQ4jIq865pxqBtNavkHwy63/AOffBWgNPkqxBkLw/juNDjUBRFE2IyMEMeMo59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var a=e("1c35f");a.__esModule&&(a=a.default),"string"===typeof a&&(a=[[t.i,a,""]]),a.locals&&(t.exports=a.locals);var n=e("967d").default;n("198497b1",a,!0,{sourceMap:!1,shadowMode:!1})},"3cbf":function(t,i,e){"use strict";e.r(i);var a=e("e518"),n=e.n(a);for(var s in a)["default"].indexOf(s)<0&&function(t){e.d(i,t,(function(){return a[t]}))}(s);i["default"]=n.a},"421b":function(t,i,e){"use strict";e.r(i);var a=e("13d7"),n=e.n(a);for(var s in a)["default"].indexOf(s)<0&&function(t){e.d(i,t,(function(){return a[t]}))}(s);i["default"]=n.a},"58cf":function(t,i,e){t.exports=e.p+"static/nan.png"},"67fd":function(t,i,e){t.exports=e.p+"static/dashan.png"},"7b73":function(t,i,e){"use strict";e.d(i,"b",(function(){return n})),e.d(i,"c",(function(){return s})),e.d(i,"a",(function(){return a}));var a={uIcon:e("c5fa").default},n=function(){var t=this,i=t.$createElement,e=t._self._c||i;return e("v-uni-view",{},[e("v-uni-view",{staticClass:"u-navbar",class:{"u-navbar-fixed":t.isFixed,"u-border-bottom":t.borderBottom},style:[t.navbarStyle]},[e("v-uni-view",{staticClass:"u-status-bar",style:{height:t.statusBarHeight+"px"}}),e("v-uni-view",{staticClass:"u-navbar-inner",style:[t.navbarInnerStyle]},[t.isBack?e("v-uni-view",{staticClass:"u-back-wrap",on:{click:function(i){arguments[0]=i=t.$handleEvent(i),t.goBack.apply(void 0,arguments)}}},[e("v-uni-view",{staticClass:"u-icon-wrap"},[e("u-icon",{attrs:{name:t.backIconName,color:t.backIconColor,size:t.backIconSize}})],1),t.backText?e("v-uni-view",{staticClass:"u-icon-wrap u-back-text u-line-1",style:[t.backTextStyle]},[t._v(t._s(t.backText))]):t._e()],1):t._e(),t.title?e("v-uni-view",{staticClass:"u-navbar-content-title",style:[t.titleStyle]},[e("v-uni-view",{staticClass:"u-title u-line-1",style:{color:t.titleColor,fontSize:t.titleSize+"rpx",fontWeight:t.titleBold?"bold":"normal"}},[t._v(t._s(t.title))])],1):t._e(),e("v-uni-view",{staticClass:"u-slot-content"},[t._t("default")],2),e("v-uni-view",{staticClass:"u-slot-right"},[t._t("right")],2)],1)],1),t.isFixed&&!t.immersive?e("v-uni-view",{staticClass:"u-navbar-placeholder",style:{width:"100%",height:Number(t.navbarHeight)+t.statusBarHeight+"px"}}):t._e()],1)},s=[]},"7e14":function(t,i,e){var a=e("b301");a.__esModule&&(a=a.default),"string"===typeof a&&(a=[[t.i,a,""]]),a.locals&&(t.exports=a.locals);var n=e("967d").default;n("40408ea5",a,!0,{sourceMap:!1,shadowMode:!1})},"836a":function(t,i,e){"use strict";var a=e("7e14"),n=e.n(a);n.a},"893e":function(t,i,e){"use strict";e.d(i,"b",(function(){return n})),e.d(i,"c",(function(){return s})),e.d(i,"a",(function(){return a}));var a={uNavbar:e("0fa8").default,uTabs:e("f5d2").default},n=function(){var t=this,i=t.$createElement,a=t._self._c||i;return a("v-uni-view",{staticClass:"xiaoxi"},[a("v-uni-view",{staticClass:"xiaoxi-navbar"},[a("u-navbar",{attrs:{"is-back":!1,title:"消息"}},[a("v-uni-view",{attrs:{slot:"right"},slot:"right"},[a("v-uni-view",{staticClass:"search",on:{click:function(i){arguments[0]=i=t.$handleEvent(i),t.clearInfo()}}},[a("v-uni-image",{attrs:{src:e("1ce4")}})],1)],1)],1)],1),a("v-uni-view",{staticClass:"xiaoxi-tab"},[a("v-uni-view",{staticClass:"tab"},[a("u-tabs",{attrs:{list:t.list,"bg-color":"transparent","is-scroll":!1,"active-color":"#222222","inactive-color":"#666666","font-size":"30","active-item-style":t.activeStyle,"bar-height":"10","bar-width":"60"},on:{change:function(i){arguments[0]=i=t.$handleEvent(i),t.changeTabs.apply(void 0,arguments)}},model:{value:t.current,callback:function(i){t.current=i},expression:"current"}})],1)],1),1==t.current?a("v-uni-view",{staticClass:"xiaoxi-select"},[a("v-uni-view",{staticClass:"select"},[a("v-uni-view",{staticClass:"item",class:0==t.tabIndex?"item-on":"",on:{click:function(i){arguments[0]=i=t.$handleEvent(i),t.selectItem(0)}}},[t._v("好友")]),a("v-uni-view",{staticClass:"item",class:1==t.tabIndex?"item-on":"",on:{click:function(i){arguments[0]=i=t.$handleEvent(i),t.selectItem(1)}}},[t._v("关注")]),a("v-uni-view",{staticClass:"item",class:2==t.tabIndex?"item-on":"",on:{click:function(i){arguments[0]=i=t.$handleEvent(i),t.selectItem(2)}}},[t._v("粉丝")])],1)],1):t._e(),a("v-uni-view",{staticClass:"xiaoxi-list"},[0==t.current?a("v-uni-view",{staticClass:"item"},[a("v-uni-view",{staticClass:"pic"},[a("v-uni-image",{attrs:{src:e("67fd")}})],1),a("v-uni-view",{staticClass:"info"},[a("v-uni-view",{staticClass:"name"},[t._v("搭讪消息"),a("v-uni-text",[t._v("晚上9:50")])],1),a("v-uni-view",{staticClass:"desc"},[t._v("上学和工作,哪个更快来呢?上学的...")])],1)],1):t._e(),0==t.current?a("v-uni-view",{staticClass:"item"},[a("v-uni-view",{staticClass:"pic"},[a("v-uni-image",{attrs:{src:e("b168")}})],1),a("v-uni-view",{staticClass:"info"},[a("v-uni-view",{staticClass:"name"},[t._v("系统消息"),a("v-uni-text",[t._v("晚上9:50")])],1),a("v-uni-view",{staticClass:"desc"},[t._v("明天再见喽!")])],1)],1):t._e(),a("v-uni-view",{staticClass:"item"},[a("v-uni-view",{staticClass:"pic"},[a("v-uni-image",{attrs:{src:e("dbe8")}})],1),a("v-uni-view",{staticClass:"info"},[a("v-uni-view",{staticClass:"name"},[t._v("谁看过我"),a("v-uni-text",[t._v("晚上9:50")])],1),a("v-uni-view",{staticClass:"desc"},[t._v("对你感兴趣的人一直默默关注你")])],1)],1),a("v-uni-view",{staticClass:"item"},[a("v-uni-view",{staticClass:"pic"},[a("v-uni-image",{attrs:{src:e("58cf")}}),a("v-uni-view",{staticClass:"num"},[t._v("30")])],1),a("v-uni-view",{staticClass:"info"},[a("v-uni-view",{staticClass:"name"},[t._v("李同学"),a("v-uni-text",[t._v("晚上9:50")])],1),a("v-uni-view",{staticClass:"desc"},[t._v("在么?")])],1)],1)],1)],1)},s=[]},a3ea:function(t,i,e){"use strict";e.r(i);var a=e("893e"),n=e("421b");for(var s in n)["default"].indexOf(s)<0&&function(t){e.d(i,t,(function(){return n[t]}))}(s);e("836a");var c=e("828b"),r=Object(c["a"])(n["default"],a["b"],a["c"],!1,null,"7ca6671f",null,!1,a["a"],void 0);i["default"]=r.exports},b168:function(t,i,e){t.exports=e.p+"static/xitong.png"},b301:function(t,i,e){var a=e("c86c");i=a(!1),i.push([t.i,'@charset "UTF-8";\r\n/**\r\n * 这里是uni-app内置的常用样式变量\r\n *\r\n * uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量\r\n * 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App\r\n *\r\n */\r\n/**\r\n * 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能\r\n *\r\n * 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件\r\n */\r\n/* 颜色变量 */\r\n/* 行为相关颜色 */\r\n/* 文字基本颜色 */\r\n/* 背景颜色 */\r\n/* 边框颜色 */\r\n/* 尺寸变量 */\r\n/* 文字尺寸 */\r\n/* 图片尺寸 */\r\n/* Border Radius */\r\n/* 水平间距 */\r\n/* 垂直间距 */\r\n/* 透明度 */\r\n/* 文章场景相关 */uni-page-body[data-v-7ca6671f]{background-color:#fff}body.?%PAGE?%[data-v-7ca6671f]{background-color:#fff}.xiaoxi[data-v-7ca6671f]{overflow:hidden}.xiaoxi-navbar uni-image[data-v-7ca6671f]{width:%?45?%;height:%?45?%;margin-right:%?30?%}.xiaoxi-tab[data-v-7ca6671f]{display:flex;margin-top:%?10?%;overflow:hidden}.xiaoxi-tab .tab[data-v-7ca6671f]{width:%?250?%}.xiaoxi-select[data-v-7ca6671f]{padding:%?20?% %?25?%;overflow:hidden}.xiaoxi-select .select[data-v-7ca6671f]{display:flex;justify-content:center;border-radius:%?20?%;border:1px solid #ccc;overflow:hidden}.xiaoxi-select .select .item[data-v-7ca6671f]{flex:1;text-align:center;line-height:%?80?%;border-left:1px solid #ccc}.xiaoxi-select .select .item[data-v-7ca6671f]:first-child{border-left-color:#fff}.xiaoxi-select .select .item-on[data-v-7ca6671f]{background-color:#000;color:#fff}.xiaoxi-select .select .item-on[data-v-7ca6671f]:first-child{border-left-color:#000}.xiaoxi-list[data-v-7ca6671f]{padding:0 %?25?% %?25?%;overflow:hidden}.xiaoxi-list .item[data-v-7ca6671f]{display:flex;align-items:center}.xiaoxi-list .item .pic[data-v-7ca6671f]{width:%?90?%;height:%?90?%;margin-right:%?20?%;position:relative}.xiaoxi-list .item .pic .num[data-v-7ca6671f]{width:%?30?%;height:%?30?%;line-height:%?30?%;background:#fc2c2c;border-radius:50%;font-weight:500;font-size:%?18?%;color:#fff;text-align:center;position:absolute;right:0;top:0;z-index:2}.xiaoxi-list .item .pic uni-image[data-v-7ca6671f]{width:100%;height:100%;border-radius:50%}.xiaoxi-list .item .info[data-v-7ca6671f]{padding:%?30?% 0;flex:1;border-bottom:1px solid #eaeaea}.xiaoxi-list .item .info .name[data-v-7ca6671f]{font-weight:400;font-size:%?30?%;color:#222}.xiaoxi-list .item .info .name uni-text[data-v-7ca6671f]{float:right;font-weight:400;font-size:%?24?%;color:#aaa}.xiaoxi-list .item .info .desc[data-v-7ca6671f]{font-weight:400;font-size:%?24?%;color:#aaa;margin-top:%?15?%}',""]),t.exports=i},dbe8:function(t,i,e){t.exports=e.p+"static/kan.png"},e518:function(t,i,e){"use strict";e("6a54"),Object.defineProperty(i,"__esModule",{value:!0}),i.default=void 0,e("64aa");var a=uni.getSystemInfoSync(),n={},s={name:"u-navbar",props:{height:{type:[String,Number],default:""},backIconColor:{type:String,default:"#606266"},backIconName:{type:String,default:"nav-back"},backIconSize:{type:[String,Number],default:"44"},backText:{type:String,default:""},backTextStyle:{type:Object,default:function(){return{color:"#606266"}}},title:{type:String,default:""},titleWidth:{type:[String,Number],default:"250"},titleColor:{type:String,default:"#606266"},titleBold:{type:Boolean,default:!1},titleSize:{type:[String,Number],default:32},isBack:{type:[Boolean,String],default:!0},background:{type:Object,default:function(){return{background:"#ffffff"}}},isFixed:{type:Boolean,default:!0},immersive:{type:Boolean,default:!1},borderBottom:{type:Boolean,default:!0},zIndex:{type:[String,Number],default:""},customBack:{type:Function,default:null}},data:function(){return{menuButtonInfo:n,statusBarHeight:a.statusBarHeight}},computed:{navbarInnerStyle:function(){var t={};return t.height=this.navbarHeight+"px",t},navbarStyle:function(){var t={};return t.zIndex=this.zIndex?this.zIndex:this.$u.zIndex.navbar,Object.assign(t,this.background),t},titleStyle:function(){var t={};return t.left=(a.windowWidth-uni.upx2px(this.titleWidth))/2+"px",t.right=(a.windowWidth-uni.upx2px(this.titleWidth))/2+"px",t.width=uni.upx2px(this.titleWidth)+"px",t},navbarHeight:function(){return this.height?this.height:44}},created:function(){},methods:{goBack:function(){"function"===typeof this.customBack?this.customBack.bind(this.$u.$parent.call(this))():uni.navigateBack()}}};i.default=s}}]); |