shopList.js 4.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121
  1. (global.webpackJsonp = global.webpackJsonp || []).push([ [ "pages/address/shopList" ], {
  2. 209: function(n, e, t) {
  3. (function(n) {
  4. function e(n) {
  5. return n && n.__esModule ? n : {
  6. default: n
  7. };
  8. }
  9. t(4), e(t(2)), n(e(t(210)).default);
  10. }).call(this, t(1).createPage);
  11. },
  12. 210: function(n, e, t) {
  13. t.r(e);
  14. var r = t(211), s = t(213);
  15. for (var o in s) "default" !== o && function(n) {
  16. t.d(e, n, function() {
  17. return s[n];
  18. });
  19. }(o);
  20. t(215);
  21. var d = t(13), i = Object(d.default)(s.default, r.render, r.staticRenderFns, !1, null, null, null, !1, r.components, void 0);
  22. i.options.__file = "pages/address/shopList.vue", e.default = i.exports;
  23. },
  24. 211: function(n, e, t) {
  25. t.r(e);
  26. var r = t(212);
  27. t.d(e, "render", function() {
  28. return r.render;
  29. }), t.d(e, "staticRenderFns", function() {
  30. return r.staticRenderFns;
  31. }), t.d(e, "recyclableRender", function() {
  32. return r.recyclableRender;
  33. }), t.d(e, "components", function() {
  34. return r.components;
  35. });
  36. },
  37. 212: function(n, e, t) {
  38. t.r(e), t.d(e, "render", function() {
  39. return r;
  40. }), t.d(e, "staticRenderFns", function() {
  41. return o;
  42. }), t.d(e, "recyclableRender", function() {
  43. return s;
  44. }), t.d(e, "components", function() {});
  45. var r = function() {
  46. var n = this;
  47. n.$createElement;
  48. n._self._c;
  49. }, s = !1, o = [];
  50. r._withStripped = !0;
  51. },
  52. 213: function(n, e, t) {
  53. t.r(e);
  54. var r = t(214), s = t.n(r);
  55. for (var o in r) "default" !== o && function(n) {
  56. t.d(e, n, function() {
  57. return r[n];
  58. });
  59. }(o);
  60. e.default = s.a;
  61. },
  62. 214: function(n, e, t) {
  63. (function(n) {
  64. Object.defineProperty(e, "__esModule", {
  65. value: !0
  66. }), e.default = void 0, t(206);
  67. var r = {
  68. data: function() {
  69. return {
  70. source: 0,
  71. addressList: [],
  72. value: "",
  73. addressListAll: []
  74. };
  75. },
  76. onLoad: function(n) {
  77. this.addressListAll = this.addressList =this.$api.prePage().store_list, console.log(this.addressListAll);
  78. this.getlist();
  79. },
  80. methods: {
  81. getlist(){
  82. var t=this;
  83. wx.request({
  84. url: 'https://sc.manyuanchunjia.com/api/store_list',
  85. success (res) {
  86. console.log(res.data.data.list)
  87. t.addressList=res.data.data.list;
  88. }
  89. })
  90. },
  91. searchAddressList: function() {
  92. var n = this;
  93. console.log(n.addressListAll);
  94. n.addressList =n.addressListAll.filter(function(e) {
  95. return !!(e.name.indexOf(n.value) >= 0 && n.value) || 0 == n.value.length || void 0;
  96. }), console.log(n.addressList);
  97. },
  98. checkAddress: function(e) {
  99. this.$api.prePage().shopAddress = e, n.navigateBack();
  100. }
  101. }
  102. };
  103. e.default = r;
  104. }).call(this, t(1).default);
  105. },
  106. 215: function(n, e, t) {
  107. t.r(e);
  108. var r = t(216), s = t.n(r);
  109. for (var o in r) "default" !== o && function(n) {
  110. t.d(e, n, function() {
  111. return r[n];
  112. });
  113. }(o);
  114. e.default = s.a;
  115. },
  116. 216: function(n, e, t) {}
  117. }, [ [ 209, "common/runtime", "common/vendor" ] ] ]);