初始化商家端
This commit is contained in:
159
pages/xtsz/aboutUs/aboutUsbak.vue
Normal file
159
pages/xtsz/aboutUs/aboutUsbak.vue
Normal file
@ -0,0 +1,159 @@
|
||||
<template>
|
||||
<view class="page" :style="themeColor">
|
||||
<view class="flex benben-position-layout flex flex-wrap align-center aboutUs_flex_0"
|
||||
:style="{height:(88+StatusBarRpx)+'rpx',paddingTop:StatusBarRpx+'rpx'}">
|
||||
<view class='flex flex-wrap align-center justify-between flex-sub aboutUs_fd0_0'>
|
||||
<view class='flex flex-wrap align-center' @tap.stop="handleJumpDiy" data-type="back" data-url="1">
|
||||
<text class='fu-iconfont2 aboutUs_fd0_0_c0_c0' @tap.stop="handleJumpDiy" data-type="back"
|
||||
data-url="1"></text>
|
||||
</view>
|
||||
<view class='flex flex-wrap align-stretch justify-center flex-sub'>
|
||||
<text class='aboutUs_fd0_0_c1_c0'>关于我们</text>
|
||||
</view>
|
||||
<view class='flex flex-wrap align-center aboutUs_fd0_0_c2'>
|
||||
</view>
|
||||
</view>
|
||||
|
||||
</view>
|
||||
<view :style="{height: (88+StatusBarRpx)+'rpx'}"></view>
|
||||
|
||||
<view class="flex flex-direction flex-wrap align-center aboutUs_flex_1">
|
||||
<image class='aboutUs_fd1_0' mode="aspectFill" :src='web_site_logo'></image>
|
||||
<view class='flex flex-wrap align-center aboutUs_fd1_1'>
|
||||
<text>当前版本</text>
|
||||
<text>{{appVersion}}</text>
|
||||
</view>
|
||||
</view>
|
||||
|
||||
|
||||
<view class="flex flex-direction align-center benben-position-layout flex aboutUs_flex_2">
|
||||
<text class='aboutUs_fd2_0'>copyright©2020-2023 萬家商超商家端</text>
|
||||
<text class='aboutUs_fd2_1'>All Rights Reserved</text>
|
||||
|
||||
</view>
|
||||
<view :style="{height: '168rpx'}"></view>
|
||||
|
||||
|
||||
</view>
|
||||
</template>
|
||||
<script>
|
||||
export default {
|
||||
components: {},
|
||||
|
||||
|
||||
data() {
|
||||
return {
|
||||
web_site_logo:""
|
||||
};
|
||||
},
|
||||
computed: {
|
||||
themeColor() {
|
||||
return this.$store.getters.themeColor
|
||||
},
|
||||
appVersion() {
|
||||
// 获取版本号
|
||||
return this.$store.state.appVersion
|
||||
}
|
||||
},
|
||||
watch: {},
|
||||
onLoad(options) {
|
||||
this.Get6483f11510991()
|
||||
},
|
||||
onShow() {
|
||||
this.$store.dispatch('getAppVersion') // 更新版本号
|
||||
},
|
||||
methods: {
|
||||
Get6483f11510991(){
|
||||
this.$api.post(global.apiUrls.Get6483f11510991).then(res=>{
|
||||
if(res.data.code==1){
|
||||
this.web_site_logo =res.data.data.web_site_logo
|
||||
}
|
||||
})
|
||||
}
|
||||
}
|
||||
};
|
||||
</script>
|
||||
<style lang="scss" scoped>
|
||||
.page {
|
||||
width: 100vw;
|
||||
overflow-x: hidden;
|
||||
min-height: calc(100vh - var(--window-bottom));
|
||||
background: #fff;
|
||||
background-size: 100% auto !important;
|
||||
}
|
||||
|
||||
.aboutUs_flex_0 {
|
||||
background: #fff;
|
||||
width: 750rpx;
|
||||
height: 88rpx;
|
||||
overflow: hidden;
|
||||
z-index: 10;
|
||||
top: 0rpx;
|
||||
background-size: 100% auto !important;
|
||||
}
|
||||
|
||||
.aboutUs_fd0_0_c2 {
|
||||
width: 32rpx;
|
||||
height: 32rpx;
|
||||
}
|
||||
|
||||
.aboutUs_fd0_0_c1_c0 {
|
||||
font-size: 36rpx;
|
||||
font-weight: 500;
|
||||
color: #333;
|
||||
line-height: 88rpx;
|
||||
}
|
||||
|
||||
.aboutUs_fd0_0_c0_c0 {
|
||||
font-size: 32rpx;
|
||||
font-weight: 500;
|
||||
color: #333;
|
||||
line-height: 88rpx;
|
||||
}
|
||||
|
||||
.aboutUs_fd0_0 {
|
||||
margin: 0rpx 32rpx 0rpx 32rpx;
|
||||
}
|
||||
|
||||
.aboutUs_flex_1 {
|
||||
padding: 0rpx 0rpx 0rpx 0rpx;
|
||||
}
|
||||
|
||||
.aboutUs_fd1_1 {
|
||||
padding: 33rpx 0rpx 0rpx 0rpx;
|
||||
font-size: 28rpx;
|
||||
color: #333;
|
||||
font-weight: 400;
|
||||
}
|
||||
|
||||
.aboutUs_fd1_0 {
|
||||
width: 172rpx;
|
||||
height: 172rpx;
|
||||
border-radius: 58rpx 58rpx 58rpx 58rpx;
|
||||
margin: 97rpx 0rpx 0rpx 0rpx;
|
||||
}
|
||||
|
||||
.aboutUs_flex_2 {
|
||||
background: #fff;
|
||||
width: 750rpx;
|
||||
height: 168rpx;
|
||||
overflow: hidden;
|
||||
z-index: 10;
|
||||
bottom: calc(0rpx + var(--window-bottom));
|
||||
background-size: 100% auto !important;
|
||||
}
|
||||
|
||||
.aboutUs_fd2_1 {
|
||||
color: #BFBFBF;
|
||||
font-size: 28rpx;
|
||||
font-weight: 400;
|
||||
line-height: 45rpx;
|
||||
}
|
||||
|
||||
.aboutUs_fd2_0 {
|
||||
color: #BFBFBF;
|
||||
font-size: 28rpx;
|
||||
font-weight: 400;
|
||||
line-height: 45rpx;
|
||||
}
|
||||
</style>
|
||||
Reference in New Issue
Block a user