分类 AI 下的文章

1)给typecho增加编辑当前文件功能,修改index.php或者post.php文件,添加

<li>
    <div class="edit">
        <?php if($this->user->hasLogin()):?>
            <a href="<?php $this->options->adminUrl(); ?>write-post.php?cid=<?php echo $this->cid;?>" target="_blank">编辑</a>
        <?php endif;?>
    </div>
</li>

- 阅读剩余部分 -

1)修改hostsC:\Windows\System32\drivers\etc,更改本地域名指向ip

127.0.0.1 www.huanqiu.com
127.0.0.1 huanqiu.com
127.0.0.1 news.baidu.com
127.0.0.1 baijiahao.baidu.com

- 阅读剩余部分 -

小程序不兼容背景图片,只能新加一个image来解决问题

<view class="" style="position: relative;">
    <image src="xxbg.jpg" style="width: 750rpx;height: 320rpx;position: absolute;"></image>
    <view class="" style="position: relative;">
        // do something
    </view>
</view>

<view class="uni-row" style="flex-wrap: wrap;flex-flow: 1;">
    <view v-for="(it, idx) in arrSdata" :key="idx" style="padding: 10rpx;width: auto">
        <view class="">
            <text>{{it}}</text>
        </view>
    </view>
</view>

点击“Filter”按钮,也就是图中的漏斗形状的按钮。下面会多出一系列选项,这样就显示窗口出来了。

1)cmd,ping一下github.com,修改目录C:/Windows/System32/drivers/etc/hosts文件,新增一行13.229.188.59 github.com
2)cmd,输入ipconfig/flushdns刷新DNS缓存解析。搞定!