Browse Source

pagebgimg修改

master
unknown 6 months ago
parent
commit
2224e0c5ae
  1. 27
      common/css/app.scss
  2. 2
      components/scrollNav/scrollNav.vue
  3. 3
      pages/indexEntry/settlement/detail/detail.vue
  4. 6
      pages/indexEntry/settlement/settlement.vue
  5. 2
      pages/recordEntry/operate/todayStudent/todayStudent.vue
  6. 4
      pages/recordEntry/student/addStudent/addStudent.vue
  7. 4
      pages/recordEntry/student/addStudent/searchStudent.vue
  8. 17
      pages/recordEntry/student/studentDetail/studentDetail.vue
  9. 3
      pages/tabbar/mine/index.vue
  10. 13
      pages/tabbar/operateTrain/index.vue
  11. 10
      pages/tabbar/student/index.vue
  12. 2
      pages/userCenter/forgetPwd/forgetPwd.vue
  13. 2
      pages/userCenter/myCar/myCar.vue
  14. 3
      pages/userCenter/myCar/notBound/notBound.vue
  15. 3
      pages/userCenter/personaInfo/personaInfo.vue
  16. 4
      pages/userCenter/refund/refund.vue
  17. 3
      pages/userCenter/scanCode/scanCode.vue
  18. 3
      pages/userCenter/scanCode/scanCodeSchool.vue
  19. 3
      pages/userCenter/schoolCoach/coachComment/coachComment.vue
  20. 3
      pages/userCenter/schoolCoach/schoolCoach.vue
  21. 3
      pages/userCenter/schoolSite/schoolSite.vue
  22. 3
      pages/userCenter/settled/settled.vue
  23. 7
      pages/userCenter/studentComment/studentComment.vue

27
common/css/app.scss

