|
|
@ -16,7 +16,7 @@ |
|
|
|
</view> |
|
|
|
</view> |
|
|
|
<view class="row-right"> |
|
|
|
<view class="row-right"> |
|
|
|
<view> |
|
|
|
<view> |
|
|
|
<a class="store-phone" :href="'tel:' + item.phone"> |
|
|
|
<a class="store-phone" @click="telPhone(item.phone)"> |
|
|
|
<text class="iconfont icon-dadianhua01"></text> |
|
|
|
<text class="iconfont icon-dadianhua01"></text> |
|
|
|
</a> |
|
|
|
</a> |
|
|
|
</view> |
|
|
|
</view> |
|
|
@ -35,7 +35,7 @@ |
|
|
|
<script> |
|
|
|
<script> |
|
|
|
import Loading from "@/components/Loading"; |
|
|
|
import Loading from "@/components/Loading"; |
|
|
|
import { storeListApi } from "@/api/store"; |
|
|
|
import { storeListApi } from "@/api/store"; |
|
|
|
import { isWeixin } from "@/utils/index"; |
|
|
|
import { isWeixin,tel } from "@/utils/index"; |
|
|
|
import { wechatEvevt, wxShowLocation } from "@/libs/wechat"; |
|
|
|
import { wechatEvevt, wxShowLocation } from "@/libs/wechat"; |
|
|
|
import { mapGetters } from "vuex"; |
|
|
|
import { mapGetters } from "vuex"; |
|
|
|
import cookie from "@/utils/store/cookie"; |
|
|
|
import cookie from "@/utils/store/cookie"; |
|
|
@ -79,6 +79,15 @@ export default { |
|
|
|
this.$yrouter.back(); |
|
|
|
this.$yrouter.back(); |
|
|
|
} |
|
|
|
} |
|
|
|
}, |
|
|
|
}, |
|
|
|
|
|
|
|
//拨打电话 |
|
|
|
|
|
|
|
telPhone(phoneNumber) { |
|
|
|
|
|
|
|
uni.makePhoneCall({ |
|
|
|
|
|
|
|
phoneNumber: phoneNumber, |
|
|
|
|
|
|
|
fail() { |
|
|
|
|
|
|
|
console.log("取消拨打"); |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
}); |
|
|
|
|
|
|
|
}, |
|
|
|
// 获取门店列表数据 |
|
|
|
// 获取门店列表数据 |
|
|
|
getList: function() { |
|
|
|
getList: function() { |
|
|
|
if (this.loading || this.loaded) return; |
|
|
|
if (this.loading || this.loaded) return; |
|
|
|