Commit f09909c6 authored by 石建新(贵阳日报)'s avatar 石建新(贵阳日报)
parents 612e75b5 3a27604a
......@@ -277,8 +277,8 @@ page {
color: #fa5151;
}
::v-deep .icon {
width: 40 rpx;
height: 40 rpx;
margin-left: 40 rpx;
width: 40rpx;
height: 40rpx;
margin-left: 40rpx;
}
</style>
......@@ -266,17 +266,18 @@ page {
}
}
}
}
.product {
display: flex;
flex-direction: column;
align-items: center;
background-color: #fff;
margin-top: 10rpx;
.header {
display: flex;
}
}
}
}
}
</style>
......@@ -3,6 +3,7 @@
<Header title="评论"></Header>
<view class="content">
<wd-form ref="form" :model="formdata" :rules="rules" class="remake">
<wd-cell-group>
<text class="textarea">{{ shopname }}</text>
<view class="itemPicker">
<view class="item01" prop="merchantServices">
......@@ -27,10 +28,9 @@
placeholder="亲,分享您的看法,给其他人一个参考哦!"
/>
</view>
<wd-cell title-width="0px"></wd-cell>
<text class="textarea">上传图片/视频</text>
<!-- 图片上传 -->
<view class="wdUpload" prop="images">
<wd-upload
multiple
......@@ -41,6 +41,7 @@
:header="headers"
></wd-upload>
</view>
<!-- 匿名评价 -->
<wd-cell title="匿名评价" prop="isAnonymous" class="itemSwichval">
<wd-switch
......@@ -51,6 +52,7 @@
inactive-value="0"
/>
</wd-cell>
</wd-cell-group>
</wd-form>
<wd-button type="error" block @click="handleSubmit">发布</wd-button>
......@@ -108,7 +110,7 @@ const rules = {
// images: [
// {
// required: true,
// message: '请上传图片',
// message: '请上传图片1',
// validator: (value: any) => {
// if (value.length) {
// console.log('上传成功');
......@@ -309,6 +311,15 @@ const handleSubmit = async () => {
:deep(.wd-upload__status-content) {
background-color: #000;
}
:deep(.wd-upload) {
gap: 20rpx;
.wd-upload__preview {
width: calc((100% - 60rpx) / 4);
margin: 0;
border-radius: 12rpx;
overflow: hidden;
}
}
}
}
......
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