页面更新和电话号码修改

- 更新了fuwu、index和个人中心页面的图像源和事件处理。- 在index页面中,重新调整了结构,添加了新的酒店、美食、非遗和特产部分。
- 在scenicdetail和其他相关页面中,修改了电话号码拨号功能。
- 在suggest页面中,调整了UI布局并修改了拨号功能。

注意:确保适配H5的条件已经正确处理。
lu_quan_dev
Tuzki 1 year ago
parent b8e5a3d519
commit 932b3c9447
  1. 2
      pages/fuwu/fuwu.vue
  2. 163
      pages/index/index.vue
  3. 2
      pages/personcenter/personcenter.vue
  4. BIN
      static/animg/fuwu/feiyi.png
  5. 13
      subPageA/scenic/scenicdetial/scenicdetial.vue
  6. 4
      subPageB/pay/scenicdetail.vue
  7. 6
      subPageB/suggest/sug_from.vue

@ -63,7 +63,7 @@
<view class="w_20" @click="goToPages('feiyi')">
<image src="/static/animg/fuwu/jingqu2x.png" class="at_size_1" mode="aspectFill"></image>
<image src="/static/animg/fuwu/feiyi.png" class="at_size_1" mode="aspectFill"></image>
<view class="at_t">非遗</view>
</view>

