红绿项目
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
7.9 KiB

(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-menu-address-index"],{"2c70":function(e,t,a){"use strict";a.d(t,"b",(function(){return i})),a.d(t,"c",(function(){return o})),a.d(t,"a",(function(){return n}));var n={navigation:a("ce33").default,uMask:a("4db7").default,uModal:a("1a8d").default},i=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("v-uni-view",{},[n("navigation",[e._v("Address"),n("v-uni-view",{staticClass:"bread",attrs:{slot:"bread"},slot:"bread"},[n("v-uni-image",{attrs:{src:a("b143"),mode:"aspectFit"},on:{click:function(t){arguments[0]=t=e.$handleEvent(t),e.goAddAddress()}}})],1)],1),n("v-uni-view",{staticClass:"record_body"},[e._l(e.record_list,(function(t,i){return n("v-uni-view",{key:i,staticClass:"record_item flex"},[n("v-uni-view",{staticClass:"numcon flex"},[n("v-uni-image",{staticClass:"img1",attrs:{src:a("f815"),mode:"aspectFit"}}),n("v-uni-view",{staticClass:"num"},[n("v-uni-view",{staticClass:"flex"},[n("v-uni-view",{staticClass:"rec"},[e._v(e._s(t.name))]),n("v-uni-view",{},[e._v("+"+e._s(e.areacode)+" "+e._s(t.mobile))])],1),n("v-uni-view",{staticClass:"cpay"},[e._v(e._s(t.areaInfo))])],1)],1),n("v-uni-view",{staticClass:"time",on:{click:function(a){arguments[0]=a=e.$handleEvent(a),e.keepId(t,t.id)}}},[e._v("i")])],1)})),n("u-mask",{attrs:{"z-index":10,show:e.show},on:{click:function(t){arguments[0]=t=e.$handleEvent(t),e.show=!1}}}),n("v-uni-view",{directives:[{name:"show",rawName:"v-show",value:e.show,expression:"show"}],staticClass:"select_con"},[n("v-uni-view",{staticClass:"select"},[e._v("Select")]),n("v-uni-view",{staticClass:"ed_con"},[n("v-uni-view",{staticClass:"ed"},[n("v-uni-image",{staticClass:"img",attrs:{src:"/static/bankCard/[email protected]",mode:"aspectFill"}}),n("v-uni-text",{staticClass:"text",on:{click:function(t){arguments[0]=t=e.$handleEvent(t),e.goAddCard2(e.card)}}},[e._v("Edit")])],1),n("v-uni-view",{staticClass:"ed"},[n("v-uni-image",{staticClass:"img",attrs:{src:"/static/bankCard/[email protected]",mode:"aspectFill"}}),n("v-uni-text",{staticClass:"text",on:{click:function(t){arguments[0]=t=e.$handleEvent(t),e.deleCard()}}},[e._v("Delete")])],1)],1)],1),n("u-modal",{attrs:{"cancel-text":"cancel","confirm-color":"#954DE3","confirm-text":"confirm","show-title":!1,"show-cancel-button":!0,content:e.content},on:{confirm:function(t){arguments[0]=t=e.$handleEvent(t),e.confirm.apply(void 0,arguments)}},model:{value:e.show2,callback:function(t){e.show2=t},expression:"show2"}})],2),n("tab-bar",{attrs:{selectActive:5}})],1)},o=[]},"2d08":function(e,t,a){var n=a("8bdf");"string"===typeof n&&(n=[[e.i,n,""]]),n.locals&&(e.exports=n.locals);var i=a("4f06").default;i("4391447a",n,!0,{sourceMap:!1,shadowMode:!1})},"8bdf":function(e,t,a){var n=a("24fb");t=n(!1),t.push([e.i,'@charset "UTF-8";\r\n/**\r\n * 这里是uni-app内置的常用样式变量\r\n *\r\n * uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量\r\n * 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App\r\n *\r\n */\r\n/**\r\n * 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能\r\n *\r\n * 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件\r\n */\r\n/* 颜色变量 */\r\n/* 行为相关颜色 */\r\n/* 文字基本颜色 */\r\n/* 背景颜色 */\r\n/* 边框颜色 */\r\n/* 尺寸变量 */\r\n/* 文字尺寸 */\r\n/* 图片尺寸 */\r\n/* Border Radius */\r\n/* 水平间距 */\r\n/* 垂直间距 */\r\n/* 透明度 */\r\n/* 文章场景相关 */.record_body[data-v-11e4ebe2]{padding:0 %?36?%}.flex[data-v-11e4ebe2]{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-pack:justify;-webkit-justify-content:space-between;justify-content:space-between;-webkit-box-align:center;-webkit-align-items:center;align-items:center}.record_item[data-v-11e4ebe2]{min-height:%?200?%;border-bottom:%?2?% solid #f5f7fa;word-break:break-word}.numcon .img1[data-v-11e4ebe2]{width:%?40?%;height:%?40?%}.num[data-v-11e4ebe2]{width:%?550?%;margin-left:%?20?%;text-transform:capitalize}.rec[data-v-11e4ebe2]{color:#303133;font-size:%?32?%}.cpay[data-v-11e4ebe2]{color:#909399;font-size:%?28?%}.time[data-v-11e4ebe2]{width:%?48?%;line-height:%?48?%;text-align:center;border-radius:50%;background-color:#bfc2cc;color:#fff;font-size:%?28?%}.select_con[data-v-11e4ebe2]{width:%?750?%;height:%?446?%;background-color:#fff;border-radius:%?40?% %?40?% 0 0;position:fixed;bottom:0;left:0;z-index:999;padding-top:%?48?%}.select[data-v-11e4ebe2]{text-align:center;color:#303133;font-size:%?36?%}.ed_con[data-v-11e4ebe2]{margin-top:%?48?%;padding:0 %?36?%}.ed[data-v-11e4ebe2]{line-height:%?96?%}.img[data-v-11e4ebe2]{width:%?48?%;height:%?48?%;vertical-align:text-bottom}.text[data-v-11e4ebe2]{font-size:%?32?%;margin-left:%?24?%}uni-app.inapp uni-page-head[data-v-11e4ebe2]{display:none}uni-input[data-v-11e4ebe2]{height:50px}uni-page-head[data-v-11e4ebe2]{display:none}.bread uni-image[data-v-11e4ebe2]{width:%?28?%;height:%?28?%;position:absolute;right:%?36?%;top:60%;-webkit-transform:translateY(-50%);transform:translateY(-50%)}',""]),e.exports=t},aaa8:function(e,t,a){"use strict";a.r(t);var n=a("2c70"),i=a("f9bc");for(var o in i)"default"!==o&&function(e){a.d(t,e,(function(){return i[e]}))}(o);a("cf3c");var s,c=a("f0c5"),r=Object(c["a"])(i["default"],n["b"],n["c"],!1,null,"11e4ebe2",null,!1,n["a"],s);t["default"]=r.exports},b143:function(e,t){e.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADAAAAAwCAYAAABXAvmHAAAAAXNSR0IArs4c6QAAAWJJREFUaEPtmiFLBUEUhb8DogZ5XdAgNsE/YRGxKQ+LzWo1ikGbTbE9sJjEJgivm8QqgmDRphaTCOqVgUWW5ZVl7u5TuZt3z51z7jczzLCigcfMpoBdYAW4A3aAvqRP73LyFkx6ZtYDNkrat8CipEfvek0ZeAPGS4M1YElS/9cbMLMUyteAgXYlnYWBSgLuCEUHajIWHagGFggFQjUTCIQyA4tVKBAKhDITCIQyA4xVaOgImdlkcQBfB8YyO9rW5+/ACbAtMzsENtuq7FznIBl4BTrOwm3JPScDN8BcWxWd61wmA2vAPjDtLN6kXLoguwK2koERYBaYByacqh4P0DkCrp30Xwqtp9gHhr4POLX0RyYO9TUTjTkQc6AmMtXXA6FAKBDKTCAQygwwVqFAKBDKTODfIZQMmVm6txmtmFuWdOGcF+6rUGHgFOiWBvsALEi6/ysGZoA9YLX0u825pA9vA9/fC/uzoGPgdwAAAABJRU5ErkJggg=="},cf3c:function(e,t,a){"use strict";var n=a("2d08"),i=a.n(n);i.a},df8b:function(e,t,a){"use strict";var n=a("4ea4");Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;n(a("ce33")),n(a("e143"));var i=n(a("0e47")),o={data:function(){return{show2:!1,content:"Are you sure to delete",record_list:[],show:!1,card:null,cardId:"",areacode:""}},onLoad:function(){this.areacode=uni.getStorageSync("siteInfo").areaCode,this.init()},methods:{init:function(){var e=this,t=i.default.addressList({ticket:uni.getStorageSync("logInfo").data});t.then((function(t){e.record_list=t.data;for(var a=0;a<t.data.length;a++)t.data[a].name=t.data[a].name.replaceAll("%20"," "),t.data[a].areaInfo=t.data[a].areaInfo.replaceAll("%20"," ")})).catch((function(e){uni.showToast({title:e,icon:"none",duration:2500})}))},keepId:function(e,t){this.show=!0,this.card=e,this.cardId=t},deleCard:function(){this.show2=!0},confirm:function(){var e=this,t=i.default.delAddress({ticket:uni.getStorageSync("logInfo").data,addressId:this.cardId});uni.showLoading({}),t.then((function(t){"SUCCESS"==t.errCode?(uni.showToast({title:"Succeeded",icon:"success",duration:2500}),e.show=!1,e.init()):uni.showToast({title:"Failed",icon:"none",duration:2500})})).catch((function(e){uni.showToast({title:e,icon:"none",duration:2500})}))},goAddAddress:function(){uni.navigateTo({url:"addAddress/index"})},goAddCard2:function(e){var t=JSON.stringify(e);uni.navigateTo({url:"addAddress/index?card="+t})}}};t.default=o},f815:function(e,t,a){e.exports=a.p+"static/img/dizhi.0facf2a5.png"},f9bc:function(e,t,a){"use strict";a.r(t);var n=a("df8b"),i=a.n(n);for(var o in n)"default"!==o&&function(e){a.d(t,e,(function(){return n[e]}))}(o);t["default"]=i.a}}]);