李志伟 3 年 前
コミット
8bb288d2db
共有3 個のファイルを変更した117 個の追加3930 個の削除を含む
  1. 3
    4
      src/pages/dogCardDetail/index.jsx
  2. 1
    1
      src/pages/dogCardDetail/style.less
  3. 113
    3925
      yarn.lock

+ 3
- 4
src/pages/dogCardDetail/index.jsx ファイルの表示

@@ -2,13 +2,12 @@ import { View, Image, ScrollView } from '@tarojs/components'
2 2
 import './style.less'
3 3
 
4 4
 export default (props) => {
5
-  const status=2;
5
+  const status = 2;
6 6
   return (
7 7
     <ScrollView scrollY style={{ height: '100vh' }}>
8 8
       <View className='dogCardDetail'>
9 9
         <View className='card'>
10 10
           <View className='title'>电&nbsp;&nbsp;&nbsp;子&nbsp;&nbsp;&nbsp;版&nbsp;&nbsp;&nbsp;犬&nbsp;&nbsp;&nbsp;证</View>
11
-
12 11
           <View className='body'>
13 12
             <View className='cardLeft'>
14 13
               <View className='cell'>
@@ -31,9 +30,9 @@ export default (props) => {
31 30
               ></Image>
32 31
             </View>
33 32
           </View>
34
-          <View className='cell' style={{marginTop:'-8px'}}>
33
+          <View className='cell' style={{ marginTop: '0' }}>
35 34
             <View className='lable'>状态</View>:
36
-            <View className={['state','color'+status]}>{status==1?'正常':status==2?'过期':'挂失'}</View>
35
+            <View className={['state', 'color' + status]}>{status == 1 ? '正常' : status == 2 ? '过期' : '挂失'}</View>
37 36
             {/* 挂失 续期 */}
38 37
           </View>
39 38
           <View className='cell'>

+ 1
- 1
src/pages/dogCardDetail/style.less ファイルの表示

@@ -53,7 +53,7 @@
53 53
       .thumb{
54 54
         width: 30vw;
55 55
         height: 30vw;
56
-        margin: 16px 0 16px 16px;
56
+        margin: 16px 0 0 16px;
57 57
       }
58 58
       // 100vw-64px-32px*0.4
59 59
     }

+ 113
- 3925
yarn.lock
ファイル差分が大きすぎるため省略します
ファイルの表示