@ -22,7 +22,7 @@
</view>
</view>
<view class="w_25" hover-class="checkActive">
<view class="kua_nav" @click="goToPages('xiadan')">
<view class="kua_nav" @click="goToPages('hotel')">
<image src="/static/animg/index/jdms.png" class="at_size_1"></image>
<view class="at_t">酒店民宿</view>
</view>
@ -98,11 +98,11 @@
</view>
</view> -->
<!-- 景区 -->
<view class="amb_60">
<view class="amb_60" v-if="scenicList && scenicList.length > 0">
<view class="an_box_2" @click="goToPages('jingqu')">
<view class="an_t">
<view class="an_t_1">大美鹿泉</view>
<view class="an_t_2">天蓝地绿 水城共融</view>
<!-- <view class="an_t_2">天蓝地绿 水城共融</view> -->
</view>
</view>
<!-- 景区列表 -->
@ -113,26 +113,65 @@
<view class="fx_1 scl1_pic" v-for="(item, index) in scenicList" :key="index"
@tap="goToDetail('scenic', item.guid)">
<image :src="item.slogo" mode="aspectFill" class="scl_1_img"></image>
<view>{{ item.sname }}</view>
<view class="h-name">{{ item.sname }}</view>
</view>
</view>
</view>
</scroll-view>
</view>
</view>
<!-- A美食 -->
<view class="amb_30">
<!-- 酒店 -->
<view class="amb_30" v-if="hotelList && hotelList.length > 0">
<view class="an_box_2">
<view class="an_t" @click="goToPages('hotel')">
<view class="an_t_1">酒店</view>
<!-- <view class="an_t_2">特色文创和旅游商品</view> -->
</view>
<!-- 瀑布流 -->
<view class="amt_30">
<view class="an_pbl dy_fx_row" style="flex-wrap: wrap;">
<view class="w_two" v-for="(item, index) in hotelList" :key="index"
@tap="goToDetail('xiadan', item.guid, item.region)">
<view class="">
<image :src="item.hlogo" mode="aspectFill" class="pbl_1_img"></image>
<view class="h-name">{{ item.hname }}</view>
</view>
</view>
</view>
</view>
</view>
</view>
<!-- 美食 -->
<view class="amb_30" v-if="foodList && foodList.length > 0">
<view class="an_box_2">
<view class="an_t" @click="goToPages('meishi')">
<view class="an_t_1">鹿泉味道</view>
<view class="an_t_2">记忆·鹿泉味道旅游美食活动</view>
<!-- <view class="an_t_2">记忆·鹿泉味道旅游美食活动</view> -->
</view>
</view>
<view @tap="goToDetail('food', item.guid, '')" v-if="index < 3" class="an_box_2"
v-for="(item, index) in foodList" :key="index">
<view class="ls_inf_box lunb_img">
<image :src="item.logo" mode="aspectFill" class="swp_2_img"></image>
<view class="an_v_inf">
<view class="lst_tit word_1">{{ item.title }}</view>
<view class="lsinf word_2">{{ item.content }}</view>
</view>
</view>
</view>
</view>
<!-- 非遗 -->
<view class="amb_30" v-if="feiyiList && feiyiList.length > 0">
<view class="an_box_2">
<view class="an_t" @click="goToPages('feiyi')">
<view class="an_t_1">非遗</view>
<!-- <view class="an_t_2">非物质文化遗产</view> -->
</view>
<!-- 瀑布流 -->
<view class="amt_30">
<view class="an_pbl dy_fx_row" style="flex-wrap: wrap;">
<view class="w_two" v-for="(item, index) in foodList" :key="index"
@tap="goToDetail('food', item.guid, item.region)">
<view class="w_two" v-for="(item, index) in feiyiList" :key="index" @tap="goToDetail('feiyi', item.guid)">
<view class="">
<image :src="item.logo" mode="aspectFill" class="pbl_1_img"></image>
</view>
@ -142,11 +181,11 @@
</view>
</view>
<!-- 旅游线路 -->
<view class="amb_60">
<view class="amb_60" v-if="lineList && lineList.length > 0">
<view class="an_box_2">
<view class="an_t" @click="goToPages('line')">
<view class="an_t_1">旅游线路</view>
<view class="an_t_2">风景旅游 人生记忆</view>
<!-- <view class="an_t_2">风景旅游 人生记忆</view> -->
</view>
<view class="amt_30">
<view class="anx_ls_1" @click="goToDetail('line', lineOneList.guid)">
@ -167,7 +206,25 @@
</view>
</view>
</view>
<!--特产 -->
<view class="amb_60" v-if="specialtyList && specialtyList.length > 0">
<view class="an_box_2">
<view class="an_t" @click="goToPages('techan')">
<view class="an_t_1">特产</view>
<!-- <view class="an_t_2">历史沿革 民俗活动</view> -->
</view>
</view>
<view @tap="goToDetail('speciallty', item.guid, '')" v-if="index < 3" class="an_box_2"
v-for="(item, index) in specialtyList" :key="index">
<view class="ls_inf_box lunb_img">
<image :src="item.logo" mode="aspectFill" class="swp_2_img"></image>
<view class="an_v_inf">
<view class="lst_tit word_1">{{ item.title }}</view>
<view class="lsinf word_2">{{ item.content }}</view>
</view>
</view>
</view>
</view>
</view>
<f-login></f-login>
</view>
@ -214,6 +271,10 @@ export default {
lineList: [],
lbtList: [],
zxList: [],
feiyiList: [],//
hotelList: [],//
specialtyList: [],//
//
image: "",
image2: "",
@ -368,6 +429,8 @@ export default {
logo: this.$config.ROOTPATH + foodList[i].logo,
region: foodList[i].bm,
guid: foodList[i].guid,
title: foodList[i].title,
content: foodList[i].content
};
this.foodList.push(item);
}
@ -384,7 +447,38 @@ export default {
}
}
this.lineList = list;
//
debugger
var hotelList = initData.hotelList;
var hotelLength = hotelList.length > 4 ? 4 : hotelList.length;
var list1 = [];
for (var i = 0; i < hotelLength; i++) {
hotelList[i].hlogo = this.$config.ROOTPATH + hotelList[i].hlogo;
list1.push(hotelList[i]);
}
this.hotelList = list1;
//
var specialtyList = initData.specialtyList;
var specialltyLength = specialtyList.length > 4 ? 4 : specialtyList.length;
var list2 = [];
for (var i = 0; i < specialltyLength; i++) {
specialtyList[i].slogo = this.$config.ROOTPATH + specialtyList[i].slogo;
list2.push(specialtyList[i]);
}
this.specialtyList = list2;
//
var feiyiList = initData.feiyiList;
var feiyiLength = feiyiList.length > 4 ? 4 : feiyiList.length;
var list3 = [];
for (var i = 0; i < feiyiLength; i++) {
feiyiList[i].logo = this.$config.ROOTPATH + feiyiList[i].logo;
list3.push(feiyiList[i]);
}
this.feiyiList = list3;
} else {
this.getImgList(); //
this.getScenicList(); //
@ -423,8 +517,8 @@ export default {
this.zxList = res.data;
});
},
goToZixunDetail (guid) {
console.log(guid,'guid')
goToZixunDetail(guid) {
console.log(guid, 'guid')
uni.navigateTo({
url: "/subPageB/zixun/zixundetail/zixundetail?id=" + guid,
});
@ -603,12 +697,12 @@ export default {
goToPages: function (type) {
var that = this;
if (type == "jingqu") {
// uni.navigateTo({
// url: "/subPageA/scenic/sceniclist/sceniclist",
// });
uni.navigateTo({
url: "/subPageC/bookTicket/bookTicket",
url: "/subPageA/scenic/sceniclist/sceniclist",
});
// uni.navigateTo({
// url: "/subPageC/bookTicket/bookTicket",
// });
} else if (type == "meishi") {
uni.navigateTo({
url: "/subPageA/food/foodlist/foodlist",
@ -619,7 +713,7 @@ export default {
});
} else if (type == "hotel") {
uni.navigateTo({
url: "/subPageA/hotel/hotellist/hotellist",
url: "/subPageB/hotel/hotellist/hotellist",
});
} else if (type == "more") {
uni.navigateTo({
@ -661,10 +755,6 @@ export default {
uni.navigateTo({
url: "/subPageA/video/videolist/videolist",
});
} else if (type == "xiadan") {
uni.navigateTo({
url: "/subPageB/hotel/hotellist/hotellist",
});
} else if (type == "jiqiren") {
that.$util.saveOperatorLog(that, "FUN", "机器人");
uni.navigateTo({
@ -682,18 +772,21 @@ export default {
url:
"/subPageA/food/fooddetial/fooddetial?fid=" + guid + "&fareacode=" + region,
});
} else if (type == "wc") {
uni.navigateTo({
url: "/subPageA/wenchuang/wendetail/wendetail?guid=" + guid,
});
} else if (type == "yizhi") {
} else if (type == "line") {
uni.navigateTo({
url: "/pages/travelroute/travelroutedetail/travelroutedetail?id=" + guid,
});
} else if (type == "hotevent") {
} else if (type == "speciallty") {
uni.navigateTo({
url: "/subPageA/hotevent/hoteventdetail/hoteventdetail?id=" + guid,
url: '/subPageA/specialgood/specialgooddetail/specialgooddetail?id=' + guid
});
} else if (type == "feiyi") {
uni.navigateTo({
url: '/subPageA/feiyi/feiyidetail/feiyidetail?guid=' + guid
});
} else if (type == "xiadan") {
uni.navigateTo({
url: '/subPageB/hotel/hoteldetail/hoteldetail?id=' + guid + '&region=' + region
});
}
},
@ -936,4 +1029,10 @@ export default {
.amt_30 {
margin-top: 0;
}
.h-name {
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}
</style>

@ -126,7 +126,7 @@ export default {
},
makeCall() {
uni.makePhoneCall({
phoneNumber: '114' //
phoneNumber: '0311-83886677' //
});
},
goPage(val) {

Binary file not shown.

After

Width:  |  Height:  |  Size: 620 B

@ -170,9 +170,12 @@ export default {
}
this.detailInfo(options.guid);
this.getIsShow();
// #ifdef H5
if (this.$wechat.isWechat()) {
this.isZb = false;
}
// #endif
} else {
//
this.guid = options.guid;
@ -302,11 +305,14 @@ export default {
this.$util.bindGpsObj(that);
this.$util.getLocation(
function (res) {
// #ifdef H5
if (that.$wechat.isWechat()) {
that.$param.clat = res.latitude;
that.$param.clng = res.longitude;
uni.hideLoading();
}
// #endif
},
function () {
console.log("location error---");
@ -815,6 +821,8 @@ export default {
aes.aesDecrypt(uni.getStorageSync("unionid")) == null ||
aes.aesDecrypt(uni.getStorageSync("unionid")) == ""
) {
// #ifdef H5
if (this.$wechat.isWechat()) {
//weixin
this.$util.getUser(that, "scenicdetail", that.suitid, that.guid);
@ -833,6 +841,7 @@ export default {
}
}
return;
// #endif
} else {
if (this.$util.isBlack(aes.aesDecrypt(uni.getStorageSync("user_token")))) {
this.$util.getUserInfo(
@ -891,12 +900,12 @@ export default {
*/
getMobile: function () {
uni.makePhoneCall({
phoneNumber: "18630172332",
phoneNumber: "0311-83886677",
});
},
getTel: function () {
uni.makePhoneCall({
phoneNumber: "0311-87885822",
phoneNumber: "0311-83886677",
});
},
goDingDan: function () {

@ -433,12 +433,12 @@
*/
getMobile: function () {
uni.makePhoneCall({
phoneNumber: "18630172332"
phoneNumber: "0311-83886677"
})
},
getTel: function () {
uni.makePhoneCall({
phoneNumber: "0311-87885822"
phoneNumber: "0311-83886677"
})
},
goDingDan:function(){

@ -114,7 +114,7 @@
</form>
</view>
<view class="call-box" v-if="choose == 2">
<view class="top">
<!-- <view class="top">
<view class="left borders">
<image src="http://192.168.130.205:8083/upload/image/2024/mapIcon/daolan/24H.png"></image>
<view class="blod-font">7*24小时</view>
@ -125,7 +125,7 @@
<view class="blod-font">安心拨打</view>
<view class="text">电话号码加密</view>
</view>
</view>
</view> -->
<view class="m-title">电话发起{{ type == 1 ? '投诉' : '建议' }}流程</view>
<view class="liucheng-box">
<view class="row">
@ -200,7 +200,7 @@ export default {
callPhone() {
uni.makePhoneCall({
phoneNumber: '114' //
phoneNumber: '0311-83886677' //
});
},
inputVerify: function (e) {

Loading…
Cancel
Save