lhl 2 tahun lalu
induk
melakukan
07b2864bc8
34 mengubah file dengan 59 tambahan dan 1 penghapusan
  1. 11 0
      api/shop.js
  2. 32 0
      manifest.json
  3. 5 0
      pages/index/index.vue
  4. 10 0
      pages/shop/shopDetail.vue
  5. TEMPAT SAMPAH
      unpackage/dist/build/h5/h5.rar
  6. 1 1
      unpackage/dist/build/h5/index.html
  7. TEMPAT SAMPAH
      unpackage/dist/build/h5/static/img/store2.png
  8. TEMPAT SAMPAH
      unpackage/dist/build/h5/static/img/store3.png
  9. 0 0
      unpackage/dist/build/h5/static/js/index.4eb3263b.js
  10. 0 0
      unpackage/dist/build/h5/static/js/index.e317789a.js
  11. 0 0
      unpackage/dist/build/h5/static/js/pages-index-index.5410d4d0.js
  12. 0 0
      unpackage/dist/build/h5/static/js/pages-index-index.896f6429.js
  13. 0 0
      unpackage/dist/build/h5/static/js/pages-money-success.08cc68f0.js
  14. 0 0
      unpackage/dist/build/h5/static/js/pages-money-success.3d2d6d9e.js
  15. 0 0
      unpackage/dist/build/h5/static/js/pages-shop-djqQm.a5682ff6.js
  16. 0 0
      unpackage/dist/build/h5/static/js/pages-shop-shopDetail.fb57a36d.js
  17. 0 0
      unpackage/dist/build/h5/static/js/pages-shop-shopList.ee08c2ef.js
  18. TEMPAT SAMPAH
      unpackage/res/icons/1024x1024.png
  19. TEMPAT SAMPAH
      unpackage/res/icons/120x120.png
  20. TEMPAT SAMPAH
      unpackage/res/icons/144x144.png
  21. TEMPAT SAMPAH
      unpackage/res/icons/152x152.png
  22. TEMPAT SAMPAH
      unpackage/res/icons/167x167.png
  23. TEMPAT SAMPAH
      unpackage/res/icons/180x180.png
  24. TEMPAT SAMPAH
      unpackage/res/icons/192x192.png
  25. TEMPAT SAMPAH
      unpackage/res/icons/20x20.png
  26. TEMPAT SAMPAH
      unpackage/res/icons/29x29.png
  27. TEMPAT SAMPAH
      unpackage/res/icons/40x40.png
  28. TEMPAT SAMPAH
      unpackage/res/icons/58x58.png
  29. TEMPAT SAMPAH
      unpackage/res/icons/60x60.png
  30. TEMPAT SAMPAH
      unpackage/res/icons/72x72.png
  31. TEMPAT SAMPAH
      unpackage/res/icons/76x76.png
  32. TEMPAT SAMPAH
      unpackage/res/icons/80x80.png
  33. TEMPAT SAMPAH
      unpackage/res/icons/87x87.png
  34. TEMPAT SAMPAH
      unpackage/res/icons/96x96.png

+ 11 - 0
api/shop.js

@@ -0,0 +1,11 @@
+import request from "@/utils/request.js";
+
+//获取店铺
+export function getCouponsList(data, types) {
+	//优惠券状态 0全部 1未使用 2已使用
+	return request({
+		url: '/api/coupons/user/' + types,
+		method: 'get',
+		data
+	});
+}

+ 32 - 0
manifest.json

@@ -49,6 +49,38 @@
                         "UniversalLinks" : ""
                     }
                 }
+            },
+            "icons" : {
+                "android" : {
+                    "hdpi" : "unpackage/res/icons/72x72.png",
+                    "xhdpi" : "unpackage/res/icons/96x96.png",
+                    "xxhdpi" : "unpackage/res/icons/144x144.png",
+                    "xxxhdpi" : "unpackage/res/icons/192x192.png"
+                },
+                "ios" : {
+                    "appstore" : "unpackage/res/icons/1024x1024.png",
+                    "ipad" : {
+                        "app" : "unpackage/res/icons/76x76.png",
+                        "app@2x" : "unpackage/res/icons/152x152.png",
+                        "notification" : "unpackage/res/icons/20x20.png",
+                        "notification@2x" : "unpackage/res/icons/40x40.png",
+                        "proapp@2x" : "unpackage/res/icons/167x167.png",
+                        "settings" : "unpackage/res/icons/29x29.png",
+                        "settings@2x" : "unpackage/res/icons/58x58.png",
+                        "spotlight" : "unpackage/res/icons/40x40.png",
+                        "spotlight@2x" : "unpackage/res/icons/80x80.png"
+                    },
+                    "iphone" : {
+                        "app@2x" : "unpackage/res/icons/120x120.png",
+                        "app@3x" : "unpackage/res/icons/180x180.png",
+                        "notification@2x" : "unpackage/res/icons/40x40.png",
+                        "notification@3x" : "unpackage/res/icons/60x60.png",
+                        "settings@2x" : "unpackage/res/icons/58x58.png",
+                        "settings@3x" : "unpackage/res/icons/87x87.png",
+                        "spotlight@2x" : "unpackage/res/icons/80x80.png",
+                        "spotlight@3x" : "unpackage/res/icons/120x120.png"
+                    }
+                }
             }
         }
     },

