|
|
@@ -2,6 +2,7 @@
|
|
|
<view>
|
|
|
<block v-if="loginStyle == 0">
|
|
|
<!-- #ifdef MP-WEIXIN -->
|
|
|
+ <view @click="goLjh()"><image :src="`${constant.imgUrl}/ljh/banner2.jpg`" style="width:95%;margin:0 auto;" mode="widthFix"></image></view>
|
|
|
<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>
|
|
|
@@ -12,17 +13,14 @@
|
|
|
<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>
|
|
|
+ <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>
|
|
|
+ <button class="admin-button-com big blue" style="width:260upx;" @click="pageTo({url:'/admin/home/login'})">去登录</button>
|
|
|
</view>
|
|
|
-
|
|
|
</block>
|
|
|
-
|
|
|
<block v-else>
|
|
|
|
|
|
-
|
|
|
<view class="app-main app-content">
|
|
|
|
|
|
<template v-if="(loginInfo.staff && loginInfo.staff.super && loginInfo.staff.super == 1) || (loginInfo.staff && loginInfo.staff.lookStat && loginInfo.staff.lookStat ==1)">
|
|
|
@@ -267,6 +265,24 @@ export default {
|
|
|
showErrorPriceFn(){
|
|
|
this.$refs.errorPriceRef.open('top')
|
|
|
},
|
|
|
+ goLjh(){
|
|
|
+ let that = this
|
|
|
+ // #ifdef MP-WEIXIN
|
|
|
+ uni.navigateToMiniProgram({
|
|
|
+ //姜枫-2021.04.13
|
|
|
+ appId: that.getappIdList.hd.miniAppId,
|
|
|
+ path: 'admin/ljh/info',
|
|
|
+ //develop 开发版 trial 体验版 release 正式版
|
|
|
+ envVersion: process.env.NODE_ENV === 'development' ? 'develop' : 'release',
|
|
|
+ extraData: {},
|
|
|
+ success (res) {
|
|
|
+ }
|
|
|
+ })
|
|
|
+ // #endif
|
|
|
+ // #ifdef APP-PLUS
|
|
|
+ that.$msg("请用微信打开")
|
|
|
+ // #endif
|
|
|
+ },
|
|
|
buyItem() {
|
|
|
let that = this
|
|
|
// #ifdef MP-WEIXIN
|