(window.webpackJsonp=window.webpackJsonp||[]).push([[173],{"1796":function(t,e,i){var n=i(6),s=i(3150);"string"==typeof(s=s.__esModule?s.default:s)&&(s=[[t.i,s,""]]);var o={"insert":"head","singleton":!1};n(s,o);t.exports=s.locals||{}},"1797":function(t,e,i){var n=i(6),s=i(3152);"string"==typeof(s=s.__esModule?s.default:s)&&(s=[[t.i,s,""]]);var o={"insert":"head","singleton":!1};n(s,o);t.exports=s.locals||{}},"3149":function(t,e,i){"use strict";i(1796)},"3150":function(t,e,i){(e=i(7)(!1)).push([t.i,".self-mention-item .text[data-v-623186f0] {\n  font-family: PingFangSC-Regular, PingFang SC;\n  font-weight: 400;\n}\n.self-mention-item[data-v-623186f0] .van-radio-group {\n  display: -webkit-flex;\n  display: -ms-flexbox;\n  display: flex;\n  -webkit-align-items: center;\n      -ms-flex-align: center;\n          align-items: center;\n  justify-items: center;\n  margin-right: 8px;\n}\n",""]),t.exports=e},"3151":function(t,e,i){"use strict";i(1797)},"3152":function(t,e,i){(e=i(7)(!1)).push([t.i,".self-mention-list[data-v-6da4e8f8] .gm-m-main-body {\n  background-color: #f5f5f5;\n  padding: 0.17067rem 0 0 0;\n}\n.self-mention-list[data-v-6da4e8f8] .gm-m-main-body .self-mention-item {\n  background-color: #fff;\n  padding: 0 0.34133rem;\n}\n.self-mention-list[data-v-6da4e8f8] .gm-m-main-body .self-mention-item .van-divider--hairline {\n  margin-bottom: -8px;\n  margin-top: -8px;\n}\n",""]),t.exports=e},"3505":function(t,e,i){"use strict";i.r(e);var n=i(768),s=i.n(n),o={"name":"self-mention-item","components":{},"props":{"selectdopList":{"type":Array,"default":function _default(){return[]}},"pickupId":{"type":String,"default":function _default(){return""}}},"data":function data(){return{"radio":"","data":"","hasClick":"","getSelectedItem":{}}},"created":function created(){this.radio=this.pickupId},"methods":{"chooseRadio":function chooseRadio(t,e){this.hasClick===t.id&&"-1"!==this.hasClick?(this.data="",this.radio="-1",this.hasClick="-1"):(this.data=t,this.radio=t.id,this.hasClick=t.id),this.$emit("choosesSelfMentionItem",this.data)}}},a=(i(3149),i(3)),r={"name":"self-mention-list","components":{"selfMentionItem":Object(a.a)(o,(function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{"staticClass":"self-mention-item"},t._l(t.selectdopList,(function(e,n){return i("div",{"key":n,"on":{"click":function(i){return t.chooseRadio(e,n)}}},[i("div",{"staticClass":"gm-m-row--flex py-24 flex align-center","staticStyle":{"border-bottom":"1px solid #F5F5F5"}},[i("van-radio-group",{"model":{"value":t.radio,"callback":function(e){t.radio=e},"expression":"radio"}},[i("van-radio",{"attrs":{"name":e.id,"checked-color":"#F19017","icon-size":"16px"}})],1),t._v(" "),i("div",{"staticClass":"ml-8"},[i("div",{"staticClass":"text-3xl text-c3 mb-8"},[t._v("\n            "+t._s(e.name)+"\n          ")]),t._v(" "),i("div",{"staticClass":"text-2xl text-c2"},[i("span",[t._v(t._s(e.linkman))]),t._v(" "),i("span",{"staticClass":"ml-2"},[t._v(t._s(e.phone))])]),t._v(" "),i("div",{"staticClass":"text-2xl text-c2"},[t._v(t._s(e.address))]),t._v(" "),e.remark?i("div",{"staticClass":"text-2xl text-c mt-8"},[t._v("备注："+t._s(e.remark))]):t._e()])],1)])})),0)}),[],!1,null,"623186f0",null).exports},"data":function data(){return{"pickupId":this.$route.query.pickupId,"shopCode":this.$route.query.shopCode,"selectdopList":[]}},"created":function created(){this.getPointlist()},"methods":{"getPointlist":function getPointlist(){var t=this,e={"shopCode":this.shopCode};this.$api.retailBusinessC.getListByShop(e).then((function(e){0===e.code&&(e.data.merchantPointInfoList.length>0?(t.selectdopList=e.data.merchantPointInfoList,t.$route.query.pickupId&&t.addSearchHistory(t.$route.query.pickupId,t.selectdopList)):(t.selectdopList=[],t.$toast("该商户未配置自提点")))}))},"addSearchHistory":function addSearchHistory(t,e){var i={};e.forEach((function(n,s){n.id===t&&(i=n,e.splice(s,1))})),e.unshift(i)},"choosesSelfMentionItem":s.a.debounce((function(t){this.$utils.PostMessage.sendMessage(this.$route.query.msgId,JSON.stringify(t)),this.$router.go(-1)}),300,{"leading":!0,"trailing":!1})}},d=(i(3151),Object(a.a)(r,(function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{"staticClass":"self-mention-list"},[i("gm-m-container",[i("gm-m-header",[i("gm-m-nav-header",{"attrs":{"slotsShow":["center"]},"scopedSlots":t._u([{"key":"dynamicsCenter","fn":function(){return[i("span",[t._v("选择自提点")])]},"proxy":!0}])})],1),t._v(" "),i("gm-m-main",[i("self-mention-item",{"attrs":{"pickupId":t.pickupId,"selectdopList":t.selectdopList},"on":{"choosesSelfMentionItem":t.choosesSelfMentionItem}})],1)],1)],1)}),[],!1,null,"6da4e8f8",null));e.default=d.exports}}]);