webpackJsonp([21],{"B+94":function(t,e){},ax5I:function(t,e,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0});a("eqfM");var i=a("/QYm"),s=a("Xxa5"),n=a.n(s),r=a("exGp"),d=a.n(r),o=(a("nI2B"),a("qWG/")),_=(a("3Lne"),a("SSsa")),l=(a("jti4"),a("uk7J")),v=(a("k3b4"),a("+2ln")),c=(a("HZGa"),a("pykS")),u=(a("X+8o"),a("iTiM")),h=(a("le1z"),a("hZxG")),p=(a("mMXg"),a("qYlo")),m=a("bOdI"),f=a.n(m),g=a("D6FL"),w={data:function(){var t;return t={level:4,dl_name:"请选择代理",dl_id:"",daili_list:[],showdaili:!1,result:[],result1:[],erji_list:99,yiji:!1,yiji_value:"请选择酒店分成比",radio:"",erji:!1,erji_value:"",radio1:"",jiudian_name:"",fileList:[],img_src:"",h1:"",h3:"",h10:"",navradio:"1",address_key:"",address_search:"请选择详细地址",address:!1,address_data:[],jd:"",wd:"",mapshow:!1,name:"",phone:"",shenfen:"",weixin:"",user_id:"",area:"请选择区域",show:!1,activeNames:!1},f()(t,"radio",""),f()(t,"data",[]),f()(t,"isshow",!1),f()(t,"value1",0),f()(t,"value2","a"),f()(t,"data_edit",{}),f()(t,"for_radio",0),t},components:{vanPopup:p.a,vanRadio:h.a,vanArea:u.a,vanRadioGroup:c.a,vanIcon:v.a,vanUploader:l.a,vanButton:_.a,vanPicker:o.a},created:function(){this.getdata()},methods:{getdata:function(){var t=this;return d()(n.a.mark(function e(){var a;return n.a.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,Object(g.v)({id:t.$route.query.id});case 2:a=e.sent,t.data_edit=a.data,t.radio=parseInt(a.data.one_level/5),t.for_radio=parseInt(a.data.fire_one_level/5),console.log(a.data);case 7:case"end":return e.stop()}},e,t)}))()},getsetin:function(){var t=this;this.data_edit.username&&this.data_edit.mobile&&this.data_edit.wx_number&&this.data_edit.hotel_name&&this.data_edit.one_level&&this.data_edit.one_hour&&this.data_edit.ten_hour&&this.data_edit.three_hour?Object(g.j)(this.data_edit).then(function(e){200==e.code?(Object(i.a)(e.data),t.$router.go(-1)):1e4==e.code&&Object(i.a)(e.msg)}):Object(i.a)("请完善入驻信息")},getyiji:function(t){this.data_edit.one_level=5*t,this.yiji=!1}},mounted:function(){}},x={render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"top"},[a("div",{staticClass:"info_wrapper"},[t._m(0),t._v(" "),a("input",{directives:[{name:"model",rawName:"v-model",value:t.data_edit.username,expression:"data_edit.username"}],attrs:{type:"text",placeholder:"请输入姓名"},domProps:{value:t.data_edit.username},on:{input:function(e){e.target.composing||t.$set(t.data_edit,"username",e.target.value)}}})]),t._v(" "),a("div",{staticClass:"info_wrapper"},[t._m(1),t._v(" "),a("input",{directives:[{name:"model",rawName:"v-model",value:t.data_edit.mobile,expression:"data_edit.mobile"}],attrs:{type:"text",placeholder:"请输入联系电话"},domProps:{value:t.data_edit.mobile},on:{input:function(e){e.target.composing||t.$set(t.data_edit,"mobile",e.target.value)}}})]),t._v(" "),a("div",{staticClass:"info_wrapper"},[t._m(2),t._v(" "),a("input",{directives:[{name:"model",rawName:"v-model",value:t.data_edit.wx_number,expression:"data_edit.wx_number"}],attrs:{type:"text",placeholder:"请输入微信号"},domProps:{value:t.data_edit.wx_number},on:{input:function(e){e.target.composing||t.$set(t.data_edit,"wx_number",e.target.value)}}})]),t._v(" "),a("div",{staticClass:"info_wrapper"},[t._m(3),t._v(" "),a("input",{directives:[{name:"model",rawName:"v-model",value:t.data_edit.hotel_name,expression:"data_edit.hotel_name"}],attrs:{type:"text",placeholder:"请输入酒店名称"},domProps:{value:t.data_edit.hotel_name},on:{input:function(e){e.target.composing||t.$set(t.data_edit,"hotel_name",e.target.value)}}})]),t._v(" "),a("div",{staticClass:"info_wrapper",on:{click:function(e){t.yiji=!0}}},[t._m(4),t._v(" "),a("div",{staticClass:"weizhi"},[a("span",[t._v(t._s(t.data_edit.one_level)+"%")])])]),t._v(" "),a("div",{staticClass:"info_wrapper"},[t._m(5),t._v(" "),a("div",[a("van-radio-group",{attrs:{id:"taocan"}},[a("van-radio",{attrs:{disabled:"",shape:"square","checked-color":"#333"}},[t._v("1 小时")]),t._v(" "),a("van-radio",{attrs:{disabled:"",shape:"square","checked-color":"#333"}},[t._v("3 小时")]),t._v(" "),a("van-radio",{attrs:{disabled:"",shape:"square","checked-color":"#333"}},[t._v("10 小时")])],1)],1)]),t._v(" "),a("div",{staticClass:"info_wrapper"},[t._m(6),t._v(" "),a("input",{directives:[{name:"model",rawName:"v-model",value:t.data_edit.one_hour,expression:"data_edit.one_hour"}],attrs:{type:"text",placeholder:"请填写1小时价格"},domProps:{value:t.data_edit.one_hour},on:{input:function(e){e.target.composing||t.$set(t.data_edit,"one_hour",e.target.value)}}})]),t._v(" "),a("div",{staticClass:"info_wrapper"},[t._m(7),t._v(" "),a("input",{directives:[{name:"model",rawName:"v-model",value:t.data_edit.three_hour,expression:"data_edit.three_hour"}],attrs:{type:"text",placeholder:"请填写1小时价格"},domProps:{value:t.data_edit.three_hour},on:{input:function(e){e.target.composing||t.$set(t.data_edit,"three_hour",e.target.value)}}})]),t._v(" "),a("div",{staticClass:"info_wrapper"},[t._m(8),t._v(" "),a("input",{directives:[{name:"model",rawName:"v-model",value:t.data_edit.ten_hour,expression:"data_edit.ten_hour"}],attrs:{type:"text",placeholder:"请填写1小时价格"},domProps:{value:t.data_edit.ten_hour},on:{input:function(e){e.target.composing||t.$set(t.data_edit,"ten_hour",e.target.value)}}})]),t._v(" "),a("div",{staticClass:"submit"},[a("button",{staticClass:"btn",on:{click:function(e){t.getsetin()}}},[t._v("提交")])]),t._v(" "),a("van-popup",{staticClass:"yiji_",style:{padding:"50px",width:"60%"},model:{value:t.yiji,callback:function(e){t.yiji=e},expression:"yiji"}},[a("div",{staticClass:"yiji"},[a("h4",{staticStyle:{"text-align":"center","margin-bottom":"10px"}},[t._v("请选择酒店分成比")]),t._v(" "),a("van-radio-group",{on:{change:t.getyiji},model:{value:t.radio,callback:function(e){t.radio=e},expression:"radio"}},t._l(t.for_radio,function(e,i){return a("van-radio",{key:i,attrs:{name:e}},[t._v(t._s(5*e)+"%")])}))],1)])],1)},staticRenderFns:[function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"name"},[e("span",[this._v("姓名")]),this._v(" "),e("span",{staticClass:"red"},[this._v("*")])])},function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"name"},[e("span",[this._v("联系电话")]),this._v(" "),e("span",{staticClass:"red"},[this._v("*")])])},function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"name"},[e("span",[this._v("微信号")]),this._v(" "),e("span",{staticClass:"red"},[this._v("*")])])},function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"name"},[e("span",[this._v("酒店名称")]),this._v(" "),e("span",{staticClass:"red"},[this._v("*")])])},function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"name"},[e("span",[this._v("酒店分成比")]),this._v(" "),e("span",{staticClass:"red"},[this._v("*")])])},function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"name c6"},[e("div",[this._v("显示套餐 ")]),this._v(" "),e("div",[this._v("( 默认 ) ")])])},function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"name"},[e("span",[this._v("1小时")]),this._v(" "),e("span",{staticClass:"red"},[this._v("*")])])},function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"name"},[e("span",[this._v("3小时")]),this._v(" "),e("span",{staticClass:"red"},[this._v("*")])])},function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"name"},[e("span",[this._v("10小时")]),this._v(" "),e("span",{staticClass:"red"},[this._v("*")])])}]};var C=a("VU/8")(w,x,!1,function(t){a("B+94")},"data-v-6e030137",null);e.default=C.exports},jti4:function(t,e,a){"use strict";var i=a("nsZj"),s=(a.n(i),a("kXkE"));a.n(s)}});
//# sourceMappingURL=21.2d9e3c831410c62966ce.js.map