提交 60dba038 编写于 作者: zhangzhiwei's avatar zhangzhiwei

.

上级 3dc8297e
...@@ -87,11 +87,11 @@ border: 1rpx solid #EBA926;color: #EBA926;padding: 2rpx 10rpx" @click="goPhoneBt ...@@ -87,11 +87,11 @@ border: 1rpx solid #EBA926;color: #EBA926;padding: 2rpx 10rpx" @click="goPhoneBt
<van-image @click="goUrl(4)" width="100%" style="margin-top: 12rpx" radius="20rpx" src="../../static/img/dz/act01.png" <van-image @click="goUrl(4)" width="100%" style="margin-top: 12rpx" radius="20rpx" src="../../static/img/dz/act01.png"
/> />
</van-col> </van-col>
<van-col span="12"> <van-col span="12" v-if="false">
<van-image @click="goUrl(5)" width="100%" style="margin-top: 12rpx" radius="20rpx" src="../../static/img/dz/act05.png" <van-image @click="goUrl(5)" width="100%" style="margin-top: 12rpx" radius="20rpx" src="../../static/img/dz/act05.png"
/> />
</van-col> </van-col>
<van-col span="12"> <van-col span="12" v-if="false">
<van-image @click="goUrl(6)" width="100%" style="margin-top: 12rpx" radius="20rpx" src="../../static/img/dz/act06.png" <van-image @click="goUrl(6)" width="100%" style="margin-top: 12rpx" radius="20rpx" src="../../static/img/dz/act06.png"
/> />
</van-col> </van-col>
......
...@@ -3,7 +3,7 @@ ...@@ -3,7 +3,7 @@
<van-sticky> <van-sticky>
<view class="justify-center bg-white sh pd-px-20 mg-b-20"> <view class="justify-center bg-white sh pd-px-20 mg-b-20">
<van-icon class="top-left" name="arrow-left" @tap="goBack" /> <van-icon class="top-left" name="arrow-left" @tap="goBack" />
<view class="top-center">店铺信息</view> <view class="top-center" @click="goMap">店铺信息</view>
</view> </view>
</van-sticky> </van-sticky>
<view class="card" id="capture"> <view class="card" id="capture">
...@@ -13,7 +13,7 @@ ...@@ -13,7 +13,7 @@
/> />
</van-col> </van-col>
<van-col span="18" style="text-align: left"> <van-col span="18" style="text-align: left">
<view style="font-size: 34rpx;font-weight: bold">{{state.useInfo.storeName}}</view> <view style="font-size: 34rpx;font-weight: bold" >{{state.useInfo.storeName}}</view>
<view style="font-size: 26rpx;margin-top: 4px"> <van-icon name="manager-o" color="#707070" size="16px" style="margin-right: 10rpx"/>{{state.useInfo.contacts}} <span style="margin: 0 16rpx;color: #DDDDDD">|</span><van-icon name="phone-o" color="#707070" size="16px" /> {{state.useInfo.contactPhone}} <span style="float: right;border-radius: 8rpx; <view style="font-size: 26rpx;margin-top: 4px"> <van-icon name="manager-o" color="#707070" size="16px" style="margin-right: 10rpx"/>{{state.useInfo.contacts}} <span style="margin: 0 16rpx;color: #DDDDDD">|</span><van-icon name="phone-o" color="#707070" size="16px" /> {{state.useInfo.contactPhone}} <span style="float: right;border-radius: 8rpx;
border: 1rpx solid #EBA926;color: #EBA926;padding: 2rpx 10rpx" @click="goPhoneBtn(state.useInfo.contactPhone)">拨打</span> </view> border: 1rpx solid #EBA926;color: #EBA926;padding: 2rpx 10rpx" @click="goPhoneBtn(state.useInfo.contactPhone)">拨打</span> </view>
</van-col> </van-col>
...@@ -42,6 +42,9 @@ border: 1rpx solid #EBA926;color: #EBA926;padding: 2rpx 10rpx" @click="goPhoneBt ...@@ -42,6 +42,9 @@ border: 1rpx solid #EBA926;color: #EBA926;padding: 2rpx 10rpx" @click="goPhoneBt
onMounted(()=>{ onMounted(()=>{
getStoreInfo() getStoreInfo()
}) })
function goMap() {
window._wx.miniProgram.redirectTo({url: "/pages/map/index"})
}
function getStoreInfo() { function getStoreInfo() {
api.storeInfo({ link: uni.getStorageSync("subdomain") }).then(res=>{ api.storeInfo({ link: uni.getStorageSync("subdomain") }).then(res=>{
state.useInfo=res state.useInfo=res
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册