bztang-admin/addons/yun_shop/static/app/js/chunk-0d612be1.237d62b7.js

1 line
9.5 KiB
JavaScript
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-0d612be1"],{"55e9":function(e,t,i){var a=i("cbf8");a.__esModule&&(a=a.default),"string"===typeof a&&(a=[[e.i,a,""]]),a.locals&&(e.exports=a.locals);var r=i("499e").default;r("4bc35ba2",a,!0,{sourceMap:!1,shadowMode:!1})},b0cf:function(e,t,i){"use strict";i("55e9")},cbf8:function(e,t,i){var a=i("24fb");t=a(!1),t.push([e.i,'#circleIntroduce[data-v-7266e9ba]{padding-bottom:3.6rem}#circleIntroduce .header[data-v-7266e9ba]{width:100%;height:6.5625rem;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;padding-top:1.375rem;padding-left:.9688rem;background-image:-webkit-gradient(linear,left bottom,left top,from(#709cf6),to(#3175fe));background-image:-webkit-linear-gradient(bottom,#709cf6,#3175fe);background-image:linear-gradient(0deg,#709cf6,#3175fe);position:relative}#circleIntroduce .header .face img[data-v-7266e9ba]{width:3.75rem;height:3.75rem;border-radius:50%;background-color:#03a3a3}#circleIntroduce .header .desc[data-v-7266e9ba]{padding-left:.6875rem;color:#fff;text-align:left}#circleIntroduce .header .desc .name[data-v-7266e9ba]{font-size:.9375rem}#circleIntroduce .header .desc .label[data-v-7266e9ba]{padding:0 .5rem;min-width:2.8125rem;height:1.3125rem;background-color:#8fb2f8;border-radius:.6563rem;display:-webkit-inline-box;display:-webkit-inline-flex;display:-ms-inline-flexbox;display:inline-flex;-webkit-box-align:center;-webkit-align-items:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-webkit-justify-content:center;-ms-flex-pack:center;justify-content:center;margin-top:.625rem}#circleIntroduce .tabs[data-v-7266e9ba]{margin-top:.625rem;background:#fff;padding:.863rem .969rem .5rem}#circleIntroduce .tabs[data-v-7266e9ba],#circleIntroduce .tabs .tabItem[data-v-7266e9ba]{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex}#circleIntroduce .tabs .tabItem[data-v-7266e9ba]{font-size:.813rem;font-weight:700;color:#666}#circleIntroduce .tabs .tabItem.active[data-v-7266e9ba]{font-size:1rem;color:#3175fe;position:relative}#circleIntroduce .tabs .tabItem.active[data-v-7266e9ba]:after{content:"";display:block;width:1.25rem;height:.188rem;background-color:#3175fe;border-radius:.094rem;position:absolute;bottom:-.4rem;left:50%;-webkit-transform:translateX(-50%);transform:translateX(-50%)}#circleIntroduce .introduce[data-v-7266e9ba]{background:#fff;font-size:.8125rem;font-weight:700;color:#575757;padding:.9375rem .9063rem 1rem .9063rem;text-align:left}#circleIntroduce .userList[data-v-7266e9ba]{padding-top:.625rem;background:#fff}#circleIntroduce .userList .userItem[data-v-7266e9ba]{height:4.25rem;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-align:center;-webkit-align-items:center;-ms-flex-align:center;align-items:center;padding:0 .9375rem}#circleIntroduce .userList .userItem .face img[data-v-7266e9ba]{width:2.1875rem;height:2.1875rem;border-radius:50%;background-color:#cfcfcf}#circleIntroduce .userList .userItem .desc[data-v-7266e9ba]{padding-left:.5938rem;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-align:center;-webkit-align-items:center;-ms-flex-align:center;align-items:center;-webkit-box-flex:1;-webkit-flex:1;-ms-flex:1;flex:1}#circleIntroduce .userList .userItem .desc .name[data-v-7266e9ba]{font-size:.9375rem;font-weight:700;color:#202020}#circleIntroduce .userList .userItem .desc .label[data-v-7266e9ba]{margin-left:.375rem;width:1.9688rem;height:1rem;background-color:#fac337;border-radius:.125rem;font-size:.625rem}#circleIntroduce .userList .userItem .btns .btn[data-v-7266e9ba],#circleIntroduce .userList .userItem .desc .label[data-v-7266e9ba]{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;color:#fff;-webkit-box-align:center;-webkit-align-items:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-webkit-justify-content:center;-ms-flex-pack:center;justify-content:center;font-weight:700}#circleIntroduce .userList .userItem .btns .btn[data-v-7266e9ba]{width:3.75rem;height:1.5625rem;font-size:.6875rem;border-radius:.7813rem;-webkit-flex-wrap:nowrap;-ms-flex-wrap:nowrap;flex-wrap:nowrap;background-color:#3175fe}#circleIntroduce .userList .userItem .btns .btn.status1[data-v-7266e9ba]{color:#3175fe;background:none;border:.03rem solid #3175fe}#circleIntroduce .sumbit[data-v-7266e9ba]{position:fixed;width:19.13rem;height:2.5rem;background-color:#3175fe;border-radius:1.25rem;text-align:center;font-size:.938rem;font-weight:400;font-stretch:normal;line-height:2.5rem;letter-spacing:0;color:#fff;bottom:1.03rem;left:0;right:0;margin:0 auto}#circleIntroduce .affirmBox[data-v-7266e9ba]{width:20rem;height:11.25rem;background-color:#fff;border-radius:.13rem}#circleIntroduce .affirmBox .van-dialog__message[data-v-7266e9ba]{width:12.69rem;height:.75rem;font-size:.75rem;font-weight:400;font-stretch:normal;line-height:1.13rem;letter-spacing:0;color:#f14e4e}',""]),e.exports=t},ed6f7:function(e,t,i){"use strict";i.r(t);var a=function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("div",{attrs:{id:"circleIntroduce"}},[i("c-title",{attrs:{hide:!1,text:"圈子简介"}}),i("div",{staticClass:"header"},[i("div",{staticClass:"face"},[i("img",{attrs:{src:e.circle_img}})]),i("div",{staticClass:"desc"},[i("div",{staticClass:"name"},[e._v(e._s(e.circle_name))]),i("div",{staticClass:"label"},[e._v(e._s(e.category_name))])])]),i("div",{staticClass:"tabs",on:{click:e.swtichTab}},[i("div",{staticClass:"tabItem",class:"introduce"==e.currentShowTab?"active":"",attrs:{"data-name":"introduce"}},[e._v("简介")]),i("div",{staticClass:"tabItem",class:"members"==e.currentShowTab?"active":"",staticStyle:{"margin-left":"1.59rem"},attrs:{"data-name":"members"}},[e._v("成员("+e._s(e.member_count)+")")])]),i("div",{directives:[{name:"show",rawName:"v-show",value:"introduce"==e.currentShowTab,expression:"currentShowTab=='introduce'"}],staticClass:"introduce"},[e._v(e._s(e.synopsis))]),e.circleInfo.is_open_member?i("d-list",{directives:[{name:"show",rawName:"v-show",value:"members"==e.currentShowTab,expression:"currentShowTab=='members'"}],attrs:{finished:e.membersPagination.finished,loading:e.membersPagination.loading},on:{load:e.getMembers}},[i("div",{staticClass:"userList"},e._l(e.members,(function(t,a){return i("div",{key:a,staticClass:"userItem"},[i("div",{staticClass:"face"},[i("img",{attrs:{src:t.header_img}})]),i("div",{staticClass:"desc"},[i("div",{staticClass:"name"},[e._v(e._s(t.name))]),1==t.circle_master?i("div",{staticClass:"label"},[e._v("群主")]):e._e()]),i("div",{staticClass:"btns"},[i("div",{class:{btn:!0,status1:1==t.is_attention},on:{click:function(t){return e.attentionMember(a)}}},[e._v(e._s(t.is_attention?"已关注":"关注"))])])])})),0)]):i("div",{directives:[{name:"show",rawName:"v-show",value:!e.show,expression:"!show"}],staticClass:"userList"},[e._v("圈主未开放成员列表~")]),i("div",{staticClass:"sumbit",on:{click:e.dispatchJoinQuit}},[e._v(e._s(e.circleJoinOfQuitText))])],1)},r=[],n=i("2909"),c=(i("e17f"),i("2241")),s=(i("e7e5"),i("d399")),o=(i("b0c0"),i("14d9"),i("94b4")),l={data:function(){return{circleInfo:{},list:[],show:!0,reveal:!1,bg_img:"",category_name:"",synopsis:"",member_count:"",circle_name:"",id:"",currentShowTab:"introduce",members:[],membersPagination:{loading:!1,finished:!1,page:1}}},computed:{circleJoinOfQuitText:function(){return this.circleInfo.is_exist?"退出圈子":this.circleInfo.is_toll?"加入圈子(申请费用¥".concat(this.circleInfo.price,""):"加入圈子"}},activated:function(){this.getData()},methods:{getData:function(){var e=this;$http.get("plugin.circle.frontend.circle.get-circle",{circle_id:this.$route.query.id},"").then((function(t){1!==t.result?Object(s["a"])(t.msg):(e.circleInfo=t.data,e.circle_img=t.data.circle_img,e.bg_img=t.data.bg_img,e.category_name=t.data.category_name,e.synopsis=t.data.synopsis,e.member_count=t.data.member,e.circle_name=t.data.name,e.id=t.data.id)}),(function(e){Object(s["a"])(e)})).catch((function(e){}))},attentionMember:function(e){var t=this.members[e],i="plugin.circle.frontend.circle-member.attention-member";t.is_attention&&(i="plugin.circle.frontend.circle-member.cancel-attention"),$http.post(i,{attention_member_id:t.member_id}).then((function(e){var i=e.msg,a=e.result;1==a&&(t.is_attention=!t.is_attention),Object(s["a"])(i)}))},dispatchJoinQuit:function(){this.circleInfo.is_exist?this.quitCircle():this.joinCircle()},joinCircle:function(){},quitCircle:function(){var e=this;c["a"].confirm({title:"是否确认退出该圈子",message:"注:付费圈子退出后再次去圈子需交费"}).then((function(t){$http.post("plugin.circle.frontend.circle.quit-circle",{circle_id:e.circleInfo.id}).then((function(t){var i=t.result,a=t.msg;0!=i&&-1==a.indexOf("自己创建的")?e.$router.push(e.fun.getUrl("circleIndex")):Object(s["a"])(a)}))}))},getMembers:function(){var e=this;"members"===this.currentShowTab&&$http.get("plugin.circle.frontend.circle-member.get-circle-memberList",{circle_id:this.id,page:this.membersPagination.page,is_review:1}).then((function(t){var i,a=t.result,r=t.data,c=t.msg;0!=a?((r.last_page==r.current_page||r.per_page>r.data.length)&&(e.membersPagination.finished=!0),e.membersPagination.page++,(i=e.members).push.apply(i,Object(n["a"])(r.data)),e.membersPagination.loading=!0):Object(s["a"])(c)}))},swtichTab:function(e){var t=e.target.dataset;t.name&&(this.currentShowTab=t.name,(t.name=0==this.members.length)&&this.getMembers())}},components:{DList:o["a"]}},d=l,m=d,b=(i("b0cf"),i("2877")),f=Object(b["a"])(m,a,r,!1,null,"7266e9ba",null);t["default"]=f.exports}}]);