1 |
- (window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-set-setinfo"],{"17b1":function(t,e,a){"use strict";var r=a("4ea4");Object.defineProperty(e,"__esModule",{value:!0}),e.orderData=i,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=m,e.getCartNum=h,e.cartDel=g,e.getcollectList=v,e.delcollect=b,e.spread=y,e.stylelist=w,e.postlist=x,e.joinSubmit=k,e.auth=_,e.subscribe=L,e.enDetails=T,e.my_reply=q,e.to_my_reply=C,e.getCyType=E;var n=r(a("6150"));function i(t){return(0,n.default)({url:"/api/order/data",method:"get",data:t})}function o(t){return(0,n.default)({url:"/api/enterprise/edit",method:"post",data:t})}function u(t){return(0,n.default)({url:"/api/enterprise/rate",method:"get",data:t})}function d(t){return(0,n.default)({url:"/api/userinfo",method:"get",data:t})}function s(t){return(0,n.default)({url:"/api/spread/banner",method:"get",data:t})}function l(t){return(0,n.default)({url:"/api/address/list",method:"get",data:t})}function c(t){return(0,n.default)({url:"/api/address/edit",method:"post",data:t})}function f(t){return(0,n.default)({url:"/api/address/del",method:"post",data:t})}function p(t){return(0,n.default)({url:"/api/address/default/set",method:"post",data:t})}function m(t){return(0,n.default)({url:"/api/cart/list",method:"get",data:t})}function h(t){return(0,n.default)({url:"/api/cart/num",method:"post",data:t})}function g(t){return(0,n.default)({url:"/api/cart/del",method:"post",data:t})}function v(t){return(0,n.default)({url:"/api/collect/user",method:"get",data:t})}function b(t){return(0,n.default)({url:"/api/collect/del",method:"post",data:t})}function y(t){return(0,n.default)({url:"/api/spread/people",method:"POST",data:t})}function w(t){return(0,n.default)({url:"/api/enterprise/stylelist",method:"GET",data:t})}function x(t){return(0,n.default)({url:"/api/enterprise/job/list",method:"GET",data:t})}function k(t){return(0,n.default)({url:"/api/enterprise/apply/add",method:"GET",data:t})}function _(t){return(0,n.default)({url:"/api/user/auth",method:"POST",data:t})}function L(t){return(0,n.default)({url:"/api/user/subscribe",method:"GET",data:t})}function T(t){return(0,n.default)({url:"/api/enterprise/details",method:"GET",data:t})}function q(t){return(0,n.default)({url:"/api/article/my_reply",method:"GET",data:t})}function C(t){return(0,n.default)({url:"/api/article/to_my_reply",method:"GET",data:t})}function E(t){return(0,n.default)({url:"/api/enterprise/category",method:"GET",data:t})}},"18fb":function(t,e,a){var r=a("8a08");"string"===typeof r&&(r=[[t.i,r,""]]),r.locals&&(t.exports=r.locals);var n=a("4f06").default;n("31de0232",r,!0,{sourceMap:!1,shadowMode:!1})},2939:function(t,e,a){"use strict";var r=a("4ea4");a("ac1f"),a("5319"),Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n=r(a("5530")),i=a("17b1"),o=a("26cb"),u=a("b83f"),d=(a("2f1a"),{data:function(){return{userInfo1:"",show:!1,password:"",qyList:{},maxText:225,currentWordNumber:0,content:""}},computed:(0,n.default)({},(0,o.mapState)("user",["userInfo"])),onLoad:function(){var t=this;(0,i.enterprise)().then((function(e){console.log(e,"信息"),t.qyList=e.data,t.content=e.data.introduce.replace(/<img/g,"<img style='max-width:100%;height:auto;'")}))},methods:(0,n.default)((0,n.default)({},(0,o.mapMutations)("user",["logout"])),{},{navto:function(t){uni.navigateTo({url:t})},imgsub:function(){var t=this;console.log("上传头像"),(0,u.upload)({filename:""}).then((function(e){console.log("data",e),t.qyList.headimg=e[0].url,console.log(t.qyList.headimg,"22312")}))},confirm:function(){var t=this;(0,i.changeInformation)({headimg:t.qyList.headimg,name:t.qyList.name,introduce:t.content}).then((function(e){t.$api.msg("修改成功"),setTimeout((function(){uni.switchTab({url:"/pages/user/user"})}),1e3),console.log(e,"1")})).catch((function(t){console.log(t,"2")}))}})});e.default=d},"2f1a":function(t,e,a){"use strict";var r=a("4ea4");Object.defineProperty(e,"__esModule",{value:!0}),e.userEdit=i,e.logout=o,e.registerReset=u,e.binding=d;var n=r(a("6150"));function i(t){return(0,n.default)({url:"/api/user/edit",method:"post",data:t})}function o(t){return(0,n.default)({url:"/api/logout",method:"get",data:t})}function u(t){return(0,n.default)({url:"/api/register/reset",method:"post",data:t})}function d(t){return(0,n.default)({url:"/api/binding",method:"post",data:t})}},"461d":function(t,e,a){"use strict";var r;a.d(e,"b",(function(){return n})),a.d(e,"c",(function(){return i})),a.d(e,"a",(function(){return r}));var n=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("v-uni-view",{staticClass:"content"},[a("v-uni-view",{staticClass:"row1"},[a("v-uni-text",{staticClass:"tit"},[t._v("企业头像")]),a("v-uni-view",{staticClass:"background-img",on:{click:function(e){e.stopPropagation(),arguments[0]=e=t.$handleEvent(e),t.imgsub.apply(void 0,arguments)}}},[a("v-uni-image",{staticClass:"background-img",attrs:{src:t.qyList.headimg,mode:"aspectFill"},model:{value:t.qyList.headimg,callback:function(e){t.$set(t.qyList,"headimg",e)},expression:"qyList.headimg"}})],1)],1),a("v-uni-view",{staticClass:"row"},[a("v-uni-text",{staticClass:"tit"},[t._v("企业名称")]),a("v-uni-input",{staticClass:"input",attrs:{type:"text","placeholder-class":"placeholder"},model:{value:t.qyList.name,callback:function(e){t.$set(t.qyList,"name",e)},expression:"qyList.name"}})],1),a("v-uni-view",{staticClass:"row"},[a("v-uni-text",{staticClass:"tit"},[t._v("企业简介")]),a("v-uni-input",{staticClass:"input",staticStyle:{color:"#3075ff"},attrs:{type:"text","placeholder-class":"placeholder",disabled:!0,value:"修改"},on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.navto("/pages/set/bjq")}}})],1),a("v-uni-view",{staticStyle:{padding:"20rpx","background-color":"#fff","text-align":"justify"},domProps:{innerHTML:t._s(t.content)}}),a("v-uni-view",{staticClass:"add-btn",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.confirm.apply(void 0,arguments)}}},[t._v("提交")])],1)},i=[]},"5aff":function(t,e,a){"use strict";a.r(e);var r=a("461d"),n=a("6982");for(var i in n)"default"!==i&&function(t){a.d(e,t,(function(){return n[t]}))}(i);a("93f2");var o,u=a("f0c5"),d=Object(u["a"])(n["default"],r["b"],r["c"],!1,null,"31607b94",null,!1,r["a"],o);e["default"]=d.exports},6982:function(t,e,a){"use strict";a.r(e);var r=a("2939"),n=a.n(r);for(var i in r)"default"!==i&&function(t){a.d(e,t,(function(){return r[t]}))}(i);e["default"]=n.a},"8a08":function(t,e,a){var r=a("24fb");e=r(!1),e.push([t.i,'@charset "UTF-8";\n/* 页面左右间距 */\n/* 文字尺寸 */\n/*文字颜色*/\n/* 边框颜色 */\n/*颜色*/\n/* 图片加载中颜色 */\n/* 行为相关颜色 */\n/* 功能栏字体大小 */\n/*功能栏左侧小图标*/.row1[data-v-31607b94]{display:flex;align-items:center;justify-content:space-between;position:relative;padding:0 %?30?%;height:%?110?%;background:#fff;margin-bottom:%?20?%}.row1 .tit[data-v-31607b94]{flex-shrink:0;width:%?200?%;font-size:%?32?%;color:#303133}.row1 .background-img[data-v-31607b94]{width:%?80?%;height:%?80?%;border-radius:50%;background:#f2f2f2}.row[data-v-31607b94]{position:relative;display:flex;align-items:center;padding:0 %?30?%;min-height:%?110?%;background:#fff;align-items:flex-start;line-height:%?110?%}.row .tit[data-v-31607b94]{flex-shrink:0;width:%?200?%;font-size:%?32?%;color:#303133}.row .input[data-v-31607b94]{flex:1;text-align:right;font-size:%?28?%;color:#999;height:%?110?%}.row .currentWordNumber[data-v-31607b94]{color:#999;font-size:%?24?%;position:absolute;right:0;bottom:0;margin:%?-100?% %?30?%}.add-btn[data-v-31607b94]{display:flex;align-items:center;justify-content:center;margin:%?158?% auto %?30?%;width:%?560?%;height:%?80?%;background:linear-gradient(0deg,#2e58ff,#32c6ff);border-radius:40px;color:#fff}.out[data-v-31607b94]{display:flex;align-items:center;justify-content:center;margin:0 auto %?30?%;width:%?560?%;height:%?80?%;border:1px solid #32c6ff;background:#fff;border-radius:40px;color:#32c6ff}.psw-wrapper[data-v-31607b94]{width:%?548?%;height:%?344?%;background-color:#fff}.psw-wrapper .psw-title[data-v-31607b94]{width:100%;font-size:%?35?%;padding:%?43?% 0 %?49?%;text-align:center;font-weight:800}.psw-wrapper .psw-ipt[data-v-31607b94]{display:block;background-color:#dce3ed;height:%?90?%;width:%?464?%;padding-left:%?30?%;margin:0 auto;font-size:%?80?%}.psw-wrapper .psw-btn uni-text[data-v-31607b94]{display:inline-block;text-align:center;width:50%;padding-top:%?29?%;font-size:%?35?%}.psw-wrapper .psw-qd[data-v-31607b94]{color:#32c6ff}',""]),t.exports=e},"93f2":function(t,e,a){"use strict";var r=a("18fb"),n=a.n(r);n.a},b83f:function(t,e,a){"use strict";var r=a("dbce");Object.defineProperty(e,"__esModule",{value:!0}),e.confirm=i,e.couponsOrder=o,e.getCouponsList=u,e.order_comment=d,e.product=s,e.express_query=l,e.upload=c,e.orderList=f,e.orderDetail=p,e.orderCancel=m,e.orderDel=h,e.refund=g,e.refundReason=v,e.orderTake=b,e.orderPay=y,e.createOrderkey=w,e.computedOrderkey=x;var n=r(a("6150"));function i(t){return(0,n.default)({url:"/api/order/confirm",method:"post",data:t})}function o(t,e){return(0,n.default)({url:"/api/coupons/order/"+e,method:"get",data:t})}function u(t,e){return(0,n.default)({url:"/api/coupons/user/"+e,method:"get",data:t})}function d(t){return(0,n.default)({url:"/api/order/comment",method:"post",data:t})}function s(t){return(0,n.default)({url:"/api/order/product",method:"post",data:t})}function l(t){return(0,n.default)({url:"/api/order/express_query",method:"get",data:t})}function c(t){return(0,n.upFilse)({url:"/api/upload/image",method:"post",data:t})}function f(t){return(0,n.default)({url:"/api/order/list",method:"get",data:t})}function p(t,e){return(0,n.default)({url:"/api/order/detail/"+e,method:"get",data:t})}function m(t){return(0,n.default)({url:"/api/order/cancel",method:"post",data:t})}function h(t){return(0,n.default)({url:"/api/order/del",method:"get",data:t})}function g(t){return(0,n.default)({url:"/api/order/refund/verify",method:"post",data:t})}function v(t){return(0,n.default)({url:"/api/order/refund/reason",method:"get",data:t})}function b(t){return(0,n.default)({url:"/api/order/take",method:"post",data:t})}function y(t){return(0,n.default)({url:"/api/order/pay",method:"post",data:t})}function w(t,e){return(0,n.default)({url:"/api/order/create/"+e,method:"post",data:t})}function x(t){return(0,n.default)({url:"/api/order/computed/"+t.orderkey,method:"post",data:t})}}}]);
|