Browse Source

电影票提示

master
nige 3 years ago
parent
commit
eca0d6eee1
  1. 2
      app.js
  2. 2
      pages/list/activitynew/index.wxml
  3. 5
      pages/list/activitynew/index.wxss
  4. 2
      pages/list/movieticket/index.wxml
  5. 4
      pages/order/movie/index.wxml
  6. 28
      pages/order/movie/index.wxss

2
app.js

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

2
pages/list/activitynew/index.wxml

@ -71,7 +71,7 @@
<view class="movie-types" wx:if="{{type==4}}">
<view bindtap="changeMovieType" data-type='1' class="movie-type {{movieType==1?'active':''}}">热映</view>
<view bindtap="changeMovieType" data-type='2' class="movie-type {{movieType==2?'active':''}}">影院</view>
<view bindtap="changeMovieType" data-type='3' class="movie-type {{movieType==3?'active':''}}">即将上映</view>
<!-- <view bindtap="changeMovieType" data-type='3' class="movie-type {{movieType==3?'active':''}}">即将上映</view> -->
</view>
<view class="sort-box" wx:if="{{type==4 && movieType==2}}">
<view class="{{sort=='distance'?'active':''}}" bindtap="setSort" data-sort="distance">离我最近</view>

5
pages/list/activitynew/index.wxss

@ -225,11 +225,12 @@ background: rgba(11, 137, 142, .1);
.movie-types {
display: flex;
justify-content: space-between;
padding: 30rpx;
padding: 30rpx 14rpx;
background: #0B898E;
}
.movie-type {
width: 180rpx;
width: 330rpx;
height: 60rpx;
display: flex;
align-items: center;

2
pages/list/movieticket/index.wxml

@ -2,7 +2,7 @@
<view class="movie-types">
<view class="movie-type{{type==1?' active':''}}" bindtap="changeType" data-type="1">热映</view>
<view class="movie-type{{type==2?' active':''}}" bindtap="changeType" data-type="2">影院</view>
<view class="movie-type{{type==3?' active':''}}" bindtap="changeType" data-type="3">即将上映</view>
<!-- <view class="movie-type{{type==3?' active':''}}" bindtap="changeType" data-type="3">即将上映</view> -->
</view>
<view style="height:87rpx"></view>
<!-- 热映 -->

4
pages/order/movie/index.wxml

@ -20,13 +20,13 @@
<view class="tips">
<view class="tips-box">
<image src="https://static.ticket.sz-trip.com/jundaosuzhou/images/cha.png" mode="aspectFit" />
<image src="https://static.ticket.sz-trip.com/jundaosuzhou/images/cha1.png" mode="aspectFit" />
<view>
不支持退票
</view>
</view>
<view class="tips-box">
<image src="https://static.ticket.sz-trip.com/jundaosuzhou/images/cha.png" mode="aspectFit" alt="" />
<image src="https://static.ticket.sz-trip.com/jundaosuzhou/images/cha1.png" mode="aspectFit" alt="" />
<view>
不支持改签
</view>

28
pages/order/movie/index.wxss

@ -4,9 +4,11 @@ page {
}
.info-box {
background: white;
border-radius: 7rpx;
border-radius: 9rpx;
margin: 25rpx;
padding: 0 21rpx;
position: relative;
z-index:11;
}
.info-top {
display: flex;
@ -107,21 +109,31 @@ page {
}
.tips{
display: flex;
margin-left: 25.3rpx;
margin-left:25rpx;
padding-left: 20rpx;
box-sizing: border-box;
width: 700rpx;
height: 80rpx;
background: #D62828;
border-radius:0 0 9rpx 9rpx ;
position: relative;
margin-top: -32rpx;
}
.tips-box{
display: flex;
align-items: center;
margin-right: 27rpx;
font-size: 27rpx;
font-family: PingFang SC;
font-weight: 500;
color: #111111;
font-size: 27rpx;
font-family: PingFang SC;
font-weight: bold;
color: #FFFFFF;
line-height: 57rpx;
}
.tips-box image{
width: 26.6rpx;
height: 26.6rpx;
width: 26.7rpx;
height: 26.7rpx;
margin-right:10rpx ;
}
.fix-info{
width: 750rpx;

Loading…
Cancel
Save