فهرست منبع

shop-card 路径错误

sugar1569 7 سال پیش
والد
کامیت
ecc32b229a
2فایلهای تغییر یافته به همراه2 افزوده شده و 2 حذف شده
  1. 1 1
      application/wap/view/first/store/detail.html
  2. 1 1
      application/wap/view/first/store/index.html

+ 1 - 1
application/wap/view/first/store/detail.html

@@ -90,7 +90,7 @@
     window.$productAttr = <?php echo json_encode($productAttr) ?: '[]'; ?>;
     window.$productAttr = <?php echo json_encode($productAttr) ?: '[]'; ?>;
     window.$productValue = <?php echo json_encode($productValue) ?: '{}'; ?>;</script>
     window.$productValue = <?php echo json_encode($productValue) ?: '{}'; ?>;</script>
 <script
 <script
-    type="text/javascript">    requirejs(['vue', 'axios', 'helper', 'store', '{__WAP_PATH}crmeb/module/store/shop-card'], function (Vue, axios, $h, storeApi, shopCard) {
+    type="text/javascript">    requirejs(['vue', 'axios', 'helper', 'store', '{__WAP_PATH}crmeb/module/store/shop-card.js'], function (Vue, axios, $h, storeApi, shopCard) {
         new Vue({
         new Vue({
             el: "#store_detail",
             el: "#store_detail",
             components: {'shop-card': shopCard},
             components: {'shop-card': shopCard},

+ 1 - 1
application/wap/view/first/store/index.html

@@ -47,7 +47,7 @@
 </div>
 </div>
 <script>
 <script>
    var base = new Base64();
    var base = new Base64();
-    requirejs(['vue','store','better-scroll','helper','{__WAP_PATH}crmeb/module/store/shop-card'],function(Vue,storeApi,BScroll,$h,shopCard){
+    requirejs(['vue','store','better-scroll','helper','{__WAP_PATH}crmeb/module/store/shop-card.js'],function(Vue,storeApi,BScroll,$h,shopCard){
         shopCard.install(Vue);
         shopCard.install(Vue);
         var cid = "{$cid}";
         var cid = "{$cid}";
         new Vue({
         new Vue({