|
|
@@ -2,23 +2,14 @@
|
|
|
<view>
|
|
|
<block v-if="loginStyle == 0">
|
|
|
<!-- #ifdef MP-WEIXIN -->
|
|
|
- <view style="width:100vw;height:400upx;display:flex;align-items:center;justify-content:center;position:relative;">
|
|
|
- <view style="position:absolute;top:60upx;font-size:35upx;">
|
|
|
- <text style="color:#333333;margin-left:8upx;font-weight:bold;">花店买花点这里</text>
|
|
|
- </view>
|
|
|
- <button class="admin-button-com big blue" style="width:260upx;" @click="buyItem()">去买花</button>
|
|
|
+ <view style="width:100vw;height:300upx;display:flex;align-items:center;justify-content:center;position:relative;">
|
|
|
+ <button class="admin-button-com big blue" style="width:260upx;" @click="buyItem()">花店买花</button>
|
|
|
</view>
|
|
|
<!-- #endif -->
|
|
|
- <view style="width:100vw;height:400upx;display:flex;align-items:center;justify-content:center;position:relative;">
|
|
|
- <!-- #ifdef MP-WEIXIN -->
|
|
|
- <view style="position:absolute;top:60upx;font-size:35upx;">
|
|
|
- <text style="color:#333333;margin-left:8upx;font-weight:bold;">批发店登录点这里</text>
|
|
|
- </view>
|
|
|
- <!-- #endif -->
|
|
|
- <button class="admin-button-com big blue" style="width:260upx;" @click="pageTo({url:'/admin/home/login'})">去登录</button>
|
|
|
-
|
|
|
- <text style="color:green;position:absolute;top:300upx;font-size:32upx;text-decoration: underline;" @click="pageTo({url:'/pagesClient/official/apply'})">批发店注册</text>
|
|
|
-
|
|
|
+ <view style="width:100vw;height:300upx;display:flex;align-items:center;justify-content:center;position:relative;">
|
|
|
+ <button class="admin-button-com big blue" style="width:260upx;" @click="pageTo({url:'/admin/home/login'})">批发店登录</button>
|
|
|
+ <text style="color:green;position:absolute;top:260upx;font-size:32upx;text-decoration: underline;" @click="pageTo({url:'/pagesClient/official/apply'})">批发店注册</text>
|
|
|
+ <text style="color:green;position:absolute;top:350upx;font-size:32upx;text-decoration: underline;" @click.stop="toPhone()">联系官方</text>
|
|
|
</view>
|
|
|
</block>
|
|
|
<block v-else>
|
|
|
@@ -244,6 +235,9 @@ export default {
|
|
|
},
|
|
|
methods: {
|
|
|
...mapActions(['setUserShopAll']),
|
|
|
+ toPhone(){
|
|
|
+ uni.makePhoneCall({ phoneNumber:'15280215347' })
|
|
|
+ },
|
|
|
getShopName(){
|
|
|
currentShop().then(res => {
|
|
|
if(res.code == 1){
|