Browse Source

文档修复

master
nige 3 years ago
parent
commit
3e6dbab085
  1. 2
      app.js
  2. 4
      pages/pbService/activity/index.js
  3. 4
      pages/pbService/activity/index.wxml
  4. 2
      pages/pbService/activity/index.wxss

2
app.js

@ -21,7 +21,7 @@ App({
unique_key: "wechatxcx"
}).then(res => {
let data = JSON.parse(res.data);
data.isTest = data.isTest62? true : false;
data.isTest = data.isTest63? true : false;
this.globalData.configJson = data
}).then(() => {
// 获取ui配置文件

4
pages/pbService/activity/index.js

@ -10,7 +10,7 @@ Page({
list:[],
page:1,
total:1,
navList: [{title: '精彩2022', year: 2022}, {title: '回顾2021', year: 2021}],
// navList: [{title: '精彩2022', year: 2022}, {title: '回顾2021', year: 2021}],
navIndex: 0
},
@ -33,7 +33,7 @@ Page({
https._post("review/getList",{
limit:10,
page:this.data.page,
year: this.data.navList[this.data.navIndex].year
year:''
}).then(res=>{
this.setData({
total:res.data.total,

4
pages/pbService/activity/index.wxml

@ -1,9 +1,9 @@
<!--pages/pbService/activity/index.wxml-->
<title title="精彩回顾"></title>
<image mode="widthFix" class="topimg" src="https://static.ticket.sz-trip.com/activity/WonderfulReview/topBacNew.png"></image>
<view class="nav-box com-flex-tao">
<!-- <view class="nav-box com-flex-tao">
<view class="nav-item com-bac {{index == navIndex ? 'active' : ''}}" bindtap="onReload" wx:for="{{navList}}" data-index="{{index}}">{{ item.title }}</view>
</view>
</view> -->
<view class="list">
<view bindtap="gotoDetail" data-item="{{item}}" url="{{item.mini_url}}" class="item" wx:for="{{list}}">
<image mode="aspectFill" class="bgimg" src="https://sz-qd.oss-cn-hangzhou.aliyuncs.com/xcxImages/pbservice/hgbg.png"></image>

2
pages/pbService/activity/index.wxss

@ -4,7 +4,7 @@
width: 100%;
}
.list{
margin-top: 90rpx;
margin-top: 10rpx;
}
.item {
margin: 40rpx 27rpx;

Loading…
Cancel
Save