mirror of
https://github.com/crmeb/CRMEB.git
synced 2026-01-05 20:10:24 +00:00
shop-card 路径错误
This commit is contained in:
parent
cb294655d9
commit
ecc32b229a
@ -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},
|
||||||
|
|||||||
@ -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({
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user