pages-user-joinMedia.70dccc8c.js 6.7 KB

1
  1. (window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-user-joinMedia"],{"17b1":function(t,e,a){"use strict";var n=a("ee27");Object.defineProperty(e,"__esModule",{value:!0}),e.orderData=r,e.changeInformation=o,e.enterprise=u,e.getUserInfo=d,e.spreadBanner=s,e.getAddressList=l,e.addressEdit=c,e.addressDel=f,e.setAddressDefault=p,e.getCartList=h,e.getCartNum=v,e.cartDel=m,e.getcollectList=b,e.delcollect=g,e.spread=w,e.stylelist=y,e.postlist=x,e.joinSubmit=k,e.auth=_,e.subscribe=C,e.enDetails=E,e.my_reply=T,e.to_my_reply=P;var i=n(a("6150"));function r(t){return(0,i.default)({url:"/api/order/data",method:"get",data:t})}function o(t){return(0,i.default)({url:"/api/enterprise/edit",method:"post",data:t})}function u(t){return(0,i.default)({url:"/api/enterprise/rate",method:"get",data:t})}function d(t){return(0,i.default)({url:"/api/userinfo",method:"get",data:t})}function s(t){return(0,i.default)({url:"/api/spread/banner",method:"get",data:t})}function l(t){return(0,i.default)({url:"/api/address/list",method:"get",data:t})}function c(t){return(0,i.default)({url:"/api/address/edit",method:"post",data:t})}function f(t){return(0,i.default)({url:"/api/address/del",method:"post",data:t})}function p(t){return(0,i.default)({url:"/api/address/default/set",method:"post",data:t})}function h(t){return(0,i.default)({url:"/api/cart/list",method:"get",data:t})}function v(t){return(0,i.default)({url:"/api/cart/num",method:"post",data:t})}function m(t){return(0,i.default)({url:"/api/cart/del",method:"post",data:t})}function b(t){return(0,i.default)({url:"/api/collect/user",method:"get",data:t})}function g(t){return(0,i.default)({url:"/api/collect/del",method:"post",data:t})}function w(t){return(0,i.default)({url:"/api/spread/people",method:"POST",data:t})}function y(t){return(0,i.default)({url:"/api/enterprise/stylelist",method:"GET",data:t})}function x(t){return(0,i.default)({url:"/api/enterprise/job/list",method:"GET",data:t})}function k(t){return(0,i.default)({url:"/api/enterprise/apply/add",method:"GET",data:t})}function _(t){return(0,i.default)({url:"/api/user/auth",method:"POST",data:t})}function C(t){return(0,i.default)({url:"/api/user/subscribe",method:"GET",data:t})}function E(t){return(0,i.default)({url:"/api/enterprise/details",method:"GET",data:t})}function T(t){return(0,i.default)({url:"/api/article/my_reply",method:"GET",data:t})}function P(t){return(0,i.default)({url:"/api/article/to_my_reply",method:"GET",data:t})}},2491:function(t,e,a){"use strict";var n,i=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("v-uni-view",{staticClass:"table"},[a("v-uni-view",{staticClass:"content"},[a("v-uni-view",{staticClass:"left"},[t._v("姓名")]),a("v-uni-input",{attrs:{type:"text",value:"",focus:!0,placeholder:"请输入姓名"},model:{value:t.name,callback:function(e){t.name=e},expression:"name"}})],1),a("v-uni-view",{staticClass:"content"},[a("v-uni-view",{staticClass:"left"},[t._v("联系电话")]),a("v-uni-input",{attrs:{type:"number",value:"",focus:!0,placeholder:"请输入联系电话"},model:{value:t.phone,callback:function(e){t.phone=e},expression:"phone"}})],1),a("v-uni-view",{staticClass:"content"},[a("v-uni-view",{staticClass:"left"},[t._v("职务")]),a("v-uni-picker",{staticClass:"input",attrs:{value:t.index,range:t.choosePost},on:{change:function(e){arguments[0]=e=t.$handleEvent(e),t.bindPickerType.apply(void 0,arguments)}}},[a("v-uni-view",{staticClass:"box-right",class:{hui:"请选择职务"==t.post}},[t._v(t._s(t.post))])],1)],1),a("v-uni-view",{staticClass:"button",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.commit()}}},[t._v("提交")])],1)},r=[];a.d(e,"b",(function(){return i})),a.d(e,"c",(function(){return r})),a.d(e,"a",(function(){return n}))},"2ee9":function(t,e,a){var n=a("24fb");e=n(!1),e.push([t.i,'@charset "UTF-8";\n/* 页面左右间距 */\n/* 文字尺寸 */\n/*文字颜色*/\n/* 边框颜色 */\n/*颜色*/\n/* 图片加载中颜色 */\n/* 行为相关颜色 */\n/* 功能栏字体大小 */\n/*功能栏左侧小图标*/.table[data-v-007655d0]{width:%?750?%;background:#fff}.table-title[data-v-007655d0]{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-align:center;-webkit-align-items:center;align-items:center}.table-title .gg[data-v-007655d0]{margin-left:%?30?%;width:%?3?%;height:%?30?%;background:#ff6061;-webkit-border-radius:2px;border-radius:2px}.table-title .title[data-v-007655d0]{margin-left:%?15?%;font-size:%?30?%;font-weight:700;color:#333;line-height:%?80?%}.content[data-v-007655d0]{border-top:%?2?% solid #f3f3f3;display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-align:center;-webkit-align-items:center;align-items:center;line-height:%?80?%}.content .left[data-v-007655d0]{width:%?120?%;margin:0 %?30?%;font-size:%?28?%;font-weight:700;color:#333}.content uni-input[data-v-007655d0]{margin:0}.content .input[data-v-007655d0]{margin:0}.button[data-v-007655d0]{margin:%?100?% auto;width:%?650?%;height:%?80?%;background:#fe5341;-webkit-border-radius:%?38?%;border-radius:%?38?%;font-size:%?30?%;font-weight:500;color:#fff;line-height:%?80?%;text-align:center}.hui[data-v-007655d0]{color:#999!important}',""]),t.exports=e},"548d":function(t,e,a){var n=a("2ee9");"string"===typeof n&&(n=[[t.i,n,""]]),n.locals&&(t.exports=n.locals);var i=a("4f06").default;i("1c76288e",n,!0,{sourceMap:!1,shadowMode:!1})},"5ba2":function(t,e,a){"use strict";a("4160"),a("159b"),Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n=a("17b1"),i={data:function(){return{id:"",name:"",phone:"",post:"请选择职务",choosePost:[],postList:[],index:""}},onLoad:function(t){var e=this;this.id=t.id,(0,n.postlist)().then((function(t){var a=t.data;e.postList=a,a.forEach((function(t){e.choosePost.push(t.title)})),console.log(a,"123456")}))},methods:{commit:function(){return""==this.name?this.$api.msg("请输入姓名"):"请选择职务"==this.post?this.$api.msg("请选择职务"):""==this.phone?this.$api.msg("请输入联系电话"):void(0,n.joinSubmit)({merId:this.id,applyUserName:this.name,applyUserMobile:this.phone,applyJobId:this.index}).then((function(t){uni.navigateBack({delta:1})}))},bindPickerType:function(t){this.post=this.choosePost[t.target.value],this.index=this.postList[t.target.value].id,console.log(this.index)}}};e.default=i},"5f66":function(t,e,a){"use strict";a.r(e);var n=a("2491"),i=a("6509");for(var r in i)"default"!==r&&function(t){a.d(e,t,(function(){return i[t]}))}(r);a("856c");var o,u=a("f0c5"),d=Object(u["a"])(i["default"],n["b"],n["c"],!1,null,"007655d0",null,!1,n["a"],o);e["default"]=d.exports},6509:function(t,e,a){"use strict";a.r(e);var n=a("5ba2"),i=a.n(n);for(var r in n)"default"!==r&&function(t){a.d(e,t,(function(){return n[t]}))}(r);e["default"]=i.a},"856c":function(t,e,a){"use strict";var n=a("548d"),i=a.n(n);i.a}}]);