双减号问题处理
This commit is contained in:
		
							parent
							
								
									bed539d16f
								
							
						
					
					
						commit
						a7ee9a6444
					
				@ -8,7 +8,9 @@
 | 
				
			|||||||
    <h3>积分日志</h3>
 | 
					    <h3>积分日志</h3>
 | 
				
			||||||
    <Table :columns="logColumns" :data="logData.records">
 | 
					    <Table :columns="logColumns" :data="logData.records">
 | 
				
			||||||
      <template slot-scope="{ row }" slot="point">
 | 
					      <template slot-scope="{ row }" slot="point">
 | 
				
			||||||
        <div :style="{color:row.pointType === 'INCREASE' ? 'green' : 'red'}"><span>{{row.pointType === "INCREASE" ? '+' : '-'}}</span>{{ row.variablePoint }}</div>
 | 
					        <div :style="{color:row.pointType === 'INCREASE' ? 'green' : 'red'}">
 | 
				
			||||||
 | 
					          <span v-if="row.pointType === 'INCREASE'">+</span>{{ row.variablePoint }}
 | 
				
			||||||
 | 
					        </div>
 | 
				
			||||||
      </template>
 | 
					      </template>
 | 
				
			||||||
    </Table>
 | 
					    </Table>
 | 
				
			||||||
    <!-- 分页 -->
 | 
					    <!-- 分页 -->
 | 
				
			||||||
@ -28,6 +30,7 @@
 | 
				
			|||||||
</template>
 | 
					</template>
 | 
				
			||||||
<script>
 | 
					<script>
 | 
				
			||||||
import {memberPoint, memberPointHistory} from '@/api/member.js'
 | 
					import {memberPoint, memberPointHistory} from '@/api/member.js'
 | 
				
			||||||
 | 
					
 | 
				
			||||||
export default {
 | 
					export default {
 | 
				
			||||||
  name: 'Point',
 | 
					  name: 'Point',
 | 
				
			||||||
  data () {
 | 
					  data () {
 | 
				
			||||||
@ -90,12 +93,15 @@ h3 {
 | 
				
			|||||||
  font-size: 16px;
 | 
					  font-size: 16px;
 | 
				
			||||||
  margin: 20px 10px;
 | 
					  margin: 20px 10px;
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
.point-content {
 | 
					.point-content {
 | 
				
			||||||
  text-align: center;
 | 
					  text-align: center;
 | 
				
			||||||
  margin-bottom: 30px;
 | 
					  margin-bottom: 30px;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  > span {
 | 
					  > span {
 | 
				
			||||||
    color: #999;
 | 
					    color: #999;
 | 
				
			||||||
    margin-right: 100px;
 | 
					    margin-right: 100px;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    span {
 | 
					    span {
 | 
				
			||||||
      color: $theme_color;
 | 
					      color: $theme_color;
 | 
				
			||||||
      font-size: 24px;
 | 
					      font-size: 24px;
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user