调整文件目录
This commit is contained in:
parent
3be41e0711
commit
fca9d0e16f
|
@ -35,26 +35,6 @@
|
||||||
"navigationBarTitleText": "支付确认",
|
"navigationBarTitleText": "支付确认",
|
||||||
"navigationBarBackgroundColor": "#FFF"
|
"navigationBarBackgroundColor": "#FFF"
|
||||||
}
|
}
|
||||||
},
|
|
||||||
{
|
|
||||||
"path": "pages/ycysp/component/coupon-item",
|
|
||||||
"type": "page"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"path": "pages/ycysp/component/member",
|
|
||||||
"type": "page"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"path": "pages/ycysp/component/order-item",
|
|
||||||
"type": "page"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"path": "pages/ycysp/component/recharge-item",
|
|
||||||
"type": "page"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"path": "pages/ycysp/component/ticket-recieve",
|
|
||||||
"type": "page"
|
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"globalStyle": {
|
"globalStyle": {
|
||||||
|
|
|
@ -37,7 +37,7 @@ const selectEvent = () => {
|
||||||
opacity: 1;
|
opacity: 1;
|
||||||
background: #fff;
|
background: #fff;
|
||||||
box-sizing: border-box;
|
box-sizing: border-box;
|
||||||
border: 1.6rpx solid #ececec;
|
border: 2rpx solid #ececec;
|
||||||
}
|
}
|
||||||
.is-checked {
|
.is-checked {
|
||||||
background: #dcefff;
|
background: #dcefff;
|
||||||
|
@ -59,10 +59,10 @@ const selectEvent = () => {
|
||||||
color: $sub-price-color;
|
color: $sub-price-color;
|
||||||
font-weight: 600;
|
font-weight: 600;
|
||||||
line-height: normal;
|
line-height: normal;
|
||||||
letter-spacing: 0em;
|
|
||||||
.icon {
|
.icon {
|
||||||
font-size: 28rpx;
|
font-size: 28rpx;
|
||||||
margin-bottom: 4rpx;
|
margin-bottom: 8rpx;
|
||||||
|
margin-right:4rpx;
|
||||||
}
|
}
|
||||||
.num {
|
.num {
|
||||||
/* 价格 */
|
/* 价格 */
|
||||||
|
@ -72,10 +72,8 @@ const selectEvent = () => {
|
||||||
.type-ori {
|
.type-ori {
|
||||||
font-size: 24rpx;
|
font-size: 24rpx;
|
||||||
font-weight: normal;
|
font-weight: normal;
|
||||||
line-height: normal;
|
|
||||||
letter-spacing: 0em;
|
|
||||||
text-decoration: line-through;
|
text-decoration: line-through;
|
||||||
color: #a4c4fa;
|
color: #a4c4fa;
|
||||||
margin-top: 6rpx;
|
margin-top: 4rpx;
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
|
@ -6,7 +6,7 @@
|
||||||
|
|
||||||
<script setup>
|
<script setup>
|
||||||
import { ref, reactive, unref, onMounted} from 'vue';
|
import { ref, reactive, unref, onMounted} from 'vue';
|
||||||
import couponItem from './component/coupon-item.vue';
|
import couponItem from './components/coupon-item.vue';
|
||||||
|
|
||||||
</script>
|
</script>
|
||||||
<style scoped lang="scss">
|
<style scoped lang="scss">
|
||||||
|
|
|
@ -35,7 +35,7 @@
|
||||||
<view class="title">
|
<view class="title">
|
||||||
<view class="title-text">选择影音会员</view>
|
<view class="title-text">选择影音会员</view>
|
||||||
</view>
|
</view>
|
||||||
<scroll-view scroll-x class="scroll">
|
<scroll-view scroll-x class="scroll" :scroll-left="scrollLeft" scroll-with-animation>
|
||||||
<view class="swiper">
|
<view class="swiper">
|
||||||
<view v-for="(item, index) in brandArr" class="member-item">
|
<view v-for="(item, index) in brandArr" class="member-item">
|
||||||
<member :key="item.id" :detail="item" @checked="handleChecked" />
|
<member :key="item.id" :detail="item" @checked="handleChecked" />
|
||||||
|
@ -114,9 +114,9 @@
|
||||||
|
|
||||||
<script setup>
|
<script setup>
|
||||||
import { ref, reactive, unref, onMounted, nextTick } from "vue";
|
import { ref, reactive, unref, onMounted, nextTick } from "vue";
|
||||||
// import ticketRecieve from './component/ticket-recieve.vue';
|
// import ticketRecieve from './components/ticket-recieve.vue';
|
||||||
import member from "./component/member.vue";
|
import member from "./components/member.vue";
|
||||||
import rechargeItem from "./component/recharge-item.vue";
|
import rechargeItem from "./components/recharge-item.vue";
|
||||||
import { getBrandList, getProductList, login } from "@/api/ycysp";
|
import { getBrandList, getProductList, login } from "@/api/ycysp";
|
||||||
import { generateUUID } from "@/utils/utils";
|
import { generateUUID } from "@/utils/utils";
|
||||||
import { createOrder } from "@/api/ycysp";
|
import { createOrder } from "@/api/ycysp";
|
||||||
|
@ -128,6 +128,7 @@ const brandArr = ref([]);
|
||||||
const productArr = ref([]);
|
const productArr = ref([]);
|
||||||
const account = ref("");
|
const account = ref("");
|
||||||
const authCode = ref("");
|
const authCode = ref("");
|
||||||
|
const scrollLeft = ref(0);
|
||||||
|
|
||||||
//获取品牌
|
//获取品牌
|
||||||
const getBrand = () => {
|
const getBrand = () => {
|
||||||
|
@ -138,6 +139,10 @@ const getBrand = () => {
|
||||||
...item,
|
...item,
|
||||||
isChecked: index === 0,
|
isChecked: index === 0,
|
||||||
}));
|
}));
|
||||||
|
setTimeout(()=>{
|
||||||
|
scrollLeft.value = 60
|
||||||
|
},500)
|
||||||
|
|
||||||
})
|
})
|
||||||
.catch((err) => {
|
.catch((err) => {
|
||||||
console.error(err);
|
console.error(err);
|
||||||
|
@ -283,7 +288,7 @@ onMounted(async () => {
|
||||||
display: flex;
|
display: flex;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
position: relative;
|
position: relative;
|
||||||
margin-bottom: 20rpx;
|
margin-bottom: 2rpx;
|
||||||
|
|
||||||
.title-line {
|
.title-line {
|
||||||
width: 10rpx;
|
width: 10rpx;
|
||||||
|
@ -296,9 +301,9 @@ onMounted(async () => {
|
||||||
.title-text {
|
.title-text {
|
||||||
font-size: 36rpx;
|
font-size: 36rpx;
|
||||||
font-weight: 400;
|
font-weight: 400;
|
||||||
letter-spacing: 0.04em;
|
|
||||||
color: #212f3b;
|
color: #212f3b;
|
||||||
margin-left: 14rpx;
|
margin-left: 14rpx;
|
||||||
|
font-family: PingFang SC-Bold;
|
||||||
}
|
}
|
||||||
|
|
||||||
.title-more {
|
.title-more {
|
||||||
|
@ -306,7 +311,6 @@ onMounted(async () => {
|
||||||
right: 0;
|
right: 0;
|
||||||
font-size: 26rpx;
|
font-size: 26rpx;
|
||||||
font-weight: normal;
|
font-weight: normal;
|
||||||
letter-spacing: 0.04em;
|
|
||||||
color: #666e7e;
|
color: #666e7e;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -322,6 +326,7 @@ onMounted(async () => {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
// height:250rpx;
|
// height:250rpx;
|
||||||
overflow-x: auto;
|
overflow-x: auto;
|
||||||
|
transition: all 1s linear;
|
||||||
}
|
}
|
||||||
|
|
||||||
.swiper {
|
.swiper {
|
||||||
|
@ -331,7 +336,7 @@ onMounted(async () => {
|
||||||
}
|
}
|
||||||
|
|
||||||
.member-item {
|
.member-item {
|
||||||
margin: 0 16rpx 16rpx 0;
|
margin: 16rpx 16rpx 0 0;
|
||||||
width: calc((100vw - 68rpx) / 3);
|
width: calc((100vw - 68rpx) / 3);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -349,9 +354,10 @@ onMounted(async () => {
|
||||||
}
|
}
|
||||||
|
|
||||||
.recharge-item {
|
.recharge-item {
|
||||||
display: inline-block;
|
display: inline-flex;
|
||||||
margin: 0 16rpx 16rpx 0;
|
margin: 20rpx 16rpx 0 0;
|
||||||
width: calc((100vw - 20rpx) / 3.5);
|
// width: calc((100vw - 68rpx) / 3.5);
|
||||||
|
width: 204rpx;
|
||||||
}
|
}
|
||||||
|
|
||||||
.input-container {
|
.input-container {
|
||||||
|
@ -360,18 +366,15 @@ onMounted(async () => {
|
||||||
border-radius: 84rpx;
|
border-radius: 84rpx;
|
||||||
opacity: 1;
|
opacity: 1;
|
||||||
background: #eef7ff;
|
background: #eef7ff;
|
||||||
margin: 40rpx auto 0;
|
margin: 36rpx auto 0;
|
||||||
display: flex;
|
display: flex;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
padding: 0 40rpx;
|
padding: 0 40rpx;
|
||||||
box-sizing: border-box;
|
box-sizing: border-box;
|
||||||
|
|
||||||
input {
|
input {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
font-size: 32rpx;
|
font-size: 32rpx;
|
||||||
font-weight: normal;
|
font-weight: normal;
|
||||||
line-height: normal;
|
|
||||||
letter-spacing: 0em;
|
|
||||||
color: #8dbff6;
|
color: #8dbff6;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -379,8 +382,6 @@ onMounted(async () => {
|
||||||
.pcs {
|
.pcs {
|
||||||
font-size: 32rpx;
|
font-size: 32rpx;
|
||||||
font-weight: normal;
|
font-weight: normal;
|
||||||
line-height: normal;
|
|
||||||
letter-spacing: 0em;
|
|
||||||
color: #8dbff6;
|
color: #8dbff6;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -388,7 +389,7 @@ onMounted(async () => {
|
||||||
width: 710rpx;
|
width: 710rpx;
|
||||||
height: 88rpx;
|
height: 88rpx;
|
||||||
padding: 12rpx 28rpx;
|
padding: 12rpx 28rpx;
|
||||||
margin: 40rpx auto 0;
|
margin: 20rpx auto 0;
|
||||||
font-size: 32rpx;
|
font-size: 32rpx;
|
||||||
font-weight: normal;
|
font-weight: normal;
|
||||||
line-height: normal;
|
line-height: normal;
|
||||||
|
|
|
@ -49,7 +49,7 @@
|
||||||
|
|
||||||
<script setup>
|
<script setup>
|
||||||
import { useMessage } from "wot-design-uni";
|
import { useMessage } from "wot-design-uni";
|
||||||
import OrderItem from "./component/order-item";
|
import OrderItem from "./components/order-item";
|
||||||
import usePay from "./hooks/usePay";
|
import usePay from "./hooks/usePay";
|
||||||
import { getOrderList, refundOrder } from "../../api/ycysp";
|
import { getOrderList, refundOrder } from "../../api/ycysp";
|
||||||
import { onMounted, ref, unref, reactive, computed } from "vue";
|
import { onMounted, ref, unref, reactive, computed } from "vue";
|
||||||
|
|
|
@ -7,12 +7,7 @@ interface NavigateToOptions {
|
||||||
url: "/pages/ycysp/home" |
|
url: "/pages/ycysp/home" |
|
||||||
"/pages/ycysp/order" |
|
"/pages/ycysp/order" |
|
||||||
"/pages/ycysp/orderDetail" |
|
"/pages/ycysp/orderDetail" |
|
||||||
"/pages/ycysp/pay" |
|
"/pages/ycysp/pay";
|
||||||
"/pages/ycysp/component/coupon-item" |
|
|
||||||
"/pages/ycysp/component/member" |
|
|
||||||
"/pages/ycysp/component/order-item" |
|
|
||||||
"/pages/ycysp/component/recharge-item" |
|
|
||||||
"/pages/ycysp/component/ticket-recieve";
|
|
||||||
}
|
}
|
||||||
interface RedirectToOptions extends NavigateToOptions {}
|
interface RedirectToOptions extends NavigateToOptions {}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue