@ -0,0 +1,77 @@ | |||
<template> | |||
<uv-navbar :leftIconColor="leftIconColor" :autoBack="autoBack" :title="title" :bgColor="bgColor" :leftIconSize="leftIconSize" :height="height" :titleStyle="titleStyle" @leftClick="leftClick"></uv-navbar> | |||
</template> | |||
<script> | |||
export default { | |||
data() { | |||
return { | |||
}; | |||
}, | |||
props: { | |||
autoBack: { | |||
type: Boolean, | |||
default: false, | |||
required: false | |||
}, | |||
title: { | |||
type: String, | |||
default: '', | |||
required: false | |||
}, | |||
bgColor: { | |||
type: String, | |||
default: 'transparent', | |||
required: false | |||
}, | |||
leftIconSize: { | |||
type: String, | |||
default: '20rpx', | |||
required: false | |||
}, | |||
leftIconColor: { | |||
type: String, | |||
default: '', | |||
required: false | |||
}, | |||
height: { | |||
type: String, | |||
default: '100rpx', | |||
required: false | |||
}, | |||
titleStyle: { | |||
type: Object, | |||
default: {}, | |||
required: false | |||
}, | |||
autoBack: { | |||
type: Boolean, | |||
default: false, | |||
required: false | |||
}, | |||
}, | |||
components: { | |||
}, | |||
computed: { | |||
}, | |||
watch: { | |||
}, | |||
created() { | |||
}, | |||
mounted() { | |||
}, | |||
methods: { | |||
leftClick() {} | |||
} | |||
}; | |||
</script> | |||
<style scoped lang="scss"> | |||
</style> |
@ -0,0 +1,33 @@ | |||
export const globalMixin = { | |||
data() { | |||
return { | |||
bgColor:'transparent', | |||
fontColor:'#fff', | |||
leftIconColor: '#fff' | |||
}; | |||
}, | |||
computed: { | |||
customStyle() { | |||
return { | |||
height: '88rpx', | |||
color: '#FF4546', | |||
} | |||
} | |||
}, | |||
created() { | |||
}, | |||
onPageScroll(e) { | |||
if(e.scrollTop > 30) { | |||
this.bgColor ='#fff' | |||
this.fontColor ="#000", | |||
this.leftIconColor ="#000" | |||
}else{ | |||
this.bgColor ='transparent' | |||
this.fontColor ="#fff", | |||
this.leftIconColor ="#fff" | |||
} | |||
}, | |||
methods: { | |||
} | |||
}; | |||
@ -0,0 +1,117 @@ | |||
<template> | |||
<view class="invoiceIssuance"> | |||
<view class="head-box"></view> | |||
<Navbar title="订单详情" :autoBack="true" :bgColor="bgColor" leftIconSize="18px" height="100rpx" :leftIconColor="leftIconColor" :titleStyle="{color:fontColor}" /> | |||
<view class="content contentPosition_"> | |||
<view class="info cardStyle_"> | |||
<view class="left"> | |||
<image src="https://img0.baidu.com/it/u=4274003247,920124130&fm=253&fmt=auto&app=138&f=JPEG?w=800&h=1031" alt=""> | |||
</view> | |||
<view class="right"> | |||
<view class="detailed"> | |||
<view class="title">夏日去撒野旅游计划~</view> | |||
<view class="date">2024.10.28 10:00</view> | |||
<view class="address">成都市东丽湖露营地32号</view> | |||
</view> | |||
<view class="price"><text>总计</text>¥800.00</view> | |||
</view> | |||
</view> | |||
<view class="choice"> | |||
<uv-radio-group | |||
siz="300" | |||
labelSize="25rpx" | |||
iconSize="25rpx" | |||
v-model="radioValue" | |||
placement="column" | |||
shape="square" | |||
labelColor="#fff" | |||
activeColor="#FF4546" | |||
iconPlacement="right"> | |||
<uv-radio name="个人" label="个人"></uv-radio> | |||
<uv-radio name="企业" label="个人"></uv-radio> | |||
</uv-radio-group> | |||
</view> | |||
<view class="iptInfo"> | |||
<uv-form-item label="企业名称" labelWidth="180rpx" :customStyle="aa" borderBottom> | |||
<uv-input placeholder="请输入内容" fontSize="29rpx" color="#fff" v-model="enterpriseName" border="none"></uv-input> | |||
</uv-form-item> | |||
<uv-form-item label="企业名称" labelWidth="180rpx" :customStyle="aa" borderBottom> | |||
<uv-input placeholder="请输入内容" fontSize="29rpx" color="#fff" v-model="enterpriseName" border="none"></uv-input> | |||
</uv-form-item> | |||
<uv-form-item label="企业名称" labelWidth="180rpx" :customStyle="aa" borderBottom> | |||
<uv-input placeholder="请输入内容" fontSize="29rpx" color="#fff" v-model="enterpriseName" border="none"></uv-input> | |||
</uv-form-item> | |||
</view> | |||
<view style="padding: 65rpx 35rpx;"> | |||
<uv-button @click="toInvoiceRecords" :custom-style="customStyle" type="primary" shape="circle" color="#381615" text="申请"></uv-button> | |||
</view> | |||
</view> | |||
</view> | |||
</template> | |||
<script> | |||
import Navbar from '@/pages/components/Navbar.vue' | |||
import { globalMixin } from '../pages/mixins/globalMixin'; | |||
export default{ | |||
mixins: [globalMixin], | |||
components:{ | |||
Navbar | |||
}, | |||
data() { | |||
return { | |||
radioValue: '香蕉', | |||
enterpriseName: '', | |||
aa: { | |||
color: '#f40' | |||
} | |||
} | |||
}, | |||
methods: { | |||
toInvoiceRecords() { | |||
uni.navigateTo({ | |||
url: '/pages_order/invoiceRecords' | |||
}) | |||
} | |||
} | |||
} | |||
</script> | |||
<style scoped lang="scss"> | |||
.invoiceIssuance { | |||
margin-bottom: 500rpx; | |||
.content { | |||
.info { | |||
margin: 10rpx 32rpx 0rpx;; | |||
border-radius: 26rpx; | |||
} | |||
.choice { | |||
/deep/.uv-radio-group { | |||
margin: 32px 32rpx 40rpx; | |||
.uv-radio { | |||
color: #fff; | |||
padding: 45rpx 35rpx; | |||
background: $uni-color-card-background; | |||
border-radius: 26rpx; | |||
margin-bottom: 16rpx; | |||
} | |||
.uv-radio__icon-wrap { | |||
width: 32rpx!important; | |||
height: 32rpx!important; | |||
} | |||
} | |||
} | |||
.iptInfo { | |||
background: $uni-color-card-background; | |||
padding: 41rpx 46rpx 60rpx; | |||
margin: 32px 32rpx 40rpx; | |||
border-radius: 26rpx; | |||
/deep/.uv-form-item__body__left__content__label { | |||
color: #fff!important; | |||
font-size: 32rpx; | |||
} | |||
} | |||
} | |||
} | |||
</style> |
@ -0,0 +1,83 @@ | |||
<template> | |||
<view class='invoiceRecords'> | |||
<view class="head-box"></view> | |||
<Navbar title="开票记录" :autoBack="true" :bgColor="bgColor" leftIconSize="18px" height="100rpx" :leftIconColor="leftIconColor" :titleStyle="{color:fontColor}" /> | |||
<view class="content contentPosition_"> | |||
<view class="info cardStyle_"> | |||
<view class="left"> | |||
<image src="https://img0.baidu.com/it/u=4274003247,920124130&fm=253&fmt=auto&app=138&f=JPEG?w=800&h=1031" alt=""> | |||
</view> | |||
<view class="right"> | |||
<view class="detailed"> | |||
<view class="title">夏日去撒野旅游计划~</view> | |||
<view class="date">2024.10.28 10:00</view> | |||
<view class="address">成都市东丽湖露营地32号</view> | |||
</view> | |||
<view class="data"> | |||
<text>标准票</text> | |||
<text>×3</text> | |||
<text class="btn">已开票</text> | |||
</view> | |||
</view> | |||
</view> | |||
</view> | |||
</view> | |||
</template> | |||
<script> | |||
import Navbar from '@/pages/components/Navbar.vue' | |||
import { globalMixin } from '../pages/mixins/globalMixin'; | |||
export default { | |||
mixins: [globalMixin], | |||
components:{ | |||
Navbar | |||
}, | |||
data() { | |||
return { | |||
}; | |||
}, | |||
components: { | |||
}, | |||
computed: { | |||
}, | |||
watch: { | |||
}, | |||
created() { | |||
}, | |||
mounted() { | |||
}, | |||
methods: { | |||
} | |||
}; | |||
</script> | |||
<style scoped lang="scss"> | |||
.invoiceRecords { | |||
.info { | |||
margin: 10rpx 32rpx 0rpx; | |||
padding: 35rpx 0 35rpx 24rpx; | |||
border-radius: 26rpx; | |||
.right { | |||
.data { | |||
display: flex; | |||
justify-content: space-between; | |||
.btn { | |||
background: #381615; | |||
color: $uni-color-primary; | |||
padding: 10rpx 40rpx; | |||
border-radius: 30rpx 0px 0px 30rpx; | |||
} | |||
} | |||
} | |||
} | |||
} | |||
</style> |
@ -1,11 +1,103 @@ | |||
<template> | |||
<view> | |||
第三代 | |||
<view class="orderEvaluation"> | |||
<Navbar title="活动评价" :autoBack="true" :bgColor="bgColor" leftIconSize="18px" height="100rpx" :leftIconColor="leftIconColor" :titleStyle="{color:fontColor}" /> | |||
<view class="content"> | |||
<view class="baseInfo cardBackground_"> | |||
<view class="statusBox"> | |||
<i></i> | |||
<view class="status">主理人评价</view> | |||
</view> | |||
<view class="info grayBg"> | |||
<view class="score"> | |||
<image src="@/static/image/cart/selectIcon.png" mode=""></image> | |||
<image src="@/static/image/cart/selectIcon.png" mode=""></image> | |||
<image src="@/static/image/cart/selectIcon.png" mode=""></image> | |||
<image src="@/static/image/cart/selectIcon.png" mode=""></image> | |||
<image src="@/static/image/cart/uncheckedIcon.png" mode=""></image> | |||
</view> | |||
<uv-textarea height="376rpx" :textStyle="{color:fontColor}" border="none" v-model="value" :maxlength="-1" placeholder="请输入内容"></uv-textarea> | |||
</view> | |||
</view> | |||
<view class="baseInfo" style="margin-top: 32rpx;"> | |||
<view class="statusBox"> | |||
<i></i> | |||
<view class="status">活动评价</view> | |||
</view> | |||
<view class="info"> | |||
<view class="score"> | |||
<image src="@/static/image/cart/selectIcon.png" mode=""></image> | |||
<image src="@/static/image/cart/selectIcon.png" mode=""></image> | |||
<image src="@/static/image/cart/selectIcon.png" mode=""></image> | |||
<image src="@/static/image/cart/selectIcon.png" mode=""></image> | |||
<image src="@/static/image/cart/uncheckedIcon.png" mode=""></image> | |||
</view> | |||
<uv-textarea height="376rpx" :textStyle="{color:fontColor}" border="none" v-model="value1" :maxlength="-1" placeholder="请输入内容"></uv-textarea> | |||
</view> | |||
</view> | |||
</view> | |||
<view style="padding: 65rpx 35rpx;"> | |||
<uv-button :custom-style="customStyle" type="primary" shape="circle" color="#381615" text="活动签到"></uv-button> | |||
</view> | |||
</view> | |||
</template> | |||
<script> | |||
</script> | |||
import Navbar from '@/pages/components/Navbar.vue' | |||
import { globalMixin } from '../pages/mixins/globalMixin'; | |||
<style> | |||
export default{ | |||
mixins: [globalMixin], | |||
components:{ | |||
Navbar | |||
}, | |||
data() { | |||
return { | |||
value: '', | |||
value1: '' | |||
} | |||
}, | |||
methods: { | |||
} | |||
} | |||
</script> | |||
<style scoped lang="scss"> | |||
.orderEvaluation { | |||
margin-top: 40rpx; | |||
.content { | |||
padding: 0 35rpx; | |||
color: #fff; | |||
padding-top: calc(var(--status-bar-height) + 100rpx); | |||
.baseInfo{ | |||
.statusBox { | |||
display: flex; | |||
align-items: center; | |||
padding: 33rpx 47rpx 24rpx; | |||
i { | |||
background: url('@/static/image/cart/evaluateIcon.png') no-repeat; | |||
background-size: 100% 100%; | |||
display: block; | |||
width: 33rpx; | |||
height: 29rpx; | |||
margin-right: 15rpx; | |||
} | |||
} | |||
.info { | |||
.score { | |||
image { | |||
width: 30rpx; | |||
height: 30rpx; | |||
margin-right: 30rpx; | |||
margin-bottom: 34rpx; | |||
} | |||
} | |||
/deep/.uv-textarea { | |||
background: #493734; | |||
} | |||
.aa { | |||
color: #fff!important; | |||
} | |||
} | |||
} | |||
} | |||
} | |||
</style> |