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.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){

2
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=>{

2
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=>{

4
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",

2
pages/list/techan/index.json

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

8
pages/list/techan/index.wxml

@ -1,12 +1,12 @@
<!--pages/feiyi/list/index.wxml-->
<!-- 非遗列表页面 -->
<!-- <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>
<view style="position:relative;margin-top: -107rpx;">
<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="20" style="left:auto;right:135rpx"><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="3" style="left:auto;right:135rpx"><text>文</text><text>创</text></view>
</view>
<view class="list">
<view class="item" wx:for="{{list}}">
@ -30,7 +30,7 @@
</view>
</view>
<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>

6
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);

Loading…
Cancel
Save