Browse Source

上传

master
前端-胡立永 8 months ago
parent
commit
c6685bfb0b
6 changed files with 319 additions and 20 deletions
  1. +3
    -0
      pages.json
  2. +7
    -3
      pages_order/components/list/cardList.vue
  3. +93
    -0
      pages_order/components/submit/StudyAndPathDetailSubmit.vue
  4. +126
    -0
      pages_order/service/StudyAndPathDetail.vue
  5. +2
    -1
      pages_order/service/StudyFurther.vue
  6. +88
    -16
      pages_order/service/situation.vue

+ 3
- 0
pages.json View File

@ -88,6 +88,9 @@
},
{
"path": "order/orderSubscribe"
},
{
"path": "service/StudyAndPathDetail"
}
]
}],


+ 7
- 3
pages_order/components/list/cardList.vue View File

@ -6,7 +6,7 @@
</view>
<view class="card-content">
<view style="display: flex; align-items: center;">
<text>刘申林</text>
<view class="title text-ellipsis">刘申林</view>
<image class="card-content-img" src="../../static/tell/goldMedal.png"></image>
</view>
<view class="card-content-tag">
@ -49,8 +49,8 @@
align-items: center;
.card-img {
height: 240rpx;
width: 260rpx;
height: 270rpx;
width: 240rpx;
flex-shrink: 0;
image {
height: 100%;
@ -66,6 +66,10 @@
flex-direction: column;
justify-content: space-around;
width: 97%;
.title{
max-width: 260rpx;
}
.card-content-img {
display: flex;


+ 93
- 0
pages_order/components/submit/StudyAndPathDetailSubmit.vue View File

@ -0,0 +1,93 @@
<template>
<view class="submit">
<view class=""
@click="">
<uv-icon
size="40rpx"
name="chat"></uv-icon>
<view class="">
客服
</view>
</view>
<view class=""
@click="">
<uv-icon
size="40rpx"
name="star"></uv-icon>
<!-- star-fill -->
<view class="">
收藏
</view>
</view>
<view class=""
@click="$emit('share')">
<uv-icon
size="40rpx"
name="share-square"></uv-icon>
<view class="">
分享
</view>
</view>
<view class="btn"
@click="$emit('submit')">
{{ submiitTitle }}
</view>
</view>
</template>
<script>
export default {
name:"submit",
props : {
submiitTitle : {
default : '立即租赁',
type : String,
}
},
data() {
return {
}
},
methods: {
}
}
</script>
<style lang="scss" scoped>
.submit{
position: fixed;
bottom: 0;
left: 0;
width: 100vw;
background-color: #fff;
height: 100rpx;
display: flex;
justify-content: center;
align-items: center;
font-size: 24rpx;
.btn{
background: $uni-color;
width: 600rpx;
height: 80rpx;
color: #fff;
border-radius: 40rpx;
font-size: 28rpx;
}
view{
width: 100rpx;
margin: 0 10rpx;
display: flex;
justify-content: center;
align-items: center;
flex-direction: column;
}
}
</style>

+ 126
- 0
pages_order/service/StudyAndPathDetail.vue View File

@ -0,0 +1,126 @@
<template>
<!-- 我要研学详情 type:0 遗产路径详情 type:1 -->
<view class="page">
<navbar :title="title" leftClick @leftClick="$utils.navigateBack" />
<view class="image">
<image src="https://img-s-msn-com.akamaized.net/tenant/amp/entityid/BB1msKSi.img" mode="aspectFill"></image>
</view>
<view class="box">
<view class="info">
<view class="price">
<text>300</text>
</view>
<view class="title">
景德镇风情-御窑厂-陶瓷博物馆-陶阳里一日游陶瓷博物馆陶瓷博物馆陶瓷博物馆
</view>
<view class="tip">
2-6人一单一团!独家定制!尊享体验!私家团享出游一单一团时间自由支配不和陌生人尴尬拼团专属用车舒适出行专属司机安全保证贴心服务摄影助手风情解说
</view>
</view>
<view class="detail">
<view class="">
<uv-tabs :list="tabs"
lineColor="#B12026"
lineHeight="8rpx"
lineWidth="50rpx"
:scrollable="false"
@click="clickTabs"></uv-tabs>
</view>
<view class="content">
12312312313
</view>
</view>
</view>
<StudyAndPathDetailSubmit/>
</view>
</template>
<script>
import StudyAndPathDetailSubmit from '../components/submit/StudyAndPathDetailSubmit.vue'
export default {
components : {
StudyAndPathDetailSubmit,
},
data() {
return {
title: '',
type: 0,
tabs: [
{
name: '关于行程'
},
{
name: '注意事项'
},
{
name: '出行说明'
},
],
}
},
onLoad(args) {
this.type = args.type || 0
this.title = args.title
},
methods: {
//tab
clickTabs(index) {
},
}
}
</script>
<style scoped lang="scss">
.page{
image{
width: 100%;
height: 100%;
}
.image{
width: 100%;
height: 400rpx;
}
.box{
margin-top: -40rpx;
border-top-left-radius: 40rpx;
border-top-right-radius: 40rpx;
overflow: hidden;
position: relative;
.info{
background-color: #fff;
padding: 40rpx;
.price{
padding: 20rpx 0;
font-size: 22rpx;
text{
font-size: 38rpx;
color: $uni-color;
font-weight: 900;
}
}
.title{
font-weight: 900;
padding-bottom: 20rpx;
font-size: 28rpx;
}
.tip{
font-size: 22rpx;
padding-bottom: 20rpx;
line-height: 40rpx;
}
}
.detail{
margin-top: 20rpx;
background-color: #fff;
.content{
padding: 40rpx;
}
}
}
}
</style>

+ 2
- 1
pages_order/service/StudyFurther.vue View File

@ -17,6 +17,7 @@
<view class="list">
<view class="item"
@click="$utils.navigateTo('/pages_order/service/StudyAndPathDetail?type=0&title=我要研学')"
v-for="(item,index) in 3"
:key="index">
<view class="image">
@ -26,7 +27,7 @@
</view>
</view>
<view class="info">
<view class="title">
<view class="title text-ellipsis">
2024年景德镇艺术研学定金
</view>
<view class="price">


+ 88
- 16
pages_order/service/situation.vue View File

@ -4,23 +4,40 @@
<navbar title="遗产概况" leftClick @leftClick="$utils.navigateBack" />
<view class="situation-imgs">
<view class="situation-imgs-one">
<uv-image src="https://cdn.uviewui.com/uview/album/1.jpg" radius="12rpx" width="100%" height="100%" />
<image src="https://cdn.uviewui.com/uview/album/1.jpg" mode="aspectFill"/>
<view class="text">
<view class="title text-ellipsis">
瓷都镇区鼎
</view>
<view class="tip text-ellipsis">
盛时期瓷业生产核心区
</view>
</view>
</view>
<view class="situation-imgs-two">
<uv-image src="https://cdn.uviewui.com/uview/album/1.jpg" width="100%" height="100%" />
<image src="https://cdn.uviewui.com/uview/album/1.jpg" mode="aspectFill"/>
<view class="text">
<view class="title text-ellipsis">
瓷都镇区鼎
</view>
<view class="tip text-ellipsis">
盛时期瓷业生产核心区
</view>
</view>
</view>
<view class="situation-imgs-four">
<view>
<uv-image src="https://cdn.uviewui.com/uview/album/1.jpg" mode="aspectFit" width="100%" height="100%" />
</view>
<view>
<uv-image src="https://cdn.uviewui.com/uview/album/1.jpg" mode="aspectFit" width="100%" height="100%" />
</view>
<view>
<uv-image src="https://cdn.uviewui.com/uview/album/1.jpg" mode="aspectFit" width="100%" height="100%" />
</view>
<view>
<uv-image src="https://cdn.uviewui.com/uview/album/1.jpg" mode="aspectFit" width="100%" height="100%" />
<view
v-for="(item,index) in 4"
:key="index">
<image src="https://cdn.uviewui.com/uview/album/1.jpg" mode="aspectFill"/>
<view class="text">
<view class="title text-ellipsis">
瓷都镇区鼎
</view>
<view class="tip text-ellipsis">
盛时期瓷业生产核心区
</view>
</view>
</view>
</view>
</view>
@ -43,6 +60,10 @@
<style scoped lang="scss">
.situation {
image{
width: 100%;
height: 100%;
}
.situation-imgs {
width: 92%;
margin-top: 20rpx;
@ -50,23 +71,74 @@
.situation-imgs-one {
height: 360rpx;
position: relative;
border-radius: 30rpx;
overflow: hidden;
.text{
.title{
font-size: 80rpx;
}
.tip{
font-size: 45rpx;
}
}
}
.situation-imgs-two {
margin-top: 10rpx;
margin-top: 20rpx;
height: 300rpx;
position: relative;
border-radius: 30rpx;
overflow: hidden;
.text{
.title{
font-size: 60rpx;
}
.tip{
font-size: 35rpx;
}
}
}
.situation-imgs-four {
display: flex;
flex-wrap: wrap;
justify-content: space-between;
view {
>view {
margin-top: 20rpx;
width: 48%;
height: 260rpx;
position: relative;
border-radius: 20rpx;
overflow: hidden;
.text{
height: 70%;
}
}
}
}
.text{
font-family: 楷体;
// font-family: Cambria, Cochin, Georgia, Times, 'Times New Roman', serif;
position: absolute;
bottom: 0;
left: 0;
width: 100%;
height: 100%;
background-color: #00000066;
color: #fff;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
font-weight: 900;
.title{
font-size: 34rpx;
}
.tip{
font-size: 22rpx;
margin-top: 10%;
}
}
}
</style>

Loading…
Cancel
Save