在线观看不卡亚洲电影_亚洲妓女99综合网_91青青青亚洲娱乐在线观看_日韩无码高清综合久久

鍍金池/ 問答/ HTML5問答
野橘 回答

這個問題我們之前遇到過,應該是webpack loader的問題。

{
    test: /\.(woff2?|eot|ttf|otf|svg)(\?.*)?$/,
    loader: 'url-loader',
    options: {
       limit: 10000,
       name: utils.assetsPath('fonts/[name].[hash:7].[ext]')
   }
}

可以試試取消limit

test: /.(woff2?|eot|ttf|otf|svg)(?.*)?$/,
還有你的字體文件中有.woff后綴的文件,但是正則匹配的時候卻沒有匹配到,你也可以把woff結(jié)尾的這個文件刪除掉。

最好能把報錯信息貼出來,可以更好的定位錯誤。

維他命 回答
  1. 通過 X, Y 數(shù)據(jù)擬合一個軌跡方程。(或者簡單點,你直接找一個“圓”就可以了)。
  2. 把軌跡方程轉(zhuǎn)成“參數(shù)方程”,如果用圓,在這一步也簡單了,現(xiàn)成的。
  3. 參數(shù)方程的“參數(shù)”,即“時間”。
<!DOCTYPE html>
<html lang="zh-cmn-Hans">
<head>
<meta charset="utf-8" />
<title>Animation</title>
<script src="https://s.zys.me/js/jq/jquery.min.js" type="text/javascript"></script>
<style type="text/css">
  #circle { width: 400px; height: 400px; border: 1px solid #ccc; border-radius: 50%; position: absolute; left: 0; top: 0; }
  #point { width: 20px; height: 20px; background-color: red; border-radius: 50%; position: absolute; left: 0; top: 0; }
</style>
</head>
<body>
  <div id="wrapper">
    <div id="circle"></div>
   <div id="point"></div>
  </div>
  <script type="text/javascript">
    $(function(){
      // 運動的參數(shù)方式
      // 輸入 t ,輸出 x, y
      // 圓的參數(shù)方程是初中內(nèi)容了
      var R = 200;
      var C = [200, 200];
      function position(t){
        var x = C[0] + R * Math.cos(t);
        var y = C[1] + R * Math.sin(t);
        return [x, y];
      }

      var t = 0;
      var step = 0.03;
      var $n = $('#point');
      function animate(){
        t += step;
        var p = position(t);
        $n.css({left: p[0], top: p[1]});
        setTimeout(animate, 30);
      }
      animate();
    });
  </script>
</body>
</html>
孤慣 回答

return跳出當前函數(shù),你仔細看一下each方法,跳出的只是each其中一個回調(diào)函數(shù),而不是each方法本身。

心悲涼 回答

可能是你require的js的路徑問題

互擼娃 回答

nslookup看看域名解析。

離觴 回答

input::-webkit-outer-spin-button, input::-webkit-inner-spin-button {

    -webkit-appearance: none !important;
}

input[type="number"] {
    -moz-appearance: textfield;
}
放開她 回答

Internet Explorer9,火狐,谷歌Chrome,Opera和Safari都支持SVG。
IE8和早期版本都需要一個插件 - Adobe SVG瀏覽器,這是免費提供的。

貓小柒 回答

this.goodsList.push(...__goodsList)這里不能使用push,vue不能監(jiān)聽不存在的屬性,可以使用set或$set

萌吟 回答

上面的匹配 .a 或 .| 或 .b 或 .c 結(jié)尾的
下面的匹配 .a 或 .b 或 .c 結(jié)尾的

北城荒 回答

要知道 做這一行 學新技術不只是為了功利,那樣你總會疲憊走不遠。
什么時候你能因為興趣去閱讀源碼,從模仿到造輪子,什么時候你能對不止前端的東西感興趣,比如玩玩單片機,自己學著搭建集群,測試并發(fā),研究研究數(shù)據(jù)庫優(yōu)化,用python寫個web服務器等等,你就不會有現(xiàn)在的煩惱了。
當然,玩,每一項得玩精了。

北城荒 回答

1.資源需要https協(xié)議,手機上看不了有可能是因為這個;
2.都看不到是可能“畫布污染”了,你要把當前頁面地址和圖片地址放在一個域名下,且沒有其他域名的資源也drwa這個畫布上。

