f7821a21 by 杨炀

no message

1 parent 970c84e7
...@@ -228,7 +228,7 @@ ...@@ -228,7 +228,7 @@
228 } 228 }
229 } 229 }
230 function goIllustrate(){ 230 function goIllustrate(){
231 let path = `/pages_hotel/hotel/illustrate?activeId=${id.value}`; 231 let path = `/pages_hotel/hotel/illustrate?trainId=${id.value}`;
232 if (checkUserPhone(path)) { 232 if (checkUserPhone(path)) {
233 uni.navigateTo({ 233 uni.navigateTo({
234 url: path 234 url: path
......
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
2 <view> 2 <view>
3 <!-- 预订说明 --> 3 <!-- 预订说明 -->
4 <view class="whiteItem"> 4 <view class="whiteItem">
5 <view v-html="introduction" class="richzz"> 5 <view v-html="reminder" class="richzz">
6 6
7 </view> 7 </view>
8 </view> 8 </view>
...@@ -25,14 +25,14 @@ ...@@ -25,14 +25,14 @@
25 const data = reactive({ 25 const data = reactive({
26 id: null, 26 id: null,
27 form:{}, 27 form:{},
28 introduction:'' 28 reminder:''
29 }) 29 })
30 const { 30 const {
31 id,form,introduction 31 id,form,reminder
32 } = toRefs(data); 32 } = toRefs(data);
33 onLoad(option => { 33 onLoad(option => {
34 hotel.getActivityDetail(option.activeId).then(res => { 34 hotel.getTrainDetail(option.trainId).then(res => {
35 introduction.value = res.data.introduction 35 reminder.value = res.data.reminder
36 }) 36 })
37 37
38 }) 38 })
......
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!