+ 5 - 0
pages/index/index.vue

@@ -106,6 +106,8 @@
 		},
 		data() {
 			return {
+				lat: '',
+				lng: '',
 				tabbar: tabbar,
 				current: 0,
 				shareShow: false, //分享海报
@@ -240,6 +242,9 @@
 		// #endif
 		methods: {
 			...mapMutations(['setLat', 'setLon']),
+			getLocation() {
+
+			},
 			getGoodList() {
 				let obj = this
 				getProducts({

+ 10 - 0
pages/shop/shopDetail.vue

@@ -34,7 +34,17 @@
 			</scroll-view>
 		</view>
 		<view class="shop-dhq">
+			<view class="dhq-left">
 
+			</view>
+			<view class="dhq-right">
+				<view class="right-btn">
+					抢购
+				</view>
+				<view class="right-btn">
+					抢购
+				</view>
+			</view>
 		</view>
 		<view class="store-main" v-if="info.images != null">
 			<view class="smain-title">店内图片</view>

TEMPAT SAMPAH
unpackage/dist/build/h5/h5.rar


+ 1 - 1
unpackage/dist/build/h5/index.html

@@ -1,2 +1,2 @@
 <!DOCTYPE html><html lang=zh-CN><head><meta charset=utf-8><meta http-equiv=X-UA-Compatible content="IE=edge"><title>想亮商城</title><script>var coverSupport = 'CSS' in window && typeof CSS.supports === 'function' && (CSS.supports('top: env(a)') || CSS.supports('top: constant(a)'))
-            document.write('<meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0' + (coverSupport ? ', viewport-fit=cover' : '') + '" />')</script><link rel=stylesheet href=/index/static/index.a5c69d49.css></head><body><noscript><strong>Please enable JavaScript to continue.</strong></noscript><div id=app></div><script src=/index/static/js/chunk-vendors.8d82caf1.js></script><script src=/index/static/js/index.4eb3263b.js></script></body></html>
+            document.write('<meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0' + (coverSupport ? ', viewport-fit=cover' : '') + '" />')</script><link rel=stylesheet href=/index/static/index.a5c69d49.css></head><body><noscript><strong>Please enable JavaScript to continue.</strong></noscript><div id=app></div><script src=/index/static/js/chunk-vendors.8d82caf1.js></script><script src=/index/static/js/index.e317789a.js></script></body></html>

TEMPAT SAMPAH
unpackage/dist/build/h5/static/img/store2.png


TEMPAT SAMPAH
unpackage/dist/build/h5/static/img/store3.png


File diff ditekan karena terlalu besar
+ 0 - 0
unpackage/dist/build/h5/static/js/index.4eb3263b.js


File diff ditekan karena terlalu besar
+ 0 - 0
unpackage/dist/build/h5/static/js/index.e317789a.js


File diff ditekan karena terlalu besar
+ 0 - 0
unpackage/dist/build/h5/static/js/pages-index-index.5410d4d0.js


File diff ditekan karena terlalu besar
+ 0 - 0
unpackage/dist/build/h5/static/js/pages-index-index.896f6429.js


File diff ditekan karena terlalu besar
+ 0 - 0
unpackage/dist/build/h5/static/js/pages-money-success.08cc68f0.js


File diff ditekan karena terlalu besar
+ 0 - 0
unpackage/dist/build/h5/static/js/pages-money-success.3d2d6d9e.js


File diff ditekan karena terlalu besar
+ 0 - 0
unpackage/dist/build/h5/static/js/pages-shop-djqQm.a5682ff6.js


File diff ditekan karena terlalu besar
+ 0 - 0
unpackage/dist/build/h5/static/js/pages-shop-shopDetail.fb57a36d.js


File diff ditekan karena terlalu besar
+ 0 - 0
unpackage/dist/build/h5/static/js/pages-shop-shopList.ee08c2ef.js


TEMPAT SAMPAH
unpackage/res/icons/1024x1024.png


TEMPAT SAMPAH
unpackage/res/icons/120x120.png


TEMPAT SAMPAH
unpackage/res/icons/144x144.png


TEMPAT SAMPAH
unpackage/res/icons/152x152.png


TEMPAT SAMPAH
unpackage/res/icons/167x167.png


TEMPAT SAMPAH
unpackage/res/icons/180x180.png


TEMPAT SAMPAH
unpackage/res/icons/192x192.png


TEMPAT SAMPAH
unpackage/res/icons/20x20.png


TEMPAT SAMPAH
unpackage/res/icons/29x29.png


TEMPAT SAMPAH
unpackage/res/icons/40x40.png


TEMPAT SAMPAH
unpackage/res/icons/58x58.png


TEMPAT SAMPAH
unpackage/res/icons/60x60.png


TEMPAT SAMPAH
unpackage/res/icons/72x72.png


TEMPAT SAMPAH
unpackage/res/icons/76x76.png


TEMPAT SAMPAH
unpackage/res/icons/80x80.png


TEMPAT SAMPAH
unpackage/res/icons/87x87.png


TEMPAT SAMPAH
unpackage/res/icons/96x96.png


Beberapa file tidak ditampilkan karena terlalu banyak file yang berubah dalam diff ini