Myth 5 years ago
parent
commit
9cad4fd45e
  1. 2
      pages/list/movieticket/index.js
  2. 2
      pages/list/road/index.js
  3. 2
      pages/list/six/index.js
  4. 4
      pages/list/techan/index.js
  5. 2
      pages/list/techan/index.json
  6. 8
      pages/list/techan/index.wxml
  7. 6
      pages/list/techan/index.wxss

2
pages/list/movieticket/index.js

@ -126,7 +126,7 @@ Page({
} }
data.page = this.data.page; data.page = this.data.page;
data.pageSize = 10; data.pageSize = 10;
commonApi.user_post(service,data).then(res=>{ commonApi._post(service,data).then(res=>{
console.log(res) console.log(res)
res.data.map(item=>{ res.data.map(item=>{
if(item.distance>1000){ if(item.distance>1000){

2
pages/list/road/index.js

@ -20,7 +20,7 @@ Page({
* 生命周期函数--监听页面加载 * 生命周期函数--监听页面加载
*/ */
onLoad: function (options) { onLoad: function (options) {
commonApi.user_post("act/get_type_by_area",{ commonApi._post("act/get_type_by_area",{
tag_id:17, tag_id:17,
area_id:"" area_id:""
}).then(res=>{ }).then(res=>{

2
pages/list/six/index.js

@ -37,7 +37,7 @@ Page({
}, },
getTypes:function(){ 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, area_id:this.data.areas[this.data.areaIndex].area_id,
tag_id:16 tag_id:16
}).then(res=>{ }).then(res=>{

4
pages/list/techan/index.js

@ -9,7 +9,7 @@ Page({
data: { data: {
list:[], list:[],
total:1, total:1,
type:19, type:2,
keywords:"" keywords:""
}, },
@ -39,7 +39,7 @@ Page({
let list = this.data.list; let list = this.data.list;
if(list.length>=this.data.total) return; if(list.length>=this.data.total) return;
commonApi._post("supplier/get_supplier_by_tag_id",{ commonApi._post("supplier/get_supplier_by_tag_id",{
tag_id:1, tag_id:this.data.type,
limit:10, limit:10,
offset:list.length, offset:list.length,
sort:"weight", sort:"weight",

2
pages/list/techan/index.json

@ -1,5 +1,5 @@
{ {
"usingComponents": { "usingComponents": {
"search":"/pages/component/SearchHeader" "title":"/pages/component/TitleHeader"
} }
} }

8
pages/list/techan/index.wxml

@ -1,12 +1,12 @@
<!--pages/feiyi/list/index.wxml--> <!--pages/feiyi/list/index.wxml-->
<!-- 非遗列表页面 --> <!-- 非遗列表页面 -->
<!-- <wxs src="../../../../utils/filter.wxs" module="tool" /> --> <!-- <wxs src="../../../../utils/filter.wxs" module="tool" /> -->
<search bind:onload="search"></search> <title title="文创特产"></title>
<image class="heaimg" src="https://static.ticket.sz-trip.com/xcxImages/techan/top.png" mode="widthFix"></image> <image class="heaimg" src="https://static.ticket.sz-trip.com/xcxImages/techan/top.png" mode="widthFix"></image>
<view style="position:relative;margin-top: -107rpx;"> <view style="position:relative;margin-top: -107rpx;">
<image mode="widthFix" class="classimg" src="https://static.ticket.sz-trip.com/xcxImages/techan/class.png"></image> <image mode="widthFix" class="classimg" src="https://static.ticket.sz-trip.com/xcxImages/techan/class.png"></image>
<view class="type-text" bindtap="changeType" data-type="19"><text>特</text><text>产</text></view> <view class="type-text" bindtap="changeType" data-type="2"><text>特</text><text>产</text></view>
<view class="type-text" bindtap="changeType" data-type="20" style="left:auto;right:135rpx"><text>文</text><text>创</text></view> <view class="type-text" bindtap="changeType" data-type="3" style="left:auto;right:135rpx"><text>文</text><text>创</text></view>
</view> </view>
<view class="list"> <view class="list">
<view class="item" wx:for="{{list}}"> <view class="item" wx:for="{{list}}">
@ -30,7 +30,7 @@
</view> </view>
</view> </view>
<view wx:if="{{list.length==0}}" class="common-empty" style="z-index:-1;top:700rpx"> <view wx:if="{{list.length==0}}" class="common-empty" style="z-index:-1;top:700rpx">
<image mode="widthFix" src="https://static.ticket.sz-trip.com/xcxImages/other/nodata.png"></image> <!-- <image mode="widthFix" src="https://static.ticket.sz-trip.com/xcxImages/other/nodata.png"></image> -->
<view>暂无内容</view> <view>暂无内容</view>
</view> </view>
</view> </view>

6
pages/list/techan/index.wxss

@ -19,15 +19,11 @@ page {
line-height: 60rpx; line-height: 60rpx;
font-size: 40rpx; font-size: 40rpx;
font-weight: bold; font-weight: bold;
background: linear-gradient(-57deg, #FFE1A2 53.1494140625%, #FFE8C0 100%);
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
z-index: 1; z-index: 1;
color: #fff; color: #FFE1A2;
width: 120rpx; width: 120rpx;
display: flex; display: flex;
justify-content: space-between; justify-content: space-between;
z-index: 1;
} }
.item { .item {
background: url(https://static.ticket.sz-trip.com/xcxImages/techan/bg.png); background: url(https://static.ticket.sz-trip.com/xcxImages/techan/bg.png);

Loading…
Cancel
Save