Commit 7ec8ee1f authored by Facius's avatar Facius

improve: 交互优化

parent 3f923dac
...@@ -3,7 +3,7 @@ ...@@ -3,7 +3,7 @@
<view class="return-cell" @click="handleClick"> <view class="return-cell" @click="handleClick">
<view class="title-view"> <view class="title-view">
<text class="title-text" :style="{'color': titleColor}">{{title}}</text> <text class="title-text" :style="{'color': titleColor}">{{title}}</text>
<view class="express-view" @click.stop="$u.throttle(handleClickExpress, 500)" v-if="info.express.number"> <view class="express-view" @click.stop="$u.throttle(handleClickExpress, 500)" v-if="info.express.number" hover-class="u-hover-class">
<text>物流单号:</text> <text>物流单号:</text>
<view class="order-file-right"> <view class="order-file-right">
<text>{{info.express.number}}</text> <text>{{info.express.number}}</text>
......
...@@ -79,7 +79,8 @@ ...@@ -79,7 +79,8 @@
console.log('success'); console.log('success');
} }
}) })
} },
handleClick(){}
} }
} }
</script> </script>
......
...@@ -30,7 +30,7 @@ ...@@ -30,7 +30,7 @@
<view class="ware-house-view"> <view class="ware-house-view">
<view class="ware-house-title">仓配功能</view> <view class="ware-house-title">仓配功能</view>
<view class="ware-house-content"> <view class="ware-house-content">
<view v-for="(item, index) in warehouseItems" :key="index" class="ware-house-content-item" @click="handleClick(item.pathName)"> <view v-for="(item, index) in warehouseItems" :key="index" class="ware-house-content-item" @click="handleClick(item.pathName)" hover-class="u-hover-class">
<view class="ware-house-image"> <view class="ware-house-image">
<image :src="item.icon" :style="item.imageStyle"></image> <image :src="item.icon" :style="item.imageStyle"></image>
</view> </view>
......
...@@ -36,7 +36,7 @@ ...@@ -36,7 +36,7 @@
:key="index" :key="index"
class="item-view" class="item-view"
> >
<view class="left-view" @click="handleClick(item.type)"> <view class="left-view" @click="handleClick(item.type)" hover-class="u-hover-class">
<view :class="['count-view', { active: item.type == 'finish' }]">{{ <view :class="['count-view', { active: item.type == 'finish' }]">{{
info[item.key] || 0 info[item.key] || 0
}}</view> }}</view>
...@@ -154,7 +154,7 @@ export default { ...@@ -154,7 +154,7 @@ export default {
text-align: center; text-align: center;
color: #666666; color: #666666;
font-size: 28rpx; font-size: 28rpx;
width: 240rpx; width: 180rpx;
.count-view { .count-view {
font-weight: bold; font-weight: bold;
......
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