修改pages.json-首页

main
Connor 2024-06-05 20:03:51 +08:00
parent 827f48bbd8
commit a312c6981d
2 changed files with 49 additions and 47 deletions

View File

@ -7,7 +7,16 @@
"^u-([^-].*)": "uview-plus/components/u-$1/u-$1.vue" "^u-([^-].*)": "uview-plus/components/u-$1/u-$1.vue"
} }
}, },
"pages": [{ "pages": [
{
"path": "pages/index",
"style": {
"navigationBarTitleText": "若依移动端框架",
"navigationStyle": "custom",
"navigationBarTextStyle": "white"
}
},
{
"path": "pages/signln/harvestaddress", "path": "pages/signln/harvestaddress",
"style": { "style": {
"navigationBarTitleText": "收货地址", "navigationBarTitleText": "收货地址",
@ -28,14 +37,7 @@
"navigationStyle": "custom" "navigationStyle": "custom"
} }
}, },
{
"path": "pages/index",
"style": {
"navigationBarTitleText": "若依移动端框架",
"navigationStyle": "custom",
"navigationBarTextStyle": "white"
}
},
{ {
"path": "pages/signln/signid", "path": "pages/signln/signid",
"style": { "style": {

View File

@ -15,45 +15,45 @@
</view> </view>
</view> </view>
</view> </view>
<up-tabbar
class="up-tabbar-container" </view>
:fixed="true" <up-tabbar
:placeholder="true" :fixed="true"
:safeAreaInsetBottom="true" :placeholder="true"
> :safeAreaInsetBottom="true"
<!-- <view class="flex justifyCenter"> --> >
<view class="flex alignCenter justifyCenter"> <!-- <view class="flex justifyCenter"> -->
<view class="flex justifyCenter alignCenter commentInput"> <view class="flex alignCenter justifyCenter">
<image class="commentInput-img" src="../../../static/logo.png" mode=""></image> <view class="flex justifyCenter alignCenter commentInput">
<text class="commentInput-text">友好评论~</text> <image class="commentInput-img" src="../../../static/logo.png" mode=""></image>
</view> <text class="commentInput-text">友好评论~</text>
</view>
</view>
<view v-if="postValue.isLike" @click.stop="cancelCollection()" class="flex alignCenter justifyCenter flexColumn">
<image class="commentInput-img" src="../../../static/images/icon/tu3-8.png" mode=""></image>
<text class="commentInput-txt-like">{{postValue.likeCount}}</text>
</view>
<view v-if="!postValue.isLike" @click.stop="addCollection()" class="flex alignCenter justifyCenter flexColumn">
<image class="commentInput-img" src="../../../static/images/icon/tu3-7.png" mode=""></image>
<text class="commentInput-txt">{{postValue.likeCount}}</text>
</view> </view>
<view v-if="postValue.isLike" @click.stop="cancelCollection()" class="flex alignCenter justifyCenter flexColumn"> <view v-if="postValue.ifFavorite" @click.stop="cancelFavorite()" class="flex alignCenter justifyCenter flexColumn">
<image class="commentInput-img" src="../../../static/images/icon/tu3-8.png" mode=""></image> <image class="commentInput-img" src="../../../static/images/icon/tu3-2.png" mode=""></image>
<text class="commentInput-txt-like">{{postValue.likeCount}}</text> <text class="commentInput-txt-favorite">{{postValue.favoriteCount}}</text>
</view> </view>
<view v-if="!postValue.isLike" @click.stop="addCollection()" class="flex alignCenter justifyCenter flexColumn"> <view v-if="!postValue.ifFavorite" @click.stop="addFavorite()" class="flex alignCenter justifyCenter flexColumn">
<image class="commentInput-img" src="../../../static/images/icon/tu3-7.png" mode=""></image> <image class="commentInput-img" src="../../../static/images/icon/tu3-1.png" mode=""></image>
<text class="commentInput-txt">{{postValue.likeCount}}</text> <text class="commentInput-txt">{{postValue.favoriteCount}}</text>
</view> </view>
<view v-if="postValue.ifFavorite" @click.stop="cancelFavorite()" class="flex alignCenter justifyCenter flexColumn"> <view class="flex alignCenter justifyCenter flexColumn">
<image class="commentInput-img" src="../../../static/images/icon/tu3-2.png" mode=""></image> <image class="commentInput-img" src="../../../static/images/icon/tu2-9.png" mode=""></image>
<text class="commentInput-txt-favorite">{{postValue.favoriteCount}}</text> <text class="commentInput-txt">转发</text>
</view> </view>
<view v-if="!postValue.ifFavorite" @click.stop="addFavorite()" class="flex alignCenter justifyCenter flexColumn"> <!-- </view> -->
<image class="commentInput-img" src="../../../static/images/icon/tu3-1.png" mode=""></image> </up-tabbar>
<text class="commentInput-txt">{{postValue.favoriteCount}}</text>
</view>
<view class="flex alignCenter justifyCenter flexColumn">
<image class="commentInput-img" src="../../../static/images/icon/tu2-9.png" mode=""></image>
<text class="commentInput-txt">转发</text>
</view>
<!-- </view> -->
</up-tabbar>
</view>
</template> </template>
<script setup> <script setup>