rui
develop
角色栏
001ce6062b
<style>
@import './common/styles/iconfont.scss';
</style>
style 是css文件 不能导入scss文件
<u-skeleton :animation="true" :loading="loading" bgcolor="#fff" v-else></u-skeleton>
</view>
<view class="wrap bg-white">
<view class="px-2">
为啥不把px-2直接添加到父元素上 多一层元素
</template>
<script>
import RoleList from './components/RoleList.vue';
用easycom 省去component的导入 注册
roles: [
{ id: 1, value: '项目经理', isMine: 0 },
{ id: 2, value: '运维', isMine: 0 },
{ id: 3, value: '导师一', isMine: 1 },
看后端定义的api文档 字段名称不一致
</script>
<style lang="scss" scoped>
$tabChoiceColor: #f40; //设置选中文字和底部下划线背景颜色
颜色应该定义在uni.scss中或者直接引用tailwind的颜色
<style scoped lang="scss"></style>
<style scoped lang="scss">
.u-progress-bg {
background: rgba(255, 255, 255, 0) !important;
颜色统一管理 uni.scss
No due date set.
This pull request currently doesn't have any dependencies.
Deleting a branch is permanent. It CANNOT be undone. Continue?
角色栏
001ce6062binto develop 5 years ago<style>@import './common/styles/iconfont.scss';</style>style 是css文件 不能导入scss文件
<u-skeleton :animation="true" :loading="loading" bgcolor="#fff" v-else></u-skeleton></view><view class="wrap bg-white"><view class="px-2">为啥不把px-2直接添加到父元素上 多一层元素
</template><script>import RoleList from './components/RoleList.vue';用easycom 省去component的导入 注册
roles: [{ id: 1, value: '项目经理', isMine: 0 },{ id: 2, value: '运维', isMine: 0 },{ id: 3, value: '导师一', isMine: 1 },看后端定义的api文档 字段名称不一致
</script><style lang="scss" scoped>$tabChoiceColor: #f40; //设置选中文字和底部下划线背景颜色颜色应该定义在uni.scss中或者直接引用tailwind的颜色
<style scoped lang="scss"></style><style scoped lang="scss">.u-progress-bg {background: rgba(255, 255, 255, 0) !important;颜色统一管理 uni.scss
Reviewers
001ce6062b.