mirror of
https://github.com/crmeb/CRMEB.git
synced 2026-02-01 10:28:16 +00:00
调整样式
This commit is contained in:
parent
502e4c8a33
commit
db587b3126
@ -83,6 +83,7 @@
|
||||
descCartNum:function(){
|
||||
this.cartNum-=1;
|
||||
},
|
||||
//点击选择属性
|
||||
changeChecked:function(value,attr,index){
|
||||
attr.checked = value;
|
||||
this.$set(this.attrList,index,attr);
|
||||
@ -127,7 +128,7 @@
|
||||
|
||||
shopCard.install = function(Vue){
|
||||
Vue.prototype.$shopCard = function(opt){
|
||||
var $vm = new shopCard().$mount(),$el = $vm.$el;
|
||||
var $vm = new shopCard().$mount(),$el = $vm.$el;console.log(opt);
|
||||
document.body.appendChild($el);
|
||||
$vm._setData(opt);
|
||||
$vm.remove = function(){
|
||||
|
||||
@ -1,7 +1,7 @@
|
||||
(function(global,factory){
|
||||
typeof define == 'function' && define(['store','helper'],factory);
|
||||
})(this,function(storeApi,$h){
|
||||
var template = '<div><div><div class="model-bg":class="{on:show == true}" @touchmove.prevent @click="close"></div><div class="card-model addres-select":class="{up:show == true}"><div class="cm-header">收货地址</div><div class="empty" v-show="addressList.length == 0" @touchmove.prevent> <img src="/pubilc/wap/first/crmeb/images/empty_address.png"><p> </p></div><div id="selects-wrapper"class="selects-info"><ul><li class="flex"v-for="item in addressList":class="{on:checkedAddressId == item.id}"@click="selectAddress(item)"><div class="select-icon"></div><div class="user-info"><p><span class="name"v-text="item.real_name"> </span> <span class="tel"v-text="item.phone"></span></p><p class="address-info"v-text="addressText(item)"></p></div><a class="edit"@click="goEdit(item.id)"href="javascript:void(0);"></a></li></ul></div><div class="model-footer"><a class="footer-buy"href="javascript:void(0);" @click="goAdd">添加新地址</a></div></div></div></div>';
|
||||
var template = '<div><div><div class="model-bg":class="{on:show == true}" @touchmove.prevent @click="close"></div><div class="card-model addres-select":class="{up:show == true}"><div class="cm-header">收货地址</div><div class="empty" v-show="addressList.length == 0" @touchmove.prevent> <img src="/public/wap/first/crmeb/images/empty_address.png"><p> </p></div><div id="selects-wrapper"class="selects-info"><ul><li class="flex"v-for="item in addressList":class="{on:checkedAddressId == item.id}"@click="selectAddress(item)"><div class="select-icon"></div><div class="user-info"><p><span class="name"v-text="item.real_name"> </span> <span class="tel"v-text="item.phone"></span></p><p class="address-info"v-text="addressText(item)"></p></div><a class="edit"@click="goEdit(item.id)"href="javascript:void(0);"></a></li></ul></div><div class="model-footer"><a class="footer-buy"href="javascript:void(0);" @click="goAdd">添加新地址</a></div></div></div></div>';
|
||||
|
||||
return {
|
||||
factory:function(Vue){
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user