Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
F
FlashMan
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
华国豪
FlashMan
Commits
9bb7e491
Commit
9bb7e491
authored
Jun 26, 2019
by
huangyuanyuan
Browse files
Options
Browse Files
Download
Plain Diff
解决app.json
parents
7824a8b4
36578040
Hide whitespace changes
Inline
Side-by-side
Showing
27 changed files
with
282 additions
and
129 deletions
+282
-129
app.json
app.json
+6
-6
draw_w.png
images/product/draw_w.png
+0
-0
guanggao.jpg
images/product/guanggao.jpg
+0
-0
hua.png
images/product/hua.png
+0
-0
huodong.png
images/product/huodong.png
+0
-0
jt2.png
images/product/jt2.png
+0
-0
kuang2.png
images/product/kuang2.png
+0
-0
logo_t.png
images/product/logo_t.png
+0
-0
success.png
images/product/success.png
+0
-0
title_n.png
images/product/title_n.png
+0
-0
tripPlaceholder.jpg
images/product/tripPlaceholder.jpg
+0
-0
tripPlaceholder_fly.jpg
images/product/tripPlaceholder_fly.jpg
+0
-0
Voucher.js
pages/Voucher/Voucher.js
+5
-0
Voucher.wxss
pages/Voucher/Voucher.wxss
+1
-13
VoucherDetails.js
pages/Voucher/VoucherDetails/VoucherDetails.js
+21
-20
VoucherDetails.wxml
pages/Voucher/VoucherDetails/VoucherDetails.wxml
+16
-1
VoucherDetails.wxss
pages/Voucher/VoucherDetails/VoucherDetails.wxss
+12
-3
rating.wxml
pages/Voucher/rating/rating.wxml
+4
-4
rating.wxss
pages/Voucher/rating/rating.wxss
+1
-0
write.js
pages/Voucher/write/write.js
+88
-45
write.wxml
pages/Voucher/write/write.wxml
+25
-14
write.wxss
pages/Voucher/write/write.wxss
+87
-15
SametradeZW.wxml
pages/product/SametradeZW/SametradeZW.wxml
+1
-1
Successview.wxml
pages/product/SametradeZW/Successview/Successview.wxml
+3
-3
luckdraw.wxml
pages/product/SametradeZW/luckdraw/luckdraw.wxml
+2
-2
productDetail.wxml
pages/product/productDetail/productDetail.wxml
+1
-1
project.config.json
project.config.json
+9
-1
No files found.
app.json
View file @
9bb7e491
{
"pages"
:
[
"pages/GroupTour/GroupTour"
,
"pages/Voucher/Voucher"
,
"pages/Voucher/rating/rating"
,
"pages/Voucher/VoucherDetails/VoucherDetails"
,
"pages/Voucher/write/write"
,
"pages/freeTravel/free"
,
"pages/visa/visa"
,
"pages/Home/home"
,
"pages/Ticket/Ticket"
,
"pages/visa/visa"
,
"pages/freeTravel/free"
,
"pages/local/localhome"
,
"pages/login/smsLogin/smsLogin"
,
"pages/login/revisePwd/revisePwd"
,
"pages/product/SametradeZW/prizelist/prizelist"
,
"pages/product/SametradeZW/luckdraw/luckdraw"
,
"pages/Voucher/rating/rating"
,
"pages/Voucher/VoucherDetails/VoucherDetails"
,
"pages/Voucher/write/write"
,
"pages/Voucher/Voucher"
,
"pages/product/product"
,
"pages/product/productAll/productAll"
,
"pages/product/productCheck/productCheck"
,
...
...
images/product/draw_w.png
deleted
100644 → 0
View file @
7824a8b4
29.5 KB
images/product/guanggao.jpg
deleted
100644 → 0
View file @
7824a8b4
162 KB
images/product/hua.png
deleted
100644 → 0
View file @
7824a8b4
31.1 KB
images/product/huodong.png
deleted
100644 → 0
View file @
7824a8b4
28.3 KB
images/product/jt2.png
deleted
100755 → 0
View file @
7824a8b4
8.48 KB
images/product/kuang2.png
deleted
100644 → 0
View file @
7824a8b4
17.9 KB
images/product/logo_t.png
deleted
100644 → 0
View file @
7824a8b4
58.9 KB
images/product/success.png
deleted
100755 → 0
View file @
7824a8b4
11.8 KB
images/product/title_n.png
deleted
100644 → 0
View file @
7824a8b4
14.9 KB
images/product/tripPlaceholder.jpg
deleted
100644 → 0
View file @
7824a8b4
86.8 KB
images/product/tripPlaceholder_fly.jpg
deleted
100644 → 0
View file @
7824a8b4
40.1 KB
pages/Voucher/Voucher.js
View file @
9bb7e491
...
...
@@ -65,6 +65,11 @@ Page({
* 生命周期函数--监听页面加载
*/
onLoad
:
function
(
options
)
{
if
(
options
.
finish
)
{
wx
.
navigateBack
({
delta
:
1
})
}
let
tcId
=
options
.
hasOwnProperty
(
'tcId'
)
?
options
.
tcId
:
'3037'
,
orderId
=
options
.
hasOwnProperty
(
'orderId'
)
?
options
.
orderId
:
'20914'
;
this
.
setData
({
...
...
pages/Voucher/Voucher.wxss
View file @
9bb7e491
...
...
@@ -15,21 +15,9 @@ page{
height: 3.4rem;
box-sizing: border-box;
border-bottom: 2px solid #DEDEDE;
color: #
999999
;
color: #
000000
;
margin-top: 70rpx;
}
.page-Voucher input::-webkit-input-placeholder{
color:#999999;
}
.page-Voucher input::-moz-placeholder{ /* Mozilla Firefox 19+ */
color:#999999;
}
.page-Voucher input:-moz-placeholder{ /* Mozilla Firefox 4 to 18 */
color:#999999;
}
.page-Voucher input:-ms-input-placeholder{ /* Internet Explorer 10-11 */
color:#999999;
}
button.next{
width: 350rpx;
height: 84rpx;
...
...
pages/Voucher/VoucherDetails/VoucherDetails.js
View file @
9bb7e491
...
...
@@ -14,7 +14,8 @@ Page({
voucherData
:
{},
rating
:
''
,
Message
:
''
,
showYouJi
:
false
,
showYouJi
:
true
,
showBadYouJi
:
false
},
/**
* 生命周期函数--监听页面加载
...
...
@@ -33,26 +34,27 @@ Page({
this
.
getinfo
()
this
.
getVoucher
()
},
// 差评直接退出小程序
logOut
:
function
()
{
wx
.
reLaunch
({
url
:
'../Voucher?finish=true'
,
})
},
// 保存数据
saveMessage
:
function
()
{
console
.
log
(
this
.
data
.
voucherData
)
let
data
=
JSON
.
parse
(
JSON
.
stringify
(
this
.
data
.
voucherData
)),
showYouJi
=
fals
e
;
showYouJi
=
tru
e
;
data
.
forEach
(
x
=>
{
x
.
TCID
=
this
.
tcId
;
x
.
OrderID
=
this
.
orderId
;
x
.
GuestId
=
this
.
GuestId
;
x
.
TCID
=
this
.
data
.
tcId
;
x
.
OrderID
=
this
.
data
.
orderId
;
x
.
GuestId
=
this
.
data
.
GuestId
;
if
(
x
.
SurveyType
===
2
||
x
.
SurveyType
===
3
)
{
x
.
SurveyOptionsList
.
forEach
(
y
=>
{
y
.
IsCheck
=
y
.
IsCheckS
?
'1'
:
'0'
})
}
if
(
x
.
SurveyType
===
1
)
{
if
(
x
.
ScoreNum
>=
3
)
{
showYouJi
=
true
}
else
{
showYouJi
=
false
}
if
(
x
.
SurveyType
===
1
&&
x
.
ScoreNum
<
3
)
{
showYouJi
=
false
}
})
if
(
this
.
data
.
Message
===
''
)
{
...
...
@@ -68,6 +70,10 @@ Page({
this
.
setData
({
showYouJi
:
true
})
}
else
{
this
.
setData
({
showBadYouJi
:
true
})
}
wx
.
showToast
({
title
:
'提交成功!'
,
...
...
@@ -85,12 +91,11 @@ Page({
//写游记
goWrite
:
function
()
{
wx
.
navigateTo
({
url
:
'/pages/Voucher/write/write?GuestId='
+
_this
.
data
.
GuestId
+
'&orderId='
+
_this
.
data
.
orderId
+
'&tcId='
+
_
this
.
data
.
tcId
url
:
'/pages/Voucher/write/write?GuestId='
+
this
.
data
.
GuestId
+
'&orderId='
+
this
.
data
.
orderId
+
'&tcId='
+
this
.
data
.
tcId
})
},
//评分
handleChange
:
function
(
e
)
{
console
.
log
(
e
.
detail
.
value
)
let
index
=
e
.
target
.
id
this
.
data
.
voucherData
[
index
].
ScoreNum
=
e
.
detail
.
value
this
.
setData
({
...
...
@@ -100,7 +105,6 @@ Page({
},
// 输入留言
inputMessage
:
function
(
e
)
{
console
.
log
(
e
.
detail
.
value
)
let
index
=
e
.
target
.
id
this
.
data
.
voucherData
[
index
].
TextContent
=
e
.
detail
.
value
this
.
setData
({
...
...
@@ -127,9 +131,7 @@ Page({
})
},
checkboxChange
:
function
(
e
)
{
let
ID
=
[];
let
checkd
=
e
.
detail
.
value
let
index
=
e
.
target
.
id
let
ID
=
[],
checkd
=
e
.
detail
.
value
,
index
=
e
.
target
.
id
;
for
(
let
i
=
0
;
i
<
checkd
.
length
;
i
++
)
{
ID
.
push
(
Number
(
checkd
[
i
]))
}
...
...
@@ -146,8 +148,7 @@ Page({
})
},
radioChange
:
function
(
e
)
{
let
ID
=
Number
(
e
.
detail
.
value
)
let
index
=
e
.
target
.
id
let
ID
=
Number
(
e
.
detail
.
value
),
index
=
e
.
target
.
id
;
this
.
data
.
voucherData
[
index
].
SurveyOptionsList
.
forEach
(
o
=>
{
if
(
ID
===
o
.
ID
)
{
o
.
IsCheckS
=
true
...
...
pages/Voucher/VoucherDetails/VoucherDetails.wxml
View file @
9bb7e491
...
...
@@ -13,7 +13,7 @@
</view>
<view wx:for="{{voucherData}}" wx:for-item="item" wx:for-index="index" wx:key="index" class='pingfen-item'>
<view>
<text>{{index+1}}、{{item.Title}}</text>
<text
class='tittle'
>{{index+1}}、{{item.Title}}</text>
</view>
<com-rating max="5" rating='5' bindchange='handleChange' wx:if="{{item.SurveyType === 1}}" id="{{index}}"/>
<radio-group wx:elif="{{item.SurveyType === 2}}" class="radio-group" bindchange="radioChange" id="{{index}}">
...
...
@@ -38,9 +38,24 @@
<view class='btn'>
<button class='next' type="default" size="mini" bindtap="goWrite">写游记,领奖品</button>
</view>
<view class='btn'>
<button class='next cancle' type="default" size="mini" bindtap="logOut">取消</button>
</view>
<view class='tips'>
根据自身经历写游记,还可获得奖品
</view>
</view>
</view>
<view class='dialog' wx:if="{{showBadYouJi}}">
<view class='box'>
<view class='tit'>感谢参与调查</view>
<image src='../../../images/voucher/xieyouji_icon.png'></image>
<view class='btn'>
<button class='next' type="default" size="mini" bindtap="logOut">好的,不用谢~</button>
</view>
<view class='tips'>
非常感谢您的配合,祝您生活愉快~
</view>
</view>
</view>
</view>
\ No newline at end of file
pages/Voucher/VoucherDetails/VoucherDetails.wxss
View file @
9bb7e491
...
...
@@ -4,7 +4,6 @@ page{
}
.page-details{
padding: 34rpx 49rpx 0 ;
height: 100%;
background-color: white;
}
.page-details .text{
...
...
@@ -26,6 +25,9 @@ page{
.pingfen-item{
margin-bottom: 40rpx;
}
.tittle{
font-size: 32rpx;
}
.pingfen-item label{
font-size: 28rpx;
padding-right: 30rpx;
...
...
@@ -34,7 +36,7 @@ page{
}
.pingfen-item .radio-group,.pingfen-item checkbox-group{
display: flex;
margin-top:
1
0rpx;
margin-top:
2
0rpx;
padding-left: 10rpx;
}
.pingfen-item textarea{
...
...
@@ -57,6 +59,7 @@ button.next{
border-color: #DEDEDE;
color: #666666;
font-size: 32rpx;
margin-bottom: 30rpx;
}
button.next:active{
background:rgba(238,68,84,1);
...
...
@@ -78,7 +81,7 @@ button.next:active{
.dialog .box{
padding: 54rpx;
border-radius:20rpx;
height: 694rpx;
min-
height: 694rpx;
box-sizing: border-box;
background-color: white;
width: 634rpx;
...
...
@@ -97,6 +100,12 @@ button.next:active{
border-color: rgba(238,68,84,1) !important;
color: white;
}
.dialog .box .btn button.next.cancle{
background:white !important;
border-color: #999999 !important;
color: #999999;
margin-top: 0rpx;
}
.dialog .box .tips{
font-size: 28rpx;
color: #999999;
...
...
pages/Voucher/rating/rating.wxml
View file @
9bb7e491
...
...
@@ -2,11 +2,11 @@
<text class='pingfen'>评分</text>
<view class='rating-icon' wx:for='{{[1,2,3,4,5]}}' wx:key='*this'
bindtap='_handleTap' data-num='{{item}}'>
<view class='rating-on' style='width:{{rating >= (max/5)*item ?
1 : rating < (max/5)*(item-1) ? 0 : (rating*10)%(max/5*10)/(max/5*1
0)}}em'>
<image src='../../../images/voucher/rating_on_icon.png' mode='widthFix' style='width:
1
em' />
<view class='rating-on' style='width:{{rating >= (max/5)*item ?
2 : rating < (max/5)*(item-1) ? 0 : (rating*20)%(max/5*20)/(max/5*2
0)}}em'>
<image src='../../../images/voucher/rating_on_icon.png' mode='widthFix' style='width:
2
em' />
</view>
<view class='rating-off' style='width:
1
em;'>
<image src='../../../images/voucher/rating_off_icon.png' mode='widthFix' style='width:
1
em' />
<view class='rating-off' style='width:
2
em;'>
<image src='../../../images/voucher/rating_off_icon.png' mode='widthFix' style='width:
2
em' />
</view>
</view>
<view class='pingfen-tips'>
...
...
pages/Voucher/rating/rating.wxss
View file @
9bb7e491
...
...
@@ -4,6 +4,7 @@
display:flex;
align-items:center;
padding-left: 10rpx;
margin-top: 20rpx;
}
.com-rating .rating-icon,
.com-rating .rating-on,
...
...
pages/Voucher/write/write.js
View file @
9bb7e491
// pages/Voucher/write/write.js
let
app
=
getApp
()
Page
({
/**
...
...
@@ -8,61 +9,78 @@ Page({
orderId
:
null
,
tcId
:
null
,
GuestId
:
null
,
list
:
[],
imgList
:
[],
tag
:
[
{
id
:
0
,
name
:
'交通攻略'
,
content
:
''
,
},{
id
:
1
,
name
:
'营业时间'
,
content
:
''
,
},
{
id
:
2
,
name
:
'详细地址'
,
content
:
''
,
},
{
id
:
3
,
name
:
'人均消费'
,
content
:
''
,
},
{
id
:
4
,
name
:
'特色推荐'
,
content
:
''
,
},
{
id
:
5
,
name
:
'行程路线'
,
content
:
''
,
},
{
id
:
6
,
name
:
'玩法推荐'
,
content
:
''
,
},
{
id
:
7
,
name
:
'实用提示'
,
content
:
''
,
},
{
id
:
8
,
name
:
'行程路线'
,
content
:
''
,
tag
:
[],
infoMessage
:
''
,
showBadYouJi
:
false
,
},
// 退出
logOut
:
function
()
{
wx
.
reLaunch
({
url
:
'../Voucher?finish=true'
,
})
},
//提交游记内容数据
goWrite
:
function
()
{
let
msg
=
{
GuestId
:
this
.
data
.
GuestId
,
TCID
:
this
.
data
.
tcId
,
OrderID
:
this
.
data
.
orderId
,
GuestTravelLableList
:
[],
NotesPics
:
this
.
data
.
imgList
,
};
if
(
this
.
data
.
infoMessage
!==
''
)
{
msg
.
GuestTravelLableList
.
push
({
Name
:
''
,
Content
:
this
.
data
.
infoMessage
})
}
this
.
data
.
tag
.
map
(
x
=>
{
if
(
x
.
Content
!==
''
)
{
msg
.
GuestTravelLableList
.
push
(
x
)
}
]
})
app
.
$api
(
'survey_post_SetGuestTravelNotes'
,
msg
).
then
(
res
=>
{
this
.
setData
({
showBadYouJi
:
true
,
})
}).
catch
(
err
=>
{
wx
.
showToast
({
title
:
err
.
message
,
icon
:
'none'
,
duration
:
1000
})
})
},
// 正文内容
inputMessage
:
function
(
e
)
{
this
.
setData
({
infoMessage
:
e
.
detail
.
value
})
},
// 标签内容
inputItemMessage
:
function
(
e
)
{
let
index
=
e
.
target
.
id
this
.
data
.
tag
[
index
].
Content
=
e
.
detail
.
value
this
.
setData
({
tag
:
this
.
data
.
tag
})
},
//选择标签
clickTag
:
function
(
e
)
{
let
index
=
e
.
target
.
id
this
.
data
.
tag
[
index
].
Content
=
''
;
this
.
data
.
tag
[
index
].
click
=
!
this
.
data
.
tag
[
index
].
click
this
.
setData
({
tag
:
this
.
data
.
tag
})
},
// 删除图片
deleteImg
:
function
(
e
)
{
let
index
=
e
.
target
.
id
this
.
data
.
imgList
.
splice
(
index
,
1
)
let
_this
=
this
;
console
.
log
(
this
.
data
.
imgList
)
this
.
setData
({
imgList
:
_
this
.
data
.
imgList
imgList
:
this
.
data
.
imgList
})
},
// 选择图片
...
...
@@ -89,7 +107,6 @@ Page({
_this
.
setData
({
imgList
:
arr
})
console
.
log
(
arr
)
}
})
},
...
...
@@ -106,8 +123,34 @@ Page({
tcId
:
options
.
tcId
,
GuestId
:
options
.
GuestId
,
})
this
.
getTag
()
},
getTag
:
function
()
{
let
_this
=
this
;
app
.
$api
(
'survey_post_GetGuestTravelLableList'
,
{}).
then
(
res
=>
{
let
arr
=
[];
res
.
forEach
((
x
,
i
)
=>
{
arr
.
push
(
{
id
:
i
,
Name
:
x
,
Content
:
''
,
click
:
false
}
)
})
_this
.
setData
({
tag
:
arr
})
console
.
log
(
this
.
data
.
tag
)
}).
catch
(
err
=>
{
wx
.
showToast
({
title
:
err
.
message
,
icon
:
'none'
,
duration
:
1000
})
})
},
/**
* 生命周期函数--监听页面初次渲染完成
*/
...
...
pages/Voucher/write/write.wxml
View file @
9bb7e491
...
...
@@ -2,32 +2,43 @@
<view class='content'>
<view class='top'>
<view class='top-content'>
<view
wx:if='{{list.length < 1}}'
class='no-list'>
<textarea placeholder='我来说说在这里游玩的感受吧~'></textarea>
<view class='no-list'>
<textarea placeholder='我来说说在这里游玩的感受吧~'
bindinput='inputMessage'
></textarea>
</view>
<view wx:else>
阿萨德
<view class='tag-item' wx:for="{{tag}}" wx:for-item="item" wx:for-index="index" wx:key="index" wx:if="{{item.click}}">
<text class='lable'>{{item.Name}}:</text>
<textarea placeholder='请输入...' bindinput='inputItemMessage' id="{{index}}"></textarea>
</view>
<view class='btn'>
<button class='next' type="default" size="mini" bindtap="goWrite">发送</button>
</view>
</view>
<view class='upload'>
<view wx:for="{{imgList}}" wx:for-item="item" wx:for-index="index" wx:key="index" class='item-box'>
<image src='{{item}}'></image>
<text class='delete-img' bindtap='deleteImg' id='{{index}}'>x</text>
</view>
<view class='upload_btn' bindtap='chooseImage'>+</view>
</view>
</view>
</view>
</view>
<view class='tag'>
<view class='tag'>
<view class='tag-tit'>
<image src='../../../images/voucher/tag_icon.png'></image>
<text>游记标签</text>
</view>
<view class='tag-list'>
<text wx:for="{{tag}}" wx:for-item="item" wx:for-index="index" wx:key="key" bindtap='clickTag' id="{{index}}">{{item.name}}</text>
<text class='{{item.click ? "active" : ""}}' wx:for="{{tag}}" wx:for-item="item" wx:for-index="index" wx:key="key" bindtap='clickTag' id="{{index}}">{{item.Name}}</text>
</view>
</view>
<view class='upload'>
<view wx:for="{{imgList}}" wx:for-item="item" wx:for-index="index" wx:key="index" class='item-box'>
<image src='{{item}}'></image>
<text class='delete-img' bindtap='deleteImg' id='{{index}}'>x</text>
</view>
<view class='upload_btn' bindtap='chooseImage'>+</view>
</view>
<view class='dialog' wx:if="{{showBadYouJi}}">
<view class='box'>
<view class='tit'>感谢参与调查</view>
<image src='../../../images/voucher/xieyouji_icon.png'></image>
<view class='btn'>
<button class='next' type="default" size="mini" bindtap="logOut">好的,不用谢~</button>
</view>
<view class='tips'>常感谢您的配合,请保持电话畅通~稍后客户经理会与您联系</view>
</view>
</view>
</view>
\ No newline at end of file
pages/Voucher/write/write.wxss
View file @
9bb7e491
...
...
@@ -3,13 +3,13 @@ page{
background-color: white;
}
.content{
padding: 30rpx 40rpx;
padding: 30rpx 40rpx
60rpx 40rpx
;
}
.content .top .top-content{
min-height: 310rpx;
background: rgba(245,245,245,1);
box-sizing: border-box;
padding: 23rpx 20rpx;
padding: 23rpx 20rpx
120rpx 20rpx
;
position: relative;
}
.no-list{
...
...
@@ -18,8 +18,12 @@ page{
}
.no-list textarea{
width: 100%;
height: 75px;
}
.btn button.next{
.top-content .btn button.next{
width: 103px;
height: 54px;
line-height: 54px;
background: rgba(238,68,84,1);
box-shadow: 0px 1px 2px 0px rgba(167,11,26,0.63);
border-radius: 10px;
...
...
@@ -30,8 +34,9 @@ page{
z-index: 2;
}
.upload{
height: 120rpx;
margin: 20rpx 0;
padding: 0rpx 40rpx 40rpx 40rpx;
min-height: 120rpx;
margin: 40rpx 0;
display: flex;
flex-wrap:wrap;
}
...
...
@@ -39,8 +44,8 @@ page{
position: relative;
}
.upload .item-box image{
width:
12
0rpx;
height:
12
0rpx;
width:
20
0rpx;
height:
20
0rpx;
border-radius: 20rpx;
margin-right: 20rpx;
}
...
...
@@ -51,7 +56,7 @@ page{
display: inline-block;
width:30rpx;
height:30rpx;
line-height: 2
0
rpx;
line-height: 2
2
rpx;
font-size: 28rpx;
text-align: center;
color: white;
...
...
@@ -59,17 +64,17 @@ page{
background-color: rgba(238,68,84,1);
}
.upload_btn{
width:
12
0rpx;
height:
12
0rpx;
width:
20
0rpx;
height:
20
0rpx;
border: 1px solid #8D8D8D;
border-radius: 20rpx;
font-size:
40
px;
font-weight:
bold
;
line-height: 1
0
5rpx;
font-size:
64
px;
font-weight:
500
;
line-height: 1
8
5rpx;
text-align: center;
}
.tag{
margin-top: 70rpx;
/* margin-top: 70rpx; */
box-shadow: 0px -2px 8px 0px rgba(187, 187, 187, 0.63);
}
.tag-tit{
...
...
@@ -91,7 +96,7 @@ page{
border-radius:20px;
font-size: 24rpx;
color: rgba(255,255,255,1);
line-height:
23
px;
line-height:
45r
px;
display: inline-block;
text-align: center;
}
...
...
@@ -111,4 +116,71 @@ page{
text-align: center;
line-height: 53rpx;
margin-bottom: 57rpx;
}
.tag-list text.active{
background:rgba(238,68,84,.3);
color: #EE4454;
}
.tag-item{
display: flex;
margin-top: 30rpx;
border-bottom: 1px solid #E0E2E6;
}
.tag-item .lable{
width: 190rpx;
height: 48rpx;
background: rgba(149,186,255,1);
border-radius: 10px;
font-size: 28rpx;
color: #2C5CB7;
display: inline-block;
text-align: center;
margin-right: 20rpx;
}
.tag-item textarea{
font-size: 26rpx;
height: 75px;
padding: 0 20rpx;
}
.dialog{
height: 100%;
width: 100%;
position: fixed;
left: 0;
top: 0;
z-index: 2;
background:rgba(44,44,44,.5);
display: flex;
align-items: center;
justify-content: center;
}
.dialog .box{
padding: 54rpx;
border-radius:20rpx;
height: 694rpx;
box-sizing: border-box;
background-color: white;
width: 634rpx;
text-align: center;
}
.dialog .box .tit{
font-size: 36rpx;
margin-bottom: 75rpx;
}
.dialog .box image{
width: 278rpx;
height: 218rpx;
}
.dialog .box .btn button.next{
background:rgba(238,68,84,1) !important;
border-color: rgba(238,68,84,1) !important;
color: white;
height: 84rpx;
width: 350rpx;
line-height: 84rpx;
}
.dialog .box .tips{
font-size: 28rpx;
color: #999999;
margin-top: 25rpx;
}
\ No newline at end of file
pages/product/SametradeZW/SametradeZW.wxml
View file @
9bb7e491
<import src='../../wxParse/wxParse.wxml' />
<view class="page">
<view class='box'>
<image class='logo' src='
../../../images/product/logo_t
.png'></image>
<image class='logo' src='
http://imgfile.oytour.com/New/Upload/Cloud/2019-06/20190625044641454
.png'></image>
<view class='xbox'>
<view class='title_box'>
<text class='title'>{{Detaildata.Title}}</text>
...
...
pages/product/SametradeZW/Successview/Successview.wxml
View file @
9bb7e491
<import src='../../../wxParse/wxParse.wxml' />
<view class="page">
<view class='box'>
<image class='success' src='
../../../../images/product/success
.png'></image>
<image class='success' src='
http://imgfile.oytour.com/New/Upload/Cloud/2019-06/20190625044641415
.png'></image>
<view class='xbox'>
<text class='title'>提交成功</text>
<text class='title_t'>系统将为本单预留72小时</text>
...
...
@@ -31,10 +31,10 @@
<!-- 广告位 -->
<view class='huo'>
<view class='advertisement' bindtap='draw' catchtouchmove="doNothing">
<image src='
../../../../images/product/huodong
.png'></image>
<image src='
http://imgfile.oytour.com/New/Upload/Cloud/2019-06/20190625044635970
.png'></image>
</view>
<view class='advertisement' bindtap='draw_t' catchtouchmove="doNothing">
<image src='
../../../../images/product/guanggao
.jpg'></image>
<image src='
http://imgfile.oytour.com/New/Upload/Cloud/2019-06/20190625044636072
.jpg'></image>
</view>
</view>
<view style="width: 100%;height : 50px"></view>
...
...
pages/product/SametradeZW/luckdraw/luckdraw.wxml
View file @
9bb7e491
<view class="wrapper">
<image class='title' src='
../../../../images/product/title_n
.png'></image>
<image class='title' src='
http://imgfile.oytour.com/New/Upload/Cloud/2019-06/20190625044641412
.png'></image>
<view class="main">
<scroll-view class="canvas-container" catchtouchmove="doNothing">
<view animation="{{animationData}}" class="canvas-content" >
...
...
@@ -18,7 +18,7 @@
</view>
<!-- <view bindtap="getLottery" class="canvas-btn {{btnDisabled}}">抽奖</view> -->
<image src='
../../../../images/product/jt2
.png' bindtap="{{btnname}}" class="canvas-btn {{btnDisabled}}" disabled="{{disabled}}"></image>
<image src='
http://imgfile.oytour.com/New/Upload/Cloud/2019-06/20190625044635899
.png' bindtap="{{btnname}}" class="canvas-btn {{btnDisabled}}" disabled="{{disabled}}"></image>
</scroll-view>
<view class='button_b'>
<view class='button_b_l'>
...
...
pages/product/productDetail/productDetail.wxml
View file @
9bb7e491
...
...
@@ -182,7 +182,7 @@
<block wx:for="{{item.details}}" wx:for-item="item2" wx:for-index="index2" wx:key="index2">
<view class='view_2_detail_box'>
<!-- 图 -->
<image wx:if="{{(item2.img===''&&index===0)||(item2.img===''&&index===tripDays.length-1)}}" class='view_2_detail_image' src='
../../../images/product/tripPlaceholder_fly
.jpg'></image>
<image wx:if="{{(item2.img===''&&index===0)||(item2.img===''&&index===tripDays.length-1)}}" class='view_2_detail_image' src='
http://imgfile.oytour.com/New/Upload/Cloud/2019-06/20190625044641552
.jpg'></image>
<image wx:elif="{{item2.img===''&&index!==0&&index!==tripDays.length-1}}" class='view_2_detail_image' src='../../../images/product/tripPlaceholder.jpg'></image>
<image wx:else class='view_2_detail_image' src='{{item2.img}}?x-oss-process=image/resize,m_fill,w_640,h_390'></image>
<!-- 标题 -->
...
...
project.config.json
View file @
9bb7e491
...
...
@@ -37,7 +37,7 @@
"list"
:
[]
},
"miniprogram"
:
{
"current"
:
5
,
"current"
:
6
,
"list"
:
[
{
"id"
:
0
,
...
...
@@ -82,6 +82,14 @@
"id"
:
-1
,
"name"
:
"写游记"
,
"pathName"
:
"pages/Voucher/write/write"
,
"query"
:
""
,
"scene"
:
null
},
{
"id"
:
-1
,
"name"
:
"调查"
,
"pathName"
:
"pages/Voucher/VoucherDetails/VoucherDetails"
,
"query"
:
""
,
"scene"
:
null
}
]
...
...
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