Forráskód Böngészése

修改按钮悬浮问题 个人中心提示框文字

yinxiangke 3 hete
szülő
commit
6a5fa3fed9

+ 1 - 1
src/components/course-card.vue

@@ -28,7 +28,7 @@
         </div>
       </div>
       <div class="gap10 mt16 button-container">
-        <el-button type="primary" class="flex_1" size="large" plain @click.stop.prevent="goWorkflowDetail">
+        <el-button type="primary" class="flex_1" size="large" style="background: #EAF1FF;border-color: #EAF1FF;color: #2D71FF;" @click.stop.prevent="goWorkflowDetail">
           <el-icon class="mr10"><Document /></el-icon>
           {{$t('common.viewDetails')}}
         </el-button>

+ 2 - 0
src/locales/en.js

@@ -378,6 +378,8 @@ export default {
     qydbtytxxy:'Please read and agree to the withdrawal agreement',
     hyxy:'Membership Agreement',
     qydbtyhyxy:'Please read and agree to the membership agreement',
+    bdyxjcjzh:'By binding an email, an account will be automatically created',
+    psrjnbq:'Please enter skill tags',
   },
   orderConfirm:{
     personalPay:'Personal Payment',

+ 2 - 1
src/locales/zh-CN.js

@@ -381,7 +381,8 @@ export default {
     qydbtytxxy:'请阅读并同意《提现协议》',
     hyxy:'会员协议',
     qydbtyhyxy:'请阅读并同意《会员协议》',
-    
+    bdyxjcjzh:'绑定邮箱即自动创建账号',
+    psrjnbq:'请输入技能标签',
   },
   orderConfirm:{
     personalPay:'个人支付',

+ 16 - 16
src/pages/PersonalCenter.vue

@@ -216,6 +216,15 @@
     <el-dialog v-model="dialogVisible" :title="$t('personalCenter.editProfile')" width="784" :destroy-on-close="true">
       <el-form ref="userFormRef" :model="userInfo" label-width="auto" label-position="top" :rules="rules">
         <el-row :gutter="16">
+          
+           <el-col :span="12">
+            <el-form-item :label="$t('personalCenter.nickName')" prop="nickName">
+              <el-input v-model="userInfo.nickName" :placeholder="$t('personalCenter.pinickName')" class="inputStyle"
+                :input-style="{
+                  backgroundColor: 'transparent',
+                }" maxlength="15" />
+            </el-form-item>
+          </el-col>
           <el-col :span="12">
             <el-form-item :label="$t('personalCenter.uploadAvatar')">
               <!-- 图片类型 -->
@@ -224,17 +233,6 @@
             </el-form-item>
           </el-col>
         </el-row>
-        <el-row :gutter="16">
-          <el-col :span="12">
-            <el-form-item :label="$t('personalCenter.nickName')" prop="nickName">
-              <el-input v-model="userInfo.nickName" :placeholder="$t('personalCenter.pinickName')" class="inputStyle"
-                :input-style="{
-                  backgroundColor: 'transparent',
-                }" />
-            </el-form-item>
-          </el-col>
-
-        </el-row>
         <el-row :gutter="16">
           <el-col :span="12">
             <el-form-item :label="$t('personalCenter.loginPhone')">
@@ -289,7 +287,7 @@
         <el-row :gutter="16">
           <el-col :span="12">
             <el-form-item :label="$t('personalCenter.n8nAccout')">
-              <el-input readonly v-model="userInfo.n8nAccount" :placeholder="$t('personalCenter.createN8n')"
+              <el-input disabled v-model="userInfo.n8nAccount" :placeholder="$t(!appStore?.userInfo?.email ? 'personalCenter.bdyxjcjzh' : 'personalCenter.createN8n')"
                 class="inputStyle" :input-style="{
                   backgroundColor: 'transparent',
                 }">
@@ -314,7 +312,7 @@
         <el-row :gutter="16">
           <el-col :span="12">
             <el-form-item :label="$t('personalCenter.cozeAccout')">
-              <el-input readonly v-model="userInfo.cozeAccount" :placeholder="$t('personalCenter.createCoze')"
+              <el-input disabled v-model="userInfo.cozeAccount" :placeholder="$t(!appStore?.userInfo?.email ? 'personalCenter.bdyxjcjzh' :'personalCenter.createCoze')"
                 class="inputStyle" :input-style="{
                   backgroundColor: 'transparent',
                 }">
@@ -340,7 +338,7 @@
         <el-row :gutter="16">
           <el-col :span="12">
             <el-form-item :label="$t('personalCenter.difyAccout')">
-              <el-input readonly v-model="userInfo.difyAccount" :placeholder="$t('personalCenter.createDify')"
+              <el-input disabled v-model="userInfo.difyAccount" :placeholder="$t(!appStore?.userInfo?.email ? 'personalCenter.bdyxjcjzh' :'personalCenter.createDify')"
                 class="inputStyle" :input-style="{
                   backgroundColor: 'transparent',
                 }">
@@ -366,7 +364,7 @@
 
           <el-col :span="12">
             <el-form-item :label="$t('personalCenter.fastGptAccout')">
-              <el-input readonly v-model="userInfo.fastGptAccount" :placeholder="$t('personalCenter.createFastGpt')"
+              <el-input disabled v-model="userInfo.fastGptAccount" :placeholder="$t(!appStore?.userInfo?.email ? 'personalCenter.bdyxjcjzh' :'personalCenter.createFastGpt')"
                 class="inputStyle" :input-style="{
                   backgroundColor: 'transparent',
                 }">
@@ -398,7 +396,9 @@
                   {{ tag }}
                 </el-tag>
                 <el-input v-if="inputVisible" ref="InputRef" v-model="inputValue" class="w-20" size="small"
-                  @keyup.enter="handleInputConfirm" @blur="handleInputConfirm" maxlength="5">
+                  @keyup.enter="handleInputConfirm" @blur="handleInputConfirm" maxlength="5" :placeholder="
+                    $t('personalCenter.psrjnbq')
+                  ">
                   <template #append>
                     <el-button :icon="Plus" />
                   </template></el-input>

+ 2 - 2
src/pages/WorkflowDetail.vue

@@ -65,13 +65,13 @@
               <el-button type="success" plain size="mini" v-if="ruleForm.workflowPrice === 0">{{$t('common.free')}}</el-button>
             </div>
             <div class="mt20">
-              <el-button type="primary" class="font_size16" size="large" style="width: 100%;" @click="startUsing()">
+              <el-button type="primary" class="font_size16 gradient" size="large" style="width: 100%;" @click="startUsing()">
                 <img :src="useNowIcon" alt="员工" style="width: 30px; height: 30px;">
                 <span class="font_size18"> {{$t('common.startUsing')}}</span>
               </el-button>
             </div>
             <div class="mt20">
-              <el-button type="primary" size="large" plain style="width: 100%;" @click="downloadWorkflow()">
+              <el-button type="primary" size="large" style="width: 100%;background: #EAF0FF;border-color: #EAF0FF;color: #2D71FF;" @click="downloadWorkflow()">
                 <img :src="downIcon" alt="员工" style="width: 30px; height: 30px;">
                 <span class="font_size18"> {{$t('common.downloadWorkflow')}}</span>
               </el-button>