银花优选微信小程序修改后的最新版本代码
This commit is contained in:
458
pages/myaddress_add/index.js
Normal file
458
pages/myaddress_add/index.js
Normal file
@@ -0,0 +1,458 @@
|
||||
var app = getApp()
|
||||
var that=null
|
||||
var sopenFrame=null
|
||||
var areas = null;
|
||||
Page( {
|
||||
data: {
|
||||
loadingHidden:false,
|
||||
contact:"",
|
||||
tel:"",
|
||||
detail:"",
|
||||
selectHidden:true,
|
||||
sectionHidden:true,
|
||||
IFDefault:1,
|
||||
savebutton:"保存",
|
||||
weixinbutton:"一键获取微信收货地址",
|
||||
Provinces:[],
|
||||
Citys:[],
|
||||
Countys:[],
|
||||
tradingareas:[],
|
||||
hx_index:-1,
|
||||
hx_index0:-1,
|
||||
hx_index1:-1,
|
||||
hx_index2:-1,
|
||||
area:"",
|
||||
addressId:0,
|
||||
weixinaddresshidden:false
|
||||
},
|
||||
|
||||
onLoad: function() {
|
||||
that = this
|
||||
areas = require('../../area.js');
|
||||
that.setData({
|
||||
Provinces:areas.areaslist
|
||||
})
|
||||
that.rdata()
|
||||
},rdata: function() {
|
||||
var userInfodata = wx.getStorageSync("userInfo")
|
||||
if(userInfodata){
|
||||
var userInfo = JSON.parse(userInfodata)
|
||||
var contact=""
|
||||
if(userInfo.RealName){
|
||||
contact=userInfo.RealName
|
||||
}
|
||||
var tel=userInfo.Phone
|
||||
var Province=userInfo.Province
|
||||
var City=userInfo.City
|
||||
var County=userInfo.County
|
||||
if(Province==""&&City==""&&County==""){
|
||||
var Locationprovince = wx.getStorageSync("Locationprovince")
|
||||
var Locationcity = wx.getStorageSync("Locationcity")
|
||||
var Locationcounty = wx.getStorageSync("Locationcounty")
|
||||
if(Locationprovince&&Locationcity&&Locationcounty){
|
||||
Province=Locationprovince
|
||||
City=Locationcity
|
||||
County=Locationcounty
|
||||
}
|
||||
}
|
||||
var index=-1
|
||||
var index0=-1
|
||||
var index1=-1
|
||||
if(Province!=""&&City!=""&&County!=""){
|
||||
var provinces=that.data.Provinces
|
||||
for(var i=0;i<provinces.length;i++){
|
||||
if(provinces[i].ProvinceID==Province){
|
||||
index=i;
|
||||
var citys=provinces[i].City;
|
||||
for(var j=0;j<citys.length;j++){
|
||||
if(citys[j].CityID==City){
|
||||
index0=j;
|
||||
var countys=citys[j].County;
|
||||
for(var k=0;k<countys.length;k++){
|
||||
if(countys[k].CountyID==County){
|
||||
index1=k;
|
||||
break;
|
||||
}
|
||||
|
||||
}
|
||||
break;
|
||||
}
|
||||
|
||||
}
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
that.setData({
|
||||
hx_index: index,
|
||||
savebutton:"添加"
|
||||
})
|
||||
var citys=(index==-1?[]:that.data.Provinces[index].City)
|
||||
that.setData({
|
||||
Citys:citys,
|
||||
hx_index0: index0
|
||||
})
|
||||
var countys=(index0==-1?[]:that.data.Citys[index0].County)
|
||||
that.setData({
|
||||
Countys:countys,
|
||||
hx_index1: index1
|
||||
})
|
||||
var area=""
|
||||
if(that.data.hx_index!=-1){
|
||||
area+=that.data.Provinces[that.data.hx_index].ProvinceName
|
||||
}
|
||||
if(that.data.hx_index0!=-1){
|
||||
area+=that.data.Citys[that.data.hx_index0].CityName
|
||||
}
|
||||
if(that.data.hx_index1!=-1){
|
||||
area+=that.data.Countys[that.data.hx_index1].CountyName
|
||||
}
|
||||
that.setData({
|
||||
contact:contact,
|
||||
tel:tel,
|
||||
area:area
|
||||
|
||||
})
|
||||
}
|
||||
var editaddress = wx.getStorageSync("editaddress")
|
||||
if(editaddress){
|
||||
|
||||
var myaddress=JSON.parse(editaddress);
|
||||
var id=myaddress.addressId
|
||||
var contact=myaddress.contact
|
||||
var tel=myaddress.tel
|
||||
var Province=myaddress.Province
|
||||
var City=myaddress.City
|
||||
var County=myaddress.County
|
||||
var detail=myaddress.detail
|
||||
var IFIndex=parseInt(myaddress.IFIndex)
|
||||
|
||||
var index=-1
|
||||
var index0=-1
|
||||
var index1=-1
|
||||
var provinces=that.data.Provinces
|
||||
for(var i=0;i<provinces.length;i++){
|
||||
if(provinces[i].ProvinceID==Province){
|
||||
index=i;
|
||||
var citys=provinces[i].City;
|
||||
for(var j=0;j<citys.length;j++){
|
||||
if(citys[j].CityID==City){
|
||||
index0=j;
|
||||
var countys=citys[j].County;
|
||||
for(var k=0;k<countys.length;k++){
|
||||
if(countys[k].CountyID==County){
|
||||
index1=k;
|
||||
break;
|
||||
}
|
||||
|
||||
}
|
||||
break;
|
||||
}
|
||||
|
||||
}
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
that.setData({
|
||||
hx_index: index,
|
||||
weixinaddresshidden:true,
|
||||
savebutton:"保存"
|
||||
})
|
||||
var citys=(index==-1?[]:that.data.Provinces[index].City)
|
||||
that.setData({
|
||||
Citys:citys,
|
||||
hx_index0: index0
|
||||
})
|
||||
var countys=(index0==-1?[]:that.data.Citys[index0].County)
|
||||
that.setData({
|
||||
Countys:countys,
|
||||
hx_index1: index1
|
||||
})
|
||||
var area=""
|
||||
if(that.data.hx_index!=-1){
|
||||
area+=that.data.Provinces[that.data.hx_index].ProvinceName
|
||||
}
|
||||
if(that.data.hx_index0!=-1){
|
||||
area+=that.data.Citys[that.data.hx_index0].CityName
|
||||
}
|
||||
if(that.data.hx_index1!=-1){
|
||||
area+=that.data.Countys[that.data.hx_index1].CountyName
|
||||
}
|
||||
that.setData({
|
||||
addressId:id,
|
||||
contact:contact,
|
||||
tel:tel,
|
||||
detail:detail,
|
||||
IFDefault:IFIndex,
|
||||
area:area,
|
||||
loadingHidden:true
|
||||
})
|
||||
wx.setNavigationBarTitle({
|
||||
title: '修改收货地址'
|
||||
})
|
||||
}else{
|
||||
that.setData({
|
||||
loadingHidden:true
|
||||
})
|
||||
}
|
||||
},getweixinaddress:function(e) {
|
||||
that.setData({
|
||||
weixinbutton:"请稍候..."
|
||||
})
|
||||
wx.getSetting({
|
||||
success(res) {
|
||||
if (!res.authSetting["scope.address"]) {
|
||||
wx.authorize({
|
||||
scope: 'scope.address',
|
||||
success () {
|
||||
that.addweixinaddress()
|
||||
}
|
||||
})
|
||||
}else{
|
||||
/*wx.showToast({
|
||||
title: JSON.stringify(res.authSetting),
|
||||
icon: "none",
|
||||
duration: 20000
|
||||
})*/
|
||||
that.addweixinaddress()
|
||||
}
|
||||
}
|
||||
})
|
||||
|
||||
},addweixinaddress:function() {
|
||||
wx.chooseAddress({
|
||||
success (res) {
|
||||
var userName=res.userName
|
||||
var postalCode=res.postalCode
|
||||
var provinceName=res.provinceName
|
||||
var cityName=res.cityName
|
||||
var countyName=res.countyName
|
||||
var detailInfo=res.detailInfo
|
||||
var nationalCode=res.nationalCode
|
||||
var telNumber=res.telNumber
|
||||
var userId = wx.getStorageSync("userId")
|
||||
var LoginId = wx.getStorageSync("LoginId")
|
||||
if(userName!=""&&provinceName!=""&&cityName!=""&&telNumber!=""){
|
||||
wx.request({
|
||||
url: app.globalData.apiurl + "/xapiajax.ashx",
|
||||
data: {
|
||||
action:"addweixinaddress",
|
||||
userId:(!userId?"":userId),
|
||||
LoginId:(!LoginId?"":LoginId),
|
||||
contact:userName,
|
||||
tel:telNumber,
|
||||
provinceName:provinceName,
|
||||
cityName:cityName,
|
||||
countyName:countyName,
|
||||
detail:detailInfo,
|
||||
IFIndex:1
|
||||
},
|
||||
method:"POST",
|
||||
dataType:"json",
|
||||
header: {
|
||||
"content-type": "application/x-www-form-urlencoded" // 默认值
|
||||
},
|
||||
success (res) {
|
||||
if(res.data.status==1){
|
||||
wx.showToast({
|
||||
title: res.data.msg,
|
||||
icon: "success",
|
||||
duration: 3000
|
||||
})
|
||||
app.globalData.IFRefreshmyaddress=1
|
||||
that.setData({
|
||||
weixinbutton:"一键获取微信收货地址"
|
||||
})
|
||||
wx.navigateBack({})
|
||||
}else{
|
||||
that.setData({
|
||||
weixinbutton:"一键获取微信收货地址"
|
||||
})
|
||||
wx.showToast({
|
||||
title: res.data.msg,
|
||||
icon: "none",
|
||||
duration: 3000
|
||||
})
|
||||
}
|
||||
}
|
||||
})
|
||||
}
|
||||
},fail (res) {
|
||||
wx.showToast({
|
||||
title: JSON.stringify(res),
|
||||
icon: "none",
|
||||
duration: 3000
|
||||
|
||||
})
|
||||
}
|
||||
})
|
||||
},onarea:function(e) {
|
||||
that.setData({
|
||||
sectionHidden:false
|
||||
})
|
||||
},ProvinceChange:function(e) {
|
||||
var index=e.detail.value;
|
||||
var citys=that.data.Provinces[index].City
|
||||
that.setData({
|
||||
hx_index: index,
|
||||
hx_index0: -1,
|
||||
hx_index1: -1,
|
||||
Citys:citys
|
||||
})
|
||||
if(citys.length==0){
|
||||
that.setData({
|
||||
sectionHidden:true,
|
||||
area:that.data.Provinces[that.data.hx_index].ProvinceName
|
||||
})
|
||||
}
|
||||
},CityChange:function(e) {
|
||||
var index=e.detail.value
|
||||
var countys=that.data.Citys[index].County
|
||||
that.setData({
|
||||
hx_index0: index,
|
||||
hx_index1: -1,
|
||||
Countys:countys
|
||||
})
|
||||
if(countys.length==0){
|
||||
that.setData({
|
||||
sectionHidden:true,
|
||||
area:that.data.Provinces[that.data.hx_index].ProvinceName+that.data.Citys[that.data.hx_index0].CityName
|
||||
})
|
||||
}
|
||||
},CountyChange:function(e) {
|
||||
that.setData({
|
||||
hx_index1: e.detail.value
|
||||
})
|
||||
that.setData({
|
||||
sectionHidden:true,
|
||||
area:that.data.Provinces[that.data.hx_index].ProvinceName+that.data.Citys[that.data.hx_index0].CityName+that.data.Countys[that.data.hx_index1].CountyName
|
||||
})
|
||||
},closesection:function(e) {
|
||||
that.setData({
|
||||
sectionHidden:true
|
||||
})
|
||||
},insection:function(e) {
|
||||
|
||||
},changeisDefault:function(e) {
|
||||
var ifdefault = (e.detail.value==true?1:0)
|
||||
that.data.IFDefault=ifdefault
|
||||
|
||||
},saveaddress:function(e) {
|
||||
var addressId=that.data.addressId
|
||||
|
||||
var contact = e.detail.value.contact
|
||||
var tel=e.detail.value.tel
|
||||
var Province=(that.data.hx_index==-1?"":that.data.Provinces[that.data.hx_index].ProvinceID)
|
||||
var City=(that.data.hx_index0==-1?"":that.data.Citys[that.data.hx_index0].CityID)
|
||||
var County=(that.data.hx_index1==-1?"":that.data.Countys[that.data.hx_index1].CountyID)
|
||||
var detail=e.detail.value.detail
|
||||
var IFIndex=that.data.IFDefault
|
||||
var userId = wx.getStorageSync("userId")
|
||||
var LoginId = wx.getStorageSync("LoginId")
|
||||
var b=true
|
||||
|
||||
if(contact==null || contact==""){
|
||||
b=false
|
||||
wx.showToast({
|
||||
title: "收货人不能为空!",
|
||||
icon: "none",
|
||||
duration: 3000
|
||||
})
|
||||
}
|
||||
if(b){
|
||||
if(tel==null || tel==""){
|
||||
b=false
|
||||
wx.showToast({
|
||||
title: "手机号码不能为空!",
|
||||
icon: "none",
|
||||
duration: 3000
|
||||
})
|
||||
}
|
||||
}
|
||||
if(b){
|
||||
if(that.data.hx_index==-1){
|
||||
b=false
|
||||
wx.showToast({
|
||||
title: "省份必须选择!",
|
||||
icon: "none",
|
||||
duration: 3000
|
||||
})
|
||||
}
|
||||
}
|
||||
if(b){
|
||||
if(that.data.hx_index0==-1){
|
||||
b=false
|
||||
wx.showToast({
|
||||
title: "城市必须选择!",
|
||||
icon: "none",
|
||||
duration: 3000
|
||||
})
|
||||
}
|
||||
}
|
||||
if(b){
|
||||
if(detail==null || detail==""){
|
||||
b=false
|
||||
wx.showToast({
|
||||
title: "详细地址不能为空!",
|
||||
icon: "none",
|
||||
duration: 3000
|
||||
})
|
||||
}
|
||||
}
|
||||
if(b){
|
||||
that.setData({
|
||||
savebutton:"请稍候..."
|
||||
})
|
||||
wx.request({
|
||||
url: app.globalData.apiurl + "/xapiajax.ashx",
|
||||
data: {
|
||||
action:(addressId==0?"addAddress":"updateAddress"),
|
||||
userId:(!userId?"":userId),
|
||||
LoginId:(!LoginId?"":LoginId),
|
||||
addressId:(addressId==0?"":addressId),
|
||||
contact:contact,
|
||||
tel:tel,
|
||||
Province:Province,
|
||||
City:City,
|
||||
County:County,
|
||||
detail:detail,
|
||||
IFIndex:IFIndex
|
||||
},
|
||||
method:"POST",
|
||||
dataType:"json",
|
||||
header: {
|
||||
"content-type": "application/x-www-form-urlencoded" // 默认值
|
||||
},
|
||||
success (res) {
|
||||
if(res.data.status==1){
|
||||
app.globalData.IFRefreshmyaddress=1
|
||||
wx.showModal({
|
||||
title: "操作提示",
|
||||
content: res.data.msg,
|
||||
showCancel:false,
|
||||
success (res0) {
|
||||
if (res0.confirm) {
|
||||
|
||||
that.setData({
|
||||
savebutton:"保存"
|
||||
})
|
||||
wx.navigateBack({})
|
||||
}
|
||||
}
|
||||
})
|
||||
}else{
|
||||
that.setData({
|
||||
savebutton:"保存"
|
||||
})
|
||||
wx.showToast({
|
||||
title: res.data.msg,
|
||||
icon: "none",
|
||||
duration: 3000
|
||||
})
|
||||
}
|
||||
}
|
||||
})
|
||||
}
|
||||
}
|
||||
})
|
||||
3
pages/myaddress_add/index.json
Normal file
3
pages/myaddress_add/index.json
Normal file
@@ -0,0 +1,3 @@
|
||||
{
|
||||
"navigationBarTitleText": "添加新地址"
|
||||
}
|
||||
83
pages/myaddress_add/index.wxml
Normal file
83
pages/myaddress_add/index.wxml
Normal file
@@ -0,0 +1,83 @@
|
||||
<view class="container">
|
||||
<view class="fromtitle" bindtap="getweixinaddress" hidden="{{weixinaddresshidden}}"><image src="../../images/weixin.png"></image><text>{{weixinbutton}}</text><image class="arrowdown" src="../../images/icon-arrowdown.png"></image></view>
|
||||
|
||||
<view class="myaddress-box">
|
||||
|
||||
<view class="frombody">
|
||||
<form bindsubmit='saveaddress'>
|
||||
<view>
|
||||
<text>收货人:</text><input name="contact" type="text" placeholder="请填写收货人地址" value="{{contact}}" />
|
||||
</view>
|
||||
<view>
|
||||
<text>手机号码:</text><input name="tel" type="text" placeholder="请填写手机号码" value="{{tel}}" />
|
||||
</view>
|
||||
<view class="area" bindtap="onarea">
|
||||
<text>所在地区:</text><input name="area" type="text" disabled="disabled" placeholder="请选择地区" value="{{area}}"/><image src="../../images/icon-arrowdown.png"></image>
|
||||
</view>
|
||||
<view>
|
||||
<text>详细地址:</text><input name="detail" type="text" placeholder="请填写街道、楼牌号等" value="{{detail}}" />
|
||||
</view>
|
||||
<view>
|
||||
<text>设为默认地址:</text>
|
||||
<switch checked='{{IFDefault}}' color="#00B050" bindchange="changeisDefault"></switch>
|
||||
</view>
|
||||
<view class="button">
|
||||
<button form-type="submit">{{savebutton}}</button>
|
||||
|
||||
</view>
|
||||
</form>
|
||||
</view>
|
||||
|
||||
</view>
|
||||
<view class="Hidden_box" hidden="{{sectionHidden}}" bindtap="closesection">
|
||||
<view class="section" catchtap="insection">
|
||||
<view class="section-title">省市区选择器</view>
|
||||
<view class="close" bindtap="closesection"><image src="../../images/close.png" /></view>
|
||||
<view class="section-body">
|
||||
<view>
|
||||
<text>省份:</text>
|
||||
<picker class="picker_hx" name="picker_hx" value="{{Provinces[hx_index].ProvinceID}}" data-selecthx="{{Provinces[hx_index].ProvinceName}}" range="{{Provinces}}" range-key="{{'ProvinceName'}}" bindchange="ProvinceChange">
|
||||
<view class="picker">
|
||||
<text hidden='{{Provinces[hx_index].ProvinceName==null}}'>{{Provinces[hx_index].ProvinceName}}</text>
|
||||
<text hidden='{{Provinces[hx_index].ProvinceName!=null}}'>==请选择==</text>
|
||||
<image src="../../images/icon-arrowdown1.png"></image>
|
||||
</view>
|
||||
|
||||
</picker>
|
||||
|
||||
</view>
|
||||
|
||||
<view>
|
||||
<text>城市:</text>
|
||||
<picker class="picker_hx" name="picker_hx" value="{{Citys[hx_index0].CityID}}" data-selecthx="{{Citys[hx_index0].CityName}}" range="{{Citys}}" range-key="{{'CityName'}}" bindchange="CityChange">
|
||||
<view class="picker">
|
||||
<text hidden='{{Citys[hx_index0].CityName==null}}'>{{Citys[hx_index0].CityName}}</text>
|
||||
<text hidden='{{Citys[hx_index0].CityName!=null}}'>==请选择==</text>
|
||||
<image src="../../images/icon-arrowdown1.png"></image>
|
||||
</view>
|
||||
|
||||
</picker>
|
||||
</view>
|
||||
<view>
|
||||
<text>县区:</text>
|
||||
<picker class="picker_hx" name="picker_hx" value="{{Countys[hx_index1].CountyID}}" data-selecthx="{{Countys[hx_index1].CountyName}}" range="{{Countys}}" range-key="{{'CountyName'}}" bindchange="CountyChange">
|
||||
<view class="picker">
|
||||
<text hidden='{{Countys[hx_index1].CountyName==null}}'>{{Countys[hx_index1].CountyName}}</text>
|
||||
<text hidden='{{Countys[hx_index1].CountyName!=null}}'>==请选择==</text>
|
||||
<image src="../../images/icon-arrowdown1.png"></image>
|
||||
</view>
|
||||
|
||||
</picker>
|
||||
</view>
|
||||
|
||||
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
|
||||
</view>
|
||||
|
||||
|
||||
<loading hidden="{{loadingHidden}}">
|
||||
加载中...
|
||||
</loading>
|
||||
48
pages/myaddress_add/index.wxss
Normal file
48
pages/myaddress_add/index.wxss
Normal file
@@ -0,0 +1,48 @@
|
||||
page{
|
||||
background: #ccc;
|
||||
}
|
||||
.container {
|
||||
position: relative;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
font-size: 14px;
|
||||
color: #000;
|
||||
}
|
||||
|
||||
.container .address-image {
|
||||
width: 120px;
|
||||
height: 120px;
|
||||
}
|
||||
.addaddress{position: fixed; bottom:1em; width:90%;}
|
||||
.addaddress button{width:100%;height:2.5em; line-height: 2.5em; background-color:#fd463e;color:#fff; border-radius:0.5em;}
|
||||
.myaddress-box{display: flex;flex-direction: column;align-items: center;justify-content: center;width:100%; padding:0.8em; box-sizing: border-box;}
|
||||
.myaddress-item{width:100%; margin-bottom:0.8em; padding:0.8em; box-sizing: border-box;border:1px solid #f1f1f1; background-color:#fff;border-radius:0.5em;}
|
||||
.myaddress-contact{width:100%;}
|
||||
.myaddress-bottom{width:100%;margin-top:0.5em; display: flex;flex-direction: row; align-items: center;justify-content: center;}
|
||||
.myaddress-bottom .myaddress-btn{width:100%;}
|
||||
.myaddress-bottom .myaddress-btn image{width:1.2em;height:1.2em; vertical-align: middle;}
|
||||
.fromtitle{width:100%; background-color:#fff; padding:1em; box-sizing: border-box;}
|
||||
.fromtitle text{float:left;}
|
||||
.fromtitle image{float:left;width:1.2em; height:1.2em;}
|
||||
.fromtitle image.arrowdown{float:right; }
|
||||
.myaddress-box .frombody{margin-top: 1em; padding:0.5em 1em;width:100%; display: flex;border-radius:0.5em;flex-direction: column; align-items: center; background-color:#fff;box-sizing: border-box;}
|
||||
.myaddress-box .frombody view{position: relative;float:left; width:100%;display: flex;flex-direction:row;border-bottom:1px solid #f1f1f1;padding:0.5em 0; box-sizing: border-box;}
|
||||
.myaddress-box .frombody view text{padding:0;height:2.5em; line-height: 2.5em;}
|
||||
.myaddress-box .frombody view input{width:14em;height:2.5em; line-height: 2.5em;}
|
||||
.myaddress-box .frombody view.area input{width:12.8em;}
|
||||
.myaddress-box .frombody view.area image{position: absolute; top:1.1em; right:0; width:1.2em;height:1.2em;}
|
||||
.myaddress-box .frombody view.button{border: 0;}
|
||||
.myaddress-box .frombody view.button button{width:100%;height:2.5em; line-height: 2.5em; background:linear-gradient(to right,#00B050,#00B050); color:#fff; border-radius:0.5em;}
|
||||
.Hidden_box{ position: fixed;display: flex;align-items: center; justify-content: center; top:0; left:0; width:100%;height:100vh; background:rgba(0, 0, 0, 0.5);z-index: 2;}
|
||||
.section{position: relative; bottom:0; width:90%; height:20em; padding: 0 1em; background-color: #fff; box-sizing: border-box; border-radius:0.5em;}
|
||||
.section .close{position: absolute; right:0.5em; top:0.5em; width:1.5em; height:1.5em; padding:0.15em; background-color:#fff;border:1px solid #f1f1f1;border-radius:50%;box-sizing:border-box;}
|
||||
.section .close image{width:100%;height:100%;}
|
||||
.section-title{width:100%;height:2.5em; line-height: 2.5em; text-align: center; font-weight: 600;border-bottom:1px solid #f1f1f1;}
|
||||
.section-body{width:100%;}
|
||||
.section-body view{width:100%;display: flex;flex-direction: row; align-items: center;border-bottom:1px solid #f1f1f1;padding:0.5em 0; box-sizing: border-box; line-height:1.5em;}
|
||||
.section-body view text{color:#000;}
|
||||
.section-body view .picker_hx{color:#939393;line-height:2.5em;}
|
||||
.section-body view .picker_hx view{ float:left; position: relative; display: block; border:0;min-width:10em; padding-left:1em; box-sizing: border-box;border:1px solid #dfdfdf;border-radius:0.3em;line-height:2em;}
|
||||
.section-body view .picker_hx image{position: absolute; top:1em;right:0.6em; width:1.2em;height:1.2em;}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user