Commit 70336ca8 by 严立

component 样式引用调整

parent 55020b93
......@@ -36,6 +36,7 @@ App({
iMui(this) // m-ui 相关函数引入
iLogin(this) // 全局登录,根据 token 的情况执行相关操作
this.setUnitProportion()
console.log('wx.env', wx.env)
},
onShow: function () {
......
Component({
options: {
styleIsolation: 'apply-shared'
},
properties: {
couponCodeSelectionIndex: {
type: Number,
......
......@@ -28,7 +28,7 @@
<view class="coupon_code_indicator row ac">
<text class="font_normal_34 color_submit">{{couponCodeActiveIndex}}</text>
<text class="font_normal_26 color_secondary" space="nbsp"> / </text>
<text class="font_normal_26 color_secondary">{{couponCodeList.length}}</text>
<text class="coupon_code_indicator_child3 font_normal_26 color_secondary">{{couponCodeList.length}}</text>
</view>
<image class="coupon_code_close" src="./image/close.png" bindtap="onCouponCodeClose"></image>
</view>
\ No newline at end of file
@import '../m-main.wxss';
/* 券码弹窗 */
.coupon_code_container {
z-index: 7;
......@@ -70,7 +72,7 @@
margin: 24rpx 0 0 0;
}
.coupon_code_indicator > text:nth-child(3) {
.coupon_code_indicator_child3 {
margin: 2rpx 0 0 0;
}
......
Component({
options: {
styleIsolation: 'apply-shared'
},
properties: {
text: {
type: String,
......
@import '../m-main.wxss';
.m-button-bottom-content {
z-index: 4;
position: fixed;
......@@ -13,10 +15,11 @@
background: #FFFFFF;
}
.m-button-bottom-content > button {
.m-button-bottom-enable {
width: 670rpx;
height: 96rpx;
border-radius: 4px;
background: #86C5E1;
font-size: 30rpx;
font-weight: 500;
......@@ -24,12 +27,16 @@
color: #FFFFFF;
}
.m-button-bottom-enable {
background: #86C5E1;
}
.m-button-bottom-disable {
width: 670rpx;
height: 96rpx;
border-radius: 4px;
background: #C8E1EC;
font-size: 30rpx;
font-weight: 500;
line-height: 42rpx;
color: #FFFFFF;
}
.m-button-bottom-occupy {
......
let App = getApp()
Component({
options: {
styleIsolation: 'apply-shared'
},
properties: {
// valid - 有效状态,neutral - 中立状态,仅在 type 为 group 时生效,invalid - 无效状态
icon: {
......
<view class="m_checkbox">
<image src="{{currentIcon}}" bindtap="onSelection"></image>
<view class="m-checkbox">
<image class="m-checkbox-element" src="{{currentIcon}}" bindtap="onSelection"></image>
</view>
\ No newline at end of file
.m_checkbox {
@import '../m-main.wxss';
.m-checkbox {
width: 40rpx;
height: 40rpx;
}
.m_checkbox > image {
.m-checkbox-element {
width: 40rpx;
height: 40rpx;
border-radius: 50%;
......
let App = getApp()
Component({
options: {
styleIsolation: 'apply-shared'
},
properties: {
},
......
......@@ -53,7 +53,7 @@
<text class="secondary">{{content}}</text>
</view>
<view class="dialog-input row cc">
<input auto-focus placeholder="{{placeholder}}" placeholder-class="dialog-input-placeholder" value="{{inputContent}}" bindinput="onInput"></input>
<input class="dialog-input-element" auto-focus placeholder="{{placeholder}}" placeholder-class="dialog-input-placeholder" value="{{inputContent}}" bindinput="onInput"></input>
</view>
<view class="dialog-operation row cb ac border-base">
<button class="dialog-operation-cancel row cc ac secondary" bindtap="onCancel">{{cancel}}</button>
......
@import '../m-main.wxss';
.m-dialog {
z-index: 9;
position: fixed;
......@@ -37,7 +39,7 @@
margin-top: 24rpx;
}
.dialog-input > input {
.dialog-input-element {
width: 510rpx;
height: 72rpx;
margin: 0 0 42rpx 0;
......
Component({
options: {
styleIsolation: 'apply-shared'
},
properties: {
},
......
......@@ -3,7 +3,7 @@
<view class="image-picker-selected-item">
<image class="image-picker-selected-image" src="{{item.path}}"></image>
<view class="image-picker-remove row cc ac" data-item="{{item}}" bindtap="onRemoveSelectedImage">
<image src="./image/remove.png" mode="{{imageMode}}"></image>
<image class="image-picker-remove-icon" src="./image/remove.png" mode="{{imageMode}}"></image>
</view>
</view>
</block>
......
@import '../m-main.wxss';
.m-image-picker {
width: 504;
min-height: 168rpx;
......@@ -24,7 +26,7 @@
height: 64rpx;
}
.image-picker-remove > image {
.image-picker-remove-icon {
width: 32rpx;
height: 32rpx;
}
......
Component({
options: {
styleIsolation: 'apply-shared'
},
properties: {
// 组件独立标识,此参数会在 event 中返回
inputId: {
......
@import '../m-main.wxss';
.m-input-boundary {
position: relative;
overflow-x: scroll;
......
@import './theme/layout.wxss';
@import './theme/theme.wxss';
\ No newline at end of file
import iOption from './option.js'
Component({
options: {
styleIsolation: 'apply-shared'
},
// 组件外部属性
properties: {
// 导航栏是否固定在视图顶部
isFixed: {
......
@import '../m-main.wxss';
.m-nav {
z-index: 6;
width: 750rpx;
......
......@@ -2,7 +2,6 @@ let App = getApp()
Component({
options: {
multipleSlots: true,
styleIsolation: 'apply-shared'
},
properties: {
......
@import '../m-main.wxss';
.m-popup {
z-index: 7;
position: fixed;
......
Component({
options: {
multipleSlots: true,
styleIsolation: 'apply-shared'
},
properties: {
......
@import '../m-main.wxss';
.m-segment-list {
overflow-x: scroll;
border-bottom: 1px #E2E7EF solid;
......
......@@ -3,10 +3,6 @@ Component({
scrollTimer: 0,
scrollLock: false,
options: {
styleIsolation: 'apply-shared'
},
properties: {
// tab 整体样式
classTab: {
......
@import '../m-main.wxss';
.m-tab-container {
z-index: 4;
width: 750rpx;
......
Component({
options: {
styleIsolation: 'apply-shared'
},
properties: {
inputId: { type: String, value: '' },
className: { type: String, value: '' },
......
@import '../m-main.wxss';
.m_textarea_container {
position: relative;
}
......
let App = getApp()
Component({
options: {
styleIsolation: 'apply-shared'
},
properties: {
},
......
@import '../m-main.wxss';
.toast {
z-index: 9;
position: fixed;
......
......@@ -280,9 +280,6 @@ Page({
'commodityId': funcItme.targetId
},
success: (response) => {
console.log(response)
console.log(App.setCommodityInfo(response.data))
let funcCommodityInfo = App.setCommodityInfo(response.data)
let funcShopInfo = App.globalData.shopId
......
......@@ -18,7 +18,7 @@
"scopeDataCheck": false,
"uglifyFileName": false,
"checkInvalidKey": true,
"checkSiteMap": true,
"checkSiteMap": false,
"uploadWithSourceMap": true,
"compileHotReLoad": false,
"useMultiFrameRuntime": false,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment