Browse Source

上传

master
前端-胡立永 7 months ago
parent
commit
fa36d738a4
8 changed files with 26 additions and 24 deletions
  1. +20
    -13
      components/base/tabbar.vue
  2. +1
    -1
      pages.json
  3. +0
    -3
      pages/index/center.vue
  4. +1
    -2
      pages/index/index.vue
  5. +0
    -1
      pages/index/tourGuide.vue
  6. +4
    -4
      pages_order/service/applyRelic.vue
  7. +0
    -0
      pages_order/static/applyRelic/2.png
  8. +0
    -0
      pages_order/static/applyRelic/jdz.png

+ 20
- 13
components/base/tabbar.vue View File

@ -1,17 +1,20 @@
<template>
<view class="tabbar">
<view
:class="{item : true, active : select == index}"
v-for="(item, index) in list"
:key="index"
@click="toPath(item, index)">
<view class="icon">
<image :src="select == index ?
item.selectedIconPath :
item.iconPath" class="icon-image" mode=""></image>
</view>
<view class="title">
{{ item.title }}
<view>
<view class="tabbar-box"></view>
<view class="tabbar">
<view
:class="{item : true, active : select == index}"
v-for="(item, index) in list"
:key="index"
@click="toPath(item, index)">
<view class="icon">
<image :src="select == index ?
item.selectedIconPath :
item.iconPath" class="icon-image" mode=""></image>
</view>
<view class="title">
{{ item.title }}
</view>
</view>
</view>
</view>
@ -59,6 +62,10 @@
</script>
<style scoped lang="scss">
.tabbar-box{
height: 120rpx;
padding-bottom: env(safe-area-inset-bottom);
}
.tabbar{
position: fixed;
width: 750rpx;


+ 1
- 1
pages.json View File

@ -64,7 +64,7 @@
"path": "service/carefree"
},
{
"path": "relic/apply"
"path": "service/applyRelic"
},
{
"path": "mine/subscribe"


+ 0
- 3
pages/index/center.vue View File

@ -94,9 +94,6 @@
<style scoped lang="scss">
.page {
padding-bottom: 200rpx;
min-height: 100vh;
background-color: #FFFDF6;
.line{
margin: 30rpx;
background-color: #fff;


+ 1
- 2
pages/index/index.vue View File

@ -100,7 +100,7 @@
{
icon : '/static/image/home/g1.png',
title : '申遗历程',
path : '/pages_order/relic/apply',
path : '/pages_order/service/applyRelic',
},
{
icon : '/static/image/home/g2.png',
@ -173,7 +173,6 @@
<style scoped lang="scss">
.page{
padding-bottom: 200rpx;
.banner{
position: relative;
.top{


+ 0
- 1
pages/index/tourGuide.vue View File

@ -131,6 +131,5 @@
<style scoped lang="scss">
.page{
padding-bottom: 200rpx;
}
</style>

pages_order/relic/apply.vue → pages_order/service/applyRelic.vue View File

@ -3,19 +3,19 @@
<navbar title="申请遗迹" leftClick @leftClick="$utils.navigateBack" />
<view class="top-img">
<image src="../static/relic/jdz.png" mode="aspectFill" style="width: 100%; height: 100%;"></image>
<image src="../static/applyRelic/jdz.png" mode="aspectFill" style="width: 100%; height: 100%;"></image>
</view>
<view class="middle-box">
<view class="middle-img">
<view>
<image src="../static/relic/2.png" mode="aspectFill" />
<image src="../static/applyRelic/2.png" mode="aspectFill" />
</view>
<view>
<image src="../static/relic/2.png" mode="aspectFill" />
<image src="../static/applyRelic/2.png" mode="aspectFill" />
</view>
<view>
<image src="../static/relic/2.png" mode="aspectFill" />
<image src="../static/applyRelic/2.png" mode="aspectFill" />
</view>
</view>
<view class="middle-font">

pages_order/static/relic/2.png → pages_order/static/applyRelic/2.png View File


pages_order/static/relic/jdz.png → pages_order/static/applyRelic/jdz.png View File


Loading…
Cancel
Save