Commit 9d2fc239 by 李伟康

commit 替换图片

1 parent 5c318ba0
......@@ -4,8 +4,8 @@
:class="['btn', {hideIcon:!show}]"
@click="show = false"
>
<glsx-image
src="tool/file.png"
<image
src="../../../assets/images/tool/file.png"
class="icon"
/>
文件夹
......@@ -31,7 +31,10 @@
</view>
</template>
<template v-if="type != 'preview'">
<view class="item" @click="finish">
<view
class="item"
@click="finish"
>
<view class="icon">
<image
src="../../../assets/images/tool/finish.png"
......@@ -175,7 +178,7 @@ export default {
display: flex;
height: 896rpx;
}
.preview{
.preview {
height: 776rpx;
}
}
......
......@@ -34,8 +34,8 @@
<pay-pop ref="pay"></pay-pop>
<template v-if="type != 'preview'">
<view class="pen-box" @click="drawStatus = !drawStatus">
<glsx-image
:src="!drawStatus ? 'media/pen.png' : 'media/pen-active.png'"
<image
:src="!drawStatus ? defaulePen : activePen"
/>
</view>
</template>
......@@ -101,6 +101,8 @@ export default {
},
drawStatus: false,
finishVisible: false,
defaulePen: require('../../assets/images/media/pen.png'),
activePen: require('../../assets/images/media/pen-active.png')
};
},
onLoad(options) {
......@@ -191,7 +193,13 @@ export default {
transform: translateY(-50%);
width: 120rpx;
height: 120rpx;
z-index: 3;
z-index: 2;
box-shadow: 0 4px 12px 0 #00000033;
border-radius: 16rpx;
overflow: hidden;
image{
width: 100%;
height: 100%;
}
}
</style>
......@@ -31,9 +31,9 @@
></uni-icons>
</view>
<view v-else class="icon" @tap="choose(index)">
<glsx-image
<image
class="icon-upload"
src="detail/icon-upload.png"
src="../../assets/images/detail/icon-upload.png"
mode="scaleToFill"
/>
</view>
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!