|
@@ -1,11 +1,11 @@
|
|
|
<template>
|
|
<template>
|
|
|
- <view class="app-content">
|
|
|
|
|
|
|
+ <view class="app-content" style="background: #fff;">
|
|
|
<view class="header_logo">
|
|
<view class="header_logo">
|
|
|
<image :src="`${constant.imgUrl}/ghs/home_page/logo.png`" mode="widthFix"></image>
|
|
<image :src="`${constant.imgUrl}/ghs/home_page/logo.png`" mode="widthFix"></image>
|
|
|
- <view class="free_register">免费注册</view>
|
|
|
|
|
|
|
+ <view class="free_register" @click="pageTo({url: '/pagesClient/official/pay'})">免费注册</view>
|
|
|
</view>
|
|
</view>
|
|
|
<view class="main">
|
|
<view class="main">
|
|
|
- <image class="banner" :src="`${constant.imgUrl}/ghs/home_page/banner.png`"></image>
|
|
|
|
|
|
|
+ <image class="banner" :src="`${constant.imgUrl}/ghs/home_page/banner.png`" @click="pageTo({url: '/pagesClient/official/pay'})"></image>
|
|
|
<image class="pic1" :src="`${constant.imgUrl}/ghs/home_page/pic01.png`"></image>
|
|
<image class="pic1" :src="`${constant.imgUrl}/ghs/home_page/pic01.png`"></image>
|
|
|
<view class="intro">
|
|
<view class="intro">
|
|
|
<view v-for="(item, index) in list1" :key="index">
|
|
<view v-for="(item, index) in list1" :key="index">
|
|
@@ -22,13 +22,15 @@
|
|
|
</view>
|
|
</view>
|
|
|
<view class="footer_bar">
|
|
<view class="footer_bar">
|
|
|
<view class="relation">联系我们</view>
|
|
<view class="relation">联系我们</view>
|
|
|
- <view class="free">免费试用</view>
|
|
|
|
|
|
|
+ <view class="free" @click="pageTo({url: '/pagesClient/official/pay'})" v-if="this.getLoginInfo.openShop !== 1">免费试用</view>
|
|
|
|
|
+ <div v-if="this.getLoginInfo.openShop == 1" class="app-footer">已申请</div>
|
|
|
</view>
|
|
</view>
|
|
|
</view>
|
|
</view>
|
|
|
</template>
|
|
</template>
|
|
|
|
|
|
|
|
<script>
|
|
<script>
|
|
|
import AppSwiper from "@/components/app-swiper";
|
|
import AppSwiper from "@/components/app-swiper";
|
|
|
|
|
+import { mapGetters } from 'vuex';
|
|
|
export default {
|
|
export default {
|
|
|
components: {
|
|
components: {
|
|
|
AppSwiper,
|
|
AppSwiper,
|
|
@@ -92,6 +94,13 @@ export default {
|
|
|
],
|
|
],
|
|
|
}
|
|
}
|
|
|
},
|
|
},
|
|
|
|
|
+ mounted() {
|
|
|
|
|
+ // 隐藏返回首页按钮。
|
|
|
|
|
+ uni.hideHomeButton()
|
|
|
|
|
+ },
|
|
|
|
|
+ computed: {
|
|
|
|
|
+ ...mapGetters(["getMerchantInfo", "getLoginInfo"])
|
|
|
|
|
+ },
|
|
|
onLoad() {
|
|
onLoad() {
|
|
|
console.log(this.constant)
|
|
console.log(this.constant)
|
|
|
}
|
|
}
|
|
@@ -129,7 +138,7 @@ export default {
|
|
|
}
|
|
}
|
|
|
.main{
|
|
.main{
|
|
|
margin: 100upx 0;
|
|
margin: 100upx 0;
|
|
|
- padding-bottom: 100upx;
|
|
|
|
|
|
|
+ padding-bottom: 70upx;
|
|
|
&>.banner{
|
|
&>.banner{
|
|
|
width: 100vw;
|
|
width: 100vw;
|
|
|
height: 750upx;
|
|
height: 750upx;
|