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
3.9 KiB

(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-template-address-index"],{"0b4f":function(t,e,a){"use strict";a.d(e,"b",(function(){return n})),a.d(e,"c",(function(){return s})),a.d(e,"a",(function(){return i}));var i={uIcon:a("b1e3").default},n=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("v-uni-view",[t._l(t.siteList,(function(e,i){return a("v-uni-view",{key:e.id,staticClass:"item"},[a("v-uni-view",{staticClass:"top"},[a("v-uni-view",{staticClass:"name"},[t._v(t._s(e.name))]),a("v-uni-view",{staticClass:"phone"},[t._v(t._s(e.phone))]),a("v-uni-view",{staticClass:"tag"},t._l(e.tag,(function(e,i){return a("v-uni-text",{key:i,class:{red:"默认"==e.tagText}},[t._v(t._s(e.tagText))])})),1)],1),a("v-uni-view",{staticClass:"bottom"},[t._v("广东省深圳市宝安区 自由路66号"),a("u-icon",{attrs:{name:"edit-pen",size:40,color:"#999999"}})],1)],1)})),a("v-uni-view",{staticClass:"addSite",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.toAddSite.apply(void 0,arguments)}}},[a("v-uni-view",{staticClass:"add"},[a("u-icon",{staticClass:"icon",attrs:{name:"plus",color:"#ffffff",size:30}}),t._v("新建收货地址")],1)],1)],2)},s=[]},"0fcd":function(t,e,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var i={data:function(){return{siteList:[]}},onLoad:function(){this.getData()},methods:{getData:function(){this.siteList=[{id:1,name:"游X",phone:"183****5523",tag:[{tagText:"默认"},{tagText:"家"}],site:"广东省深圳市宝安区 自由路66号"},{id:2,name:"李XX",phone:"183****5555",tag:[{tagText:"公司"}],site:"广东省深圳市宝安区 翻身路xx号"},{id:3,name:"王YY",phone:"153****5555",tag:[],site:"广东省深圳市宝安区 平安路13号"}]},toAddSite:function(){uni.navigateTo({url:"/pages/template/address/addSite"})}}};e.default=i},"5c1e":function(t,e,a){"use strict";a.r(e);var i=a("0fcd"),n=a.n(i);for(var s in i)"default"!==s&&function(t){a.d(e,t,(function(){return i[t]}))}(s);e["default"]=n.a},a22b:function(t,e,a){var i=a("f059");"string"===typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals);var n=a("4f06").default;n("ac5c3c3e",i,!0,{sourceMap:!1,shadowMode:!1})},aadd:function(t,e,a){"use strict";a.r(e);var i=a("0b4f"),n=a("5c1e");for(var s in n)"default"!==s&&function(t){a.d(e,t,(function(){return n[t]}))}(s);a("c6b5");var o,f=a("f0c5"),d=Object(f["a"])(n["default"],i["b"],i["c"],!1,null,"9211ff04",null,!1,i["a"],o);e["default"]=d.exports},c6b5:function(t,e,a){"use strict";var i=a("a22b"),n=a.n(i);n.a},f059:function(t,e,a){var i=a("24fb");e=i(!1),e.push([t.i,'@charset "UTF-8";\n/**\n * 下方引入的为uView UI的集成样式文件,为scss预处理器,其中包含了一些"u-"开头的自定义变量\n * 使用的时候,请将下面的一行复制到您的uniapp项目根目录的uni.scss中即可\n * uView自定义的css类名和scss变量,均以"u-"开头,不会造成冲突,请放心使用 \n */.item[data-v-9211ff04]{padding:%?40?% %?20?%}.item .top[data-v-9211ff04]{display:flex;font-weight:700;font-size:%?34?%}.item .top .phone[data-v-9211ff04]{margin-left:%?60?%}.item .top .tag[data-v-9211ff04]{display:flex;font-weight:400;align-items:center}.item .top .tag uni-text[data-v-9211ff04]{display:block;width:%?60?%;height:%?34?%;line-height:%?34?%;color:#fff;font-size:%?20?%;border-radius:%?6?%;text-align:center;margin-left:%?30?%;background-color:#3191fd}.item .top .tag .red[data-v-9211ff04]{background-color:red}.item .bottom[data-v-9211ff04]{display:flex;margin-top:%?20?%;font-size:%?28?%;justify-content:space-between;color:#999}.addSite[data-v-9211ff04]{display:flex;justify-content:space-around;width:%?600?%;line-height:%?100?%;position:absolute;bottom:%?30?%;left:%?80?%;background-color:red;border-radius:%?60?%;font-size:%?30?%}.addSite .add[data-v-9211ff04]{display:flex;align-items:center;color:#fff}.addSite .add .icon[data-v-9211ff04]{margin-right:%?10?%}',""]),t.exports=e}}]);