You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
1 lines
5.5 KiB
1 lines
5.5 KiB
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-chat-customer_info-index"],{1698:function(t,i,n){"use strict";n.d(i,"b",(function(){return e})),n.d(i,"c",(function(){return s})),n.d(i,"a",(function(){}));var e=function(){var t=this,i=t.$createElement,n=t._self._c||i;return n("v-uni-view",{style:t.viewColor},[n("v-uni-form",{attrs:{"report-submit":"true"}},[t.userInfo?n("v-uni-view",[n("v-uni-view",{staticClass:"user-info"},[n("v-uni-image",{staticClass:"image",attrs:{src:t.userInfo.user.avatar||"/static/images/f.png"}}),n("v-uni-text",[t._v(t._s(t.userInfo.user.nickname))])],1),n("v-uni-view",{staticClass:"customerInfo"},[n("v-uni-view",{staticClass:"list"},[n("v-uni-view",{staticClass:"item"},[n("v-uni-view",{staticClass:"text"},[t._v("备注昵称")]),n("v-uni-view",{staticClass:"input"},[n("v-uni-input",{attrs:{type:"text",placeholder:"请输入"},model:{value:t.userInfo.mark,callback:function(i){t.$set(t.userInfo,"mark",i)},expression:"userInfo.mark"}})],1)],1),t.userInfo.user.phone?n("v-uni-view",{staticClass:"item"},[n("v-uni-view",{staticClass:"text"},[t._v("手机号")]),n("v-uni-view",{staticClass:"input"},[t._v(t._s(t.userInfo.user.phone))])],1):t._e(),n("v-uni-view",{staticClass:"item"},[n("v-uni-view",{staticClass:"text"},[t._v("推广员")]),n("v-uni-view",{staticClass:"input"},[t._v(t._s(t.userInfo.user.is_promoter?"是":"否"))])],1)],1)],1),n("v-uni-button",{staticClass:"confirmBnt",attrs:{"form-type":"submit"},on:{click:function(i){arguments[0]=i=t.$handleEvent(i),t.saveMark.apply(void 0,arguments)}}},[t._v("确认")])],1):t._e()],1)],1)},s=[]},2192:function(t,i,n){"use strict";n.r(i);var e=n("1698"),s=n("d209");for(var a in s)["default"].indexOf(a)<0&&function(t){n.d(i,t,(function(){return s[t]}))}(a);n("d431");var o=n("f0c5"),u=Object(o["a"])(s["default"],e["b"],e["c"],!1,null,"5bc1108d",null,!1,e["a"],void 0);i["default"]=u.exports},"27a9":function(t,i,n){"use strict";n("7a82"),Object.defineProperty(i,"__esModule",{value:!0}),i.default=void 0,n("d3b7");var e=n("6859"),s=n("26cb"),a={data:function(){return{userInfo:null,merId:"",uid:"",loading:!1}},computed:(0,s.mapGetters)(["isLogin","viewColor"]),onLoad:function(t){this.mer_id=t.mer_id,this.uid=t.uid,this.serviceUser()},methods:{saveMark:function(){var t=this;this.loading||(this.loading=!0,(0,e.serviceSaveMark)(this.mer_id,this.uid,this.userInfo.mark).then((function(t){uni.showToast({icon:"success",title:"保存成功"}),setTimeout((function(t){uni.navigateBack()}),1e3)})).catch((function(t){uni.showToast({title:t,icon:"none"})})).finally((function(i){setTimeout((function(i){t.loading=!1}),2e3)})))},serviceUser:function(){var t=this;uni.showLoading({title:"加载中",mask:!0}),(0,e.serviceUser)(this.mer_id,this.uid).then((function(i){t.userInfo=i.data})).catch((function(t){uni.showToast({title:t,icon:"none"}),setTimeout((function(t){uni.navigateBack()}),1e3)})).finally((function(t){uni.hideLoading()}))}}};i.default=a},3857:function(t,i,n){var e=n("24fb");i=e(!1),i.push([t.i,'@charset "UTF-8";\n/**\n * 这里是uni-app内置的常用样式变量\n *\n * uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量\n * 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App\n *\n */\n/**\n * 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能\n *\n * 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件\n */\n/* 颜色变量 */\n/* 行为相关颜色 */\n/* 背景颜色 */\n/* 边框颜色 */\n/* 尺寸变量 */\n/* 文字尺寸 */\n/* 图片尺寸 */\n/* Border Radius */\n/* 水平间距 */\n/* 垂直间距 */\n/* 透明度 */\n/* 文章场景相关 */.customerInfo[data-v-5bc1108d]{background:#fff;margin-top:%?20?%}.customerInfo .phone[data-v-5bc1108d]{font-size:%?32?%}.customerInfo .list[data-v-5bc1108d]{width:%?650?%;margin:0 auto}.customerInfo .list .item[data-v-5bc1108d]{width:100%;height:%?110?%;display:flex;align-items:center;border-bottom:%?2?% solid #f0f0f0}.customerInfo .list .item .title[data-v-5bc1108d]{color:#333;font-size:%?30?%}.customerInfo .list .item .text[data-v-5bc1108d]{width:%?160?%}.customerInfo .list .item .input[data-v-5bc1108d]{width:100%;margin-left:%?60?%;color:#666;font-size:%?30?%}.customerInfo .list .item uni-input[data-v-5bc1108d]{width:100%;height:100%;font-size:%?30?%;color:#666}.confirmBnt[data-v-5bc1108d]{font-size:%?32?%;width:%?650?%;height:%?90?%;border-radius:%?45?%;color:#fff;margin:%?70?% auto 0 auto;text-align:center;line-height:%?90?%;background-color:var(--view-theme)}.user-info[data-v-5bc1108d]{padding:%?50?% %?30?% %?30?%;display:flex;align-items:center;background-color:#fff}.user-info .image[data-v-5bc1108d]{width:%?111?%;height:%?111?%;border-radius:100%}.user-info uni-text[data-v-5bc1108d]{margin-left:%?24?%;color:#333;font-size:%?32?%;font-weight:700}',""]),t.exports=i},6849:function(t,i,n){var e=n("3857");e.__esModule&&(e=e.default),"string"===typeof e&&(e=[[t.i,e,""]]),e.locals&&(t.exports=e.locals);var s=n("4f06").default;s("4bb9b310",e,!0,{sourceMap:!1,shadowMode:!1})},d209:function(t,i,n){"use strict";n.r(i);var e=n("27a9"),s=n.n(e);for(var a in e)["default"].indexOf(a)<0&&function(t){n.d(i,t,(function(){return e[t]}))}(a);i["default"]=s.a},d431:function(t,i,n){"use strict";var e=n("6849"),s=n.n(e);s.a}}]); |