墨小羽 回答
  1. float影響了margin的效果;
  2. display:block/inline-block也影響了布局的效果
艷骨 回答

從實現(xiàn)角度,我的建議是直接放第三方。
至于你說的[視頻看的人多了,是不是搞破產(chǎn)了] 。這里有兩點你先理清楚

  • 你是希望別人看呢,還是不希望被人看到視頻。
  • 這種問法就是過早擔憂,類似一個小網(wǎng)站上線了,其實壓根沒人來訪問,就會擔憂高并發(fā)了怎么辦,服務器扛不住怎么辦
陌南塵 回答

`
var PSV = new PhotoSphereViewer({

container: photosphere,
panorama: 'image',
size: {
  width: window.innerWidth,
  height: window.innerHeight
},
autoload: true,
allow_scroll_to_zoom: false,
markers: [{
  // 多邊形標記
  id: 'polygon',
  polygon_px: [3184, 794, 3268, 841, 3367, 1194, 3327, 1307, 3065, 1221, 3097, 847],
  svgStyle: {
    fill: 'rgba(200, 0, 0, 0.2)',
    stroke: 'rgba(200, 0, 50, 0.8)',
    'stroke-width': '2px'
  },
  tooltip: {
    content: 'A dynamic polygon marker',
    position: 'right bottom'
  }
}],
onready: function(){
  PSV.toggleDeviceOrientation()
}

})
`
這樣應該可以,但是在安卓機上效果很差

解夏 回答

使用flex布局,橫向排列,允許換行,高度一致,每一塊占據(jù)33.33%的寬度

挽歌 回答

你這邊問題我遇到過,雖然你把div的display設置為inline-block了,但是很奇怪的是兩個div標簽之間的換行似乎還是要占用一些位置,導致雖然他們寬度是50%, 加一起是100%,但是依舊不能并排.你要把兩個div標簽之間的空格去掉.

比如這樣:

<div onclick="location.href='news';" class="news_other_layout" style="background-image: url('');">
</div><div onclick="location.href='news';" class="news_other_layout" style="background-image: url('');">
</div>
不舍棄 回答
.grounded-radiants {
    position: relative;
    border: 4px solid transparent;
    border-radius: 16px;
    background: linear-gradient(orange, violet);
    background-clip: padding-box;
    padding: 10px;
    /* just to show box-shadow still works fine */
    box-shadow: 0 3px 9px black, inset 0 0 9px white;
}

.grounded-radiants::after {
    position: absolute;
    top: -4px; bottom: -4px;
    left: -4px; right: -4px;
    background: linear-gradient(red, blue);
    content: '';
    z-index: -1;
    border-radius: 16px;
}
<p class="grounded-radiants">
    Some text is here.<br/>
    There's even a line break!<br/>
    so cool.
</p>

抱歉抱歉,審題不嚴謹,貌似只能通過偽元素添加 background 的方式實現(xiàn)

失心人 回答

是否是使用了es6語法?
部分瀏覽器對es6的部分語法還不支持
由于是開發(fā)模式,所以webpack并沒有做es6轉(zhuǎn)es5處理,所以會導致白屏
而打包之后正常是因為webpack將es6轉(zhuǎn)化為了瀏覽器支持的es5

解決辦法 就是將不支持的es6語法換為es5

枕頭人 回答

Demo 如下:

  static navigationOptions = ({navigation}) =>  ({
    title: navigation.state.params.url,
    headerLeft: (
      <TouchableNativeFeedback onPress={() => navigation.goBack()}>
        <View style={{width: 50, alignItems: 'center', height: '100%', justifyContent: 'center',}}>
          <Icon name="md-close" size={25} color="#FEFEFE" />
        </View>
      </TouchableNativeFeedback>
    ),
    headerRight: (
      <TouchableNativeFeedback onPress={() => {
          const scope = navigation.state.params.that;
          scope.handlePressMore.call(scope);
      }}>
        <View style={{width: 50, alignItems: 'center', height: '100%', justifyContent: 'center',}}>
          <Icon name="md-more" size={25} color="#FEFEFE" />
        </View>
      </TouchableNativeFeedback>
    ),
    headerTitleStyle: {
      fontSize: 20,
      color: '#FEFEFE',
    },
    headerTintColor: '#FEFEFE',
    headerStyle: {
      backgroundColor: '#343434',
    }
  });