@@ -57,11 +57,11 @@
},
},
methods: {
- priceInt(currentPrice) {
- return parseInt(currentPrice)
+ priceInt(priceDiscount) {
+ return parseInt(priceDiscount)
},
- priceFrac(currentPrice) {
- return (currentPrice % this.priceInt(currentPrice)).toFixed(2).slice(1)
+ priceFrac(priceDiscount) {
+ return (priceDiscount % this.priceInt(priceDiscount)).toFixed(2).slice(1)
},
},
}
diff --git a/pages_order/order/orderDetail/index.vue b/pages_order/order/orderDetail/index.vue
index ce0b023..7b0074e 100644
--- a/pages_order/order/orderDetail/index.vue
+++ b/pages_order/order/orderDetail/index.vue
@@ -138,16 +138,16 @@
name: '新疆天山行7/9日丨醉美伊犁&吐鲁番双套餐',
desc: '每天车程4小时内,含一程高铁丨喀拉峻草原、夏塔古道、昭苏天马、赛里木湖、昭苏油菜花、伊犁薰衣草丨吐鲁番坎儿井&火焰山',
tags: ['坝上草原', '自然探索', '户外探索', '亲子游玩'],
- currentPrice: 688.99,
- originalPrice: 1200,
+ priceDiscount: 688.99,
+ priceOrigin: 1200,
registered: 4168,
timeOptions: [
{
id: '0011',
startDate: '08/25',
endDate: '09/01',
- currentPrice: 1200.99,
- originalPrice: 2300,
+ priceDiscount: 1200.99,
+ priceOrigin: 2300,
adultsPrice: 2400,
teenagerPrice: 1800,
childPrice: 1200.99,
@@ -156,8 +156,8 @@
id: '0012',
startDate: '09/02',
endDate: '09/11',
- currentPrice: 1200.99,
- originalPrice: 2300,
+ priceDiscount: 1200.99,
+ priceOrigin: 2300,
adultsPrice: 2400,
teenagerPrice: 1800,
childPrice: 1200.99,
@@ -166,32 +166,13 @@
id: '0013',
startDate: '09/12',
endDate: '09/19',
- currentPrice: 1200.99,
- originalPrice: 2300,
+ priceDiscount: 1200.99,
+ priceOrigin: 2300,
adultsPrice: 2400,
teenagerPrice: 1800,
childPrice: 1200.99,
},
],
- itineraryHighlights: `
-
-
-
-
-
-
-
- `,
- courseObjectives: `
-
- 课程目标
-
- `,
- itineraryDetail: `
-
- 详细行程
-
- `,
},
time: "0012",
adults: 2,
diff --git a/pages_order/order/orderList/index.vue b/pages_order/order/orderList/index.vue
index 9c15c0d..4483078 100644
--- a/pages_order/order/orderList/index.vue
+++ b/pages_order/order/orderList/index.vue
@@ -118,7 +118,7 @@
.page__view {
width: 100vw;
min-height: 100vh;
- background-color: $uni-bg-color;
+ background: $uni-bg-color;
position: relative;
/deep/ .nav-bar__view {
diff --git a/pages_order/order/orderPay/index.vue b/pages_order/order/orderPay/index.vue
index dec896a..af69fb4 100644
--- a/pages_order/order/orderPay/index.vue
+++ b/pages_order/order/orderPay/index.vue
@@ -138,16 +138,16 @@
name: '新疆天山行7/9日丨醉美伊犁&吐鲁番双套餐',
desc: '每天车程4小时内,含一程高铁丨喀拉峻草原、夏塔古道、昭苏天马、赛里木湖、昭苏油菜花、伊犁薰衣草丨吐鲁番坎儿井&火焰山',
tags: ['坝上草原', '自然探索', '户外探索', '亲子游玩'],
- currentPrice: 688.99,
- originalPrice: 1200,
+ priceDiscount: 688.99,
+ priceOrigin: 1200,
registered: 4168,
timeOptions: [
{
id: '0011',
startDate: '08/25',
endDate: '09/01',
- currentPrice: 1200.99,
- originalPrice: 2300,
+ priceDiscount: 1200.99,
+ priceOrigin: 2300,
adultsPrice: 2400,
teenagerPrice: 1800,
childPrice: 1200.99,
@@ -156,8 +156,8 @@
id: '0012',
startDate: '09/02',
endDate: '09/11',
- currentPrice: 1200.99,
- originalPrice: 2300,
+ priceDiscount: 1200.99,
+ priceOrigin: 2300,
adultsPrice: 2400,
teenagerPrice: 1800,
childPrice: 1200.99,
@@ -166,32 +166,13 @@
id: '0013',
startDate: '09/12',
endDate: '09/19',
- currentPrice: 1200.99,
- originalPrice: 2300,
+ priceDiscount: 1200.99,
+ priceOrigin: 2300,
adultsPrice: 2400,
teenagerPrice: 1800,
childPrice: 1200.99,
},
],
- itineraryHighlights: `
-
-
-
-
-
-
-
- `,
- courseObjectives: `
-
- 课程目标
-
- `,
- itineraryDetail: `
-
- 详细行程
-
- `,
},
time: "0012",
adults: 2,
diff --git a/pages_order/order/styles/style.scss b/pages_order/order/styles/style.scss
index 5e99e77..d0426da 100644
--- a/pages_order/order/styles/style.scss
+++ b/pages_order/order/styles/style.scss
@@ -145,7 +145,7 @@
font-family: PingFang SC;
font-weight: 500;
font-size: 36rpx;
- line-height: 1;
+ line-height: 1.4;
color: #252545;
border: 2rpx solid #252545;
border-radius: 41rpx;
diff --git a/pages_order/partner/apply.vue b/pages_order/partner/apply.vue
index a821a0e..90ff83b 100644
--- a/pages_order/partner/apply.vue
+++ b/pages_order/partner/apply.vue
@@ -2,7 +2,7 @@
-
+
@@ -27,7 +27,7 @@
-
+
姓名
@@ -38,7 +38,7 @@
-
+
电话
diff --git a/pages_order/partner/team.vue b/pages_order/partner/team.vue
index 66e6f2c..ef01950 100644
--- a/pages_order/partner/team.vue
+++ b/pages_order/partner/team.vue
@@ -1,7 +1,7 @@
-
+
@@ -74,84 +74,84 @@
this.list = [
{
id: '001',
- avatar: '/static/image/temp-30.png',
+ avatar: '/pages_order/static/temp-30.png',
name: '李世海',
price: 10,
createTime: '2025-07-15',
},
{
id: '002',
- avatar: '/static/image/temp-30.png',
+ avatar: '/pages_order/static/temp-30.png',
name: '周静',
price: 10,
createTime: '2025-07-15',
},
{
id: '003',
- avatar: '/static/image/temp-30.png',
+ avatar: '/pages_order/static/temp-30.png',
name: '周海',
price: 10,
createTime: '2025-07-15',
},
{
id: '004',
- avatar: '/static/image/temp-30.png',
+ avatar: '/pages_order/static/temp-30.png',
name: '冯启彬',
price: 10,
createTime: '2025-07-15',
},
{
id: '005',
- avatar: '/static/image/temp-30.png',
+ avatar: '/pages_order/static/temp-30.png',
name: '李娉',
price: 10,
createTime: '2025-07-15',
},
{
id: '006',
- avatar: '/static/image/temp-30.png',
+ avatar: '/pages_order/static/temp-30.png',
name: '李书萍',
price: 10,
createTime: '2025-07-15',
},
{
id: '007',
- avatar: '/static/image/temp-30.png',
+ avatar: '/pages_order/static/temp-30.png',
name: '李世海',
price: 10,
createTime: '2025-07-15',
},
{
id: '008',
- avatar: '/static/image/temp-30.png',
+ avatar: '/pages_order/static/temp-30.png',
name: '周静',
price: 10,
createTime: '2025-07-15',
},
{
id: '009',
- avatar: '/static/image/temp-30.png',
+ avatar: '/pages_order/static/temp-30.png',
name: '周海',
price: 10,
createTime: '2025-07-15',
},
{
id: '010',
- avatar: '/static/image/temp-30.png',
+ avatar: '/pages_order/static/temp-30.png',
name: '冯启彬',
price: 10,
createTime: '2025-07-15',
},
{
id: '011',
- avatar: '/static/image/temp-30.png',
+ avatar: '/pages_order/static/temp-30.png',
name: '李娉',
price: 10,
createTime: '2025-07-15',
},
{
id: '012',
- avatar: '/static/image/temp-30.png',
+ avatar: '/pages_order/static/temp-30.png',
name: '李书萍',
price: 10,
createTime: '2025-07-15',
@@ -178,7 +178,7 @@
.page__view {
width: 100vw;
min-height: 100vh;
- background-color: $uni-bg-color;
+ background: $uni-bg-color;
position: relative;
/deep/ .nav-bar__view {
diff --git a/pages_order/partner/withdraw.vue b/pages_order/partner/withdraw.vue
index 27def59..93dccac 100644
--- a/pages_order/partner/withdraw.vue
+++ b/pages_order/partner/withdraw.vue
@@ -223,7 +223,7 @@
font-family: PingFang SC;
font-weight: 500;
font-size: 36rpx;
- line-height: 1;
+ line-height: 1.4;
color: #FFFFFF;
background: linear-gradient(to right, #21FEEC, #019AF9);
border: 2rpx solid #00A9FF;
diff --git a/pages_order/product/collectList.vue b/pages_order/product/collectList.vue
index cfc97cb..533021b 100644
--- a/pages_order/product/collectList.vue
+++ b/pages_order/product/collectList.vue
@@ -2,11 +2,11 @@
-
+
-
+
@@ -24,7 +24,7 @@
},
data() {
return {
- // todo
+ // todo: queryCollectionActivityList
mixinsListApi: '',
}
},
diff --git a/pages_order/product/productDetail.vue b/pages_order/product/productDetail.vue
index d336469..0f25d43 100644
--- a/pages_order/product/productDetail.vue
+++ b/pages_order/product/productDetail.vue
@@ -16,11 +16,12 @@
-
+
- {{ detail.desc }}
-
-
+
+ {{ detail.brief }}
+
+
{{ tag }}
@@ -31,10 +32,10 @@
{{ priceInt }}
{{ `${priceFrac}起` }}
- ¥{{ detail.originalPrice }}
+ ¥{{ detail.priceOrigin }}
-
- {{ `${detail.registered}人已报名` }}
+
+ {{ `${detail.applyNum}人已报名` }}
@@ -43,6 +44,7 @@
+
@@ -146,24 +148,24 @@
return Array.isArray(image) ? image : image.split(',')
},
priceInt() {
- return parseInt(this.detail.currentPrice)
+ return parseInt(this.detail.priceDiscount)
},
priceFrac() {
- return (this.detail.currentPrice % this.priceInt).toFixed(2).slice(1)
+ return (this.detail.priceDiscount % this.priceInt).toFixed(2).slice(1)
},
displayContent() {
const {
- itineraryHighlights,
- courseObjectives,
- itineraryDetail,
+ special,
+ target,
+ process,
} = this.detail
if (this.current == 0) {
- return itineraryHighlights
+ return special
} else if (this.current == 1) {
- return courseObjectives
+ return target
} else if (this.current == 2) {
- return itineraryDetail
+ return process
}
return ''
@@ -178,24 +180,24 @@
this.fetchComment(id)
},
methods: {
- async fetchDetail(id) {
-
+ async fetchDetail(activityId) {
+ // todo: delete
this.detail = {
id: '001',
image: new Array(6).fill('/static/image/temp-20.png').join(','),
- name: '新疆天山行7/9日丨醉美伊犁&吐鲁番双套餐',
- desc: '每天车程4小时内,含一程高铁丨喀拉峻草原、夏塔古道、昭苏天马、赛里木湖、昭苏油菜花、伊犁薰衣草丨吐鲁番坎儿井&火焰山',
- tags: ['坝上草原', '自然探索', '户外探索', '亲子游玩'],
- currentPrice: 688.99,
- originalPrice: 1200,
- registered: 4168,
+ title: '新疆天山行7/9日丨醉美伊犁&吐鲁番双套餐',
+ brief: '每天车程4小时内,含一程高铁丨喀拉峻草原、夏塔古道、昭苏天马、赛里木湖、昭苏油菜花、伊犁薰衣草丨吐鲁番坎儿井&火焰山',
+ tagDetails: ['坝上草原', '自然探索', '户外探索', '亲子游玩'],
+ priceDiscount: 688.99,
+ priceOrigin: 1200,
+ applyNum: 4168,
timeOptions: [
{
id: '0011',
startDate: '08/25',
endDate: '09/01',
- currentPrice: 1200.99,
- originalPrice: 2300,
+ priceDiscount: 1200.99,
+ priceOrigin: 2300,
adultsPrice: 2400,
teenagerPrice: 1800,
childPrice: 1200.99,
@@ -204,8 +206,8 @@
id: '0012',
startDate: '09/02',
endDate: '09/11',
- currentPrice: 1200.99,
- originalPrice: 2300,
+ priceDiscount: 1200.99,
+ priceOrigin: 2300,
adultsPrice: 2400,
teenagerPrice: 1800,
childPrice: 1200.99,
@@ -214,28 +216,24 @@
id: '0013',
startDate: '09/12',
endDate: '09/19',
- currentPrice: 1200.99,
- originalPrice: 2300,
+ priceDiscount: 1200.99,
+ priceOrigin: 2300,
adultsPrice: 2400,
teenagerPrice: 1800,
childPrice: 1200.99,
},
],
- itineraryHighlights: `
-
-
-
-
-
-
+ special: `
+
+ 行程亮点
`,
- courseObjectives: `
+ target: `
课程目标
`,
- itineraryDetail: `
+ process: `
详细行程
@@ -243,45 +241,42 @@
}
return
+
try {
- const result = await this.$fetch('getProductDetail', { id })
-
- const { specs } = result
- let arr = specs
- arr?.sort?.((a, b) => a.sortOrder - b.sortOrder)
- const spec = arr?.[0]
-
- this.detail = {
- ...result,
- specId: spec?.id || null,
- specName: spec?.specName || null,
- }
+ const result = await this.$fetch('queryActivityById', { activityId })
+
+ // todo: init options
+ this.detail = result
} catch (err) {
}
+
},
async fetchComment(id) {
+
+ // todo: fetch by activity id
+
this.commentList = [
{
- avatar: '/static/image/temp-30.png',
+ avatar: '/pages_order/static/temp-30.png',
name: '战斗世界',
createTime: '2025-07-12',
content: '凌玉姐姐很温柔很耐心很负责我很喜欢她龙哥知识渊博很幽默给我们讲解很多内容行程很有趣我学到了很多东西最难忘的就是库木塔格沙漠我们爬到了很高的顶端看夕阳绝美还有我也很喜欢夏塔古道我们爬到了第四个卡拉房子的最远端看到了壮观的雪山下次还想参加活动去南疆',
- image: '/static/image/temp-36.png',
+ image: '/pages_order/static/temp-38.png',
},
{
- avatar: '/static/image/temp-30.png',
+ avatar: '/pages_order/static/temp-30.png',
name: '战斗世界',
createTime: '2025-07-12',
content: '凌玉姐姐很温柔很耐心很负责我很喜欢她龙哥知识渊博很幽默给我们讲解很多内容行程很有趣我学到了很多东西最难忘的就是库木塔格沙漠我们爬到了很高的顶端看夕阳绝美还有我也很喜欢夏塔古道我们爬到了第四个卡拉房子的最远端看到了壮观的雪山下次还想参加活动去南疆',
- image: '/static/image/temp-36.png',
+ image: '/pages_order/static/temp-38.png',
},
]
-
- // todo: fetch
},
onCollect() {
this.$store.dispatch('collect', this.id)
+
+ // todo: set collectd and change btn to cancel collect?
},
onBuy() {
this.$refs.orderInfoPopup.open({ selectTime: this.selectTime })
diff --git a/pages_order/product/search.vue b/pages_order/product/search.vue
index 1db09c4..93e3bfc 100644
--- a/pages_order/product/search.vue
+++ b/pages_order/product/search.vue
@@ -30,6 +30,7 @@
@@ -61,10 +62,10 @@
pageNo: 1,
pageSize: 10,
title: '',
+ // todo
sort: 'comprehensive',
},
- // todo
- mixinsListApi: '',
+ mixinsListApi: 'queryActivityList',
}
},
onLoad({ search }) {
@@ -75,63 +76,63 @@
this.getData()
},
- methods: {
+ methods: {
// todo: delete
getData() {
this.list = [
{
id: '001',
image: '/static/image/temp-20.png',
- name: '新疆天山行7/9日丨醉美伊犁&吐鲁番双套餐',
- desc: '国内游·7-9天·12岁+',
- currentPrice: 688.99,
- originalPrice: 1200,
- registered: 4168,
+ title: '新疆天山行7/9日丨醉美伊犁&吐鲁番双套餐',
+ tagList: ['国内游','7-9天','12岁+'],
+ priceDiscount: 688.99,
+ priceOrigin: 1200,
+ applyNum: 4168,
},
{
id: '002',
- image: '/static/image/temp-24.png',
- name: '坝上双草原6日|乌兰布统+锡林郭勒+长城',
- desc: '国内游·7-9天·12岁+',
- currentPrice: 688.99,
- originalPrice: 1200,
- registered: 4168,
+ image: '/static/image/temp-20.png',
+ title: '坝上双草原6日|乌兰布统+锡林郭勒+长城',
+ tagList: ['国内游','7-9天','12岁+'],
+ priceDiscount: 688.99,
+ priceOrigin: 1200,
+ applyNum: 4168,
},
{
id: '003',
- image: '/static/image/temp-25.png',
- name: '牛湖线探秘 | 清远牛湖线徒步,探秘天坑与大草原',
- desc: '国内游·7-9天·12岁+',
- currentPrice: 688.99,
- originalPrice: 1200,
- registered: 4168,
+ image: '/static/image/temp-20.png',
+ title: '牛湖线探秘 | 清远牛湖线徒步,探秘天坑与大草原',
+ tagList: ['国内游','7-9天','12岁+'],
+ priceDiscount: 688.99,
+ priceOrigin: 1200,
+ applyNum: 4168,
},
{
id: '004',
- image: '/static/image/temp-26.png',
- name: '低海拔藏区草原,汉藏文化大穿越',
- desc: '国内游·7-9天·12岁+',
- currentPrice: 688.99,
- originalPrice: 1200,
- registered: 4168,
+ image: '/static/image/temp-20.png',
+ title: '低海拔藏区草原,汉藏文化大穿越',
+ tagList: ['国内游','7-9天','12岁+'],
+ priceDiscount: 688.99,
+ priceOrigin: 1200,
+ applyNum: 4168,
},
{
id: '005',
- image: '/static/image/temp-27.png',
- name: '新丝路到敦煌7日 | 甘青轻松穿越,沙漠+草原',
- desc: '国内游·7-9天·12岁+',
- currentPrice: 688.99,
- originalPrice: 1200,
- registered: 4168,
+ image: '/static/image/temp-20.png',
+ title: '新丝路到敦煌7日 | 甘青轻松穿越,沙漠+草原',
+ tagList: ['国内游','7-9天','12岁+'],
+ priceDiscount: 688.99,
+ priceOrigin: 1200,
+ applyNum: 4168,
},
{
id: '006',
- image: '/static/image/temp-28.png',
- name: '呼伦贝尔6/8日|经典or环线双套餐可选',
- desc: '国内游·7-9天·12岁+',
- currentPrice: 688.99,
- originalPrice: 1200,
- registered: 4168,
+ image: '/static/image/temp-20.png',
+ title: '呼伦贝尔6/8日|经典or环线双套餐可选',
+ tagList: ['国内游','7-9天','12岁+'],
+ priceDiscount: 688.99,
+ priceOrigin: 1200,
+ applyNum: 4168,
},
]
this.total = this.list.length
@@ -144,6 +145,8 @@
},
onSortChange(sort) {
console.log('onSortChange', sort)
+ // todo set sort
+ this.getData()
},
},
}
diff --git a/pages_order/static/auth/avatar.png b/pages_order/static/auth/avatar.png
deleted file mode 100644
index 349d7d0..0000000
Binary files a/pages_order/static/auth/avatar.png and /dev/null differ
diff --git a/pages_order/static/auth/headImage.png b/pages_order/static/auth/headImage.png
deleted file mode 100644
index 7d9bdd0..0000000
Binary files a/pages_order/static/auth/headImage.png and /dev/null differ
diff --git a/pages_order/static/auth/wx.png b/pages_order/static/auth/wx.png
deleted file mode 100644
index 38858c0..0000000
Binary files a/pages_order/static/auth/wx.png and /dev/null differ
diff --git a/static/image/icon-comment.png b/pages_order/static/comment/icon-comment.png
similarity index 100%
rename from static/image/icon-comment.png
rename to pages_order/static/comment/icon-comment.png
diff --git a/static/image/icon-like-active.png b/pages_order/static/comment/icon-like-active.png
similarity index 100%
rename from static/image/icon-like-active.png
rename to pages_order/static/comment/icon-like-active.png
diff --git a/static/image/icon-like.png b/pages_order/static/comment/icon-like.png
similarity index 100%
rename from static/image/icon-like.png
rename to pages_order/static/comment/icon-like.png
diff --git a/pages_order/static/help/uploading.png b/pages_order/static/help/uploading.png
deleted file mode 100644
index d558b9e..0000000
Binary files a/pages_order/static/help/uploading.png and /dev/null differ
diff --git a/static/image/icon-change.png b/pages_order/static/icon-change.png
similarity index 100%
rename from static/image/icon-change.png
rename to pages_order/static/icon-change.png
diff --git a/static/image/icon-require.png b/pages_order/static/icon-require.png
similarity index 100%
rename from static/image/icon-require.png
rename to pages_order/static/icon-require.png
diff --git a/static/image/icon-phone.png b/pages_order/static/order/icon-phone.png
similarity index 100%
rename from static/image/icon-phone.png
rename to pages_order/static/order/icon-phone.png
diff --git a/pages_order/static/order/icon.png b/pages_order/static/order/icon.png
deleted file mode 100644
index a8deeda..0000000
Binary files a/pages_order/static/order/icon.png and /dev/null differ
diff --git a/static/image/partner/apply.png b/pages_order/static/partner/apply.png
similarity index 100%
rename from static/image/partner/apply.png
rename to pages_order/static/partner/apply.png
diff --git a/static/image/partner/icon-cash.png b/pages_order/static/partner/icon-cash.png
similarity index 100%
rename from static/image/partner/icon-cash.png
rename to pages_order/static/partner/icon-cash.png
diff --git a/static/image/partner/icon-nav.png b/pages_order/static/partner/icon-nav.png
similarity index 100%
rename from static/image/partner/icon-nav.png
rename to pages_order/static/partner/icon-nav.png
diff --git a/static/image/partner/icon-qrcode.png b/pages_order/static/partner/icon-qrcode.png
similarity index 100%
rename from static/image/partner/icon-qrcode.png
rename to pages_order/static/partner/icon-qrcode.png
diff --git a/static/image/partner/icon-team.png b/pages_order/static/partner/icon-team.png
similarity index 100%
rename from static/image/partner/icon-team.png
rename to pages_order/static/partner/icon-team.png
diff --git a/static/image/temp-29.png b/pages_order/static/temp-29.png
similarity index 100%
rename from static/image/temp-29.png
rename to pages_order/static/temp-29.png
diff --git a/static/image/temp-30.png b/pages_order/static/temp-30.png
similarity index 100%
rename from static/image/temp-30.png
rename to pages_order/static/temp-30.png
diff --git a/static/image/temp-38.png b/pages_order/static/temp-38.png
similarity index 100%
rename from static/image/temp-38.png
rename to pages_order/static/temp-38.png
diff --git a/pages_order/static/temp-47.png b/pages_order/static/temp-47.png
new file mode 100644
index 0000000..c31a115
Binary files /dev/null and b/pages_order/static/temp-47.png differ
diff --git a/pages_order/static/temp-49.png b/pages_order/static/temp-49.png
new file mode 100644
index 0000000..bd0b0e3
Binary files /dev/null and b/pages_order/static/temp-49.png differ
diff --git a/pages_order/traveler/travelerList.vue b/pages_order/traveler/travelerList.vue
index fc77aa3..374b884 100644
--- a/pages_order/traveler/travelerList.vue
+++ b/pages_order/traveler/travelerList.vue
@@ -184,7 +184,7 @@
.page__view {
width: 100vw;
min-height: 100vh;
- background-color: $uni-bg-color;
+ background: $uni-bg-color;
position: relative;
/deep/ .nav-bar__view {
diff --git a/pages_order/traveler/travelerPopup.vue b/pages_order/traveler/travelerPopup.vue
index 841a506..b68dc83 100644
--- a/pages_order/traveler/travelerPopup.vue
+++ b/pages_order/traveler/travelerPopup.vue
@@ -16,7 +16,7 @@
-
+
姓名
@@ -27,7 +27,7 @@
-
+
身份证号
@@ -38,7 +38,7 @@
-
+
类型
@@ -63,7 +63,7 @@
-
+
性别
@@ -88,7 +88,7 @@
-
+
手机号
@@ -139,7 +139,7 @@
-
+
紧急联系人
@@ -150,7 +150,7 @@
-
+
监护人联系方式
diff --git a/static/image/bg.png b/static/image/bg.png
index ea021a3..ebe82d3 100644
Binary files a/static/image/bg.png and b/static/image/bg.png differ
diff --git a/static/image/center-bg.png b/static/image/center-bg.png
index afdddad..a9f52ab 100644
Binary files a/static/image/center-bg.png and b/static/image/center-bg.png differ
diff --git a/static/image/temp-1.png b/static/image/temp-1.png
index 5131145..362e58f 100644
Binary files a/static/image/temp-1.png and b/static/image/temp-1.png differ
diff --git a/static/image/temp-10.png b/static/image/temp-10.png
index 896db0c..31d7096 100644
Binary files a/static/image/temp-10.png and b/static/image/temp-10.png differ
diff --git a/static/image/temp-11.png b/static/image/temp-11.png
index 0c583b8..02785e3 100644
Binary files a/static/image/temp-11.png and b/static/image/temp-11.png differ
diff --git a/static/image/temp-12.png b/static/image/temp-12.png
index 303b7a4..1523947 100644
Binary files a/static/image/temp-12.png and b/static/image/temp-12.png differ
diff --git a/static/image/temp-13.png b/static/image/temp-13.png
index 04597ed..f806a6b 100644
Binary files a/static/image/temp-13.png and b/static/image/temp-13.png differ
diff --git a/static/image/temp-14.png b/static/image/temp-14.png
index 4f45499..218b106 100644
Binary files a/static/image/temp-14.png and b/static/image/temp-14.png differ
diff --git a/static/image/temp-16.png b/static/image/temp-16.png
deleted file mode 100644
index f54252b..0000000
Binary files a/static/image/temp-16.png and /dev/null differ
diff --git a/static/image/temp-17.png b/static/image/temp-17.png
deleted file mode 100644
index 2da70e0..0000000
Binary files a/static/image/temp-17.png and /dev/null differ
diff --git a/static/image/temp-18.png b/static/image/temp-18.png
deleted file mode 100644
index ae091bd..0000000
Binary files a/static/image/temp-18.png and /dev/null differ
diff --git a/static/image/temp-19.png b/static/image/temp-19.png
index f968c45..e4f29fb 100644
Binary files a/static/image/temp-19.png and b/static/image/temp-19.png differ
diff --git a/static/image/temp-2.png b/static/image/temp-2.png
index 340c991..76c1a88 100644
Binary files a/static/image/temp-2.png and b/static/image/temp-2.png differ
diff --git a/static/image/temp-20.png b/static/image/temp-20.png
index 40ea1c2..c87d3dc 100644
Binary files a/static/image/temp-20.png and b/static/image/temp-20.png differ
diff --git a/static/image/temp-21.png b/static/image/temp-21.png
deleted file mode 100644
index a7cf07b..0000000
Binary files a/static/image/temp-21.png and /dev/null differ
diff --git a/static/image/temp-22.png b/static/image/temp-22.png
deleted file mode 100644
index 4fd1d73..0000000
Binary files a/static/image/temp-22.png and /dev/null differ
diff --git a/static/image/temp-23.png b/static/image/temp-23.png
deleted file mode 100644
index 63479e8..0000000
Binary files a/static/image/temp-23.png and /dev/null differ
diff --git a/static/image/temp-24.png b/static/image/temp-24.png
deleted file mode 100644
index a9d5df4..0000000
Binary files a/static/image/temp-24.png and /dev/null differ
diff --git a/static/image/temp-25.png b/static/image/temp-25.png
deleted file mode 100644
index cfb1100..0000000
Binary files a/static/image/temp-25.png and /dev/null differ
diff --git a/static/image/temp-26.png b/static/image/temp-26.png
deleted file mode 100644
index 5da22f1..0000000
Binary files a/static/image/temp-26.png and /dev/null differ
diff --git a/static/image/temp-27.png b/static/image/temp-27.png
deleted file mode 100644
index 0a2e272..0000000
Binary files a/static/image/temp-27.png and /dev/null differ
diff --git a/static/image/temp-28.png b/static/image/temp-28.png
deleted file mode 100644
index 5dfefe3..0000000
Binary files a/static/image/temp-28.png and /dev/null differ
diff --git a/static/image/temp-3.png b/static/image/temp-3.png
index e25e124..f1fcc1f 100644
Binary files a/static/image/temp-3.png and b/static/image/temp-3.png differ
diff --git a/static/image/temp-31.png b/static/image/temp-31.png
deleted file mode 100644
index 3edc51b..0000000
Binary files a/static/image/temp-31.png and /dev/null differ
diff --git a/static/image/temp-32.png b/static/image/temp-32.png
deleted file mode 100644
index 6f54751..0000000
Binary files a/static/image/temp-32.png and /dev/null differ
diff --git a/static/image/temp-33.png b/static/image/temp-33.png
deleted file mode 100644
index ec6ed85..0000000
Binary files a/static/image/temp-33.png and /dev/null differ
diff --git a/static/image/temp-34.png b/static/image/temp-34.png
deleted file mode 100644
index 01d743e..0000000
Binary files a/static/image/temp-34.png and /dev/null differ
diff --git a/static/image/temp-35.png b/static/image/temp-35.png
deleted file mode 100644
index 54a7c95..0000000
Binary files a/static/image/temp-35.png and /dev/null differ
diff --git a/static/image/temp-36.png b/static/image/temp-36.png
deleted file mode 100644
index 0c14868..0000000
Binary files a/static/image/temp-36.png and /dev/null differ
diff --git a/static/image/temp-37.png b/static/image/temp-37.png
deleted file mode 100644
index 0297c3f..0000000
Binary files a/static/image/temp-37.png and /dev/null differ
diff --git a/static/image/temp-39.png b/static/image/temp-39.png
deleted file mode 100644
index ac6fe9d..0000000
Binary files a/static/image/temp-39.png and /dev/null differ
diff --git a/static/image/temp-4.png b/static/image/temp-4.png
index d89c64b..8375040 100644
Binary files a/static/image/temp-4.png and b/static/image/temp-4.png differ
diff --git a/static/image/temp-40.png b/static/image/temp-40.png
deleted file mode 100644
index cd2388b..0000000
Binary files a/static/image/temp-40.png and /dev/null differ
diff --git a/static/image/temp-41.png b/static/image/temp-41.png
deleted file mode 100644
index 06ba3b4..0000000
Binary files a/static/image/temp-41.png and /dev/null differ
diff --git a/static/image/temp-42.png b/static/image/temp-42.png
deleted file mode 100644
index 0522e17..0000000
Binary files a/static/image/temp-42.png and /dev/null differ
diff --git a/static/image/temp-43.png b/static/image/temp-43.png
deleted file mode 100644
index 8d1e0f2..0000000
Binary files a/static/image/temp-43.png and /dev/null differ
diff --git a/static/image/temp-44.png b/static/image/temp-44.png
deleted file mode 100644
index b59ef24..0000000
Binary files a/static/image/temp-44.png and /dev/null differ
diff --git a/static/image/temp-45.png b/static/image/temp-45.png
deleted file mode 100644
index b32f54b..0000000
Binary files a/static/image/temp-45.png and /dev/null differ
diff --git a/static/image/temp-46.png b/static/image/temp-46.png
deleted file mode 100644
index 92fec3d..0000000
Binary files a/static/image/temp-46.png and /dev/null differ
diff --git a/static/image/temp-47.png b/static/image/temp-47.png
deleted file mode 100644
index d12387e..0000000
Binary files a/static/image/temp-47.png and /dev/null differ
diff --git a/static/image/temp-48.png b/static/image/temp-48.png
deleted file mode 100644
index 6dcbf83..0000000
Binary files a/static/image/temp-48.png and /dev/null differ
diff --git a/static/image/temp-49.png b/static/image/temp-49.png
deleted file mode 100644
index 610764f..0000000
Binary files a/static/image/temp-49.png and /dev/null differ
diff --git a/static/image/temp-5.png b/static/image/temp-5.png
index 94f70cd..e7b309d 100644
Binary files a/static/image/temp-5.png and b/static/image/temp-5.png differ
diff --git a/static/image/temp-50.jpg b/static/image/temp-50.jpg
deleted file mode 100644
index fbae1ab..0000000
Binary files a/static/image/temp-50.jpg and /dev/null differ
diff --git a/static/image/temp-51.png b/static/image/temp-51.png
deleted file mode 100644
index e501f82..0000000
Binary files a/static/image/temp-51.png and /dev/null differ
diff --git a/static/image/temp-6.png b/static/image/temp-6.png
index 1da7575..ba0ac7c 100644
Binary files a/static/image/temp-6.png and b/static/image/temp-6.png differ
diff --git a/static/image/temp-7.png b/static/image/temp-7.png
index 8aede7a..5014afe 100644
Binary files a/static/image/temp-7.png and b/static/image/temp-7.png differ
diff --git a/static/image/temp-8.png b/static/image/temp-8.png
index 50a494f..7df3b71 100644
Binary files a/static/image/temp-8.png and b/static/image/temp-8.png differ
diff --git a/static/image/temp-9.png b/static/image/temp-9.png
index 6400db5..2da6b9a 100644
Binary files a/static/image/temp-9.png and b/static/image/temp-9.png differ
diff --git a/store/store.js b/store/store.js
index 55ba193..0996b5b 100644
--- a/store/store.js
+++ b/store/store.js
@@ -122,13 +122,19 @@ const store = new Vuex.Store({
},
},
actions: {
- async collect(state, id) {
- console.log('collect', id)
+ async collect(state, activityId) {
+ console.log('collect', activityId)
+
+ // todo: delete
+ uni.showToast({
+ icon: 'success',
+ title: '已收藏',
+ });
+ return true
try {
- // todo: fetch
- // await fetch('collect', { id })
+ await fetch('collectionActivity', { activityId })
uni.showToast({
icon: 'success',
@@ -137,6 +143,7 @@ const store = new Vuex.Store({
return true
} catch (err) {
+ console.log('collect err', err)
return false
}
},
diff --git a/uni_modules/uv-rate/components/uv-rate/uv-rate.vue b/uni_modules/uv-rate/components/uv-rate/uv-rate.vue
index 48e7558..33b4f51 100644
--- a/uni_modules/uv-rate/components/uv-rate/uv-rate.vue
+++ b/uni_modules/uv-rate/components/uv-rate/uv-rate.vue
@@ -97,6 +97,7 @@
},
created() {
this.activeIndex = Number(this.value || this.modelValue);
+ console.log('activeIndex', this.activeIndex)
this.elId = this.$uv.guid();
this.elClass = this.$uv.guid();
},
@@ -186,15 +187,18 @@
},
// 获取当前激活的评分图标
getActiveIndex(x, isClick = false) {
+ console.log('x', x, this.disabled, this.readonly)
if (this.disabled || this.readonly) {
return;
}
// 判断当前操作的点的x坐标值,是否在允许的边界范围内
const allRateWidth = this.rateWidth * this.count + this.rateBoxLeft;
+ console.log('rateWidth', this.rateWidth, 'rateBoxLeft', this.rateBoxLeft, 'allRateWidth', allRateWidth)
// 如果小于第一个图标的左边界,设置为最小值,如果大于所有图标的宽度,则设置为最大值
x = this.$uv.range(this.rateBoxLeft, allRateWidth, x) - this.rateBoxLeft
// 滑动点相对于评分盒子左边的距离
const distance = x;
+ console.log('distance', distance)
// 滑动的距离,相当于多少颗星星
let index;
// 判断是否允许半星
@@ -218,11 +222,13 @@
if (decimal > this.rateWidth / 2) index++;
}
}
+ console.log('index', index, 'count', this.count)
this.activeIndex = Math.min(index, this.count);
// 对最少颗星星的限制
if (this.activeIndex < this.minCount) {
this.activeIndex = this.minCount;
}
+ console.log('activeIndex', this.activeIndex)
this.changeEvent();
// 设置延时为了让click事件在touchmove之前触发
setTimeout(() => {
diff --git a/uni_modules/uv-tabs/components/uv-tabs/uv-tabs.vue b/uni_modules/uv-tabs/components/uv-tabs/uv-tabs.vue
index cfbc3b7..cf6a039 100644
--- a/uni_modules/uv-tabs/components/uv-tabs/uv-tabs.vue
+++ b/uni_modules/uv-tabs/components/uv-tabs/uv-tabs.vue
@@ -135,6 +135,7 @@
current: {
immediate: true,
handler (newValue, oldValue) {
+ console.log('watch current', newValue, oldValue, this.innerCurrent)
// 内外部值不相等时,才尝试移动滑块
if (newValue !== this.innerCurrent) {
this.innerCurrent = newValue
diff --git a/uni_modules/uv-vtabs/components/uv-vtabs/uv-vtabs.vue b/uni_modules/uv-vtabs/components/uv-vtabs/uv-vtabs.vue
index cd23320..cf1156a 100644
--- a/uni_modules/uv-vtabs/components/uv-vtabs/uv-vtabs.vue
+++ b/uni_modules/uv-vtabs/components/uv-vtabs/uv-vtabs.vue
@@ -202,6 +202,7 @@
},
watch: {
current(newVal){
+ console.log('watch current', newVal)
if(!this.touching)
this.$nextTick(()=>{
this.init(newVal?newVal:0);
@@ -276,6 +277,7 @@
},
// 左边菜单点击
async clickHandler(currentIndex) {
+ console.log('clickHandler', currentIndex, this.activeIndex)
if (currentIndex == this.activeIndex) return;
this.touching = true;
this.activeIndex = currentIndex;
@@ -285,6 +287,7 @@
// #ifndef MP-WEIXIN
this.contentScrollTo = `content_${currentIndex}`;
// #endif
+ console.log('contentScrollTop', this.contentScrollTop)
}
this.timer && clearTimeout(this.timer);
throttle(()=>{