Commit 8fed8f85 authored by 石建新(贵阳日报)'s avatar 石建新(贵阳日报)
parents 2201128e 3f9e4b46
...@@ -266,6 +266,7 @@ function jumpProductDetails(item) { ...@@ -266,6 +266,7 @@ function jumpProductDetails(item) {
// 搜索 // 搜索
const toSearch = (keyword) => { const toSearch = (keyword) => {
listParams.keyword = keyword; listParams.keyword = keyword;
reset();
getMerchantList(); getMerchantList();
}; };
// 获取优惠券 // 获取优惠券
...@@ -564,6 +565,7 @@ page { ...@@ -564,6 +565,7 @@ page {
display: flex; display: flex;
justify-content: space-evenly; justify-content: space-evenly;
margin-top: 32rpx; margin-top: 32rpx;
align-items: center;
.choice { .choice {
display: flex; display: flex;
flex-direction: column; flex-direction: column;
...@@ -583,6 +585,7 @@ page { ...@@ -583,6 +585,7 @@ page {
display: flex; display: flex;
justify-content: space-evenly; justify-content: space-evenly;
margin-top: 34rpx; margin-top: 34rpx;
align-items: center;
.choice { .choice {
display: flex; display: flex;
flex-direction: column; flex-direction: column;
......
...@@ -9,13 +9,8 @@ ...@@ -9,13 +9,8 @@
<view class="item01" prop="merchantServices"> <view class="item01" prop="merchantServices">
<text class="label">评分</text> <text class="label">评分</text>
<!-- 评分 --> <!-- 评分 -->
<wd-rate <wd-rate v-model="formdata.merchantServices" active-color="#ff0000" size="50rpx" space="10px"
v-model="formdata.merchantServices" @change="handlemerchant" />
active-color="#ff0000"
size="50rpx"
space="10px"
@change="handlemerchant"
/>
</view> </view>
<view class="item02"> <view class="item02">
<text>{{ merList[formdata.merchantServices] }}</text> <text>{{ merList[formdata.merchantServices] }}</text>
...@@ -23,34 +18,20 @@ ...@@ -23,34 +18,20 @@
</view> </view>
<!-- 内容描述 --> <!-- 内容描述 -->
<view prop="evaluation"> <view prop="evaluation">
<wd-textarea <wd-textarea v-model="formdata.evaluation" placeholder="亲,分享您的看法,给其他人一个参考哦!" />
v-model="formdata.evaluation"
placeholder="亲,分享您的看法,给其他人一个参考哦!"
/>
</view> </view>
<wd-cell title-width="0px"></wd-cell> <wd-cell title-width="0px"></wd-cell>
<text class="textarea">上传图片/视频</text> <text class="textarea">上传图片/视频</text>
<!-- 图片上传 --> <!-- 图片上传 -->
<view class="wdUpload" prop="images"> <view class="wdUpload" prop="images">
<wd-upload <wd-upload multiple :action="action" @change="handleFile" :file-list="formdata.images"
multiple :before-remove="beforeRemove" :header="headers"></wd-upload>
:action="action"
@change="handleFile"
:file-list="formdata.images"
:before-remove="beforeRemove"
:header="headers"
></wd-upload>
</view> </view>
<!-- 匿名评价 --> <!-- 匿名评价 -->
<wd-cell title="匿名评价" prop="isAnonymous" class="itemSwichval"> <wd-cell title="匿名评价" prop="isAnonymous" class="itemSwichval">
<wd-switch <wd-switch size="48rpx" active-color="#EC1B1B" v-model="formdata.isAnonymous" active-value="1"
size="48rpx" inactive-value="0" />
active-color="#EC1B1B"
v-model="formdata.isAnonymous"
active-value="1"
inactive-value="0"
/>
</wd-cell> </wd-cell>
</wd-cell-group> </wd-cell-group>
</wd-form> </wd-form>
...@@ -311,8 +292,10 @@ const handleSubmit = async () => { ...@@ -311,8 +292,10 @@ const handleSubmit = async () => {
:deep(.wd-upload__status-content) { :deep(.wd-upload__status-content) {
background-color: #000; background-color: #000;
} }
:deep(.wd-upload) { :deep(.wd-upload) {
gap: 20rpx; gap: 20rpx;
.wd-upload__preview { .wd-upload__preview {
width: calc((100% - 60rpx) / 4); width: calc((100% - 60rpx) / 4);
margin: 0; margin: 0;
......
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