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
8.3 KiB
1 lines
8.3 KiB
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-users-chengshi-index"],{"0218":function(n,e,t){var i=t("c86c");e=i(!1),e.push([n.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/* 图片尺寸 */\n/* Border Radius */\n/* 水平间距 */\n/* 垂直间距 */\n/* 透明度 */\n/* 文章场景相关 */uni-page-body[data-v-1fbeb8fc]{background-color:#fff}body.?%PAGE?%[data-v-1fbeb8fc]{background-color:#fff}.qingshaonian[data-v-1fbeb8fc]{padding:0 %?25?%;overflow:hidden}.qingshaonian .hezuo[data-v-1fbeb8fc]{width:%?670?%;height:%?951?%;background:#fff;border-radius:%?20?%}.qingshaonian .hezuo .btns[data-v-1fbeb8fc]{width:%?300?%;height:%?80?%;background:linear-gradient(0deg,#000,#3d3b38);box-shadow:0 %?4?% %?18?% 0 rgba(42,41,39,.34);border-radius:%?80?%;text-align:center;line-height:%?80?%;font-weight:500;font-size:%?26?%;color:#fff;margin:0 auto;margin-top:%?50?%}.qingshaonian .hezuo .title[data-v-1fbeb8fc]{text-align:center;padding:%?30?%;font-weight:500;font-size:%?36?%;color:#222;border-bottom:1px solid #eaeaea}.qingshaonian .hezuo .title uni-image[data-v-1fbeb8fc]{width:%?50?%;height:%?50?%;float:right}.qingshaonian .hezuo .content .item[data-v-1fbeb8fc]{margin-top:%?10?%;padding:0 %?30?%;overflow:hidden}.qingshaonian .hezuo .content .item .a[data-v-1fbeb8fc]{padding:%?20?% 0;font-weight:500;font-size:%?30?%;color:#212121}.qingshaonian .hezuo .content .item .a uni-text[data-v-1fbeb8fc]{color:#e70c0c}.qingshaonian .hezuo .content .item .b[data-v-1fbeb8fc]{width:100%}.qingshaonian .hezuo .content .item .b uni-input[data-v-1fbeb8fc]{line-height:%?80?%;height:%?80?%;background:#fff;border-radius:%?10?%;border:1px solid #e5e5e5;padding:0 %?20?%;box-sizing:border-box;font-size:%?28?%;color:#000}.qingshaonian .hezuo .content .item .b .picker[data-v-1fbeb8fc]{line-height:%?80?%;height:%?80?%;background:#fff;border-radius:%?10?%;border:1px solid #e5e5e5;padding:0 %?20?%;box-sizing:border-box;font-size:%?28?%;color:#000}.qingshaonian .hezuo .content .item .b .picker-on[data-v-1fbeb8fc]{color:grey}.qingshaonian .fd[data-v-1fbeb8fc]{width:100%;position:fixed;left:0;bottom:0;padding:%?25?%;overflow:hidden;z-index:8;box-sizing:border-box}.qingshaonian .fd .btn[data-v-1fbeb8fc]{width:100%;line-height:%?98?%;background:linear-gradient(0deg,#000,#3d3b38);box-shadow:0 %?4?% %?18?% 0 rgba(42,41,39,.34);border-radius:%?98?%;font-weight:400;font-size:%?30?%;color:#fff;text-align:center}',""]),n.exports=e},"13b8":function(n,e,t){"use strict";t.d(e,"b",(function(){return a})),t.d(e,"c",(function(){return o})),t.d(e,"a",(function(){return i}));var i={uPopup:t("9f5d").default,uPicker:t("f994").default},a=function(){var n=this,e=n.$createElement,i=n._self._c||e;return i("v-uni-view",{staticClass:"qingshaonian"},[i("v-uni-view",{staticClass:"bd",domProps:{innerHTML:n._s(n.content)}}),i("v-uni-view",{staticClass:"fd"},[i("v-uni-view",{staticClass:"btn",on:{click:function(e){arguments[0]=e=n.$handleEvent(e),n.show=!0}}},[n._v("申请合作")])],1),i("u-popup",{attrs:{mode:"center","border-radius":"20","mask-close-able":!0,zIndex:"21"},model:{value:n.show,callback:function(e){n.show=e},expression:"show"}},[i("v-uni-view",{staticClass:"hezuo"},[i("v-uni-view",{staticClass:"title"},[n._v("合作信息"),i("v-uni-image",{attrs:{src:t("95e9")}})],1),i("v-uni-view",{staticClass:"content"},[i("v-uni-view",{staticClass:"item"},[i("v-uni-view",{staticClass:"a"},[i("v-uni-text",[n._v("*")]),n._v("姓名")],1),i("v-uni-view",{staticClass:"b"},[i("v-uni-input",{attrs:{type:"text",placeholder:"请输入"},model:{value:n.name,callback:function(e){n.name=e},expression:"name"}})],1)],1),i("v-uni-view",{staticClass:"item"},[i("v-uni-view",{staticClass:"a"},[i("v-uni-text",[n._v("*")]),n._v("手机号")],1),i("v-uni-view",{staticClass:"b"},[i("v-uni-input",{attrs:{type:"number",placeholder:"请输入"},model:{value:n.phone,callback:function(e){n.phone=e},expression:"phone"}})],1)],1),i("v-uni-view",{staticClass:"item"},[i("v-uni-view",{staticClass:"a"},[n._v("所在区域")]),i("v-uni-view",{staticClass:"b"},[i("v-uni-view",{staticClass:"picker picker-on",on:{click:function(e){arguments[0]=e=n.$handleEvent(e),n.show1=!0}}},[n._v(n._s(n.province?n.province+"-"+n.city+"-"+n.district:"请选择"))])],1)],1),i("v-uni-view",{staticClass:"item"},[i("v-uni-view",{staticClass:"a"},[n._v("公司名称")]),i("v-uni-view",{staticClass:"b"},[i("v-uni-input",{attrs:{type:"text",placeholder:"请输入"},model:{value:n.companyname,callback:function(e){n.companyname=e},expression:"companyname"}})],1)],1)],1),i("v-uni-view",{staticClass:"btns",on:{click:function(e){arguments[0]=e=n.$handleEvent(e),n.toReg()}}},[n._v("提交")])],1)],1),i("u-picker",{attrs:{mode:"region",defaultRegion:n.defaultRegion},on:{cancel:function(e){arguments[0]=e=n.$handleEvent(e),n.cancel.apply(void 0,arguments)},confirm:function(e){arguments[0]=e=n.$handleEvent(e),n.confirm.apply(void 0,arguments)}},model:{value:n.show1,callback:function(e){n.show1=e},expression:"show1"}})],1)},o=[]},"6f9d":function(n,e,t){var i=t("0218");i.__esModule&&(i=i.default),"string"===typeof i&&(i=[[n.i,i,""]]),i.locals&&(n.exports=i.locals);var a=t("967d").default;a("23a67867",i,!0,{sourceMap:!1,shadowMode:!1})},"891b":function(n,e,t){"use strict";t.r(e);var i=t("a845"),a=t.n(i);for(var o in i)["default"].indexOf(o)<0&&function(n){t.d(e,n,(function(){return i[n]}))}(o);e["default"]=a.a},a845:function(n,e,t){"use strict";t("6a54");var i=t("f5bd").default;Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,t("5c47"),t("a1c1");var a=i(t("2634")),o=i(t("2fdc")),s={data:function(){return{show1:!1,content:"",show:!1,defaultRegion:[],phone:"",name:"",companyname:"",province:"",city:"",district:""}},onLoad:function(){this.getInfo()},methods:{cancel:function(){this.show1=!1},confirm:function(n){this.show1=!1,this.defaultRegion=[n.province.name,n.city.name,n.area.name],this.province=n.province.name,this.city=n.city.name,this.district=n.area.name},toReg:function(){var n=this;return(0,o.default)((0,a.default)().mark((function e(){var t,i,o;return(0,a.default)().wrap((function(e){while(1)switch(e.prev=e.next){case 0:if(n.name){e.next=3;break}return uni.showToast({icon:"none",position:"bottom",title:"姓名不能为空!"}),e.abrupt("return");case 3:if(n.phone){e.next=6;break}return uni.showToast({icon:"none",position:"bottom",title:"手机号不能为空!"}),e.abrupt("return");case 6:return e.next=8,n.$api.urbanCooperation({userId:uni.getStorageSync("userInfo").id,name:n.name,phone:n.phone,quyu:n.defaultRegion.join(","),companyname:n.companyname});case 8:t=e.sent,i=t.code,t.data,o=t.msg,200==i?(uni.showToast({title:"提交成功"}),n.show=!1):uni.showToast({icon:"none",position:"bottom",title:o});case 13:case"end":return e.stop()}}),e)})))()},getInfo:function(){var n=this;return(0,o.default)((0,a.default)().mark((function e(){var t,i,o;return(0,a.default)().wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,n.$api.getConfigData({dictType:"CONFIG_URBAN_COOPERATION"});case 2:t=e.sent,i=t.code,o=t.data,200==i&&(n.content=o.content.replace(/style=""/g,"").replace(/<img " src=/g,"<img src=").replace(/<img src=/g,'<img style="width: 100%; height:100%; display:block" src='));case 6:case"end":return e.stop()}}),e)})))()}}};e.default=s},e8a2:function(n,e,t){"use strict";var i=t("6f9d"),a=t.n(i);a.a},f9dd:function(n,e,t){"use strict";t.r(e);var i=t("13b8"),a=t("891b");for(var o in a)["default"].indexOf(o)<0&&function(n){t.d(e,n,(function(){return a[n]}))}(o);t("e8a2");var s=t("828b"),c=Object(s["a"])(a["default"],i["b"],i["c"],!1,null,"1fbeb8fc",null,!1,i["a"],void 0);e["default"]=c.exports}}]); |