Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
T
TripFriend
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
viitto
TripFriend
Commits
db35e64c
Commit
db35e64c
authored
Feb 26, 2020
by
黄媛媛
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update
parent
45457b8f
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
12 additions
and
8 deletions
+12
-8
index.js
pages/index/index.js
+5
-3
index.wxml
pages/index/index.wxml
+1
-1
tripDay.wxml
pages/index/tripDay/tripDay.wxml
+6
-4
No files found.
pages/index/index.js
View file @
db35e64c
...
...
@@ -30,7 +30,8 @@ Page({
airState
:
true
,
configId
:
''
,
tcid
:
''
,
pathUrl
:
'/pages/index/index'
pathUrl
:
'/pages/index/index'
,
optionTCID
:
'7003'
,
},
//事件处理函数
...
...
@@ -39,7 +40,7 @@ Page({
// url: '../logs/logs'
// })
},
onLoad
:
function
()
{
onLoad
:
function
(
options
)
{
// if (app.globalData.userInfo) {
// this.setData({
// userInfo: app.globalData.userInfo,
...
...
@@ -66,6 +67,7 @@ Page({
// }
// })
// }
console
.
log
(
"options"
,
options
)
let
that
=
this
;
let
openId
=
(
wx
.
getStorageSync
(
'openId'
))
if
(
!
openId
)
{
...
...
@@ -251,7 +253,7 @@ Page({
let
userInfo
=
this
.
data
.
userInfo
;
let
msg
=
{
ConfigId
:
0
,
TCID
:
'7003'
,
TCID
:
this
.
data
.
optionTCID
,
OrderId
:
userInfo
.
OrderId
?
userInfo
.
OrderId
:
''
,
CityId
:
userInfo
.
DepartureCityId
?
userInfo
.
DepartureCityId
:
''
};
...
...
pages/index/index.wxml
View file @
db35e64c
...
...
@@ -217,7 +217,7 @@
{{contactInfo.MobilePhone}}
</view>
<view style="color:#E2E2E2">————
<text class="c11 f22" wx:if="{{contactInfo.type==1}}">带团信息</text>
<text class="c11 f22" wx:if="{{contactInfo.type==1
|| contactInfo.type==2
}}">带团信息</text>
<text class="c11 f22" wx:else>收客信息</text> ————
</view>
</view>
...
...
pages/index/tripDay/tripDay.wxml
View file @
db35e64c
...
...
@@ -45,12 +45,14 @@
</view>
</view>
<view
wx:for="{{dayInfo.hotelList}}" wx:key="index"
class="common head f24">
<view class="common head f24">
<text class="circle"></text>
<view>
<text class="f22 c99">酒店</text>
<text wx:if="{{dayInfo.hotelList.length>0}}" style="margin:0 6rpx 0 30rpx;display:inline-block" class="f26 bold">{{item.childItem.HotelName}}
</text>
<text class="f22 c99" style="margin-right:30rpx">酒店</text>
<view wx:for="{{dayInfo.hotelList}}" wx:key="index" wx:if="{{dayInfo.hotelList.length>0}}" style="display:inline-block" class="f26 bold">
{{item.childItem.HotelName}}
<text wx:if="{{index!=dayInfo.hotelList.length-1}}">/</text>
</view>
<text>{{suffix}}</text>
<text wx:if="{{dayInfo.hotelList.length==0}}" style="margin:0 6rpx 0 30rpx;" class="f26 bold">本日无酒店安排</text>
</view>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment