Explorar el Código

卡片添加阴影

Xiao_123 hace 1 mes
padre
commit
38c180cf21

+ 7 - 55
components/PositionList/index.vue

@@ -6,7 +6,7 @@
         <!-- 职位信息 -->
         <view class="list-shape" :style="`border-radius: ${props.showEntInfo ? '12px 12px 0 0' : '12px'};`">
           <!-- 职位 -->
-          <view class="titleBox my-5">
+          <view class="titleBox ss-m-y-10">
             <view style="display: flex;align-items: center;">
               <view v-if="item.job?.hire" class="iconfont icon-a-1_zhaopin ss-m-r-10" style="color: #e03506; font-size: 25px;"></view>
               <image v-if="props.jobFairId" src="/static/svg/jobFair.svg" class=" ss-m-r-10" style="width: 20px; height: 20px;"></image>
@@ -31,7 +31,7 @@
             </view>
           </view>
           <!-- 岗位tag  -->
-          <view class="mt" v-if="showWelfareTag">
+          <view class="ss-m-t-15" v-if="showWelfareTag">
             <uni-tag 
               v-for="(tag,i) in item.job?.tagList || []"
               :key="i"
@@ -63,12 +63,12 @@
         <!-- 企业信息 -->
         <view v-if="props.showEntInfo" class="sub-li-bottom" @tap="handleClickEnt(item)">
           <view class="avatarBox">
-            <image class="enterAvatar ml default-border default-radius" :src="item.enterprise?.logoUrl || 'https://minio.citupro.com/dev/menduner/company-avatar.png'"></image>
+            <image class="enterAvatar ss-m-l-20 default-border default-radius" :src="item.enterprise?.logoUrl || 'https://minio.citupro.com/dev/menduner/company-avatar.png'"></image>
           </view>
           <view class="ss-m-l-35">
-            <view class="mr MiSans-Normal default-text-color">{{ formatName(item.enterprise?.anotherName || item.enterprise.name) }}</view>
+            <view class="ss-m-r-20 MiSans-Normal default-text-color">{{ formatName(item.enterprise?.anotherName || item.enterprise.name) }}</view>
             <span class="color-666 MiSans-Normal ss-m-r-10">{{ item.enterprise?.industryName || '' }}</span>
-            <span class="mr color-666 MiSans-Normal">{{ item.enterprise?.scaleName || '' }}</span>
+            <span class="ss-m-r-20 color-666 MiSans-Normal">{{ item.enterprise?.scaleName || '' }}</span>
           </view>
         </view>
       </view>
@@ -115,22 +115,6 @@ const handleClickEnt = (item) => {
 </script>
 
 <style scoped lang="scss">
-.noMore{
-  margin: 20px 0;
-}
-
-.date-time{
-  color:#d9d0d2;
-  float: right;
-}
-
-.divided-line {
-  width: 100%;
-  height: 1px;
-  background-color: #f0f2f7;
-  margin: 20px 0;
-
-}
 .enterAvatar{
 	width: 60rpx;
 	height: 60rpx;
@@ -187,49 +171,17 @@ const handleClickEnt = (item) => {
 .tag-gap{
 	margin: 10rpx 10rpx 10rpx 0;
 }
-.tag-gap1{
-  margin-bottom: 20px;
-}
 .divider-mx{
 	margin: 0 10rpx;
 }
-.divider { 
-	color:#e4d4d2;
-}
 
-//公司名称
-.cer-end{
-  position: absolute;
-  top: 85%;
-  right: 16%;
-}
-.cer-text{
-  text-decoration: underline;
-  margin: 0 5rpx;
-}
-//一行展示不全...
-.dis{
-	display: flex;
-	align-items: center;
-}
-.show-more{
-	width: 26vw;
-	white-space: nowrap;
-	overflow: hidden;
-	text-overflow: ellipsis;
-}
 .mList {
   margin-bottom: 20rpx;
   border-radius: 20rpx;
+  box-shadow: 1px 2px 12px rgba(0, 0, 0, 0.17);
 }
 /* 列表触底暂无更多 */
-.noMore{ text-align:center; color:grey; }
-.mt { margin-top: 15rpx; }
-.mb { margin-bottom: 10rpx; }
-.ml { margin-left: 20rpx; }
-.mr { margin-right: 20rpx; }
-.mr-10{ margin-right: 10rpx; }
-.my-5{ margin: 5px 0; }
+.noMore{ text-align:center; color:grey;margin: 20px 0; }
 .disable {
   position: relative;
   overflow: hidden;

+ 1 - 0
pages/index/jobFair.vue

@@ -81,6 +81,7 @@ onShareTimeline(() => {
   border-radius: 20rpx;
   padding: 30rpx;
   position: relative;
+  box-shadow: 1px 2px 12px rgba(0, 0, 0, 0.17);
   view {
     font-size: 28rpx;
     color: #666;

+ 1 - 0
pages/index/welfare.vue

@@ -320,6 +320,7 @@ function handleTo (page) {
         margin: 10upx 0;
         box-sizing: border-box;
         border-radius: 20rpx;
+		box-shadow: 1px 2px 12px rgba(0, 0, 0, 0.17);
         &-img {
           width: 100%;
           height: 305rpx;

+ 1 - 0
pagesA/interview/item.vue

@@ -63,6 +63,7 @@ const handleAction = (item, type) => {
   margin: 30rpx;
   border-radius: 20rpx;
   padding: 30rpx;
+  box-shadow: 1px 2px 12px rgba(0, 0, 0, 0.17);
   &:last-child {
     margin-bottom: 0;
   }

+ 1 - 0
pagesA/resume/index.vue

@@ -153,6 +153,7 @@ const handleResumeAnalysis = () => {
   border-radius: 20rpx;
   padding: 30rpx;
   background-color: #fff;
+  box-shadow: 1px 2px 12px rgba(0, 0, 0, 0.17);
   &:last-child {
     margin-bottom: 0;
   }

+ 1 - 1
pagesB/positionDetail/index.vue

@@ -40,7 +40,7 @@
                       class="ss-m-r-10"
                       size="25"
                     ></uni-icons>
-                    <span class="color-primary MiSans-Normal">{{ isCollection  ? '取消收藏' : '收藏' }}</span>
+                    <span class="color-primary MiSans-Normal font-size-14">{{ isCollection  ? '取消收藏' : '收藏' }}</span>
                   </view>
                   <!-- 薪资 -->
                   <view>

+ 1 - 0
pagesB/recommendEnterprise/index.vue

@@ -103,6 +103,7 @@ const handleToPosition = (k) => {
   margin: 30rpx;
   border-radius: 20rpx;
   padding: 30rpx;
+  box-shadow: 1px 2px 12px rgba(0, 0, 0, 0.17);
   &:last-child {
     margin-bottom: 0;
   }