From 9cad4fd45e30969a0c7835ef9bb2d3aefbcb2fdb Mon Sep 17 00:00:00 2001 From: Myth Date: Fri, 9 Apr 2021 17:30:44 +0800 Subject: [PATCH] 1 --- pages/list/movieticket/index.js | 2 +- pages/list/road/index.js | 2 +- pages/list/six/index.js | 2 +- pages/list/techan/index.js | 4 ++-- pages/list/techan/index.json | 2 +- pages/list/techan/index.wxml | 8 ++++---- pages/list/techan/index.wxss | 6 +----- 7 files changed, 11 insertions(+), 15 deletions(-) diff --git a/pages/list/movieticket/index.js b/pages/list/movieticket/index.js index 403d02c..5fb3a3f 100644 --- a/pages/list/movieticket/index.js +++ b/pages/list/movieticket/index.js @@ -126,7 +126,7 @@ Page({ } data.page = this.data.page; data.pageSize = 10; - commonApi.user_post(service,data).then(res=>{ + commonApi._post(service,data).then(res=>{ console.log(res) res.data.map(item=>{ if(item.distance>1000){ diff --git a/pages/list/road/index.js b/pages/list/road/index.js index 49f1392..43b6337 100644 --- a/pages/list/road/index.js +++ b/pages/list/road/index.js @@ -20,7 +20,7 @@ Page({ * 生命周期函数--监听页面加载 */ onLoad: function (options) { - commonApi.user_post("act/get_type_by_area",{ + commonApi._post("act/get_type_by_area",{ tag_id:17, area_id:"" }).then(res=>{ diff --git a/pages/list/six/index.js b/pages/list/six/index.js index 05cf7c2..1966539 100644 --- a/pages/list/six/index.js +++ b/pages/list/six/index.js @@ -37,7 +37,7 @@ Page({ }, getTypes:function(){ // 获取苏城六纪下面的分类 - commonApi.user_post("act/get_type_by_area",{ + commonApi._post("act/get_type_by_area",{ area_id:this.data.areas[this.data.areaIndex].area_id, tag_id:16 }).then(res=>{ diff --git a/pages/list/techan/index.js b/pages/list/techan/index.js index dc27795..3ed1117 100644 --- a/pages/list/techan/index.js +++ b/pages/list/techan/index.js @@ -9,7 +9,7 @@ Page({ data: { list:[], total:1, - type:19, + type:2, keywords:"" }, @@ -39,7 +39,7 @@ Page({ let list = this.data.list; if(list.length>=this.data.total) return; commonApi._post("supplier/get_supplier_by_tag_id",{ - tag_id:1, + tag_id:this.data.type, limit:10, offset:list.length, sort:"weight", diff --git a/pages/list/techan/index.json b/pages/list/techan/index.json index 9f79876..35cf02f 100644 --- a/pages/list/techan/index.json +++ b/pages/list/techan/index.json @@ -1,5 +1,5 @@ { "usingComponents": { - "search":"/pages/component/SearchHeader" + "title":"/pages/component/TitleHeader" } } \ No newline at end of file diff --git a/pages/list/techan/index.wxml b/pages/list/techan/index.wxml index 65e5056..5057eb2 100644 --- a/pages/list/techan/index.wxml +++ b/pages/list/techan/index.wxml @@ -1,12 +1,12 @@ - + - - + + @@ -30,7 +30,7 @@ - + 暂无内容 diff --git a/pages/list/techan/index.wxss b/pages/list/techan/index.wxss index 554cf32..7de5326 100644 --- a/pages/list/techan/index.wxss +++ b/pages/list/techan/index.wxss @@ -19,15 +19,11 @@ page { line-height: 60rpx; font-size: 40rpx; font-weight: bold; - background: linear-gradient(-57deg, #FFE1A2 53.1494140625%, #FFE8C0 100%); - -webkit-background-clip: text; - -webkit-text-fill-color: transparent; z-index: 1; - color: #fff; + color: #FFE1A2; width: 120rpx; display: flex; justify-content: space-between; - z-index: 1; } .item { background: url(https://static.ticket.sz-trip.com/xcxImages/techan/bg.png);