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. 24
      pages/order/movie/index.wxss

2
app.js

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

2
pages/list/activitynew/index.wxml

@ -71,7 +71,7 @@
<view class="movie-types" wx:if="{{type==4}}"> <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='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='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>
<view class="sort-box" wx:if="{{type==4 && movieType==2}}"> <view class="sort-box" wx:if="{{type==4 && movieType==2}}">
<view class="{{sort=='distance'?'active':''}}" bindtap="setSort" data-sort="distance">离我最近</view> <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 { .movie-types {
display: flex; display: flex;
justify-content: space-between; justify-content: space-between;
padding: 30rpx; padding: 30rpx 14rpx;
background: #0B898E; background: #0B898E;
} }
.movie-type { .movie-type {
width: 180rpx; width: 330rpx;
height: 60rpx; height: 60rpx;
display: flex; display: flex;
align-items: center; align-items: center;

2
pages/list/movieticket/index.wxml

@ -2,7 +2,7 @@
<view class="movie-types"> <view class="movie-types">
<view class="movie-type{{type==1?' active':''}}" bindtap="changeType" data-type="1">热映</view> <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==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>
<view style="height:87rpx"></view> <view style="height:87rpx"></view>
<!-- 热映 --> <!-- 热映 -->

4
pages/order/movie/index.wxml

@ -20,13 +20,13 @@
<view class="tips"> <view class="tips">
<view class="tips-box"> <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>
</view> </view>
<view class="tips-box"> <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>
不支持改签 不支持改签
</view> </view>

24
pages/order/movie/index.wxss

@ -4,9 +4,11 @@ page {
} }
.info-box { .info-box {
background: white; background: white;
border-radius: 7rpx; border-radius: 9rpx;
margin: 25rpx; margin: 25rpx;
padding: 0 21rpx; padding: 0 21rpx;
position: relative;
z-index:11;
} }
.info-top { .info-top {
display: flex; display: flex;
@ -107,7 +109,15 @@ page {
} }
.tips{ .tips{
display: flex; 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{ .tips-box{
display: flex; display: flex;
@ -115,13 +125,15 @@ page {
margin-right: 27rpx; margin-right: 27rpx;
font-size: 27rpx; font-size: 27rpx;
font-family: PingFang SC; font-family: PingFang SC;
font-weight: 500; font-weight: bold;
color: #111111; color: #FFFFFF;
line-height: 57rpx;
} }
.tips-box image{ .tips-box image{
width: 26.6rpx; width: 26.7rpx;
height: 26.6rpx; height: 26.7rpx;
margin-right:10rpx ;
} }
.fix-info{ .fix-info{
width: 750rpx; width: 750rpx;

Loading…
Cancel
Save