@ -38,14 +38,39 @@ view {
color: #333; color: #333;
font-size: 28rpx; font-size: 28rpx;
min-height: 100vh; min-height: 100vh;
position: relative;
width: 100%;
padding-bottom: 50rpx;
} }
.pageBgImg { .pageBgImg {
font-size: 28rpx;; font-size: 28rpx;;
color: #333; color: #333;
background: #F6F6F6; background: #F6F6F6;
background-color: #1989fa;
position: relative;
width: 100%; width: 100%;
z-index: 0;
min-height: 100vh;
padding-bottom: 50rpx;
&::before {
content: '';
position: absolute;
left: 0;
top: 0;
z-index: -2;
height: 324rpx; height: 324rpx;
width: 100%;
background-color: #1989fa;
}
}
.bgImg {
height: auto;
width: 100%;
background-color: #1989fa;
}
.poz2 {
position: relative;
z-index: 2;
} }
.pad { .pad {
padding: 0 28rpx; padding: 0 28rpx;

2
components/scrollNav/scrollNav.vue

@ -21,7 +21,7 @@
<style lang="scss" scoped> <style lang="scss" scoped>
.scroll-view_w { .scroll-view_w {
width: 100%; width: 100%;
margin: 30rpx 0 40rpx 0;
margin: 30rpx 0 20rpx 0;
.tabs { .tabs {
display: flex; display: flex;
flex-wrap: nowrap; flex-wrap: nowrap;

3
pages/indexEntry/settlement/detail/detail.vue

@ -1,6 +1,4 @@
<template> <template>
<view class="pageBg">
<view class="pageBgImg"> <view class="pageBgImg">
<topNavbar title="结算明细"></topNavbar> <topNavbar title="结算明细"></topNavbar>
<view class="pad"> <view class="pad">
@ -51,7 +49,6 @@
</view> </view>
</view> </view>
</view> </view>
</view>
</template> </template>
<script> <script>

6
pages/indexEntry/settlement/settlement.vue

@ -1,7 +1,7 @@
<template> <template>
<!-- 结算明细 --> <!-- 结算明细 -->
<view class="pageBg"> <view class="pageBg">
<view class="pageBgImg">
<view class="bgImg">
<topNavbar title="结算明细"></topNavbar> <topNavbar title="结算明细"></topNavbar>
<view class="pad"> <view class="pad">
<searchRow placeholder="搜索学员姓名/学员手机号" @searchFn="searchFn"/> <searchRow placeholder="搜索学员姓名/学员手机号" @searchFn="searchFn"/>
@ -36,7 +36,7 @@
</view> </view>
<u-datetime-picker :show="showDatePicker" v-model="searchMonth" mode="year-month" :visibleItemCount="4" <u-datetime-picker :show="showDatePicker" v-model="searchMonth" mode="year-month" :visibleItemCount="4"
:closeOnClickOverlay="false" @confirm="confirmDatePicker" @cancel="cancelDatePicker"></u-datetime-picker>
:closeOnClickOverlay="false" @confirm="confirmDatePicker" @cancel="showDatePicker=false"></u-datetime-picker>
</view> </view>
</template> </template>
@ -155,7 +155,7 @@
</script> </script>
<style lang="scss" scoped> <style lang="scss" scoped>
.pageBgImg {
.bgImg {
height: 100%; height: 100%;
} }

2
pages/recordEntry/operate/todayStudent/todayStudent.vue

@ -1,5 +1,4 @@
<template> <template>
<view class="pageBg">
<view class="pageBgImg"> <view class="pageBgImg">
<topNavbar title="上课学员"></topNavbar> <topNavbar title="上课学员"></topNavbar>
@ -60,7 +59,6 @@
</view> </view>
<nodata v-else style="margin-top: 320rpx;"></nodata> <nodata v-else style="margin-top: 320rpx;"></nodata>
</view> </view>
</view>
</template> </template>
<script> <script>

4
pages/recordEntry/student/addStudent/addStudent.vue

@ -1,6 +1,4 @@
<template> <template>
<view class="pageBg">
<view class="pageBgImg"> <view class="pageBgImg">
<topNavbar title="选择学员"></topNavbar> <topNavbar title="选择学员"></topNavbar>
<view class="pad"> <view class="pad">
@ -28,8 +26,6 @@
</view> </view>
</view> </view>
</view> </view>
</view>
</template> </template>
<script> <script>

4
pages/recordEntry/student/addStudent/searchStudent.vue

@ -1,6 +1,4 @@
<template> <template>
<view class="pageBg">
<view class="pageBgImg"> <view class="pageBgImg">
<topNavbar title="选择学员"></topNavbar> <topNavbar title="选择学员"></topNavbar>
<view class="pad"> <view class="pad">
@ -27,8 +25,6 @@
</view> </view>
</view> </view>
</view> </view>
</view>
</template> </template>
<script> <script>

17
pages/recordEntry/student/studentDetail/studentDetail.vue

@ -1,13 +1,12 @@
<template> <template>
<view class="pageBg"> <view class="pageBg">
<view class="pageBgImg">
<view class="bgImg">
<topNavbar title="学员详情"></topNavbar> <topNavbar title="学员详情"></topNavbar>
<view class="pad" > <view class="pad" >
<cardNav :navData="navData" :currentNav="currentNav" @changeNav="changeNav"></cardNav> <cardNav :navData="navData" :currentNav="currentNav" @changeNav="changeNav"></cardNav>
</view> </view>
<scrollNav @changeTab="changeTab" :currentTab="currentTab" :tabData="tabData" v-if="currentNav==1"/> <scrollNav @changeTab="changeTab" :currentTab="currentTab" :tabData="tabData" v-if="currentNav==1"/>
</view>
<view class="pad"> <view class="pad">
<view class="con" v-if="currentNav==1"> <view class="con" v-if="currentNav==1">
@ -18,7 +17,6 @@
</view> </view>
</view> </view>
</view> </view>
</view>
</template> </template>
<script> <script>
@ -34,7 +32,7 @@
}, },
data() { data() {
return { return {
currentTab: 1,
currentTab: 0,
currentNav: 1, currentNav: 1,
tabData: [{ tabData: [{
text: '全部', text: '全部',
@ -100,7 +98,10 @@
</script> </script>
<style lang="scss" scoped> <style lang="scss" scoped>
.bgImg {
padding-bottom: 1rpx;
}
.con {
margin-top: 20rpx;
}
</style> </style>

3
pages/tabbar/mine/index.vue

@ -1,6 +1,4 @@
<template> <template>
<view class="pageBg">
<view class="pageBgImg"> <view class="pageBgImg">
<view class="status_bar"></view> <view class="status_bar"></view>
<view class="" style="height: 44rpx;"></view> <view class="" style="height: 44rpx;"></view>
@ -35,7 +33,6 @@
<UserTab name ='我的'></UserTab> <UserTab name ='我的'></UserTab>
</view> </view>
</view>
</template> </template>
<script> <script>

13
pages/tabbar/operateTrain/index.vue

@ -1,13 +1,12 @@
<template> <template>
<view class="pageBg">
<view class="pageBgImg pad">
<view class="pageBgImg">
<view class=" pad">
<view class="status_bar"></view> <view class="status_bar"></view>
<view class="" style="height: 44rpx;"></view> <view class="" style="height: 44rpx;"></view>
<view class="searchBox"> <view class="searchBox">
<searchRow placeholder="搜索学员姓名、学员手机号" @searchFn="searchFn"></searchRow> <searchRow placeholder="搜索学员姓名、学员手机号" @searchFn="searchFn"></searchRow>
</view> </view>
<view class="card">
<view class="card" style="margin-bottom: 20px;">
<view class="myClass"> <view class="myClass">
<view class="leftTxt">我的排课</view> <view class="leftTxt">我的排课</view>
<view class="leftBtn" @click="$goPage('/pages/recordEntry/operate/mySchedule/mySchedule')">去管理</view> <view class="leftBtn" @click="$goPage('/pages/recordEntry/operate/mySchedule/mySchedule')">去管理</view>
@ -229,12 +228,8 @@
</script> </script>
<style lang="scss" scoped> <style lang="scss" scoped>
.pageBg {
padding-bottom: 100rpx;
.pageBgImg { .pageBgImg {
height: 100%;
padding-bottom: 30rpx;
}
padding-bottom: 130rpx;
.searchBox { .searchBox {
padding: 24rpx 0; padding: 24rpx 0;
} }

10
pages/tabbar/student/index.vue

@ -1,7 +1,7 @@
<template> <template>
<view class="pageBg">
<view class="pageBgImg pad" >
<view class="pageBgImg">
<!-- <view class="pageBgImg"></view> -->
<view class="pad" >
<!-- <view class="pad" :style="{ background: `url(${imgUrl}) #f6f6f6 no-repeat`, backgroundSize: backgroundSize }" > --> <!-- <view class="pad" :style="{ background: `url(${imgUrl}) #f6f6f6 no-repeat`, backgroundSize: backgroundSize }" > -->
<view class="status_bar "></view> <view class="status_bar "></view>
<view class="" style="height: 30rpx;"></view> <view class="" style="height: 30rpx;"></view>
@ -31,7 +31,7 @@
</view> </view>
</view> </view>
</view> --> </view> -->
<view class="searchBox" v-if="identity=='校长'">
<view class="searchBox " >
<searchRow placeholder="搜索学员姓名、学员手机号" @searchFn="searchFn"></searchRow> <searchRow placeholder="搜索学员姓名、学员手机号" @searchFn="searchFn"></searchRow>
</view> </view>
<!-- <topUserInfo v-if="identity=='实操教练'"/> --> <!-- <topUserInfo v-if="identity=='实操教练'"/> -->
@ -257,9 +257,11 @@
.pad { .pad {
padding-bottom: 110rpx; padding-bottom: 110rpx;
} }
.card { .card {
padding: 0 28rpx; padding: 0 28rpx;
margin-bottom: 24rpx; margin-bottom: 24rpx;
} }
.searchBox { .searchBox {
padding: 0rpx 0 24rpx 0; padding: 0rpx 0 24rpx 0;

2
pages/userCenter/forgetPwd/forgetPwd.vue

@ -1,5 +1,4 @@
<template> <template>
<view class="pageBg">
<view class="pageBgImg"> <view class="pageBgImg">
<topNavbar title="修改密码"></topNavbar> <topNavbar title="修改密码"></topNavbar>
@ -31,7 +30,6 @@
<view class="btnBg" :class="{hui: !highlight}" @click="updatePasswordFn">确认修改</view> <view class="btnBg" :class="{hui: !highlight}" @click="updatePasswordFn">确认修改</view>
</view> </view>
</view> </view>
</view>
</template> </template>
<script> <script>

2
pages/userCenter/myCar/myCar.vue

@ -1,5 +1,4 @@
<template> <template>
<view class="pageBg">
<view class="pageBgImg"> <view class="pageBgImg">
<topNavbar title="我的车辆"></topNavbar> <topNavbar title="我的车辆"></topNavbar>
@ -33,7 +32,6 @@
</view> </view>
<nodata v-if="!list.length&&status=='nomore'"></nodata> <nodata v-if="!list.length&&status=='nomore'"></nodata>
</view> </view>
</view>
</template> </template>
<script> <script>

3
pages/userCenter/myCar/notBound/notBound.vue

@ -1,6 +1,4 @@
<template> <template>
<view class="pageBg">
<view class="pageBgImg"> <view class="pageBgImg">
<topNavbar title="未绑定的车辆"></topNavbar> <topNavbar title="未绑定的车辆"></topNavbar>
<view class="pad"> <view class="pad">
@ -24,7 +22,6 @@
<nodata v-if="!list.length&&status=='nomore'"></nodata> <nodata v-if="!list.length&&status=='nomore'"></nodata>
</view> </view>
</view> </view>
</view>
</template> </template>
<script> <script>

3
pages/userCenter/personaInfo/personaInfo.vue

@ -1,6 +1,4 @@
<template> <template>
<view class="pageBg">
<view class="pageBgImg"> <view class="pageBgImg">
<topNavbar title="人个中心"></topNavbar> <topNavbar title="人个中心"></topNavbar>
<view class="pad"> <view class="pad">
@ -51,7 +49,6 @@
</view> </view>
</view> </view>
</view>
</template> </template>
<script> <script>

4
pages/userCenter/refund/refund.vue

@ -1,6 +1,6 @@
<template> <template>
<view class="pageBg"> <view class="pageBg">
<view class="pageBgImg">
<view class="bgImg">
<view class="status_bar"></view> <view class="status_bar"></view>
<topNavbar title="学员退款"></topNavbar> <topNavbar title="学员退款"></topNavbar>
<view class="pad"> <view class="pad">
@ -153,7 +153,7 @@
</script> </script>
<style lang="scss" scoped> <style lang="scss" scoped>
.pageBgImg {
.pageBg {
height: auto; height: auto;
padding-bottom: 110rpx; padding-bottom: 110rpx;
} }

3
pages/userCenter/scanCode/scanCode.vue

@ -1,6 +1,4 @@
<template> <template>
<view class="pageBg">
<view class="pageBgImg"> <view class="pageBgImg">
<topNavbar title="个人二维码"></topNavbar> <topNavbar title="个人二维码"></topNavbar>
<view class="pad"> <view class="pad">
@ -25,7 +23,6 @@
</view> --> </view> -->
</view> </view>
</view> </view>
</view>
</template> </template>
<script> <script>

3
pages/userCenter/scanCode/scanCodeSchool.vue

@ -1,6 +1,4 @@
<template> <template>
<view class="pageBg">
<view class="pageBgImg"> <view class="pageBgImg">
<topNavbar title="驾校二维码"></topNavbar> <topNavbar title="驾校二维码"></topNavbar>
<view class="pad"> <view class="pad">
@ -20,7 +18,6 @@
</view> </view>
</view> </view>
</view> </view>
</view>
</template> </template>
<script> <script>

3
pages/userCenter/schoolCoach/coachComment/coachComment.vue

@ -1,6 +1,4 @@
<template> <template>
<view class="pageBg">
<view class="pageBgImg"> <view class="pageBgImg">
<topNavbar title="教练详情"></topNavbar> <topNavbar title="教练详情"></topNavbar>
<view class="pad"> <view class="pad">
@ -14,7 +12,6 @@
<nodata v-if="!list.length&&status=='nomore'"></nodata> <nodata v-if="!list.length&&status=='nomore'"></nodata>
</view> </view>
</view> </view>
</view>
</template> </template>
<script> <script>

3
pages/userCenter/schoolCoach/schoolCoach.vue

@ -1,6 +1,4 @@
<template> <template>
<view class="pageBg">
<view class="pageBgImg"> <view class="pageBgImg">
<topNavbar title="驾校教练"></topNavbar> <topNavbar title="驾校教练"></topNavbar>
<view class="pad"> <view class="pad">
@ -30,7 +28,6 @@
</view> </view>
<nodata v-if="!list.length&&status=='nomore'"></nodata> <nodata v-if="!list.length&&status=='nomore'"></nodata>
</view> </view>
</view>
</template> </template>

3
pages/userCenter/schoolSite/schoolSite.vue

@ -1,6 +1,4 @@
<template> <template>
<view class="pageBg">
<view class="pageBgImg"> <view class="pageBgImg">
<topNavbar title="驾校场地"></topNavbar> <topNavbar title="驾校场地"></topNavbar>
<view class="pad"> <view class="pad">
@ -32,7 +30,6 @@
</view> </view>
<nodata v-if="!list.length&&status=='nomore'"></nodata> <nodata v-if="!list.length&&status=='nomore'"></nodata>
</view> </view>
</view>
</template> </template>

3
pages/userCenter/settled/settled.vue

@ -1,6 +1,4 @@
<template> <template>
<view class="pageBg">
<view class="pageBgImg"> <view class="pageBgImg">
<view class="searchBox"> <view class="searchBox">
<topNavbar title="待结算记录"></topNavbar> <topNavbar title="待结算记录"></topNavbar>
@ -56,7 +54,6 @@
</view> </view>
</view> </view>
</view>
</template> </template>
<script> <script>

7
pages/userCenter/studentComment/studentComment.vue

@ -1,7 +1,7 @@
<template> <template>
<view class="pageBg"> <view class="pageBg">
<view class="pageBgImg">
<view class="bgImg">
<topNavbar title="学员评价"></topNavbar> <topNavbar title="学员评价"></topNavbar>
<view class="pad"> <view class="pad">
<view class="searchBox"> <view class="searchBox">
@ -142,7 +142,7 @@
<style lang="scss" scoped> <style lang="scss" scoped>
.pageBgImg {
.bgImg {
height: auto; height: auto;
padding-bottom: 10rpx; padding-bottom: 10rpx;
} }
@ -150,6 +150,9 @@
padding: 28rpx; padding: 28rpx;
margin-bottom: 20rpx; margin-bottom: 20rpx;
} }
.list {
margin-top: 20rpx;
}
.tabs { .tabs {
display: flex; display: flex;
justify-content: space-between; justify-content: space-between;

Loading…
Cancel
Save