更新代码工程
This commit is contained in:
@@ -19,14 +19,14 @@ const isIOS = computed(() => {
|
||||
<view class="tabbar" :style="{ paddingBottom: isIOS ? '30rpx' : '0rpx' }">
|
||||
<view @click="onClick(0)">
|
||||
<image
|
||||
:src="`../static/tab-score${selected === 0 ? '-s' : ''}.png`"
|
||||
:src="`/static/tab-score${selected === 0 ? '-s' : ''}.png`"
|
||||
mode="widthFix"
|
||||
/>
|
||||
<text :style="{ color: selected === 0 ? '#333' : '#999999' }">Score</text>
|
||||
</view>
|
||||
<view @click="onClick(1)">
|
||||
<image
|
||||
:src="`../static/tab-history${selected === 1 ? '-s' : ''}.png`"
|
||||
:src="`/static/tab-history${selected === 1 ? '-s' : ''}.png`"
|
||||
mode="widthFix"
|
||||
/>
|
||||
<text :style="{ color: selected === 1 ? '#333' : '#999999' }"
|
||||
@@ -35,7 +35,7 @@ const isIOS = computed(() => {
|
||||
</view>
|
||||
<view @click="onClick(2)">
|
||||
<image
|
||||
:src="`../static/tab-user${selected === 2 ? '-s' : ''}.png`"
|
||||
:src="`/static/tab-user${selected === 2 ? '-s' : ''}.png`"
|
||||
mode="widthFix"
|
||||
/>
|
||||
<text :style="{ color: selected === 2 ? '#333' : '#999999' }"
|
||||
|
||||
Reference in New Issue
Block a user