|
@@ -7,25 +7,24 @@
|
|
|
</view>
|
|
|
<view slot="default" style="display: flex;">
|
|
|
<view style="flex:1;margin-left:25px">
|
|
|
- <text>发布供应</text>
|
|
|
+ <text :style="{fontSize:(wxFontSize)+'px'}">发布供应</text>
|
|
|
</view>
|
|
|
<view>
|
|
|
- <button plain="true" style="margin-right: 4px;border-radius: 24px;height:32px;line-height: 32px;font-size:15px;margin-top:4px;color:#1d60b1;border-color:#1d60b1;" @click="saveForm(1)">暂存</button>
|
|
|
- <!-- <text style="margin-right: 4px;padding: 6px 15px;background-color:#00000026;border-radius: 30px;color: #3D7EFF;" @click="saveForm(1)">暂存</text> -->
|
|
|
+ <button plain="true" style="margin-right: 4px;border-radius: 24px;height:32px;line-height: 32px;font-size:15px;margin-top:4px;color:#1d60b1;border-color:#1d60b1;" @click="saveForm(1)" :style="{fontSize:(wxFontSize-3)+'px'}">暂存</button>
|
|
|
</view>
|
|
|
</view>
|
|
|
</tn-nav-bar>
|
|
|
|
|
|
<view class="tn-safe-area-inset-bottom" :style="{paddingTop: vuex_custom_bar_height + 'px'}">
|
|
|
|
|
|
- <tn-steps style="pointer-events:none;" :list="selectValue=='个人'?stepList:stepList2" :current="stepIndex" mode="dotIcon"></tn-steps>
|
|
|
+ <tn-steps style="pointer-events:none;" :list="selectValue=='个人'?stepList:stepList2" :current="stepIndex" mode="dotIcon" :fontSize="(wxFontSize-3)+'px'"></tn-steps>
|
|
|
<view v-if="stepIndex==1">
|
|
|
|
|
|
<view style="padding: 16px">
|
|
|
- <view style="line-height: 30px;">
|
|
|
+ <view style="line-height: 30px;" :style="{fontSize:(wxFontSize-1)+'px'}">
|
|
|
发布主体:
|
|
|
<uni-data-checkbox :multiple="false" v-model="selectValue" selectedColor="#01BEFF"
|
|
|
- :localdata="[{text: '个人',value: '个人'},{text: '公司',value: '公司'}]" />
|
|
|
+ :localdata="[{text: '个人',value: '个人'},{text: '公司',value: '公司'}]" :fontSize="(wxFontSize-3)+'px'"/>
|
|
|
</view>
|
|
|
<!-- <uni-data-select v-model="selectValue" :localdata="selectList" @change="changeSelect"
|
|
|
:clear="false"></uni-data-select> -->
|
|
@@ -34,74 +33,52 @@
|
|
|
<view v-if="selectValue=='个人'" style="padding: 16px">
|
|
|
<uni-forms :modelValue="formData" label-width="0">
|
|
|
|
|
|
- <text style="color: red;line-height: 30px;vertical-align: middle;margin-right: 4px;">*</text><text>用户昵称:</text>
|
|
|
+ <text style="color: red;line-height: 30px;vertical-align: middle;margin-right: 4px;" :style="{fontSize:(wxFontSize-3)+'px'}">*</text><text :style="{fontSize:(wxFontSize-3)+'px'}">用户昵称:</text>
|
|
|
|
|
|
<uni-forms-item label="用户昵称" name="realName" label-width="0">
|
|
|
- <uni-easyinput type="text" disabled v-model="formInfo.contactNickName" placeholder="请输入您的昵称" />
|
|
|
+ <uni-easyinput type="text" disabled :inputSize="wxFontSize-3" :placeholder-style="styleString" v-model="formInfo.contactNickName" placeholder="请输入您的昵称" />
|
|
|
</uni-forms-item>
|
|
|
- <text style="line-height: 30px;vertical-align: middle;">真实姓名:</text>
|
|
|
+ <text style="line-height: 30px;vertical-align: middle;" :style="{fontSize:(wxFontSize-3)+'px'}">真实姓名:</text>
|
|
|
<uni-forms-item label="真实姓名" name="contactMethod">
|
|
|
- <uni-easyinput type="text" disabled="" v-model="formInfo.userRealName" placeholder="请输入真实姓名" />
|
|
|
+ <uni-easyinput type="text" disabled="true" :inputSize="wxFontSize-3" :placeholder-style="styleString" v-model="formInfo.userRealName" placeholder="请输入真实姓名" />
|
|
|
</uni-forms-item>
|
|
|
- <text style="color: red;line-height: 30px;vertical-align: middle;margin-right: 4px;">*</text><text>联系方式:</text>
|
|
|
+ <text style="color: red;line-height: 30px;vertical-align: middle;margin-right: 4px;" :style="{fontSize:(wxFontSize-3)+'px'}">*</text><text :style="{fontSize:(wxFontSize-3)+'px'}">联系方式:</text>
|
|
|
<uni-forms-item label="联系方式" name="phone">
|
|
|
- <uni-easyinput type="text" disabled v-model="formInfo.contactMethod" placeholder="请输入联系手机/微信/邮箱" />
|
|
|
+ <uni-easyinput type="text" disabled :inputSize="wxFontSize-3" :placeholder-style="styleString" v-model="formInfo.contactMethod" placeholder="请输入联系手机/微信/邮箱" />
|
|
|
</uni-forms-item>
|
|
|
|
|
|
</uni-forms>
|
|
|
- <text style="font-size: 13px;color:#999;">如要更改个人信息,请在我的=><text>个人信息</text>页面更改</text>
|
|
|
+ <text style="font-size: 13px;color:#999;" :style="{fontSize:(wxFontSize-4)+'px'}">如要更改个人信息,请在我的=><text>个人信息</text>页面更改</text>
|
|
|
</view>
|
|
|
|
|
|
<view v-if="selectValue=='公司'" style="padding: 16px">
|
|
|
<uni-forms :modelValue="formData" label-width="0">
|
|
|
<view style="margin-bottom:16px">
|
|
|
- <text style="color: red;line-height: 30px;vertical-align: middle;margin-right: 4px;">*</text><text>公司名称:</text>
|
|
|
+ <text style="color: red;line-height: 30px;vertical-align: middle;margin-right: 4px;" :style="{fontSize:(wxFontSize-3)+'px'}">*</text><text :style="{fontSize:(wxFontSize-3)+'px'}">公司名称:</text>
|
|
|
<w-select style="width: 100%;" v-model='searchValue' :list='items' valueName='name'
|
|
|
- keyName="regNumber" @change='selectChange' :filterable="true">
|
|
|
+ keyName="regNumber" @change='selectChange' :filterable="true" :fontSize="(wxFontSize-3)+'px'">
|
|
|
</w-select>
|
|
|
</view>
|
|
|
<!-- <uni-forms-item label="公司名称" name="name">
|
|
|
<uni-easyinput type="text" v-model="userInfo.company" placeholder="请输入所在公司名称" />
|
|
|
</uni-forms-item> -->
|
|
|
- <text style="color: red;line-height: 30px;vertical-align: middle;margin-right: 4px;">*</text><text>您的职称:</text>
|
|
|
+ <text style="color: red;line-height: 30px;vertical-align: middle;margin-right: 4px;" :style="{fontSize:(wxFontSize-3)+'px'}">*</text><text :style="{fontSize:(wxFontSize-3)+'px'}">您的职称:</text>
|
|
|
<uni-forms-item label="" name="realName" label-width="0">
|
|
|
- <uni-easyinput type="text" :clearable="false" v-model="formInfo.jobTitle" placeholder="请输入您的职称" />
|
|
|
+ <uni-easyinput type="text" :clearable="false" :inputSize="wxFontSize-3" :placeholder-style="styleString" v-model="formInfo.jobTitle" placeholder="请输入您的职称" />
|
|
|
</uni-forms-item>
|
|
|
- <text style="color: red;line-height: 30px;vertical-align: middle;margin-right: 4px;">*</text><text>联系人姓名:</text>
|
|
|
+ <text style="color: red;line-height: 30px;vertical-align: middle;margin-right: 4px;" :style="{fontSize:(wxFontSize-3)+'px'}">*</text><text :style="{fontSize:(wxFontSize-3)+'px'}">联系人姓名:</text>
|
|
|
<uni-forms-item label="联系人姓名" name="contactMethod">
|
|
|
- <uni-easyinput type="text" :clearable="false" v-model="formInfo.contactPerson" placeholder="请输入联系人姓名" />
|
|
|
+ <uni-easyinput type="text" :clearable="false" :inputSize="wxFontSize-3" :placeholder-style="styleString" v-model="formInfo.contactPerson" placeholder="请输入联系人姓名" />
|
|
|
</uni-forms-item>
|
|
|
- <text style="color: red;line-height: 30px;vertical-align: middle;margin-right: 4px;">*</text><text>联系方式:</text>
|
|
|
+ <text style="color: red;line-height: 30px;vertical-align: middle;margin-right: 4px;" :style="{fontSize:(wxFontSize-3)+'px'}">*</text><text :style="{fontSize:(wxFontSize-3)+'px'}">联系方式:</text>
|
|
|
<uni-forms-item label="联系方式" name="phone">
|
|
|
- <uni-easyinput type="text" :clearable="false" v-model="formInfo.contactMethod" placeholder="请输入联系手机/微信/邮箱" />
|
|
|
+ <uni-easyinput type="text" :clearable="false" :inputSize="wxFontSize-3" :placeholder-style="styleString" v-model="formInfo.contactMethod" placeholder="请输入联系手机/微信/邮箱" />
|
|
|
</uni-forms-item>
|
|
|
|
|
|
- <uni-forms-item label="11" required>
|
|
|
- <uni-data-checkbox v-model="formInfo.agree"
|
|
|
- localdata="[{text: '同意平台核查所填信息的真实性',value: '是'}]" />
|
|
|
- </uni-forms-item>
|
|
|
+
|
|
|
</uni-forms>
|
|
|
</view>
|
|
|
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
- <!-- <view class="tn-flex tn-flex-row-between tn-flex-col-center tn-padding-top-xl tn-margin">
|
|
|
- <view class="tn-flex justify-content-item">
|
|
|
- <view class="tn-bg-black tn-color-white tn-text-center" style="border-radius: 100rpx;margin-right: 8rpx;width: 45rpx;height: 45rpx;line-height: 45rpx;">
|
|
|
- <text class="tn-icon-tag" style="font-size: 30rpx;"></text>
|
|
|
- </view>
|
|
|
- <view class="tn-text-lg tn-padding-right-xs tn-text-bold">话题标签</view>
|
|
|
- </view>
|
|
|
- <view class="justify-content-item tn-text-df tn-color-grey">
|
|
|
- <text class="tn-padding-xs">选择</text>
|
|
|
- <text class="tn-icon-right"></text>
|
|
|
- </view>
|
|
|
- </view> -->
|
|
|
-
|
|
|
-
|
|
|
-
|
|
|
<!-- 悬浮按钮-->
|
|
|
<view class="tn-flex tn-footerfixed">
|
|
|
<!-- <view class="tn-flex-1 justify-content-item tn-margin-sm tn-text-center">
|
|
@@ -113,7 +90,7 @@
|
|
|
</view> -->
|
|
|
<view class="tn-flex-1 justify-content-item tn-margin-sm tn-text-center">
|
|
|
<button type="default" plain="true" style="border-radius: 24px;"
|
|
|
- @click="nextStep()">
|
|
|
+ @click="nextStep()" :style="{fontSize:(wxFontSize-2)+'px'}">
|
|
|
下一步
|
|
|
</button>
|
|
|
</view>
|
|
@@ -123,27 +100,27 @@
|
|
|
|
|
|
<view style="padding: 16px;padding-bottom: 0;" v-if="(selectValue=='公司'&&stepIndex==2)||(selectValue=='个人'&&stepIndex==2)">
|
|
|
|
|
|
- <text style="color: red;line-height: 30px;vertical-align: middle;margin-right: 4px;">*</text><text>发布种类:</text>
|
|
|
+ <text style="color: red;line-height: 30px;vertical-align: middle;margin-right: 4px;" :style="{fontSize:(wxFontSize-3)+'px'}">*</text><text :style="{fontSize:(wxFontSize-3)+'px'}">发布种类:</text>
|
|
|
<uni-data-select v-model="selectValue2" :localdata="selectList2" @change="changeSelect2"
|
|
|
- :clear="false"></uni-data-select>
|
|
|
+ :clear="false" :fontSize="(wxFontSize-3)+'px'"></uni-data-select>
|
|
|
</view>
|
|
|
|
|
|
<view v-if="selectValue2=='产品'" >
|
|
|
<view style="padding: 16px" v-if="(selectValue=='公司'&&stepIndex==2)||(selectValue=='个人'&&stepIndex==2)">
|
|
|
- <text style="color: red;line-height: 30px;vertical-align: middle;margin-right: 4px;">*</text><text>产品种类:</text>
|
|
|
+ <text style="color: red;line-height: 30px;vertical-align: middle;margin-right: 4px;" :style="{fontSize:(wxFontSize-3)+'px'}">*</text><text :style="{fontSize:(wxFontSize-3)+'px'}">产品种类:</text>
|
|
|
<uni-data-select v-model="selectValue4" :localdata="selectList4" @change="changeSelect4"
|
|
|
- placeholder="产品种类" :clear="false" style="margin-bottom:16px"></uni-data-select>
|
|
|
+ placeholder="产品种类" :clear="false" style="margin-bottom:16px" :fontSize="(wxFontSize-3)+'px'"></uni-data-select>
|
|
|
|
|
|
|
|
|
<view style="margin-top: 16px;">
|
|
|
- <text style="color: red;line-height: 30px;vertical-align: middle;margin-right: 4px;">*</text><text>产品品牌:</text>
|
|
|
- <uni-easyinput type="text" :clearable="false" required v-model="brand" placeholder="请输入产品品牌" />
|
|
|
+ <text style="color: red;line-height: 30px;vertical-align: middle;margin-right: 4px;" :style="{fontSize:(wxFontSize-3)+'px'}">*</text><text :style="{fontSize:(wxFontSize-3)+'px'}">产品品牌:</text>
|
|
|
+ <uni-easyinput type="text" :clearable="false" :inputSize="wxFontSize-3" :placeholder-style="styleString" required v-model="brand" placeholder="请输入产品品牌" />
|
|
|
</view>
|
|
|
<view style="margin-top: 16px;margin-bottom: 20px;">
|
|
|
- <text style="color: red;line-height: 30px;vertical-align: middle;margin-right: 4px;">*</text>发布的产品是否属于医疗器械?
|
|
|
+ <text style="color: red;line-height: 30px;vertical-align: middle;margin-right: 4px;" :style="{fontSize:(wxFontSize-3)+'px'}">*</text><text :style="{fontSize:(wxFontSize-3)+'px'}">发布的产品是否属于医疗器械?</text>
|
|
|
<uni-data-checkbox :multiple="false" v-model="isMedical" selectedColor="#01BEFF"
|
|
|
- :localdata="[{text: '是',value: '1'},{text: '否',value: '0'}]" />
|
|
|
- <text v-if="isMedical==1" style="font-size: 13px;color:#999;">如若产品是医疗器械,请在上传附件步骤上传产品注册证,企业经营许可证等相关信息。</text>
|
|
|
+ :localdata="[{text: '是',value: '1'},{text: '否',value: '0'}]" :fontSize="(wxFontSize-3)+'px'"/>
|
|
|
+ <text v-if="isMedical==1" style="font-size: 13px;color:#999;" :style="{fontSize:(wxFontSize-5)+'px'}">如若产品是医疗器械,请在上传附件步骤上传产品注册证,企业经营许可证等相关信息。</text>
|
|
|
</view>
|
|
|
|
|
|
<view v-for="item,itemIndex in extList">
|
|
@@ -153,11 +130,11 @@
|
|
|
<uni-list>
|
|
|
<uni-list-item style="align-items: center;">
|
|
|
<template v-slot:header>
|
|
|
- 产品信息{{itemIndex+1}}
|
|
|
+ <text :style="{fontSize:(wxFontSize-4)+'px'}">产品信息{{itemIndex+1}}</text>
|
|
|
</template>
|
|
|
<template v-slot:footer>
|
|
|
- <button type="default" style="color:#1d60b1;border-color:#1d60b1;" plain="true" size="mini" v-if="(extList.length>1&&extList.length<6&&itemIndex==extList.length-1)||extList.length==1" @click="newItem">+新增产品</button>
|
|
|
- <button type="warn" plain="true" size="mini" v-if="extList.length>1&&itemIndex!==extList.length-1" @click="delItem(itemIndex)">-删除产品</button>
|
|
|
+ <button type="default" style="color:#1d60b1;border-color:#1d60b1;" :style="{fontSize:(wxFontSize-5)+'px'}" plain="true" size="mini" v-if="(extList.length>1&&extList.length<6&&itemIndex==extList.length-1)||extList.length==1" @click="newItem">+新增产品</button>
|
|
|
+ <button type="warn" plain="true" size="mini" :style="{fontSize:(wxFontSize-5)+'px'}" v-if="extList.length>1&&itemIndex!==extList.length-1" @click="delItem(itemIndex)">-删除产品</button>
|
|
|
<!-- <tn-button fontColor="tn-color-white" shape="round" backgroundColor="#3668FC" v-if="extList.length==1" @click="newItem">+新增产品</tn-button>
|
|
|
<tn-button fontColor="tn-color-white" shape="round" backgroundColor="#3668FC" v-if="extList.length>1&&extList.length<6&&itemIndex==extList.length-1" @click="newItem">+新增产品</tn-button>
|
|
|
<tn-button fontColor="tn-color-white" shape="round" backgroundColor="#FF000C" v-if="extList.length>1&&itemIndex!==extList.length-1" @click="delItem(itemIndex)">-删除产品</tn-button> -->
|
|
@@ -169,54 +146,29 @@
|
|
|
<uni-forms :modelValue="formData" label-width="0">
|
|
|
|
|
|
<uni-forms-item label="" name="prodName" label-width="0">
|
|
|
- <text style="color: red;line-height: 30px;vertical-align: middle;margin-right: 4px;">*</text><text>产品名称:</text>
|
|
|
- <uni-easyinput maxlength="50" type="text" :clearable="false" v-model="item.prodName"
|
|
|
+ <text style="color: red;line-height: 30px;vertical-align: middle;margin-right: 4px;" :style="{fontSize:(wxFontSize-4)+'px'}">*</text><text :style="{fontSize:(wxFontSize-4)+'px'}">产品名称:</text>
|
|
|
+ <uni-easyinput maxlength="50" type="text" :inputSize="wxFontSize-4" :placeholder-style="styleString" :clearable="false" v-model="item.prodName"
|
|
|
placeholder="请输入产品名称" />
|
|
|
</uni-forms-item>
|
|
|
<uni-forms-item label="" name="prodSpec" label-width="0">
|
|
|
- <text style="color: red;line-height: 30px;vertical-align: middle;margin-right: 4px;">*</text><text>产品型号:</text>
|
|
|
- <uni-easyinput maxlength="100" type="text" :clearable="false" v-model="item.prodSpec"
|
|
|
+ <text style="color: red;line-height: 30px;vertical-align: middle;margin-right: 4px;" :style="{fontSize:(wxFontSize-4)+'px'}">*</text><text :style="{fontSize:(wxFontSize-4)+'px'}">产品型号:</text>
|
|
|
+ <uni-easyinput maxlength="100" type="text" :inputSize="wxFontSize-4" :placeholder-style="styleString" :clearable="false" v-model="item.prodSpec"
|
|
|
placeholder="请输入产品型号" />
|
|
|
</uni-forms-item>
|
|
|
<uni-forms-item label="" name="prodDesc">
|
|
|
- <text style="line-height: 30px;vertical-align: middle;">产品介绍:</text>
|
|
|
- <uni-easyinput maxlength="500" type="textarea" v-model="item.prodDesc" placeholder="请输入产品介绍" />
|
|
|
+ <text style="line-height: 30px;vertical-align: middle;" :style="{fontSize:(wxFontSize-4)+'px'}">产品介绍:</text>
|
|
|
+ <uni-easyinput maxlength="500" :inputSize="wxFontSize-4" :placeholder-style="styleString" type="textarea" v-model="item.prodDesc" placeholder="请输入产品介绍" />
|
|
|
</uni-forms-item>
|
|
|
|
|
|
</uni-forms>
|
|
|
<template v-slot:actions v-if="itemIndex==extList.length-1" >
|
|
|
- <view style="margin: 12px;margin-top: -12px;">
|
|
|
+ <view style="margin: 12px;margin-top: -12px;" :style="{fontSize:(wxFontSize-5)+'px'}">
|
|
|
<text style="color:#999">为保证排版整洁,最多一次上传六个产品哦</text>
|
|
|
</view>
|
|
|
</template>
|
|
|
</uni-card>
|
|
|
</view>
|
|
|
- <!-- <view>
|
|
|
-
|
|
|
- <uni-forms :modelValue="formData" label-width="0">
|
|
|
- <view style="display: flex;justify-content: space-between;">
|
|
|
- <view><text class="tn-icon-p" style="font-size: 30rpx;"></text>产品{{itemIndex+1}}</view>
|
|
|
-
|
|
|
- <view><tn-button v-if="extList.length==1" @click="newItem">+新增产品</tn-button>
|
|
|
- <tn-button v-if="extList.length>1&&extList.length<6&&itemIndex==extList.length-1" @click="newItem">+新增产品</tn-button>
|
|
|
- <tn-button v-if="extList.length>1&&itemIndex!==extList.length-1" @click="delItem(itemIndex)">-删除产品</tn-button></view>
|
|
|
-
|
|
|
- </view>
|
|
|
- <uni-forms-item label="" name="prodName" label-width="0">
|
|
|
- <uni-easyinput type="text" required v-model="item.prodName"
|
|
|
- placeholder="*请输入产品名称" />
|
|
|
- </uni-forms-item>
|
|
|
- <uni-forms-item label="" name="contactMethod">
|
|
|
- <uni-easyinput type="text" required v-model="item.prodSpec"
|
|
|
- placeholder="*请输入产品型号" />
|
|
|
- </uni-forms-item>
|
|
|
- <uni-forms-item label="" name="phone">
|
|
|
- <uni-easyinput type="text" v-model="item.prodDesc" placeholder="请输入产品介绍" />
|
|
|
- </uni-forms-item>
|
|
|
-
|
|
|
-
|
|
|
- </uni-forms>
|
|
|
- </view> -->
|
|
|
+
|
|
|
|
|
|
</view>
|
|
|
|
|
@@ -226,25 +178,21 @@
|
|
|
</view>
|
|
|
<view v-if="selectValue2=='服务'&&stepIndex==2">
|
|
|
<view style="padding: 16px">
|
|
|
- <text style="color: red;line-height: 30px;vertical-align: middle;margin-right: 4px;">*</text><text>服务类型:</text>
|
|
|
+ <text style="color: red;line-height: 30px;vertical-align: middle;margin-right: 4px;" :style="{fontSize:(wxFontSize-3)+'px'}">*</text><text :style="{fontSize:(wxFontSize-3)+'px'}">服务类型:</text>
|
|
|
<uni-data-select v-model="selectValue3" :localdata="selectList3" @change="changeSelect3"
|
|
|
- :clear="false"></uni-data-select>
|
|
|
+ :clear="false" :fontSize="(wxFontSize-3)+'px'"></uni-data-select>
|
|
|
</view>
|
|
|
</view>
|
|
|
|
|
|
<view v-if="selectValue2=='服务'&&stepIndex==2">
|
|
|
<view style="padding: 16px">
|
|
|
- <text style="line-height: 30px;vertical-align: middle;">服务品牌:</text>
|
|
|
- <uni-easyinput type="text" :clearable="false" v-model="brand" placeholder="请输入服务品牌" />
|
|
|
+ <text style="line-height: 30px;vertical-align: middle;" :style="{fontSize:(wxFontSize-3)+'px'}">服务品牌:</text>
|
|
|
+ <uni-easyinput type="text" :clearable="false" :inputSize="wxFontSize-3" :placeholder-style="styleString" v-model="brand" placeholder="请输入服务品牌" />
|
|
|
</view>
|
|
|
</view>
|
|
|
|
|
|
<view>
|
|
|
-
|
|
|
-
|
|
|
- <!-- <view class="tn-margin tn-bg-gray--light" style="border-radius: 10rpx;padding: 20rpx 30rpx;">
|
|
|
- <input placeholder="写下一句简短的标题" name="input" placeholder-style="color:#AAAAAA" ></input>
|
|
|
- </view> -->
|
|
|
+
|
|
|
<view v-if="selectValue2=='服务'&&stepIndex==2" style="padding: 16px;padding-bottom: 0;margin-bottom: -30rpx;">
|
|
|
<text style="color: red;line-height: 30px;vertical-align: middle;margin-right: 4px;">*</text><text>服务介绍:</text>
|
|
|
</view>
|
|
@@ -252,16 +200,16 @@
|
|
|
style="border-radius: 10rpx;">
|
|
|
|
|
|
<textarea maxlength="500" v-model="content" placeholder="请输入服务介绍"
|
|
|
- placeholder-style="color:#AAAAAA"></textarea>
|
|
|
+ placeholder-style="color:#AAAAAA" :style="{fontSize:(wxFontSize-3)+'px'}" :placeholder-style="styleString"></textarea>
|
|
|
</view>
|
|
|
|
|
|
<view class="tn-flex tn-flex-row-between tn-flex-col-center tn-margin" style="margin-bottom: 0;" v-if="stepIndex==3">
|
|
|
<view class="tn-flex justify-content-item">
|
|
|
<view class="tn-text-center"
|
|
|
style="border-radius: 100rpx;margin-right: 8rpx;width: 45rpx;height: 45rpx;line-height: 45rpx;">
|
|
|
- <text class="tn-icon-image" style="font-size: 20px;"></text>
|
|
|
+ <text class="tn-icon-image" style="font-size: 20px;" :style="{fontSize:(wxFontSize+3)+'px'}"></text>
|
|
|
</view>
|
|
|
- <view class="tn-padding-right-xs tn-text-bold" style="font-size: 16px;">上传图片(选填)</view>
|
|
|
+ <view class="tn-padding-right-xs tn-text-bold" style="font-size: 16px;" :style="{fontSize:(wxFontSize-1)+'px'}">上传图片(选填)</view>
|
|
|
</view>
|
|
|
<!-- <view class="justify-content-item tn-text-df tn-color-grey" @tap="clear">
|
|
|
<text class="tn-padding-xs">清空上传</text>
|
|
@@ -281,13 +229,9 @@
|
|
|
|
|
|
</uni-file-picker>
|
|
|
<view style="margin-top: 8px;">
|
|
|
- <text style="color: #999;font-size: 12px;">一次只能上传六张图片</text>
|
|
|
+ <text style="color: #999;font-size: 12px;" :style="{fontSize:(wxFontSize-5)+'px'}">一次只能上传六张图片</text>
|
|
|
</view>
|
|
|
-
|
|
|
- <!-- <tn-image-upload-drag ref="imageUpload" :action="action" :width="236" :height="236" :formData="formData"
|
|
|
- :fileList="fileList" :disabled="disabled" :autoUpload="autoUpload" :maxCount="maxCount"
|
|
|
- :showUploadList="showUploadList" :showProgress="showProgress" :deleteable="deleteable"
|
|
|
- :customBtn="customBtn" @sort-list="onSortList" /> -->
|
|
|
+
|
|
|
|
|
|
</view>
|
|
|
|
|
@@ -295,9 +239,9 @@
|
|
|
<view class="tn-flex justify-content-item">
|
|
|
<view class="tn-text-center"
|
|
|
style="border-radius: 100rpx;margin-right: 8rpx;width: 45rpx;height: 45rpx;line-height: 45rpx;">
|
|
|
- <text class="tn-icon-link" style="font-size: 20px;"></text>
|
|
|
+ <text class="tn-icon-link" style="font-size: 20px;" :style="{fontSize:(wxFontSize+3)+'px'}"></text>
|
|
|
</view>
|
|
|
- <view class="tn-padding-right-xs tn-text-bold" style="font-size: 16px;">上传相关文件(选填)</view>
|
|
|
+ <view class="tn-padding-right-xs tn-text-bold" style="font-size: 16px;" :style="{fontSize:(wxFontSize-1)+'px'}">上传相关文件(选填)</view>
|
|
|
</view>
|
|
|
<!-- <view class="justify-content-item tn-text-df tn-color-grey" @tap="clear">
|
|
|
<text class="tn-padding-xs">清空上传</text>
|
|
@@ -309,43 +253,43 @@
|
|
|
<uni-file-picker v-model="fileList" :limit="3" mode="grid" file-mediatype="all"
|
|
|
file-extname="pdf,docx,doc,xls,xlsx" :auto-upload="false" @select="select" @success="success" @delete="deleteFile">
|
|
|
<view style="text-align: left;">
|
|
|
- <button size="mini" style="color:#1d60b1;border-color:#1d60b1;display: inline-block;" plain="true">上传文件</button>
|
|
|
+ <button size="mini" style="color:#1d60b1;border-color:#1d60b1;display: inline-block;" plain="true" :style="{fontSize:(wxFontSize-5)+'px'}">上传文件</button>
|
|
|
</view>
|
|
|
|
|
|
|
|
|
</uni-file-picker>
|
|
|
<view style="margin-top: 4px;">
|
|
|
- <text style="color: #999;font-size: 12px;">一次只能上传三个文件,支持格式 pdf .doc .xls,不超过5MB。</text>
|
|
|
+ <text style="color: #999;font-size: 12px;" :style="{fontSize:(wxFontSize-5)+'px'}">一次只能上传三个文件,支持格式 pdf .doc .xls,不超过5MB。</text>
|
|
|
</view>
|
|
|
|
|
|
|
|
|
<view style="margin-top:6px" v-if="selectValue2=='产品'">
|
|
|
- <text style="color: #999;font-size: 12px;">如若产品属于医疗器械,请上传相关资质证明。</text>
|
|
|
+ <text style="color: #999;font-size: 12px;" :style="{fontSize:(wxFontSize-5)+'px'}">如若产品属于医疗器械,请上传相关资质证明。</text>
|
|
|
</view>
|
|
|
- <!-- <tn-image-upload-drag ref="imageUpload" :action="action" :width="236" :height="236" :formData="formData"
|
|
|
- :fileList="fileList2" :disabled="disabled" :autoUpload="autoUpload" :maxCount="maxCount"
|
|
|
- :showUploadList="showUploadList" :showProgress="showProgress" :deleteable="deleteable"
|
|
|
- :customBtn="customBtn" @sort-list="onSortList" /> -->
|
|
|
+
|
|
|
|
|
|
</view>
|
|
|
</view>
|
|
|
|
|
|
<view label="11" name="check" style="padding:16px;margin-top:20px" v-if="stepIndex==3">
|
|
|
- <uni-data-checkbox :multiple="true" v-model="formInfo.agree" selectedColor="#45c05d"
|
|
|
- :localdata="[{text: '同意平台核查所填信息的真实性',value: '是'}]" />
|
|
|
+ <tn-checkbox v-model="formInfo.agree" activeColor="#45c05d" :size="wxFontSize+17" name="选项1" >
|
|
|
+ <text :style="{fontSize:(wxFontSize-4)+'px',color:formInfo.agree?'#45c05d':'#666666'}">同意平台核查所填信息的真实性</text>
|
|
|
+ </tn-checkbox>
|
|
|
+ <!-- <uni-data-checkbox :multiple="true" v-model="formInfo.agree" selectedColor="#45c05d"
|
|
|
+ :localdata="[{text: '同意平台核查所填信息的真实性',value: '是'}]" /> -->
|
|
|
</view>
|
|
|
|
|
|
<!-- 悬浮按钮-->
|
|
|
<view class="tn-flex tn-footerfixed" >
|
|
|
<view class="tn-flex-1 justify-content-item tn-margin-sm tn-text-center">
|
|
|
<button type="default" plain="true" style="border-radius: 24px;"
|
|
|
- @click="preStep()">
|
|
|
+ @click="preStep()" :style="{fontSize:(wxFontSize-2)+'px'}">
|
|
|
上一步
|
|
|
</button>
|
|
|
</view>
|
|
|
<view class="tn-flex-1 justify-content-item tn-margin-sm tn-text-center">
|
|
|
<button type="default" plain="true" style="border-radius: 24px;"
|
|
|
- @click="nextStep()">
|
|
|
+ @click="nextStep()" :style="{fontSize:(wxFontSize-2)+'px'}">
|
|
|
下一步
|
|
|
</button>
|
|
|
<!-- <tn-button backgroundColor="#3668FC" padding="40rpx 0" width="60%" shadow fontBold
|
|
@@ -358,13 +302,13 @@
|
|
|
<view class="tn-flex tn-footerfixed" v-if="(stepIndex==3)">
|
|
|
<view class="tn-flex-1 justify-content-item tn-margin-sm tn-text-center">
|
|
|
<button type="default" plain="true" style="border-radius: 24px;"
|
|
|
- @click="preStep()">
|
|
|
+ @click="preStep()" :style="{fontSize:(wxFontSize-2)+'px'}">
|
|
|
上一步
|
|
|
</button>
|
|
|
|
|
|
</view>
|
|
|
<view class="tn-flex-1 justify-content-item tn-margin-sm tn-text-center">
|
|
|
- <button type="primary" style="background-color:#1d60b1;border-radius: 23px" @click="saveForm()">提交审核</button>
|
|
|
+ <button type="primary" style="background-color:#1d60b1;border-radius: 23px" @click="saveForm()" :style="{fontSize:(wxFontSize-2)+'px'}">提交审核</button>
|
|
|
<!-- <tn-button backgroundColor="#3668FC" padding="40rpx 0" width="60%" shadow fontBold
|
|
|
@click="saveForm()">
|
|
|
<text class="tn-color-white">提交审核</text>
|
|
@@ -389,6 +333,8 @@
|
|
|
mixins: [template_page_mixin],
|
|
|
data() {
|
|
|
return {
|
|
|
+ wxFontSize: 17,
|
|
|
+ styleString:'font-size:'+14+'px',
|
|
|
showTips:false,
|
|
|
canSave:true,
|
|
|
isMedical: '1',
|
|
@@ -465,7 +411,7 @@
|
|
|
jobTitle: '',
|
|
|
userRealName:JSON.parse(uni.getStorageSync('userInfo')).userRealName,
|
|
|
// contactPerson:JSON.parse(uni.getStorageSync('userInfo')).contactNickName?JSON.parse(uni.getStorageSync('userInfo')).contactNickName:'用户'+JSON.parse(uni.getStorageInfoSync('userInfo')).userName.splice(-4),
|
|
|
- agree: [],
|
|
|
+ agree: false,
|
|
|
contactNickName: JSON.parse(uni.getStorageSync('userInfo')).contactNickName||'用户'+JSON.parse(uni.getStorageSync('userInfo')).userName.slice(-4),
|
|
|
contactMethod: JSON.parse(uni.getStorageSync('userInfo')).contactMethod || JSON.parse(uni
|
|
|
.getStorageSync('userInfo')).userName
|
|
@@ -541,6 +487,9 @@
|
|
|
}
|
|
|
},
|
|
|
onLoad(props) {
|
|
|
+ const appBaseInfo = wx.getAppBaseInfo();
|
|
|
+ this.wxFontSize = uni.getStorageSync('fontSize')||appBaseInfo.fontSizeSetting||17;
|
|
|
+ this.styleString='font-size:'+(this.wxFontSize-3)+'px';
|
|
|
//从暂存里面编辑
|
|
|
if(props.sid){
|
|
|
this.isEdit = true;
|
|
@@ -782,7 +731,7 @@
|
|
|
}
|
|
|
}
|
|
|
|
|
|
- if(status!=1&&this.formInfo.agree.length<1){
|
|
|
+ if(status!=1&&!this.formInfo.agree){
|
|
|
uni.showToast({
|
|
|
title: '请勾选同意平台核查所填信息的真实性',
|
|
|
duration: 2000,
|