这是我的分页控件:
我试图使分页的标签变成紫色,到目前为止我一直无法覆盖它.这是我的CSS:
/* pagination */
.pagination {
height: 36px;
margin: 18px 0;
color: #6c58bF;
}
.pagination ul {
display: inline-block;
*display: inline;
/* IE7 inline-block hack */
*zoom: 1;
margin-left: 0;
color: #ffffff;
margin-bottom: 0;
-webkit-border-radius: 3px;
-moz-border-radius: 3px;
border-radius: 3px;
-webkit-box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
-moz-box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}
.pagination li {
display: inline;
color: #6c58bF;
}
.pagination a {
float: left;
padding: …Run Code Online (Sandbox Code Playgroud) 在控制台中我的代码是打印:
[对象,对象]
我无法正常向下钻取.
我试过JSON.Parse和JSON.stringify没有成功.
我的服务设置凭据:
setCredentials.js
'use strict';
// service that handles setting and getting cookies
app.service('setCredentials', function($cookies) {
// function that gets json object and stores it inside a cookie
this.storeInCookie = function(responseObject) {
console.log(responseObject);
//set the cookie
var cookieObj = {
currentUser: {
userType: responseObject.auth.userType,
username: responseObject.auth.email,
token: responseObject.auth.token
}
};
console.log(cookieObj);
//set up header, in case we need auth token inside it for later
//$http.defaults.headers.common['Authorization'] = 'Basic ' + authdata;
//store inside of …Run Code Online (Sandbox Code Playgroud) 写了一个基于facebook api的移动应用程序.如果用户在权限屏幕上取消选择生日作为权限,则应用会中断.我怎样才能获得所需的许可,所以他们无法取消选择它?