Commit 9d2fc239 by 李伟康

commit 替换图片

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