Commit 2535daaf authored by 张娇(东信)'s avatar 张娇(东信)

乡村旅居首页

parent 7bc2a2ed
......@@ -54,6 +54,12 @@
"navigationBarBackgroundColor": "#ffffff",
"navigationStyle":""
}
},
{
"path": "pages/RuralTravel/RuralTravel",
"style": {
"navigationBarTitleText": "乡村旅居"
}
}
],
"globalStyle": {
......
This diff is collapsed.
......@@ -17,7 +17,7 @@
<img src="/static/assets/adoption.png" style="width: 96rpx; height: 96rpx" />
<view class="sort-text">认养农业</view>
</view>
<view class="borderClass">
<view class="borderClass" @tap="toRuralTravel">
<img src="/static/assets/rural.png" style="width: 96rpx; height: 96rpx" />
<view class="sort-text">乡村旅居</view>
</view>
......@@ -157,9 +157,15 @@ function toBuilding() {
url: '/pages/index/building',
});
}
function toRuralTravel() {
// TODO: 跳转到乡村旅居
xma.navigateTo({
url: '/pages/RuralTravel/RuralTravel',
});
}
// 跳转详情页
function toDetail() {
// TODO: 跳转到筑农严选
// TODO: 跳转到详情页
xma.navigateTo({
url: '/pages/detail/detail',
});
......
......@@ -145,7 +145,7 @@ import { ref } from 'vue';
const current = ref(0);
const light = ref(0);
const sortList = ref([
{ img: '/static/presale/img1.png', price: '25', text: '应季好物' },
{ img: '/static/presale/bacImg.png', price: '25', text: '应季好物' },
{ img: '/static/presale/img2.png', price: '25', text: '猪肉蛋禽' },
{ img: '/static/presale/img3.png', price: '25', text: '米面粮油' },
{ img: '/static/presale/img4.png', price: '25', text: '预选蔬菜' },
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment