收藏
回答

这个错误提示怎么去掉?

[pagesG/pages/gameinfo/playSelect] Some selectors are not allowed in component wxss, including tag name selectors, ID selectors, and attribute selectors.(./pagesG/components/tip-content-eight/tip-content-eight.wxss:11:1)

回答关注问题邀请回答
收藏

1 个回答

  • cover
    cover
    2021-11-01

    上面提示的是有些选择器不支持,这边看能否贴下你的代码看看吧。

    2021-11-01
    有用
    回复 5
    • cover
      cover
      2021-11-01回复Rick
      你好这边给的是 ip-content-eight/tip-content-eight.wxss 的文件吗?看什么貌似给的是 tip-content-three.wxss/tip-content-three.wxss
      2021-11-01
      回复
    • Rick
      Rick
      2021-11-01回复cover
      不要看注释
      2021-11-01
      回复
    • cover
      cover
      2021-11-01回复Rick
      使用了什么版本的工具?然后代码再贴下?我这边看评论找不到了
      2021-11-01
      回复
    • Rick
      Rick
      2021-11-02回复cover
      最新正式版1.05.2110110
      2021-11-02
      回复
    • Rick
      Rick
      2021-11-02回复cover
      @import "../../../app.wxss";

      .dialog {
        position: absolute;
        right: -18px;
        transform: translateX(0%) scale(0.8);
        top: -440rpx;

      }

      .dia_box {
        /* align-items: flex-start; */
        position: relative;
      }

      .middle {
        background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAABiCAYAAACRdbl9AAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyFpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuNS1jMDE0IDc5LjE1MTQ4MSwgMjAxMy8wMy8xMy0xMjowOToxNSAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvIiB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL21tLyIgeG1sbnM6c3RSZWY9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZVJlZiMiIHhtcDpDcmVhdG9yVG9vbD0iQWRvYmUgUGhvdG9zaG9wIENDIChXaW5kb3dzKSIgeG1wTU06SW5zdGFuY2VJRD0ieG1wLmlpZDo5MkE0QUUxQjcxNzcxMUVBQUVERDlGQjcyM0EzQ0Q5NSIgeG1wTU06RG9jdW1lbnRJRD0ieG1wLmRpZDo5MkE0QUUxQzcxNzcxMUVBQUVERDlGQjcyM0EzQ0Q5NSI+IDx4bXBNTTpEZXJpdmVkRnJvbSBzdFJlZjppbnN0YW5jZUlEPSJ4bXAuaWlkOjkyQTRBRTE5NzE3NzExRUFBRUREOUZCNzIzQTNDRDk1IiBzdFJlZjpkb2N1bWVudElEPSJ4bXAuZGlkOjkyQTRBRTFBNzE3NzExRUFBRUREOUZCNzIzQTNDRDk1Ii8+IDwvcmRmOkRlc2NyaXB0aW9uPiA8L3JkZjpSREY+IDwveDp4bXBtZXRhPiA8P3hwYWNrZXQgZW5kPSJyIj8+JQuBkAAAAEZJREFUeNpiXtPEupCJgYEhDkQwIBH///9lYPr24R8Dw8NLS/8z/P//nwFdySgx8IQxc4DFh2fM5kInG5j4RFlxqgsFCDAAMLwTyRteyb8AAAAASUVORK5CYII=");
        background-size: 100% 98rpx;
        background-position: center 0;
        background-repeat: repeat-x;
        height: 98rpx;
      }

      .jiao {
        position: absolute;
        right: 43rpx;
        bottom: -49rpx;

      }

      .bg_2 {
        position: fixed;
        top: 15%;
        left: 170rpx;
      }

      .mynow {
        position: absolute;
        bottom: 0;
        /* top: 0; */
        height: 85rpx;
        text-align: center;
        line-height: 85rpx;
        width: 100%;
        font-size: 26rpx;
        left: 0;

      }

      .f_32 {
        font-size: 32rpx;
        color: #ffcd3a;
        font-weight: 600;

      }

      .mask {
        background-color: rgba(0, 0, 0, 0.3);
        z-index: 3;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
      }

      .tip_box {
        width: 730rpx;
        height: 1040rpx;
        background-size: 100% 100%;
        background-repeat: no-repeat;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        padding: 70rpx 87rpx;
        box-sizing: border-box;
        position: relative;
        background-image: url(https://zhimi-lake.oss-cn-beijing.aliyuncs.com/images/12713bfa7356d550ec215682746f1e07.png);
      }

      .l_1 {
        position: absolute;
        left: 30rpx;
        top: 76rpx;
      }

      .l_2 {
        position: absolute;
        right: 30rpx;
        top: 76rpx;
        transform: scaleX(-1);
      }

      .l_3 {
        position: absolute;
        left: 30rpx;
        bottom: 76rpx;
        transform: scaleY(-1);
      }

      .l_4 {
        position: absolute;
        right: 30rpx;
        bottom: 76rpx;
        transform: scale(-1);
      }

      .top_img {
        position: absolute;
        left: 50%;
        top: 33rpx;
        transform: translateX(-50%);
      }

      .bottom_img {
        position: absolute;
        left: 50%;
        bottom: 33rpx;
        transform: translateX(-50%);
      }

      .btn_box {
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
        bottom: 160rpx;
      }

      .content_tip {
        font-size: 30rpx;
        color: #fff;
      }

      .top_mask {
        position: absolute;
        left: 0;
        right: 0;
        top: 0;
        bottom: 0;
        /* background-color: red; */
      }

      .inow {
        position: absolute;
        top: 53.7%;
        z-index: 2;
        width: 600rpx;
        text-align: center;
        left: 50%;
        height: 80rpx;
        line-height: 60rpx;
        margin-left: -300rpx;
      }

      .gantip {
        width: 100%;
        height: 200rpx;
        display: flex;
        align-items: center;
        position: absolute;
        top: 50%;
        margin-top: -100rpx;
        left: 50%;
        margin-left: -50%;
        justify-content: center;
        font-size: 30rpx;
        padding: 0rpx 164rpx;
        box-sizing: border-box;
        color: #fff;
      }

      .ticpkuang {
        width: 538rpx;
        height: 138rpx;
        position: absolute;
        right: 0;
        bottom: -170rpx;
      }
      2021-11-02
      回复
登录 后发表内容