From 08a2a66ea47a2ea971a72d2c576c17d92ffd60bb Mon Sep 17 00:00:00 2001 From: jiazhipeng Date: Tue, 10 Jun 2025 10:57:34 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A4=B4=E5=9B=BE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages.json | 8 + static/css/base.css | 15 + static/js/CommonFunction.js | 10 +- subPackages/ticket/detail.vue | 1035 +++++++++++++++++++ subPackages/ticket/index.vue | 194 ++++ subPackages/ticket/order.vue | 1814 +++++++++++++++++++++++++++++++++ 6 files changed, 3071 insertions(+), 5 deletions(-) create mode 100644 subPackages/ticket/detail.vue create mode 100644 subPackages/ticket/index.vue create mode 100644 subPackages/ticket/order.vue diff --git a/pages.json b/pages.json index f417a53..2f7555b 100644 --- a/pages.json +++ b/pages.json @@ -47,6 +47,14 @@ "navigationBarTitleText" : "视频" } }, + { + "path": "ticket/index", + "style": { + "navigationBarTitleText": "采摘" + } + }, + + { "path" : "line/index", "style" : { diff --git a/static/css/base.css b/static/css/base.css index 7475fcd..3fd752c 100644 --- a/static/css/base.css +++ b/static/css/base.css @@ -73,3 +73,18 @@ view { color: #999999; } +.flex-shrink-0{ + flex-shrink: 0; +} +.flex-1{ + flex: 1; +} +.flex-wrap{ + flex-wrap: wrap; +} +.w-1rpx{ + width: 1rpx; +} +.h-1rpx{ + height: 1rpx; +} diff --git a/static/js/CommonFunction.js b/static/js/CommonFunction.js index cde3d8a..74b7844 100644 --- a/static/js/CommonFunction.js +++ b/static/js/CommonFunction.js @@ -90,7 +90,7 @@ Vue.prototype.showImg = img => { if (img.indexOf('https://') != -1 || img.indexOf('http://') != -1) { return img; } else { - return this.NEWAPIURL + img; + return Vue.prototype.NEWAPIURL + img; } } @@ -214,12 +214,12 @@ Vue.prototype.getSubscribeMessage = () => { } // 金刚区头图 -Vue.prototype.getHeadImg = type => { +Vue.prototype.getHeadImg = id => { return Vue.prototype.Post({ - type, + id, }, - '/api/public_service/getKumgangHeadImgList' + '/api/multimedia/detail' ).then(res => { - return res.data[0].image + return res.data.head_img }); } \ No newline at end of file diff --git a/subPackages/ticket/detail.vue b/subPackages/ticket/detail.vue new file mode 100644 index 0000000..f17f70f --- /dev/null +++ b/subPackages/ticket/detail.vue @@ -0,0 +1,1035 @@ + + + + + diff --git a/subPackages/ticket/index.vue b/subPackages/ticket/index.vue new file mode 100644 index 0000000..6ff1c71 --- /dev/null +++ b/subPackages/ticket/index.vue @@ -0,0 +1,194 @@ + + + + + \ No newline at end of file diff --git a/subPackages/ticket/order.vue b/subPackages/ticket/order.vue new file mode 100644 index 0000000..8d25512 --- /dev/null +++ b/subPackages/ticket/order.vue @@ -0,0 +1,1814 @@ + + + + +