1 |
- (window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-dwbsChat-dwbsChat"],{"1de5":function(t,e,i){"use strict";t.exports=function(t,e){return e||(e={}),t=t&&t.__esModule?t.default:t,"string"!==typeof t?t:(/^['"].*['"]$/.test(t)&&(t=t.slice(1,-1)),e.hash&&(t+=e.hash),/["'() \t\n]/.test(t)||e.needQuotes?'"'.concat(t.replace(/"/g,'\\"').replace(/\n/g,"\\n"),'"'):t)}},"41d1":function(t,e,i){var n=i("860b");n.__esModule&&(n=n.default),"string"===typeof n&&(n=[[t.i,n,""]]),n.locals&&(t.exports=n.locals);var a=i("4f06").default;a("3364023f",n,!0,{sourceMap:!1,shadowMode:!1})},"503c":function(t,e,i){t.exports=i.p+"static/img/bg2.c798fa83.png"},"7b32":function(t,e,i){"use strict";i.d(e,"b",(function(){return n})),i.d(e,"c",(function(){return a})),i.d(e,"a",(function(){}));var n=function(){var t=this.$createElement,e=this._self._c||t;return e("v-uni-view",[e("div",[this._v("跳转中...")])])},a=[]},"860b":function(t,e,i){var n=i("24fb"),a=i("1de5"),d=i("f360"),o=i("503c");e=n(!1);var r=a(d),c=a(o);e.push([t.i,'@charset "UTF-8";.app-item[data-v-6c8d62d4]{display:flex;align-items:center;justify-content:center;flex-direction:row;font-size:%?32?%;position:relative;background:#fff;box-sizing:border-box;min-height:%?90?%;justify-content:space-between;padding:0 %?30?%;margin-bottom:%?2?%}.app-item.item-space[data-v-6c8d62d4]{margin-top:%?10?%}.app-item uni-input[data-v-6c8d62d4], .app-item uni-picker[data-v-6c8d62d4], .app-item uni-textarea[data-v-6c8d62d4]{height:100%;width:%?521?%;font-size:%?26?%;text-align:left;color:#999}.kingkong[data-v-6c8d62d4]{height:%?346?%;margin-top:%?10?%}.kingkong uni-navigator[data-v-6c8d62d4]{width:25%;height:50%;float:left;display:flex;align-items:center;flex-direction:column}.kingkong uni-navigator uni-image[data-v-6c8d62d4]{width:%?88?%;height:%?88?%;margin-top:%?30?%;border-radius:50%}.kingkong uni-navigator uni-text[data-v-6c8d62d4]{font-size:%?32?%;margin-top:%?12?%}.big-btn[data-v-6c8d62d4]{display:flex;align-items:center;justify-content:center;flex-direction:row;width:%?630?%;height:%?88?%;font-size:%?34?%;margin:%?88?% auto 0;border-radius:%?44?%;color:#f76454;border:2px solid #f76454}.big-btn.bg[data-v-6c8d62d4]{color:#fff;background:#f76454}.small-btn[data-v-6c8d62d4]{display:flex;align-items:center;justify-content:center;flex-direction:row;padding:0 %?14?%;font-size:%?26?%;margin-left:%?10?%;color:#f76454;height:%?48?%!important;min-width:%?106?%!important;border:%?2?% solid #f76454}.small-btn.dank[data-v-6c8d62d4]{color:#999;border-color:#999}.login-btn[data-v-6c8d62d4]{flex:1;width:100%;height:100%;background:#fff}.login-btn uni-navigator[data-v-6c8d62d4]{display:flex;align-items:center;justify-content:center;flex-direction:row;top:50%;left:50%;width:%?400?%;height:%?88?%;color:#fff;position:fixed;font-size:%?32?%;border-radius:%?10?%;background:#f76454;-webkit-transform:translate(-50%,-50%);transform:translate(-50%,-50%)}.ellipsis[data-v-6c8d62d4]{overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.icon-right[data-v-6c8d62d4]{margin-right:%?20?%}.border-right[data-v-6c8d62d4]{border-right:%?1?% solid #f2f2f2}.level-name[data-v-6c8d62d4]{display:flex;align-items:center;justify-content:center;flex-direction:row;width:%?130?%;height:%?36?%;color:#fff;font-size:%?16?%!important;border-radius:%?18?%;background:#f76454}.level-name .cuIcon-crownfill[data-v-6c8d62d4]{margin-right:%?6?%}.position-center[data-v-6c8d62d4]{left:50%;top:50%;position:absolute;-webkit-transform:translate(-50%,-50%);transform:translate(-50%,-50%)}.data-card[data-v-6c8d62d4]{display:flex;align-items:center;justify-content:center;flex-direction:row;width:100%;height:%?336?%;position:relative;background:#f2f2f2}.data-card uni-image[data-v-6c8d62d4]{z-index:0;width:%?706?%;height:%?316?%}.data-card .data-card-text[data-v-6c8d62d4]{width:100%;height:100%;display:flex;align-items:center;justify-content:center;flex-direction:column}.data-card .data-card-text .text[data-v-6c8d62d4]{color:#fff;font-size:%?32?%}.data-card .data-card-text .num[data-v-6c8d62d4]{color:#fff;font-size:%?70?%;margin-top:%?60?%}.basecolor[data-v-6c8d62d4]{color:#f76454}.swiper-nav[data-v-6c8d62d4]{display:flex;align-items:center;justify-content:center;flex-direction:row;width:100%;height:%?84?%;color:#666;font-size:%?32?%;position:relative;background:#fff;box-sizing:border-box;border-bottom:%?1?% solid #f2f2f2}.swiper-nav .item[data-v-6c8d62d4]{display:flex;align-items:center;justify-content:center;flex-direction:row;flex:1;height:100%}.swiper-nav .item.active[data-v-6c8d62d4]{color:#f76454}.swiper-nav .moveBar[data-v-6c8d62d4]{display:flex;align-items:center;justify-content:center;flex-direction:row;bottom:0;height:%?6?%;position:absolute}.swiper-nav .moveBar > uni-text[data-v-6c8d62d4]{width:100%;height:100%;border-radius:%?3?%;background:#f76454}.swiper-area[data-v-6c8d62d4]{flex:1;width:100%}.swiper-area uni-swiper[data-v-6c8d62d4]{width:100%;height:100%}.article-header[data-v-6c8d62d4]{display:flex;align-items:center;justify-content:center;flex-direction:row;height:%?120?%;justify-content:space-between;border-bottom:%?1?% solid #f2f2f2}.article-header .head-pic[data-v-6c8d62d4]{width:%?80?%;height:%?80?%;border-radius:50%}.article-header .name[data-v-6c8d62d4]{display:flex;align-items:center;justify-content:center;flex-direction:row;flex:1;height:100%;margin-left:%?20?%;justify-content:flex-start}.article-header .name .identity[data-v-6c8d62d4]{display:flex;align-items:center;justify-content:center;flex-direction:row;width:%?56?%;height:%?28?%;color:#fff;font-size:%?20?%;margin-left:%?20?%;border-radius:%?8?%;background:#f76454}.article-header .time[data-v-6c8d62d4]{font-size:%?24?%;color:#999}.article-header .time.justnow[data-v-6c8d62d4]{color:#f76454}.article-footer[data-v-6c8d62d4]{display:flex;align-items:center;justify-content:center;flex-direction:row;height:%?90?%;border-top:%?1?% solid #f2f2f2}.article-footer .footer-item[data-v-6c8d62d4]{display:flex;align-items:center;justify-content:center;flex-direction:row;flex:1;height:%?40?%}.article-footer .footer-item.center[data-v-6c8d62d4]{border-left:%?1?% solid #ccc;border-right:%?1?% solid #ccc}.article-footer .footer-item .icon-right[data-v-6c8d62d4]{font-size:%?40?%}.article-footer .footer-item .icon-right.fill[data-v-6c8d62d4]{color:#f76454}\n/*主题色及按钮渐变背景*/\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 */\n/* 颜色变量 */\n/* 行为相关颜色 */\n/* 文字基本颜色 */\n/* 背景颜色 */\n/* 边框颜色 */\n/* 尺寸变量 */\n/* 文字尺寸 */\n/* 图片尺寸 */\n/* Border Radius */\n/* 水平间距 */\n/* 垂直间距 */\n/* 透明度 */\n/* 文章场景相关 */.course[data-v-6c8d62d4]{width:100%;margin:0 auto;min-height:100%;background:#fff}.card[data-v-6c8d62d4]{width:%?702?%;margin:%?30?% auto 0}.card .card_item[data-v-6c8d62d4]{width:%?340?%;height:%?168?%;background:url('+r+") no-repeat;background-size:100% 100%}.card .card_item uni-view[data-v-6c8d62d4]{font-size:%?34?%;color:#fff;margin-left:%?16?%;margin-top:%?-10?%}.card .card_item[data-v-6c8d62d4]:last-child{background:url("+c+") no-repeat;background-size:100% 100%}.list[data-v-6c8d62d4]{width:%?702?%;margin:0 auto}.list .title[data-v-6c8d62d4]{border-bottom:%?2?% solid #eee;padding:%?30?% 0}.list .title uni-view[data-v-6c8d62d4]{font-size:%?36?%;font-weight:700}.list .title uni-text[data-v-6c8d62d4]{font-size:%?32?%}.list .list_con[data-v-6c8d62d4]{height:%?106?%;border-bottom:%?2?% solid #eee}.list .list_con .chat-icon[data-v-6c8d62d4]{color:#fb231f;margin-left:%?28?%}.list .list_con .name[data-v-6c8d62d4]{font-size:%?36?%;font-weight:700}",""]),t.exports=e},"9bfd":function(t,e,i){"use strict";i.r(e);var n=i("7b32"),a=i("9d62");for(var d in a)["default"].indexOf(d)<0&&function(t){i.d(e,t,(function(){return a[t]}))}(d);i("f540");var o=i("f0c5"),r=Object(o["a"])(a["default"],n["b"],n["c"],!1,null,"6c8d62d4",null,!1,n["a"],void 0);e["default"]=r.exports},"9d62":function(t,e,i){"use strict";i.r(e);var n=i("e401"),a=i.n(n);for(var d in n)["default"].indexOf(d)<0&&function(t){i.d(e,t,(function(){return n[t]}))}(d);e["default"]=a.a},e401:function(t,e,i){"use strict";i("7a82"),Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,i("99af");var n=i("24d3"),a={data:function(){return{}},onLoad:function(t){var e=this,i=this.$store.state.app.token,a=this.$store.state.userinfo;"dwbsChat"==t&&(0,n._API_GetUserStatus)().then((function(t){if(200===t.code){if(1==t.data.user_type){var i=e;return void uni.showModal({content:"抱歉,您没有权限进入系统",showCancel:!1,success:function(t){t.confirm&&(i.$store.commit("app/LOGOUT"),i.toWxchatLogin("/pages/login-reg/login-reg",null))}})}window.location.href="http://s-chat.cliu.cc?phone=".concat(t.data.mobile)}else uni.showModal({content:"获取信息失败",showCancel:!1,success:function(t){t.confirm&&uni.reLaunch({url:"../index/index"})}})})),i&&a?window.location.href="http://s-chat.cliu.cc?phone=".concat(a.mobile):this.toWxchatLogin("/pages/login-reg/login-reg?type=dwbsChat",null)},methods:{toWxchatLogin:function(t,e){var i=this;t=t||"/pages/index/index",e=e||"cli";var n=encodeURIComponent("".concat(this.$config.redirect_uri,"/api/gzh#").concat(t));(function(){window.location.href="".concat(i.$config.wxURL,"?appid=").concat(i.$config.appid,"&redirect_uri=").concat(n,"&response_type=code&scope=snsapi_userinfo&state=").concat(e,"#wechat_redirect")})()}}};e.default=a},f360:function(t,e,i){t.exports=i.p+"static/img/bg1.1d2c2719.png"},f540:function(t,e,i){"use strict";var n=i("41d1"),a=i.n(n);a.a}}]);
|